]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: brcmfmac: add per-vendor feature detection callback
authorArend van Spriel <arend.vanspriel@broadcom.com>
Wed, 3 Jan 2024 09:57:02 +0000 (10:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:28:38 +0000 (15:28 +0200)
commit47b563297a482d060ef5b2b898ed354eb84e5a22
tree591eb36c07666bab53098282a86a41d6d7b70f91
parent73520eeea49d29d15722a33841ac90527b772aa6
wifi: brcmfmac: add per-vendor feature detection callback

[ Upstream commit 14e1391b71027948cdbacdbea4bf8858c2068eb7 ]

Adding a .feat_attach() callback allowing per-vendor overrides
of the driver feature flags. In this patch the callback is only
provided by BCA vendor to disable SAE feature as it has not been
confirmed yet. BCA chips generally do not have the in-driver
supplicant (idsup) feature so they rely on NL80211_CMD_EXTERNAL_AUTH
to trigger user-space authentication.

Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240103095704.135651-3-arend.vanspriel@broadcom.com
Stable-dep-of: 85da8f71aaa7 ("wifi: brcmfmac: Demote vendor-specific attach/detach messages to info")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bca/core.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwvid.h