wlan-ap-Telecominfraproject/feeds/ipq95xx/mac80211/patches/qca/567-mac80211-Adding-320-MHz-bandwidth-changes.patch
John Crispin b9b03a6e38 ipq95xx: add Qualcomm wifi-7 support
Signed-off-by: John Crispin <john@phrozen.org>
2023-04-10 14:25:48 +02:00

30 lines
782 B
Diff

From 7f308cf4bc831c3ecc977f3a0fc034f89723cba3 Mon Sep 17 00:00:00 2001
From: Muna Sinada <quic_msinada@quicinc.com>
Date: Wed, 30 Jun 2021 12:40:44 -0700
Subject: [PATCH 05/27] mac80211: Adding 320 MHz bandwidth changes
Adding 320 MHz bandwdith as a new bandwidth option.
Signed-off-by: Muna Sinada <quic_msinada@quicinc.com>
---
net/mac80211/ibss.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index 0416c4d22292..fb095c754b33 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -1402,6 +1402,9 @@ ieee80211_ibss_setup_scan_channels(struct wiphy *wiphy,
case NL80211_CHAN_WIDTH_160:
width = 160;
break;
+ case NL80211_CHAN_WIDTH_320:
+ width = 320;
+ break;
default:
width = 20;
break;
--
2.31.1