Browse Source

qcacld-3.0: Modify STORED_ACS_FREQ_TIMEOUT from 500ms to 5sec

During XPAN turn-on, two ACS request will come to driver, first
BT initiate the ACS and then hostapd. This is to get the channel
by BT before actual ACS is triggered. But both req should return
same freq if both are coming within 500ms.

Due to country code setting in hostapd during initial SAP turn
on, it causes 1sec delay to turn on SAP which results two
different ACS results and in some scenario it may take 5secs
also.

To avoid delay in SAP turn on, modify STORED_ACS_FREQ_TIMEOUT
from 500ms to 5sec

Change-Id: I7cac7b557a78faa00c6e97444c7a918b012eadb5
CRs-Fixed: 3607574
Jyoti Kumari 1 year ago
parent
commit
28659c5579
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_cfg80211.c

+ 1 - 1
core/hdd/src/wlan_hdd_cfg80211.c

@@ -3824,7 +3824,7 @@ hdd_remove_passive_dfs_acs_channel_for_ll_sap(struct sap_config *sap_config,
 #endif
 
 /* Stored ACS Frequency timeout in msec */
-#define STORED_ACS_FREQ_TIMEOUT 500
+#define STORED_ACS_FREQ_TIMEOUT 5000
 static bool
 wlan_hdd_is_prev_acs_freq_present_in_acs_config(struct sap_config *sap_cfg)
 {