From: Roee Zamir <roee.zamir@xxxxxxxxx> Add a flag to scan parameters that enables OCE scan features. If this flag is set the device should enable the following features as defined in the OCE TechSpec v0.0.10: - Overwrite FILS request Max Channel Time with actual value (clause 3.8) - Send probe request in High Rate (at least 5.5M) (clause 3.12) - Probe Request Frame Transmission Deferral and Suppression (clause 3.5) - Accept broadcast probe response (clause 3.6) Signed-off-by: Roee Zamir <roee.zamir@xxxxxxxxx> --- src/drivers/driver.h | 11 +++++++++++ wpa_supplicant/scan.c | 1 + 2 files changed, 12 insertions(+) diff --git a/src/drivers/driver.h b/src/drivers/driver.h index 9922962..68b55f3 100644 --- a/src/drivers/driver.h +++ b/src/drivers/driver.h @@ -567,6 +567,17 @@ struct wpa_driver_scan_params { */ s8 relative_adjust_rssi; + /** + * oce_scan + * + * Enable the following OCE scan features: (WFA OCE TechSpec v0.0.10) + * - Accept broadcast probe respponse. + * - Probe request Deferral and suppression. + * - Max Channel Time - driver fills FILS request params IE with MCT. + * - Send 1st probe request in rate of minimum 5MBps. + */ + unsigned int oce_scan:1; + /* * NOTE: Whenever adding new parameters here, please make sure * wpa_scan_clone_params() and wpa_scan_free_params() get updated with diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c index 104b258..3c52c39 100644 --- a/wpa_supplicant/scan.c +++ b/wpa_supplicant/scan.c @@ -2401,6 +2401,7 @@ wpa_scan_clone_params(const struct wpa_driver_scan_params *src) params->low_priority = src->low_priority; params->duration = src->duration; params->duration_mandatory = src->duration_mandatory; + params->oce_scan = src->oce_scan; if (src->sched_scan_plans_num > 0) { params->sched_scan_plans = -- 2.7.4 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap