]> 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)
commit0e935ca7902926d3bd4bd54223758e03a02a4cb8
tree0acdf58bca369ae1fc1a98389329950676891618
parentafac9a30e239a2695d1a0ba1a94e807d8334b474
at76c50x: fix scan does not work with latest mac80211

since commit ec75c64989f65d720eac8ed859d570de55f4eefa 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