]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: rework scanning to account for probe response/beacon difference
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 16 Apr 2008 15:43:20 +0000 (17:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Apr 2008 20:00:03 +0000 (16:00 -0400)
commit68fbe6500170ccb0a63a59b0473f7a71f3b24969
tree1e9de745debf9df518b38ada3a1322bdb5999e63
parentc3b53113d7a24a6ad35817d08aace764553cff85
mac80211: rework scanning to account for probe response/beacon difference

This patch reworks the scanning code (ieee80211_rx_bss_info) to take
more parameters from beacons and keep a BSS info structure alive when
only beacons for it are received. This fixes a problem with iwlwifi
drivers (where we don't understand the root cause of the problem yet)
and another driver for some broken hardware (which cannot send probe
requests unless associated, so can't always actively scan.)

Signed-off-by: Bill Moss <bmoss@clemson.edu>
[jmberg: reformatted comments, make probe_resp a bool]
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c