iw: add VHT80 support for IBSS
[openwrt/staging/mkresin.git] / package / network / utils / iw / patches / 302-ibss_use_MHz_instead_MHZ.patch
1 From: Johannes Berg <johannes.berg@intel.com>
2 Date: Fri, 18 Sep 2015 11:11:38 +0200
3 Subject: ibss: use correct "MHz" instead of "MHZ"
4
5 Signed-off-by: Johannes Berg <johannes.berg@intel.com>
6 ---
7 ibss.c | 8 ++++----
8 1 file changed, 4 insertions(+), 4 deletions(-)
9
10 diff --git a/ibss.c b/ibss.c
11 index a99a262..23bda70 100644
12 --- a/ibss.c
13 +++ b/ibss.c
14 @@ -81,15 +81,15 @@ static int join_ibss(struct nl80211_state *state,
15 .width = NL80211_CHAN_WIDTH_20_NOHT,
16 .freq1_diff = 0,
17 .chantype = NL80211_CHAN_NO_HT },
18 - { .name = "5MHZ",
19 + { .name = "5MHz",
20 .width = NL80211_CHAN_WIDTH_5,
21 .freq1_diff = 0,
22 .chantype = -1 },
23 - { .name = "10MHZ",
24 + { .name = "10MHz",
25 .width = NL80211_CHAN_WIDTH_10,
26 .freq1_diff = 0,
27 .chantype = -1 },
28 - { .name = "80MHZ",
29 + { .name = "80MHz",
30 .width = NL80211_CHAN_WIDTH_80,
31 .freq1_diff = 0,
32 .chantype = -1 },
33 @@ -225,7 +225,7 @@ COMMAND(ibss, leave, NULL,
34 NL80211_CMD_LEAVE_IBSS, 0, CIB_NETDEV, leave_ibss,
35 "Leave the current IBSS cell.");
36 COMMAND(ibss, join,
37 - "<SSID> <freq in MHz> [HT20|HT40+|HT40-|NOHT|5MHZ|10MHZ|80MHZ] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>]"
38 + "<SSID> <freq in MHz> [HT20|HT40+|HT40-|NOHT|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>]"
39 " [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] "
40 "[key d:0:abcde]",
41 NL80211_CMD_JOIN_IBSS, 0, CIB_NETDEV, join_ibss,