at76c50x: fix scan does not work with latest mac80211
since commit 3afc2167f6
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>
Цей коміт міститься в:

зафіксовано
John W. Linville

джерело
67be1e4f4b
коміт
c678de5536
@@ -418,6 +418,7 @@ struct at76_priv {
|
||||
int scan_max_time; /* scan max channel time */
|
||||
int scan_mode; /* SCAN_TYPE_ACTIVE, SCAN_TYPE_PASSIVE */
|
||||
int scan_need_any; /* if set, need to scan for any ESSID */
|
||||
bool scanning; /* if set, the scan is running */
|
||||
|
||||
u16 assoc_id; /* current association ID, if associated */
|
||||
|
||||
|
Посилання в новій задачі
Заблокувати користувача