From: Mordechay Goodstein Date: Sun, 29 May 2022 16:29:55 +0000 (+0300) Subject: util: add support for 320Mhz bandwidth X-Git-Tag: v6.7~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81d112f13d290d109e0c64541c0f02a0931a7a8d;p=thirdparty%2Fiw.git util: add support for 320Mhz bandwidth In the new standard 11be we can set up to 320Mhz bandwidth so add it in parsing params. Signed-off-by: Mordechay Goodstein Signed-off-by: Johannes Berg --- diff --git a/util.c b/util.c index 8a2ba10..93269ab 100644 --- a/util.c +++ b/util.c @@ -471,6 +471,7 @@ enum nl80211_chan_width str_to_bw(const char *str) { .name = "80", .val = NL80211_CHAN_WIDTH_80, }, { .name = "80+80", .val = NL80211_CHAN_WIDTH_80P80, }, { .name = "160", .val = NL80211_CHAN_WIDTH_160, }, + { .name = "320", .val = NL80211_CHAN_WIDTH_320, }, }; unsigned int i;