view blobs/patches/tpudrv-leonardo.patch @ 700:800bf29abf31

audio mode load change from Tourmaline Our FreeCalypso universe now has two kinds of audio mode config files: the old 164 byte kind and the new 176 byte kind. We are not enabling L1_NEW_AEC in Magnetite, only in Tourmaline, thus 164 byte audio mode files are still native to Magnetite. But we still desire graceful handling of the situation when a running Magnetite fw may load a 176 byte audio mode file (presumably with new AEC config), thus we incorporate the same audio mode loading change which we implemented in Tourmaline: if the loaded audio mode file is of the wrong kind, the AEC config is cleared to default disabled state.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Jul 2021 03:55:52 +0000
parents 62a5285e014a
children
line wrap: on
line source

# Our version of TCS211 binary libs has been compiled for a triband
# configuration that is a bastardized version of Leonardo quadband:
# while the same 3 TSPACT lines are used for antenna switch control,
# the correct line to be driven low for each band Rx & Tx operation
# is different in every case.
#
# This change in band Rx & Tx signal assignments was made in tpudrv12.h
# and got compiled into the tpudrv12 module in tpudrv.lib; the present
# patch restores the original quadband configuration.

[tpudrv12.obj]

# Tx high or low band select

.cinit 8A 12
.cinit 92 1C
.cinit 9A 1C
.cinit A2 12
.cinit AA 12

# Bring back GSM850 Rx switch instead of PCS Rx

.cinit 98 16
.cinit A0 06