ath11k: fix 4addr multicast packet tx
authorKarthikeyan Periyasamy <periyasa@codeaurora.org>
Tue, 20 Jul 2021 21:31:47 +0000 (00:31 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 16 Sep 2021 09:15:40 +0000 (12:15 +0300)
commite20cfa3b62aeb1b5fc5ffa86a007af97f9954767
tree984d53574d598cc3c989010897980483c249a7ae
parent34c67dc366419e06129dad0f32f521842bdff9bc
ath11k: fix 4addr multicast packet tx

In 4addr, AP wired backbone to STA wired backbone ping fails due to ARP
request not getting answered. Here 4addr ARP multicast packet is sent in
3addr, so that 4addr STA not honouring the 3addr ARP multicast packet.
Fix this issue by sending out multicast packet in 4addr format, firmware
expects peer meta flag instead of vdev meta flag in Tx descriptor.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01641-QCAHKSWPL_SILICONZ-1

Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210720213147.90042-2-jouni@codeaurora.org
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/dp_tx.c
drivers/net/wireless/ath/ath11k/dp_tx.h
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/peer.c