From: Sven Eckelmann Date: Wed, 25 Nov 2015 13:59:16 +0000 (+0100) Subject: iw: add VHT80 support for 802.11s X-Git-Tag: v4.7~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7271e73fe6e96ea3896efb6a9734c6a23c67784;p=thirdparty%2Fiw.git iw: add VHT80 support for 802.11s iw mesh supports non-HT and HT channel widths like HT20 or NOHT. But the Linux 802.11s implementation also supports VHT80 which can be specified during the mesh join. iw dev mesh0 mesh join "meshnet" freq 5180 80MHz Signed-off-by: Sven Eckelmann Signed-off-by: Johannes Berg --- diff --git a/mesh.c b/mesh.c index 593ab7a..d674d61 100644 --- a/mesh.c +++ b/mesh.c @@ -466,6 +466,10 @@ static int join_mesh(struct nl80211_state *state, .width = NL80211_CHAN_WIDTH_20_NOHT, .freq1_diff = 0, .chantype = NL80211_CHAN_NO_HT }, + { .name = "80MHz", + .width = NL80211_CHAN_WIDTH_80, + .freq1_diff = 0, + .chantype = -1 }, }; if (argc < 1) @@ -604,7 +608,7 @@ static int join_mesh(struct nl80211_state *state, nla_put_failure: return -ENOBUFS; } -COMMAND(mesh, join, " [[freq ]" +COMMAND(mesh, join, " [[freq ]" " [basic-rates ]], [mcast-rate ]" " [beacon-interval