Explorar o código

Merge branch 'bugfix/wpa3_pmkcache_expiry_workaround_v4.0' into 'release/v4.0'

wpa_supplicant: Increase PMK Lifetime to a very high value (Backport v4.0)

See merge request espressif/esp-idf!11183
Jiang Jiang Jian %!s(int64=5) %!d(string=hai) anos
pai
achega
d31a127db5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/wpa_supplicant/src/rsn_supp/pmksa_cache.c

+ 1 - 1
components/wpa_supplicant/src/rsn_supp/pmksa_cache.c

@@ -18,7 +18,7 @@
 #ifdef IEEE8021X_EAPOL
 
 static const int pmksa_cache_max_entries = 10;
-static const int dot11RSNAConfigPMKLifetime = 43200;
+static const int dot11RSNAConfigPMKLifetime = 8640000; // 100 days = 3600 x 24 x 100 Seconds
 static const int dot11RSNAConfigPMKReauthThreshold = 70;
 
 struct rsn_pmksa_cache {