qcacld-3.0: Add min_dwell_time_6g ini support in roam offload scan
Currently min_dwell_time_6g ini support is there only for normal scan. Added support to configure min_dwell_time_6g in roam offload scan. Change-Id: I7da5fff738dbaf2a28a909e58ab6c797724ccfaf CRs-Fixed: 3156597
This commit is contained in:

committed by
Madan Koyyalamudi

parent
780b5d4231
commit
e8b3b4792b
@@ -2231,6 +2231,8 @@ cm_roam_scan_offload_fill_scan_params(struct wlan_objmgr_psoc *psoc,
|
|||||||
/* Parameters updated after association is complete */
|
/* Parameters updated after association is complete */
|
||||||
wlan_scan_cfg_get_passive_dwelltime(psoc,
|
wlan_scan_cfg_get_passive_dwelltime(psoc,
|
||||||
&scan_params->dwell_time_passive);
|
&scan_params->dwell_time_passive);
|
||||||
|
wlan_scan_cfg_get_min_dwelltime_6g(psoc,
|
||||||
|
&scan_params->min_dwell_time_6ghz);
|
||||||
/*
|
/*
|
||||||
* Here is the formula,
|
* Here is the formula,
|
||||||
* T(HomeAway) = N * T(dwell) + (N+1) * T(cs)
|
* T(HomeAway) = N * T(dwell) + (N+1) * T(cs)
|
||||||
|
@@ -1276,6 +1276,7 @@ struct wlan_roam_fils_params {
|
|||||||
* @vdev_id: vdev id
|
* @vdev_id: vdev id
|
||||||
* @dwell_time_passive: dwell time in msec on passive channels
|
* @dwell_time_passive: dwell time in msec on passive channels
|
||||||
* @dwell_time_active: dwell time in msec on active channels
|
* @dwell_time_active: dwell time in msec on active channels
|
||||||
|
* @min_dwell_time_6ghz: minimum dwell time in msec for 6 GHz channel
|
||||||
* @burst_duration: Burst duration time in msec
|
* @burst_duration: Burst duration time in msec
|
||||||
* @min_rest_time: min time in msec on the BSS channel,only valid if atleast
|
* @min_rest_time: min time in msec on the BSS channel,only valid if atleast
|
||||||
* one VDEV is active
|
* one VDEV is active
|
||||||
@@ -1306,6 +1307,7 @@ struct wlan_roam_scan_params {
|
|||||||
uint32_t vdev_id;
|
uint32_t vdev_id;
|
||||||
uint32_t dwell_time_passive;
|
uint32_t dwell_time_passive;
|
||||||
uint32_t dwell_time_active;
|
uint32_t dwell_time_active;
|
||||||
|
uint32_t min_dwell_time_6ghz;
|
||||||
uint32_t burst_duration;
|
uint32_t burst_duration;
|
||||||
uint32_t min_rest_time;
|
uint32_t min_rest_time;
|
||||||
uint32_t max_rest_time;
|
uint32_t max_rest_time;
|
||||||
|
@@ -4047,6 +4047,7 @@ wmi_fill_rso_start_scan_tlv(struct wlan_roam_scan_offload_params *rso_req,
|
|||||||
|
|
||||||
scan_tlv->dwell_time_active = src_scan_params->dwell_time_active;
|
scan_tlv->dwell_time_active = src_scan_params->dwell_time_active;
|
||||||
scan_tlv->dwell_time_passive = src_scan_params->dwell_time_passive;
|
scan_tlv->dwell_time_passive = src_scan_params->dwell_time_passive;
|
||||||
|
scan_tlv->min_dwell_time_6ghz = src_scan_params->min_dwell_time_6ghz;
|
||||||
scan_tlv->burst_duration = src_scan_params->burst_duration;
|
scan_tlv->burst_duration = src_scan_params->burst_duration;
|
||||||
scan_tlv->min_rest_time = src_scan_params->min_rest_time;
|
scan_tlv->min_rest_time = src_scan_params->min_rest_time;
|
||||||
scan_tlv->max_rest_time = src_scan_params->max_rest_time;
|
scan_tlv->max_rest_time = src_scan_params->max_rest_time;
|
||||||
|
Reference in New Issue
Block a user