]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc58629c2bc05e75c91ae8e5f760d6ced4dc2c091
treeca2603b4ebfa210dda48c1a311996d826084835e
parent8be48b1957acd17b79612319d475d01d33622874
mac80211: redesign scan RX

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