wifi: ath10k: add support to allow broadcast action frame RX
authorJames Prestwood <prestwoj@gmail.com>
Tue, 5 Dec 2023 15:15:36 +0000 (17:15 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 7 Dec 2023 10:14:54 +0000 (12:14 +0200)
commit63b896629353157e8ca77cabdfab340b5c69ca59
tree3987eb872f6e424636691c12338c13789551d415
parentc8a5f34ad811743d1b3aeb5c54198eebd413bc6d
wifi: ath10k: add support to allow broadcast action frame RX

Broadcast action frames are needed for the Device Provisioning
Protocol (DPP) for Presence and PKEX Exchange requests. Currently
just ath9k has this capability so this is being enabled for
ath10k (for at least one hardware variant).

Add a new capability flag in ath10k_hw_params to indicate support
for receiving multicast action frames. This bit is then checked
when configuring the RX filter and (if set) multicast action frame
registration is enabled.

Until more hardware can be tested only the "qca6174 hw3.2" variant
is enabling this feature.

Note: I went ahead and removed the 'changed_flags' mask operation
since it had no effect, that parameter was not being used anywhere.

Tested-on: QCA6174 hw3.2 WLAN.RM.4.4.1-00288-

Signed-off-by: James Prestwood <prestwoj@gmail.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20231116173246.40458-1-prestwoj@gmail.com
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath10k/mac.c