mac80211: allow VHT on 2.4GHz

This commit is contained in:
CN_SZTL 2020-03-19 18:19:23 +08:00
parent 4ec51186d1
commit 96df31be20
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -106,7 +106,7 @@ mac80211_hostapd_setup_base() {
[ -n "$acs_exclude_dfs" ] && [ "$acs_exclude_dfs" -gt 0 ] &&
append base_cfg "acs_exclude_dfs=1" "$N"
json_get_vars noscan ht_coex
json_get_vars noscan ht_coex vendor_vht
json_get_values ht_capab_list ht_capab tx_burst
set_default noscan 0
@ -222,7 +222,7 @@ mac80211_hostapd_setup_base() {
;;
esac
if [ "$enable_ac" != "0" ]; then
if [ "$enable_ac" != "0" -o "$vendor_vht" = "1" ]; then
json_get_vars \
rxldpc:1 \
short_gi_80:1 \