[PATCH] Avoid Diffie-Hellman Element inclusion in Association

Jouni Malinen j at w1.fi
Sat Aug 22 10:08:37 EDT 2020


On Thu, Aug 20, 2020 at 05:31:16AM +0000, Chittur Subramanian Raman wrote:
> Avoid Diffie-Hellman Element inclusion in Association Response frame from AP in case of PMKSA caching. As per RFC 8110 -  Opportunistic Wireless Encryption, if the AP has the PMK identified by the PMKID and wishes to perform "PMK caching", he will include the PMKID in his 802.11 association response but does not include a Diffie-Hellman Parameter element.

Thanks, applied. Though, this commit message did not seem to addressing
a corner case rather than the normal case where the DH Param element was
already not included. It was possible for that element to be there in
Association Response frame in cases where the STA entry was left from an
earlier association and a new association is being tried before that
state gets cleared. For the normal case of starting without such state,
sta->owe_ecdh would be left to NULL to skip this addition of the IE.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list