From: Felix Fietkau Date: Sat, 5 Dec 2015 09:52:10 +0000 (+0000) Subject: mac80211: Allow to select VHT80 in IBSS mode X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=028666e75f0a04b53620362f9803fff88f5a4e15;p=openwrt%2Fstaging%2Fkaloz.git mac80211: Allow to select VHT80 in IBSS mode Signed-off-by: Sven Eckelmann SVN-Revision: 47781 --- diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index 43c01d3491..e177978c7f 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -499,7 +499,7 @@ mac80211_setup_supplicant() { mac80211_setup_adhoc_htmode() { case "$htmode" in VHT20|HT20) ibss_htmode=HT20;; - HT40*|VHT40|VHT80|VHT160) + HT40*|VHT40|VHT160) case "$hwmode" in a) case "$(( ($channel / 4) % 2 ))" in @@ -523,6 +523,9 @@ mac80211_setup_adhoc_htmode() { esac [ "$auto_channel" -gt 0 ] && ibss_htmode="HT40+" ;; + VHT80) + ibss_htmode="80Mhz" + ;; *) ibss_htmode="" ;; esac