developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 1 | From 81d112f13d290d109e0c64541c0f02a0931a7a8d Mon Sep 17 00:00:00 2001 |
| 2 | From: Mordechay Goodstein <mordechay.goodstein@intel.com> |
| 3 | Date: Sun, 29 May 2022 19:29:55 +0300 |
| 4 | Subject: [PATCH 07/28] util: add support for 320Mhz bandwidth |
| 5 | |
| 6 | In the new standard 11be we can set up to 320Mhz bandwidth so add it |
| 7 | in parsing params. |
| 8 | |
| 9 | Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com> |
| 10 | Signed-off-by: Johannes Berg <johannes.berg@intel.com> |
| 11 | --- |
| 12 | util.c | 1 + |
| 13 | 1 file changed, 1 insertion(+) |
| 14 | |
| 15 | diff --git a/util.c b/util.c |
| 16 | index 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 | -- |
| 28 | 2.39.2 |
| 29 | |