Johannes Berg 4d36ec5823 mac80211: split hardware scan by band
There's currently a very odd bug in mac80211 -- a
hardware scan that is done while the hardware is
really operating on 2.4 GHz will include CCK rates
in the probe request frame, even on 5 GHz (if the
driver uses the mac80211 IEs). Vice versa, if the
hardware is operating on 5 GHz the 2.4 GHz probe
requests will not include CCK rates even though
they should.

Fix this by splitting up cfg80211 scan requests by
band -- recalculating the IEs every time -- and
requesting only per-band scans from the driver.

Apparently this bug hasn't been a problem yet, but
it is imaginable that some older access points get
confused if confronted with such behaviour.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-10-30 16:49:19 -04:00
..
2009-07-10 15:01:49 -04:00
2009-04-22 16:57:17 -04:00
2009-10-27 16:29:46 -04:00
2009-07-10 15:01:48 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2009-10-30 16:49:19 -04:00
2009-05-20 14:46:25 -04:00
2009-10-07 16:33:49 -04:00
2009-05-06 15:14:37 -04:00
2009-10-30 16:49:19 -04:00
2009-07-24 15:05:09 -04:00
2009-07-24 15:05:09 -04:00
2009-07-24 15:05:30 -04:00
2009-07-24 15:05:30 -04:00
2009-07-10 15:01:49 -04:00