Procházet zdrojové kódy

qcacld-3.0: Reset auth_failure_timeout in pe_delete_session

auth_failure_timeout is updated as part of
lim_check_and_announce_join_success for p2p client with NOA.
And the default value is stored in pe_session->defaultAuthFailureTimeout
After receiving the auth resp or in case of auth failure the
auth_failure_timeout is reset to default value. But there is any other
failure and pe session is deleted then the auth_failure_timeout is
not reset. And p2p cli connection will use the wrong auth timeout.
And can result in connection delay's if GO doesn't send the auth response.

Reset the auth_failure_timeout to defalut as part of pe_delete_session.
And decrease the max value to 5000ms.

Change-Id: I374bf45279f086127ef062b83a06049c895c4675
CRs-Fixed: 2343832
Bala Venkatesh před 6 roky
rodič
revize
91601a3803
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      mlme/dispatcher/inc/cfg_mlme_timeout.h

+ 2 - 2
mlme/dispatcher/inc/cfg_mlme_timeout.h

@@ -59,8 +59,8 @@
  */
 #define CFG_AUTH_FAILURE_TIMEOUT CFG_INI_UINT( \
 		"auth_failure_timeout", \
-		0, \
-		65535, \
+		500, \
+		5000, \
 		1000, \
 		CFG_VALUE_OR_DEFAULT, \
 		"auth failure timeout")