From e092863fce5ad965a9ed3e4f214f55263af8f264 Mon Sep 17 00:00:00 2001 From: Srinivas Dasari Date: Tue, 5 May 2020 18:20:57 +0530 Subject: [PATCH] qcacmn: Configure burst duration as 0 when NDP is active Currently, burst duration is configured as 240ms when NDI has active NDPs. Firmware can go off-channel for scanning for this duration which blocks data transfer. But some NDP based applications(e.g. audio transfer) can tolerate a latency of a maximum 120ms. So firmware can't go off-channel for more than 120ms. Configure burst duration as 0 when an NDP is active to make sure firmware does non-burst scan and returns to NDP channel within 120ms after scanning. Change-Id: I33ca3a9d11c54b1173a3abd3ed7aa19c9c5662e5 CRs-Fixed: 2679038 --- umac/scan/core/src/wlan_scan_manager.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/umac/scan/core/src/wlan_scan_manager.c b/umac/scan/core/src/wlan_scan_manager.c index 0cc41fa466fd..1a7f1b8f8a4c 100644 --- a/umac/scan/core/src/wlan_scan_manager.c +++ b/umac/scan/core/src/wlan_scan_manager.c @@ -705,10 +705,7 @@ static void scm_req_update_concurrency_params(struct wlan_objmgr_vdev *vdev, } if (ndi_present) { - req->scan_req.burst_duration = - scm_scan_get_burst_duration( - req->scan_req.dwell_time_active, - scan_obj->miracast_enabled); + req->scan_req.burst_duration = 0; break; } } while (0);