summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhinav Kumar <abhikuma@codeaurora.org>2018-05-01 23:00:39 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-04 01:09:13 -0700
commitcf01fe7663a8bde6a3803bb5aca4884401a59eee (patch)
tree9e22de72888b6abfa0dcc8e854a001dd63b2a527
parent18a5585cc2cdc6b0790c3e3a144d559f27e26b2a (diff)
qcacld-3.0: Avoid possible heartbeat failure due to Hw-DTIM
In case of STA + SAP, when STA connect to a new AP, the SAP initiate channel switch to the new channel of the STA. During this transition period DUT will be in MCC scenario and thus firmware changes the TBTT of SAP to get 50% channel time. Due to this peer STA connected to DUT-SAP may miss all 5 beacons containing CSA info and when it comes out of hw-dtim mode after 5 beacon misses the DUT SAP has already moved to new channel and thus as SAP is not on the old channel the peer STA will receive Heart beat failure. To avoid this Heart beat failure on peer STA, increases the default value of channel switch count (g_sap_chanswitch_beacon_cnt) to 10 to increase the probability of receiving beacons with CSA info. Change-Id: I2e5182c299f2a100c9919ffc123aa6b1290324f9 CRs-Fixed: 2227704
-rw-r--r--core/hdd/inc/wlan_hdd_cfg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h
index cb5ec156ffbd..f1c99ae261bb 100644
--- a/core/hdd/inc/wlan_hdd_cfg.h
+++ b/core/hdd/inc/wlan_hdd_cfg.h
@@ -12592,8 +12592,8 @@ enum hw_filter_mode {
* <ini>
* g_sap_chanswitch_beacon_cnt - channel switch beacon count
* @Min: 1
- * @Max: 5
- * @Default: 5
+ * @Max: 10
+ * @Default: 10
*
* This ini is used to configure channel switch beacon count
*
@@ -12606,7 +12606,7 @@ enum hw_filter_mode {
#define CFG_SAP_CH_SWITCH_BEACON_CNT "g_sap_chanswitch_beacon_cnt"
#define CFG_SAP_CH_SWITCH_BEACON_CNT_MIN (1)
#define CFG_SAP_CH_SWITCH_BEACON_CNT_MAX (10)
-#define CFG_SAP_CH_SWITCH_BEACON_CNT_DEFAULT (5)
+#define CFG_SAP_CH_SWITCH_BEACON_CNT_DEFAULT (10)
/*
* <ini>