mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
wifi: brcmfmac: add PMK programming for firmware roaming offload
FT and OKC roaming offload need PMK material in firmware even when the initial 802.1X exchange is handled by userspace. Add a roaming firmware-supplicant profile state for those connections and allow PMK configuration while firmware FT or OKC state is active. Program the OKC PMK through the okc_info_pmk iovar before setting the regular PMK when firmware reports OKC state. Only select the roaming firmware-supplicant state when firmware advertises FBT or OKC support; devices without those capabilities keep the profile in the userspace supplicant state and do not issue roaming-offload specific iovars on every connect. For FT-PSK with firmware supplicant support, keep the profile in the PSK firmware-supplicant state. Assisted-by: GitHub-Copilot-CLI:gpt-5.5 Signed-off-by: Darren Li <hsin-hung.li@cypress.com> Signed-off-by: Chung-Hsien Hsu <Chung-Hsien.Hsu@infineon.com> Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com> Co-developed-by: Carella Chen <carella.chen@infineon.com> Signed-off-by: Carella Chen <carella.chen@infineon.com> Co-developed-by: Shelley Yang <shelley.yang@infineon.com> Signed-off-by: Shelley Yang <shelley.yang@infineon.com> Signed-off-by: Jason Huang <jason.huang2@infineon.com> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Link: https://patch.msgid.link/20260911065656.1269623-4-Jason.Huang2@infineon.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
b1590c5eef
commit
f84e486e12
2 changed files with 54 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue