]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add driver RSSI threshold events
authorMeenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Fri, 8 Jul 2011 15:46:22 +0000 (08:46 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jul 2011 19:02:06 +0000 (15:02 -0400)
commit4db749cb6f0c766a63872d440c41d95de47ee8b9
tree4c0803460f682c34b11929a1fe22e150839efedb
parent7ccde2c8f7fb0d6d63cc4f774055b7c2dd07f918
mac80211: add driver RSSI threshold events

mac80211 maintains a running average of the RSSI when a STA
is associated to an AP. Report threshold events to any driver
that has registered callbacks for getting RSSI measurements.

Implement callbacks in mac80211 so that driver can set thresholds.
Add callbacks in mac80211 which is invoked when an RSSI threshold
event occurs.

mac80211: add tracing to rssi_reports api and remove extraneous fn argument
mac80211: scale up rssi thresholds from driver by 16 before storing

Signed-off-by: Meenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/driver-trace.h
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/util.c