[no ci] disable txpower set for atheros. increase osmem for ev/v300 (#831)

pull/829/head
cronyx 2023-05-28 19:22:49 +03:00 committed by GitHub
parent 56768a4ea2
commit a13bb5a218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -96,6 +96,9 @@ case "$1" in
gk7205v300 | hi3516ev300) gk7205v300 | hi3516ev300)
echo "Preparing system tweaks for ${chip}..." echo "Preparing system tweaks for ${chip}..."
# increase osmem
mem=$(fw_printenv -n osmem) && [ "${mem}" = "32M" ] && fw_setenv osmem 64M && set_allocator cma || echo "Memory allocated for the system:" ${mem}
# set sensor config for smtsec board # set sensor config for smtsec board
if [ ${chip} = "gk7205v300" ] && [ ${sensor} = "imx307" ]; then if [ ${chip} = "gk7205v300" ] && [ ${sensor} = "imx307" ]; then
cli -s .isp.sensorConfig /etc/sensors/smtsec_imx307_i2c_4l_1080p.ini cli -s .isp.sensorConfig /etc/sensors/smtsec_imx307_i2c_4l_1080p.ini

View File

@ -93,8 +93,8 @@ load_interface() {
else else
iwconfig ${wlan} channel ${channel} iwconfig ${wlan} channel ${channel}
fi fi
# dirty fix crash if txpower set. setting txpower disabled because patched driver always set txpower level 58
iw dev ${wlan} set txpower fixed $((${txpower} * 100)) # iw dev ${wlan} set txpower fixed $((${txpower} * 100))
} }
start_wfb() { start_wfb() {