From e288a93d22c4ebc79caddfdec88c486da497c5f4 Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Thu, 5 Sep 2019 15:38:43 +0530 Subject: [PATCH] qcacmn: Documentation enhancement for wake_lock_in_user_scan Update kernel doc for wake_lock_in_user_scan to improve code readability. Change-Id: I5a7a0fd8cb18d97d293e9896ed58b40a52e06e0c CRs-Fixed: 2520906 --- umac/scan/dispatcher/inc/wlan_scan_cfg.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/umac/scan/dispatcher/inc/wlan_scan_cfg.h b/umac/scan/dispatcher/inc/wlan_scan_cfg.h index b063256f1576..a1f4e67eb459 100644 --- a/umac/scan/dispatcher/inc/wlan_scan_cfg.h +++ b/umac/scan/dispatcher/inc/wlan_scan_cfg.h @@ -841,12 +841,19 @@ /* * - * wake_lock_in_user_scan - use wake lock during user scan + * wake_lock_in_user_scan - use to acquire wake lock during user scan * @Min: 0 * @Max: 1 * @Default: 0 * - * This ini is used to define if wake lock is held used during user scan req + * This INI is added for a specific OEM on their request, who don’t want to + * use PNO offload scan (sched scans). This is useful only if PNO scan offload + * is disabled. If PNO scan is enabled this INI should be disabled and its + * by default disabled intentionally. + * This is used to acquire wake lock to handle the case where PNO scan offload + * is disabled so that wlan is not suspended during scan before connect and + * thus scan is not aborted in between. In case PNO scan is offloaded, the FW + * will take care of connect scans and will wake up host when candidate is found * * Related: Scan *