qcacmn: Add support for delay_start_time in scheduled scan request
Add support to pass delay_start_time to firmware, this delay will be used before starting the first scan cycle. Change-Id: I7488fc8da4e22b170e52fb38c8a1d5b49dbf7e2f CRs-Fixed: 2014142
This commit is contained in:

committed by
Sandeep Puligilla

parent
3388ba3720
commit
c7cf021d17
@@ -2218,6 +2218,7 @@ struct pno_nw_type {
|
|||||||
* @sessionId: Session identifier
|
* @sessionId: Session identifier
|
||||||
* @fast_scan_period: Fast Scan period
|
* @fast_scan_period: Fast Scan period
|
||||||
* @slow_scan_period: Slow scan period
|
* @slow_scan_period: Slow scan period
|
||||||
|
* @delay_start_time: delay in seconds to use before starting the first scan
|
||||||
* @fast_scan_max_cycles: Fast scan max cycles
|
* @fast_scan_max_cycles: Fast scan max cycles
|
||||||
* @us24GProbeTemplateLen: 2.4G probe template length
|
* @us24GProbeTemplateLen: 2.4G probe template length
|
||||||
* @p24GProbeTemplate: 2.4G probe template
|
* @p24GProbeTemplate: 2.4G probe template
|
||||||
@@ -2239,6 +2240,7 @@ struct pno_scan_req_params {
|
|||||||
uint8_t sessionId;
|
uint8_t sessionId;
|
||||||
uint32_t fast_scan_period;
|
uint32_t fast_scan_period;
|
||||||
uint32_t slow_scan_period;
|
uint32_t slow_scan_period;
|
||||||
|
uint32_t delay_start_time;
|
||||||
uint8_t fast_scan_max_cycles;
|
uint8_t fast_scan_max_cycles;
|
||||||
uint32_t active_min_time;
|
uint32_t active_min_time;
|
||||||
uint32_t active_max_time;
|
uint32_t active_max_time;
|
||||||
|
@@ -6628,6 +6628,7 @@ static QDF_STATUS send_pno_start_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
/* Copy scan interval */
|
/* Copy scan interval */
|
||||||
cmd->fast_scan_period = pno->fast_scan_period;
|
cmd->fast_scan_period = pno->fast_scan_period;
|
||||||
cmd->slow_scan_period = pno->slow_scan_period;
|
cmd->slow_scan_period = pno->slow_scan_period;
|
||||||
|
cmd->delay_start_time = WMI_SEC_TO_MSEC(pno->delay_start_time);
|
||||||
cmd->fast_scan_max_cycles = pno->fast_scan_max_cycles;
|
cmd->fast_scan_max_cycles = pno->fast_scan_max_cycles;
|
||||||
WMI_LOGD("fast_scan_period: %d msec slow_scan_period: %d msec",
|
WMI_LOGD("fast_scan_period: %d msec slow_scan_period: %d msec",
|
||||||
cmd->fast_scan_period, cmd->slow_scan_period);
|
cmd->fast_scan_period, cmd->slow_scan_period);
|
||||||
|
Reference in New Issue
Block a user