path: root/wpa_supplicant/scan.c
diff options
authorAvraham Stern <avraham.stern@intel.com>2016-12-28 13:06:40 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-03 13:18:29 (GMT)
commitc16b9f8d33fb9c981d2cfcd8aeca1ca145ef531b (patch)
treecd06c58ee29e44f4d9b67166fb39994b08699048 /wpa_supplicant/scan.c
parent3c716fdbd7e15815d207223dfee804da3952205a (diff)
driver: Add scan support to beacon report
Add the following parameters to scan request: 1. Dwell time on each channel. 2. Whether the specified dwell time is mandatory. In addition, add to scan results info the time that the scan actually started, and to each scan result the time the beacon/probe was received, both in terms of TSF of the BSS that the interface that requested the scan is connected to (if available). Add flags to indicate whether the driver supports dwell time configuration and scan information reporting. This scan configuration and information is required to support beacon report radio measurement. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Diffstat (limited to 'wpa_supplicant/scan.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c
index 68dc2f4..16f9c5c 100644
--- a/wpa_supplicant/scan.c
+++ b/wpa_supplicant/scan.c
@@ -2348,6 +2348,8 @@ wpa_scan_clone_params(const struct wpa_driver_scan_params *src)
params->p2p_probe = src->p2p_probe;
params->only_new_results = src->only_new_results;
params->low_priority = src->low_priority;
+ params->duration = src->duration;
+ params->duration_mandatory = src->duration_mandatory;
if (src->sched_scan_plans_num > 0) {
params->sched_scan_plans =