wifi: brcmfmac: feature: Add support for setting feats based on WLC version
authorHector Martin <marcan@marcan.st>
Tue, 14 Feb 2023 09:24:17 +0000 (18:24 +0900)
committerKalle Valo <kvalo@kernel.org>
Mon, 27 Feb 2023 14:59:35 +0000 (16:59 +0200)
commitd75ef1f81e42dfccfeb97952e2ab70376832cf7a
tree91d72c36ec36925bdd16224b1123070c549f174c
parent398ce273d6b16a57dee99e4054a2be37f0a958ed
wifi: brcmfmac: feature: Add support for setting feats based on WLC version

The "wlc_ver" iovar returns information on the WLC and EPI versions.
This can be used to determine whether the PMKID_V2 and _V3 features are
supported.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230214092423.15175-4-marcan@marcan.st
drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h