mac80211: sample survey implementation for mac80211 & hwsim
authorHolger Schurig <holgerschurig@gmail.com>
Mon, 19 Apr 2010 08:23:57 +0000 (10:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Apr 2010 15:50:52 +0000 (11:50 -0400)
commit1289723ef238908ca8d95ff48a46ee0de970f882
treeb4d584aee8abcc33dec2039fb45112156d3cd3d0
parent03ceedea972a82d343fa5c2528b3952fa9e615d5
mac80211: sample survey implementation for mac80211 & hwsim

This adds the survey function to both mac80211 itself and to mac80211_hwsim.
For the latter driver, we simply invent some noise level.A real driver which
cannot determine the real channel noise MUST NOT report any noise, especially
not a magically conjured one :-)

Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/driver-ops.h