M7350v2_en_gpl

This commit is contained in:
T
2024-09-09 08:54:06 +00:00
parent f9cc65cfda
commit 801e6d2ad8
564 changed files with 96107 additions and 535 deletions

View File

@ -119,6 +119,16 @@ do_ctrl_ar6004_hsic () {
return 1
fi
# Disable HSIC suspend
## HSIC host side may go wrong when resuming and
## cause bam failure.
echo on > /sys/devices/msm_hsic_host/power/control
# Clear caches to reduce chance of mem allocation failure.
## Kernel panic may occur when loading ath6kl drivers if
## dma allocation failure happens previously.
echo "3" > /proc/sys/vm/drop_caches
set -e
insmod $MODULE_BASE/compat/compat.ko
insmod $MODULE_BASE/net/wireless/cfg80211.ko

View File

@ -19,4 +19,5 @@ do_configure_append() {
echo "CFLAGS += -I${WORKSPACE}/wlan/host/os/linux/include" >> .config
echo "CFLAGS += -I${WORKSPACE}/wlan/host/wlan/include" >> .config
echo "${@base_conditional('TP_WIRELESS_ACL_TYPE_BLACK', 'y', 'CONFIG_WIRELESS_ACL_TYPE_BLACK=y', '', d)}" >> .config
echo "${@base_conditional('TP_NEED_WLAN_MODULE_BCM', 'y', 'CONFIG_TP_WLAN_MODULE_BCM=y', '', d)}" >> .config
}