aboutsummaryrefslogtreecommitdiffstats
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
commitb58d75fa17e3a60b70e1e79272dfe570efe89abe (patch)
tree9d13a86e280bf13b0d2d241a69010e090590dcde
parent461db1fab0ee2be8b89538ad36777a0fe264c40e (diff)
downloadmaster-187ad058-b58d75fa17e3a60b70e1e79272dfe570efe89abe.tar.gz
master-187ad058-b58d75fa17e3a60b70e1e79272dfe570efe89abe.tar.bz2
master-187ad058-b58d75fa17e3a60b70e1e79272dfe570efe89abe.zip
mac80211: Allow to select VHT80 in IBSS mode
Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47781 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 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