Skip to content

Commit 7133b07

Browse files
Lingbo Kongkvalo
authored andcommitted
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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent add7313 commit 7133b07

File tree

1 file changed

+2
-2
lines changed
  • drivers/net/wireless/ath/ath12k

1 file changed

+2
-2
lines changed

drivers/net/wireless/ath/ath12k/hal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,8 +889,8 @@ static u8 *ath12k_hw_wcn7850_rx_desc_mpdu_start_addr2(struct hal_rx_desc *desc)
889889

890890
static bool ath12k_hw_wcn7850_rx_desc_is_da_mcbc(struct hal_rx_desc *desc)
891891
{
892-
return __le16_to_cpu(desc->u.wcn7850.msdu_end.info5) &
893-
RX_MSDU_END_INFO5_DA_IS_MCBC;
892+
return __le32_to_cpu(desc->u.wcn7850.msdu_end.info13) &
893+
RX_MSDU_END_INFO13_MCAST_BCAST;
894894
}
895895

896896
static void ath12k_hw_wcn7850_rx_desc_get_dot11_hdr(struct hal_rx_desc *desc,

0 commit comments

Comments
 (0)