From 77cb42a95239aa0e2e78ebde1a05e84e800b036f Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Fri, 15 Jun 2018 16:46:30 +0530 Subject: [PATCH] qcacmn: Fix high latency during BTM roaming While processing the WMA_ROAM_OFFLOAD_SYNCH_IND event, The driver takes nearly 150 to 200 msec time to just write fatal, error and info messages to the kmsg log buffer. Also to get tx power supplicant runs another thread while roaming. These cause more latency(300ms) to send WMA_ROAM_OFFLOAD_SYNCH_CNF message to fw. To decrease roam latency, the driver should write the only necessary error message to kmsg buffer. Fix is to change irrelevant fatal, error and info message type to debug. Change-Id: I521104c692eb42112ce2528c15d09785ff3470b6 CRs-Fixed: 2261592 --- src/wlan_policy_mgr_action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wlan_policy_mgr_action.c b/src/wlan_policy_mgr_action.c index 95e126bada3c..1bd5c4d1cecb 100644 --- a/src/wlan_policy_mgr_action.c +++ b/src/wlan_policy_mgr_action.c @@ -799,7 +799,7 @@ static bool policy_mgr_is_restart_sap_allowed( QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION) && ((policy_mgr_get_concurrency_mode(psoc) & sta_go_bit_mask) == sta_go_bit_mask)))) { - policy_mgr_err("MCC switch disabled or not concurrent STA/SAP, STA/GO"); + policy_mgr_debug("MCC switch disabled or not concurrent STA/SAP, STA/GO"); return false; }