2020-04-08 20:32:42

by James Prestwood

[permalink] [raw]
Subject: Is PSK offload now required on fullmac?

Hi,

I have been doing some testing on brcmfmac (using a Raspi 3) and
cannot get PSK connections to work unless using the PSK offload
feature. In 2018 the offload support was added to wpa_supplicant where
it checks for the extended feature and if its set it includes ATTR_PMK
with CMD_CONNECT. This all works and I have done a similar change to
IWD. My question is, should this work without including ATTR_PMK and
doing EAPoL in userspace? Or is ATTR_PMK now required on brcmfmac?

When I leave out ATTR_PMK to CMD_CONNECT I get a successful connect
event, but then get disconnected within a few seconds with an EAPoL
timeout. This is a locally generated disconnect.

Thanks,
James