mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
wpa_supplicant: Increase PMK Lifetime to a very high value
For WPA3 connection nearing PMK lifetime expiry, PMK Cache needs a re-authentication or the cache will expire. After current expiry of 12 hours Station ends up sending a deauth to the AP. An SAE re-authentication also cannot occur without a disconnection with current implementation. So increase the PMK lifetime to 100 days for now.
This commit is contained in:
parent
4f74fd9e95
commit
50cf0c2d24
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user