OSDN Git Service

wifi: ath12k: fill peer meta data during reo_reinject
authorP Praneesh <quic_ppranees@quicinc.com>
Fri, 17 Mar 2023 16:20:56 +0000 (21:50 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 24 Mar 2023 14:47:58 +0000 (16:47 +0200)
commit4b50d4205207ab706b3ecd0d122c014845b8e1f0
tree1843bc3b5051c4773264896406054ba9f95cbe73
parent72d17c3e86d0f7fad8f3ae77d87d00b7b6788a8e
wifi: ath12k: fill peer meta data during reo_reinject

Firmware expects physical address in the reo entrance ring when MLO is
enabled and peer meta data in the queue_addr_lo for the non MLO cases.
Current implementation fills the physical address for the non MLO cases
and firmware decodes it differently which leads to SOC CSR region
access which is not related to firmware/MAC operation.

Fix this by sending only peer_meta data and destination indication bit
during non MLO case. This prevents firmware from invalid decoding.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
Signed-off-by: Manish Dharanenthiran <quic_mdharane@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230317162056.20353-1-quic_mdharane@quicinc.com
drivers/net/wireless/ath/ath12k/dp_rx.c