blob: 579460678aeca3c80121d90fd17fe9856bea3cdf [file] [log] [blame]
developer66e89bc2024-04-23 14:50:01 +08001From 81d112f13d290d109e0c64541c0f02a0931a7a8d Mon Sep 17 00:00:00 2001
2From: Mordechay Goodstein <mordechay.goodstein@intel.com>
3Date: Sun, 29 May 2022 19:29:55 +0300
4Subject: [PATCH 07/28] util: add support for 320Mhz bandwidth
5
6In the new standard 11be we can set up to 320Mhz bandwidth so add it
7in parsing params.
8
9Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
10Signed-off-by: Johannes Berg <johannes.berg@intel.com>
11---
12 util.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/util.c b/util.c
16index 8a2ba10..93269ab 100644
17--- a/util.c
18+++ b/util.c
19@@ -471,6 +471,7 @@ enum nl80211_chan_width str_to_bw(const char *str)
20 { .name = "80", .val = NL80211_CHAN_WIDTH_80, },
21 { .name = "80+80", .val = NL80211_CHAN_WIDTH_80P80, },
22 { .name = "160", .val = NL80211_CHAN_WIDTH_160, },
23+ { .name = "320", .val = NL80211_CHAN_WIDTH_320, },
24 };
25 unsigned int i;
26
27--
282.39.2
29