summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/files/lib
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-12-05 09:52:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-12-05 09:52:10 +0000
commit028666e75f0a04b53620362f9803fff88f5a4e15 (patch)
tree2f4c6e6dc2a0147251dc78b410832935bfcd3942 /package/kernel/mac80211/files/lib
parent5425d27339126d0ad70fe93cc29f4fd208338423 (diff)
downloadmtk-20170518-028666e75f0a04b53620362f9803fff88f5a4e15.zip
mtk-20170518-028666e75f0a04b53620362f9803fff88f5a4e15.tar.gz
mtk-20170518-028666e75f0a04b53620362f9803fff88f5a4e15.tar.bz2
mac80211: Allow to select VHT80 in IBSS mode
Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 47781
Diffstat (limited to 'package/kernel/mac80211/files/lib')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 43c01d3..e177978 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