[OpenWrt-Devel] [PATCH 5/6] mac80211: Allow to select VHT80 in IBSS mode
Sven Eckelmann
sven at open-mesh.com
Tue Nov 24 12:34:19 EST 2015
Signed-off-by: Sven Eckelmann <sven at open-mesh.com>
---
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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
--
2.6.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list