[LEDE-DEV] [PATCH 2/2] mac80211.sh: Support VHT40 hw type for ibss.

greearb at candelatech.com greearb at candelatech.com
Thu Jan 19 15:08:16 PST 2017


From: Ben Greear <greearb at candelatech.com>

This doesn't actually limit it to VHT40 rates on ath10k,
it seems, but it does let it run VHT 80 rates, which
seems better than disable VHT entirely.

Signed-off-by: Ben Greear <greearb at candelatech.com>
---
 package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 1fa39b8..792549a 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -496,8 +496,8 @@ mac80211_setup_supplicant() {
 
 mac80211_setup_adhoc_htmode() {
 	case "$htmode" in
-		VHT20|HT20) ibss_htmode=HT20;;
-		HT40*|VHT40|VHT160)
+		VHT20|HT20|VHT40|VHT160) ibss_htmode="$htmode";;
+		HT40*)
 			case "$hwmode" in
 				a)
 					case "$(( ($channel / 4) % 2 ))" in
-- 
2.4.11




More information about the Lede-dev mailing list