mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 00:56:38 +08:00
fix(wpa_supplicant): fix disconnect from AP when connect to WPA3 router
This commit is contained in:
@ -18,7 +18,15 @@
|
||||
#ifdef IEEE8021X_EAPOL
|
||||
|
||||
static const int pmksa_cache_max_entries = 10;
|
||||
static const int dot11RSNAConfigPMKLifetime = 43200;
|
||||
/*
|
||||
* The PTK shall not be used longer than the PMK lifetime as determined by the minimum of
|
||||
* the PMK lifetime indicated by the AS, e.g., Session-Timeout + dot1xAuthTxPeriod or from
|
||||
* dot11RSNAConfigPMKLifetime. When RADIUS is used and the Session-Timeout attribute is
|
||||
* not in the RADIUS Accept message, and if the key lifetime is not otherwise specified,
|
||||
* then the PMK lifetime is infinite.
|
||||
* From 802.11-2016 12.7.1.3 Pairwise key hierarchy
|
||||
* */
|
||||
static const int dot11RSNAConfigPMKLifetime = 43200 * 2 * 12;
|
||||
static const int dot11RSNAConfigPMKReauthThreshold = 70;
|
||||
|
||||
struct rsn_pmksa_cache {
|
||||
|
Reference in New Issue
Block a user