wifi: ath12k: fix the issue that the multicast/broadcast indicator is not read correc...
authorLingbo Kong <quic_lingbok@quicinc.com>
Wed, 6 Dec 2023 14:17:59 +0000 (22:17 +0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 12 Dec 2023 17:34:05 +0000 (19:34 +0200)
commit7133b072dfbfac8763ffb017642c9c894894c50d
tree69a09f559be1e0d92677de66c47df9428f43cf1c
parentadd731385eed7b2c8298e3f97250e6057d7ca9cf
wifi: ath12k: fix the issue that the multicast/broadcast indicator is not read correctly for WCN7850

We observe some packets are discarded in ieee80211_rx_handlers_result
function for WCN7850. This is because the way to get multicast/broadcast
indicator with RX_MSDU_END_INFO5_DA_IS_MCBC & info5 is incorrect. It should
use RX_MSDU_END_INFO13_MCAST_BCAST & info13 to get multicast/broadcast
indicator.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4

Signed-off-by: Lingbo Kong <quic_lingbok@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20231206141759.5430-1-quic_lingbok@quicinc.com
drivers/net/wireless/ath/ath12k/hal.c