[PATCH v2] wpa_supplicant: Add network option to disable PMKSA caching
Jouni Malinen
j at w1.fi
Mon Oct 5 12:39:46 PDT 2026
On Wed, Jul 01, 2026 at 11:41:31AM +0800, Jason Huang wrote:
> Some certification-oriented test setups need to disable PMKSA
> caching on the STA side. Using a very short dot11RSNAConfigPMKLifetime
> value for this purpose lets a PMKSA entry be created and then expire,
> which can trigger the standard PMKSA expiration deauthentication behavior.
>
> Add a per-network disable_pmksa_caching parameter for wpa_supplicant so
> such tests can explicitly avoid adding or selecting PMKSA cache entries.
> This preserves the existing PMKSA expiration/removal deauthentication
> behavior while providing a direct way to disable PMKSA caching.
>
> The option defaults to disabled, matching existing behavior.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list