[openwrt/openwrt] mac80211: do not enable VHT in the default config on 2.4 GHz
LEDE Commits
lede-commits at lists.infradead.org
Tue Nov 23 09:44:09 PST 2021
nbd pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/8e3b3fa577789d0d5e829688db38665c11d44e5f
commit 8e3b3fa577789d0d5e829688db38665c11d44e5f
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Jun 2 07:45:31 2021 +0200
mac80211: do not enable VHT in the default config on 2.4 GHz
Some drivers advertise it, but it's not supported at the moment
Reported-by: John Thomson <git at johnthomson.fastmail.com.au>
Signed-off-by: Felix Fietkau <nbd at nbd.name>
(cherry-picked from commit 42a99b18ff23fa768a6ae5f1076f15cbfa494f24)
---
package/kernel/mac80211/files/lib/wifi/mac80211.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
index f5d4f2e90a..02eabd0506 100644
--- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
@@ -70,7 +70,7 @@ BEGIN {
if (channel) {
mode="NOHT"
if (ht) mode="HT20"
- if (vht) mode="VHT80"
+ if (vht && band != "1:")) mode="VHT80"
if (he) mode="HE80"
if (he && band == "1:") mode="HE20"
sub("\\[", "", channel)
More information about the lede-commits
mailing list