diff options
| author | Avraham Stern <[email protected]> | 2016-07-05 12:23:12 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2016-07-06 12:53:19 +0000 |
| commit | 7947d3e075cde1a18e538f2dafbc850aa356ff79 (patch) | |
| tree | 2d283b23e55dde9f32e3803d79c0b82c8c79907e /drivers/net/wireless/intel/iwlegacy/common.c | |
| parent | nl80211: support beacon report scanning (diff) | |
| download | kernel-7947d3e075cde1a18e538f2dafbc850aa356ff79.tar.gz kernel-7947d3e075cde1a18e538f2dafbc850aa356ff79.zip | |
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 <[email protected]>
Signed-off-by: Avraham Stern <[email protected]>
[changed ath9k/10k, at76c59x-usb, iwlegacy, wl1251 and wlcore to match
the new API]
Signed-off-by: Luca Coelho <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlegacy/common.c')
| -rw-r--r-- | drivers/net/wireless/intel/iwlegacy/common.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlegacy/common.c b/drivers/net/wireless/intel/iwlegacy/common.c index eb24b9241bb2..140b6ea8f7cc 100644 --- a/drivers/net/wireless/intel/iwlegacy/common.c +++ b/drivers/net/wireless/intel/iwlegacy/common.c @@ -1305,10 +1305,14 @@ il_send_scan_abort(struct il_priv *il) static void il_complete_scan(struct il_priv *il, bool aborted) { + struct cfg80211_scan_info info = { + .aborted = aborted, + }; + /* check if scan was requested from mac80211 */ if (il->scan_request) { D_SCAN("Complete scan in mac80211\n"); - ieee80211_scan_completed(il->hw, aborted); + ieee80211_scan_completed(il->hw, &info); } il->scan_vif = NULL; |
