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)
commit30b89b0f5e1313c8a5a039abeaa89248b6338d81
tree1e9de745debf9df518b38ada3a1322bdb5999e63
parent194828a292db3cf421ae7f82232f2fc655fbbc3c
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