]> git.baikalelectronics.ru Git - kernel.git/commit
at76c50x: fix scan does not work with latest mac80211
authorAndrea Merello <andrea.merello@gmail.com>
Thu, 5 Jun 2014 14:10:12 +0000 (16:10 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Jun 2014 18:15:08 +0000 (14:15 -0400)
commitd603e584c5cd7b9b55ed5b0cc8a00aef9905273c
tree0acdf58bca369ae1fc1a98389329950676891618
parentdb1846b33aef5f41ee9e4924bb78c82c87b83699
at76c50x: fix scan does not work with latest mac80211

since commit ca3d9ebaf5ceee9fa9a2e2e182de76d58d2ff361 scan in not
working anymore, due to mac80211 requires rx frequency status
information.

This patch makes the driver report this information.

While NOT scanning this is straightforward.
While scanning the firmware performs RF sweep and we cannot track
the actual tuning frequency, so this is guessed by parsing beacons
and probe responses.
This should be enough for ensuring functionality.

Thanks-to: Johannes Berg <johannes@sipsolutions.net> [ for suggestions and reviewing ]
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/at76c50x-usb.c
drivers/net/wireless/at76c50x-usb.h