]> 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)
commit8fcbfde97f1345c42b3d3ba8bc84caa593c3a3dd
tree0aca6192c6c79618ca97daebf33413708698e589
parent33c0200c8c19517d80b10fece77494d9f9119c37
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