From 9d865648dd7d3eccb9723d1619bbc9b4240dbf67 Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Mon, 24 Apr 2017 10:47:42 -0700 Subject: [PATCH] qcacmn: Expose scan_backoff_multiplier for NLO/PNO For Network Listen Offload and Perfered Network Offload, the fast scan period is multiplied by scan_backoff_multiplier after max cycles have occurred. Expose scan_backoff_multiplier to consumers of the WMI API, so this parameter can be configured. Change-Id: I478fb61cd096d3496205f4ff556e180dabf99b77 CRs-Fixed: 2035201 --- wmi_unified_tlv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wmi_unified_tlv.c b/wmi_unified_tlv.c index 98c9844719..988c8f7fe6 100644 --- a/wmi_unified_tlv.c +++ b/wmi_unified_tlv.c @@ -7020,6 +7020,7 @@ static QDF_STATUS send_pno_start_cmd_tlv(wmi_unified_t wmi_handle, 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->scan_backoff_multiplier = pno->scan_backoff_multiplier; WMI_LOGD("fast_scan_period: %d msec slow_scan_period: %d msec", cmd->fast_scan_period, cmd->slow_scan_period); WMI_LOGD("fast_scan_max_cycles: %d", cmd->fast_scan_max_cycles);