]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: allow userspace to control supported rates in scan
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jul 2011 16:08:35 +0000 (18:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Jul 2011 20:49:58 +0000 (16:49 -0400)
commit10c853509e80258425020c58726a127be1eab18d
treec1aa56f2d94851804969b71523ade13bb9db693c
parentde497d457e43c6a7737874e972d35c31156ecf69
cfg80211: allow userspace to control supported rates in scan

Some P2P scans are not allowed to advertise
11b rates, but that is a rather special case
so instead of having that, allow userspace
to request the rate sets (per band) that are
advertised in scan probe request frames.

Since it's needed in two places now, factor
out some common code parsing a rate array.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/scan.c
net/wireless/util.c