Explorar o código

qcacld-3.0: Adjust beacon miss timeout in awake and sleep modes

In beacon loss, roaming condition is triggered when client doesn't
receives beacon packets from connected AP for 3 to 5 Secs.
There is no significance of 6Secs and 10Secs timeout in wakeup
and sleep modes respectively, as STA will disconnect after
partial+full roam scan.

Trigger beacon loss roaming that is half of link loss timeout
in wakeup and sleep modes.

Change-Id: I12ef4201a0457ca716ad857caad6c1be334e17f0
CRs-Fixed: 3306658
Aravind Kishore Sukla %!s(int64=2) %!d(string=hai) anos
pai
achega
3510a69ea6
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      components/mlme/dispatcher/inc/cfg_mlme_lfr.h

+ 4 - 4
components/mlme/dispatcher/inc/cfg_mlme_lfr.h

@@ -1807,7 +1807,7 @@
  * trigger timeout
  * @Min: 0
  * @Max: 20
- * @Default: 6
+ * @Default: 3
  *
  * This ini is used to control the beacon miss timeout when the system is awake.
  * On the timeout, BMISS event will be triggered by FW.
@@ -1823,7 +1823,7 @@
 	"ConBeaconLoss_TimeoutOnWakeUp", \
 	0, \
 	20, \
-	6, \
+	3, \
 	CFG_VALUE_OR_DEFAULT, \
 	"ConBeaconloss timeout on wakeup")
 
@@ -1833,7 +1833,7 @@
  * trigger timeout
  * @Min: 0
  * @Max: 20
- * @Default: 10
+ * @Default: 5
  *
  * This ini is used to control the beacon miss timeout
  * when the system is in sleep.
@@ -1850,7 +1850,7 @@
 	"ConBeaconLoss_TimeoutOnSleep", \
 	0, \
 	20, \
-	10, \
+	5, \
 	CFG_VALUE_OR_DEFAULT, \
 	"ConBeaconloss timeout on sleep")