]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: Fix end offset bit definition in monitor ring descriptor
authorP Praneesh <quic_ppranees@quicinc.com>
Mon, 23 Dec 2024 06:01:25 +0000 (11:31 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Sun, 26 Jan 2025 18:41:29 +0000 (10:41 -0800)
commit6788a666000d600bd8f2e9f991cad9cc805e7f01
tree46d4b75059fc9f7b07be5103f0d50e9948e56201
parent63fdc4509bcf483e79548de6bc08bf3c8e504bb3
wifi: ath12k: Fix end offset bit definition in monitor ring descriptor

End offset for the monitor destination ring descriptor is defined as
16 bits, while the firmware definition specifies only 12 bits.
The remaining bits (bit 12 to bit 15) are reserved and may contain
junk values, leading to invalid information retrieval. Fix this issue
by updating the correct genmask values.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
Link: https://patch.msgid.link/20241223060132.3506372-8-quic_ppranees@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/hal_desc.h