[PATCH v2] wifi: ath10k: add support to allow broadcast action frame RX

Kalle Valo kvalo at kernel.org
Tue Dec 5 07:27:50 PST 2023

Jeff Johnson <quic_jjohnson at quicinc.com> writes:

> On 11/16/2023 9:32 AM, James Prestwood wrote:
>> 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 at gmail.com>


>> --- a/drivers/net/wireless/ath/ath10k/core.c
>> +++ b/drivers/net/wireless/ath/ath10k/core.c
>> @@ -381,6 +381,7 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = {
>>  		.hw_restart_disconnect = false,
>>  		.use_fw_tx_credits = true,
>>  		.delay_unmap_buffer = false,
>> +		.mcast_frame_registration = true,

I forgot to mention that I prefer explicitly setting the false cases as
well so I added those in the pending branch:




More information about the ath10k mailing list