wifi: ath12k: add msdu_end structure for WCN7850
authorKang Yang <quic_kangyang@quicinc.com>
Mon, 11 Sep 2023 09:30:54 +0000 (17:30 +0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 28 Sep 2023 15:12:36 +0000 (18:12 +0300)
commited823fd113b769bf38ca6d0c2e5a588f778b5127
treefb3baa34c143d8cf4ddd7d5fd038c5826d96f335
parentc4cb46dfb291e1bb13dc2bb8050156bdf1ca406c
wifi: ath12k: add msdu_end structure for WCN7850

WCN7850 and QCN9274 currently use the same structure rx_msdu_end_qcn9274
for msdu_end. But content of msdu_end on WCN7850 is different from that of
QCN9274. Need to update it for WCN7850, otherwise will get the wrong
values when using it.

For example, TID is no longer in WCN7850's msdu_end. But
ath12k_dp_rx_process_err() and ath12k_dp_rx_process_wbm_err() still get
TID from msdu_end. So an uncertain value will be used in these two
functions on WCN7850.

Therefore, add new structure rx_msdu_end_wcn7850 for WCN7850.

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

Signed-off-by: Kang Yang <quic_kangyang@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230911093054.74943-1-quic_kangyang@quicinc.com
drivers/net/wireless/ath/ath12k/hal.c
drivers/net/wireless/ath/ath12k/rx_desc.h