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:
Nachiket Kukade 2020-11-09 14:32:38 +05:30
parent 4f74fd9e95
commit 50cf0c2d24

View File

@ -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 {