]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: restrict advertised HW scan rates
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Jun 2011 14:43:48 +0000 (16:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Jun 2011 19:09:39 +0000 (15:09 -0400)
commit67cf5172bffb53a08ad4a3d0c0a1f67640c6bae1
tree0aca6192c6c79618ca97daebf33413708698e589
parentfd8cbdddb7516f4f74fc44bc49e365e983b6b43b
mac80211: restrict advertised HW scan rates

Advertise only user-requested bitrates in a HW scan.
Note that the hw_scan API doesn't currently have a
way of asking for a specific probe request bitrate,
so we might end up using a bitrate that we don't
advertise as supported. I'll fix that later.

Also add a hexdump printk to hwsim to verify this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c
net/mac80211/scan.c