]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: ath12k: Enable monitor mode support on IPQ5332
authorAaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
Fri, 27 Feb 2026 03:33:32 +0000 (09:03 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 2 Mar 2026 21:02:05 +0000 (13:02 -0800)
Currently, rxdma1_enable and supports_monitor are set to false in
IPQ5332 hardware parameters, which skips monitor ring configuration
and removes NL80211_IFTYPE_MONITOR from the supported interface modes.

Set rxdma1_enable and supports_monitor to true so that monitor rings are
configured and monitor mode is enabled on IPQ5332.

Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.7-00587-QCAHKSWPL_SILICONZ-1

Signed-off-by: Aaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20260227033332.687805-1-aaradhana.sahu@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/wifi7/hw.c

index df045ddf42da904969d52e496dae8dbb4feb6899..27acdfc35459ae577f7b863b276c36e293b47f12 100644 (file)
@@ -617,7 +617,7 @@ static const struct ath12k_hw_params ath12k_wifi7_hw_params[] = {
                        ath12k_wifi7_target_service_to_ce_map_wlan_ipq5332,
                .svc_to_ce_map_len = 18,
 
-               .rxdma1_enable = false,
+               .rxdma1_enable = true,
                .num_rxdma_per_pdev = 1,
                .num_rxdma_dst_ring = 0,
                .rx_mac_buf_ring = false,
@@ -626,7 +626,7 @@ static const struct ath12k_hw_params ath12k_wifi7_hw_params[] = {
                .interface_modes = BIT(NL80211_IFTYPE_STATION) |
                                   BIT(NL80211_IFTYPE_AP) |
                                   BIT(NL80211_IFTYPE_MESH_POINT),
-               .supports_monitor = false,
+               .supports_monitor = true,
 
                .idle_ps = false,
                .download_calib = true,