mac80211: Add support for beacon report radio measurement
authorAvraham Stern <avraham.stern@intel.com>
Tue, 5 Jul 2016 12:23:12 +0000 (15:23 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jul 2016 12:53:19 +0000 (14:53 +0200)
commit7947d3e075cde1a18e538f2dafbc850aa356ff79
tree2d283b23e55dde9f32e3803d79c0b82c8c79907e
parent1d76250bd34af86c6498fc51e50cab3bfbbeceaa
mac80211: Add support for beacon report radio measurement

Add the following to support beacon report radio measurement
with the measurement mode field set to passive or active:
1. Propagate the required scan duration to the device
2. Report the scan start time (in terms of TSF)
3. Report each BSS's detection time (also in terms of TSF)

TSF times refer to the BSS that the interface that requested the
scan is connected to.

Signed-off-by: Assaf Krauss <assaf.krauss@intel.com>
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
[changed ath9k/10k, at76c59x-usb, iwlegacy, wl1251 and wlcore to match
the new API]
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
15 files changed:
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath9k/channel.c
drivers/net/wireless/atmel/at76c50x-usb.c
drivers/net/wireless/intel/iwlegacy/common.c
drivers/net/wireless/intel/iwlwifi/dvm/scan.c
drivers/net/wireless/intel/iwlwifi/mvm/scan.c
drivers/net/wireless/mac80211_hwsim.c
drivers/net/wireless/st/cw1200/scan.c
drivers/net/wireless/ti/wl1251/event.c
drivers/net/wireless/ti/wl1251/main.c
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/scan.c
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/scan.c