projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac80211: fix disabling HT in IBSS mode (#21340)
[openwrt/openwrt.git]
/
package
/
kernel
/
mac80211
/
files
/
lib
/
netifd
/
wireless
/
mac80211.sh
diff --git
a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 43c01d3491de1665b87204c0b0b9359aa7254660..71b96aa425e942b79831358ee3313f99a3063eb3 100644
(file)
--- 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;;
mac80211_setup_adhoc_htmode() {
case "$htmode" in
VHT20|HT20) ibss_htmode=HT20;;
- HT40*|VHT40|VHT
80|VHT
160)
+ HT40*|VHT40|VHT160)
case "$hwmode" in
a)
case "$(( ($channel / 4) % 2 ))" in
case "$hwmode" in
a)
case "$(( ($channel / 4) % 2 ))" in
@@
-523,6
+523,12
@@
mac80211_setup_adhoc_htmode() {
esac
[ "$auto_channel" -gt 0 ] && ibss_htmode="HT40+"
;;
esac
[ "$auto_channel" -gt 0 ] && ibss_htmode="HT40+"
;;
+ VHT80)
+ ibss_htmode="80Mhz"
+ ;;
+ NONE|NOHT)
+ ibss_htmode="NOHT"
+ ;;
*) ibss_htmode="" ;;
esac
*) ibss_htmode="" ;;
esac