mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
mac80211: improve ath10k encap/vht/thermal support
This commit is contained in:
parent
22dbef3fbb
commit
63434c83c9
@ -288,6 +288,7 @@ define KernelPackage/ath10k/config
|
|||||||
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
||||||
|
|
||||||
config ATH10K_THERMAL
|
config ATH10K_THERMAL
|
||||||
|
default y
|
||||||
bool "Enable thermal sensors and throttling support"
|
bool "Enable thermal sensors and throttling support"
|
||||||
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ mac80211_hostapd_setup_base() {
|
|||||||
[ -n "$acs_exclude_dfs" ] && [ "$acs_exclude_dfs" -gt 0 ] &&
|
[ -n "$acs_exclude_dfs" ] && [ "$acs_exclude_dfs" -gt 0 ] &&
|
||||||
append base_cfg "acs_exclude_dfs=1" "$N"
|
append base_cfg "acs_exclude_dfs=1" "$N"
|
||||||
|
|
||||||
json_get_vars noscan ht_coex min_tx_power:0
|
json_get_vars noscan ht_coex vendor_vht min_tx_power:0
|
||||||
json_get_values ht_capab_list ht_capab tx_burst
|
json_get_values ht_capab_list ht_capab tx_burst
|
||||||
json_get_values channel_list channels
|
json_get_values channel_list channels
|
||||||
|
|
||||||
@ -290,7 +290,7 @@ mac80211_hostapd_setup_base() {
|
|||||||
}
|
}
|
||||||
[ "$hwmode" = "a" ] || enable_ac=0
|
[ "$hwmode" = "a" ] || enable_ac=0
|
||||||
|
|
||||||
if [ "$enable_ac" != "0" ]; then
|
if [ "$enable_ac" != "0" -o "$vendor_vht" = "1" ]; then
|
||||||
json_get_vars \
|
json_get_vars \
|
||||||
rxldpc:1 \
|
rxldpc:1 \
|
||||||
short_gi_80:1 \
|
short_gi_80:1 \
|
||||||
|
Loading…
Reference in New Issue
Block a user