mac80211: redesign scan RX
authorJohannes Berg <johannes.berg@intel.com>
Fri, 6 Jul 2012 20:19:27 +0000 (22:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jul 2012 10:10:44 +0000 (12:10 +0200)
Scan receive is rather inefficient when there are
multiple virtual interfaces. We iterate all of the
virtual interfaces and then notify cfg80211 about
each beacon many times.

Redesign scan RX to happen before everything else.
Then we can also get rid of IEEE80211_RX_IN_SCAN
since we don't have to accept frames into the RX
handlers for scanning or scheduled scanning any
more. Overall, this simplifies the code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs.c
net/mac80211/ieee80211_i.h
net/mac80211/rx.c
net/mac80211/scan.c

Simple merge
Simple merge
Simple merge
Simple merge