mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-26 03:08:26 +00:00
mac80211: Allow to select VHT80 in IBSS mode
Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 47781
This commit is contained in:
parent
5425d27339
commit
028666e75f
@ -499,7 +499,7 @@ mac80211_setup_supplicant() {
|
|||||||
mac80211_setup_adhoc_htmode() {
|
mac80211_setup_adhoc_htmode() {
|
||||||
case "$htmode" in
|
case "$htmode" in
|
||||||
VHT20|HT20) ibss_htmode=HT20;;
|
VHT20|HT20) ibss_htmode=HT20;;
|
||||||
HT40*|VHT40|VHT80|VHT160)
|
HT40*|VHT40|VHT160)
|
||||||
case "$hwmode" in
|
case "$hwmode" in
|
||||||
a)
|
a)
|
||||||
case "$(( ($channel / 4) % 2 ))" in
|
case "$(( ($channel / 4) % 2 ))" in
|
||||||
@ -523,6 +523,9 @@ mac80211_setup_adhoc_htmode() {
|
|||||||
esac
|
esac
|
||||||
[ "$auto_channel" -gt 0 ] && ibss_htmode="HT40+"
|
[ "$auto_channel" -gt 0 ] && ibss_htmode="HT40+"
|
||||||
;;
|
;;
|
||||||
|
VHT80)
|
||||||
|
ibss_htmode="80Mhz"
|
||||||
|
;;
|
||||||
*) ibss_htmode="" ;;
|
*) ibss_htmode="" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user