summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRamya Gnanasekar <quic_rgnanase@quicinc.com>2023-10-13 12:30:06 +0530
committerKalle Valo <quic_kvalo@quicinc.com>2023-10-18 11:29:46 +0300
commit3e9942fbdf4d0dd80c1b76e81bcebeac0c056259 (patch)
tree37639331098bb5eec7b4041788d226a1a6fb1f14 /drivers
parent6b819f89c482b0ab1b9eb913860ca53d70537832 (diff)
downloadlinux-stable-3e9942fbdf4d0dd80c1b76e81bcebeac0c056259.tar.gz
linux-stable-3e9942fbdf4d0dd80c1b76e81bcebeac0c056259.tar.bz2
linux-stable-3e9942fbdf4d0dd80c1b76e81bcebeac0c056259.zip
wifi: ath12k: Enable Mesh support for QCN9274
Currently QCN9274 supports only AP and station interface modes. Add interface type mesh to ath12k_hw_params for QCN9274 to provide support for mesh mode as well. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1 Signed-off-by: Ramya Gnanasekar <quic_rgnanase@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/20231013070007.25597-2-quic_rgnanase@quicinc.com
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath12k/hw.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath12k/hw.c b/drivers/net/wireless/ath/ath12k/hw.c
index 69299bff11e1..2245fb510ba2 100644
--- a/drivers/net/wireless/ath/ath12k/hw.c
+++ b/drivers/net/wireless/ath/ath12k/hw.c
@@ -886,7 +886,8 @@ static const struct ath12k_hw_params ath12k_hw_params[] = {
.vdev_start_delay = false,
.interface_modes = BIT(NL80211_IFTYPE_STATION) |
- BIT(NL80211_IFTYPE_AP),
+ BIT(NL80211_IFTYPE_AP) |
+ BIT(NL80211_IFTYPE_MESH_POINT),
.supports_monitor = false,
.idle_ps = false,
@@ -1010,7 +1011,8 @@ static const struct ath12k_hw_params ath12k_hw_params[] = {
.vdev_start_delay = false,
.interface_modes = BIT(NL80211_IFTYPE_STATION) |
- BIT(NL80211_IFTYPE_AP),
+ BIT(NL80211_IFTYPE_AP) |
+ BIT(NL80211_IFTYPE_MESH_POINT),
.supports_monitor = false,
.idle_ps = false,