mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: 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: Ia3043eecc38507b1581fa85b8787b2e7786017de CRs-Fixed: 2014142
This commit is contained in:
parent
ee5d2ba391
commit
15115cb9b8
3 changed files with 4 additions and 0 deletions
|
|
@ -2560,6 +2560,7 @@ static void hdd_config_sched_scan_plan(tpSirPNOScanReq pno_req,
|
|||
struct cfg80211_sched_scan_request *request,
|
||||
hdd_context_t *hdd_ctx)
|
||||
{
|
||||
pno_req->delay_start_time = request->delay;
|
||||
/*
|
||||
* As of now max 2 scan plans were supported by firmware
|
||||
* if number of scan plan supported by firmware increased below logic
|
||||
|
|
|
|||
|
|
@ -2901,6 +2901,7 @@ typedef struct {
|
|||
* @sessionId: Session identifier
|
||||
* @fast_scan_period: Fast 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
|
||||
* @us24GProbeTemplateLen: 2.4G probe template length
|
||||
* @p24GProbeTemplate: 2.4G probe template
|
||||
|
|
@ -2915,6 +2916,7 @@ typedef struct sSirPNOScanReq {
|
|||
uint8_t sessionId;
|
||||
uint32_t fast_scan_period;
|
||||
uint32_t slow_scan_period;
|
||||
uint32_t delay_start_time;
|
||||
uint8_t fast_scan_max_cycles;
|
||||
|
||||
uint32_t active_min_time;
|
||||
|
|
|
|||
|
|
@ -3082,6 +3082,7 @@ QDF_STATUS wma_pno_start(tp_wma_handle wma, tpSirPNOScanReq pno)
|
|||
params->fast_scan_period = pno->fast_scan_period;
|
||||
params->slow_scan_period = pno->slow_scan_period;
|
||||
params->fast_scan_max_cycles = pno->fast_scan_max_cycles;
|
||||
params->delay_start_time = pno->delay_start_time;
|
||||
params->active_min_time = pno->active_min_time;
|
||||
params->active_max_time = pno->active_max_time;
|
||||
params->passive_min_time = pno->passive_min_time;
|
||||
|
|
|
|||
Loading…
Reference in a new issue