driver: Add OCE scan parameters
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 Optimized Connectivity Experience Technical Specification v1.0: - Overwrite FILS request Max Channel Time with actual value (clause 3.8) - Send Probe Request frame in high rate (at least 5.5 Mbps) (clause 3.12) - Probe Request frame Transmission Deferral and Suppression (clause 3.5) - Accept broadcast Probe Response frame (clause 3.6) Signed-off-by: Roee Zamir <roee.zamir@intel.com>
This commit is contained in:
parent
830eacf9d0
commit
938dd97a84
2 changed files with 13 additions and 0 deletions
|
@ -567,6 +567,18 @@ struct wpa_driver_scan_params {
|
|||
*/
|
||||
s8 relative_adjust_rssi;
|
||||
|
||||
/**
|
||||
* oce_scan
|
||||
*
|
||||
* Enable the following OCE scan features: (WFA OCE TechSpec v1.0)
|
||||
* - Accept broadcast Probe Response frame.
|
||||
* - Probe Request frame deferral and suppression.
|
||||
* - Max Channel Time - driver fills FILS request params IE with
|
||||
* Maximum Channel Time.
|
||||
* - Send 1st Probe Request frame in rate of minimum 5.5 Mbps.
|
||||
*/
|
||||
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
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue