]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: ath12k: Enable monitor ring mask for QCN9274
authorP Praneesh <quic_ppranees@quicinc.com>
Mon, 23 Dec 2024 06:01:32 +0000 (11:31 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Sun, 26 Jan 2025 18:41:30 +0000 (10:41 -0800)
QCN9274's monitor related rings are initialized properly. Hence enabling
the corresponding ring mask in the hardware params.

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-15-quic_ppranees@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/hw.c

index 14bbd446ad37096236c62228ea54746756d6d0c8..a106ebed7870de6bf89c4db7936c678b010cca58 100644 (file)
@@ -543,7 +543,11 @@ static const struct ath12k_hw_ring_mask ath12k_hw_ring_mask_qcn9274 = {
                ATH12K_TX_RING_MASK_3,
        },
        .rx_mon_dest = {
-               0, 0, 0,
+               0, 0, 0, 0,
+               0, 0, 0, 0,
+               ATH12K_RX_MON_RING_MASK_0,
+               ATH12K_RX_MON_RING_MASK_1,
+               ATH12K_RX_MON_RING_MASK_2,
        },
        .rx = {
                0, 0, 0, 0,