]> git.ipfire.org Git - thirdparty/hostap.git/commit
FT: Remove optional fields from RSNE when using PMF
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 6 Aug 2015 13:41:38 +0000 (16:41 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 6 Aug 2015 17:47:26 +0000 (20:47 +0300)
commit44fa5e747b7aca39285e2511d5c94684e0723b6b
treeaca3d787697d2cf2c2d62fe6c42175ecdcd32173
parent3fb62bdae9c936db9ec261cb3087fdc0ac2a1bae
FT: Remove optional fields from RSNE when using PMF

The PMKIDCount, PMKID List, and Group Management Cipher Suite fields are
optional to include in the RSNE in cases where these would not have
values that are different from the default values. In practice,
PMKIDCount is always 0 in Beacon and Probe Response frames, so the only
field of these that could have a non-default value is Group Management
Cipher Suite. When BIP is used, that field is not needed either due to
BIP being the default cipher when PMF is enabled.

Remove these fields from RSNE when BIP is used to save six octets in
Beacon and Probe Response frames. In addition to reduced frame length,
this is a workaround for interoperability issues with iOS 8.4 in cases
where FT and PMF are enabled. iOS seems to be rejecting EAPOL-Key msg
3/4 during FT initial mobility domain association if the RSNE includes
the PMKIDCount field.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/wpa_auth_ie.c