summaryrefslogtreecommitdiffstats
path: root/src/target/firmware
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-09-02 17:02:17 +0200
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-09-07 00:01:53 +0700
commita53e93fe9c81136b512697e169c5cf5ecd319163 (patch)
tree66a2268c2e787cf475d32bddaf10d4fb61bedcf7 /src/target/firmware
parenta8ace99d7297eb34b76ead2887819cac4e75bfdd (diff)
trxcon: Initial support for forwarding AMR
This allows TTCN3 L1CTL module (used in BTS_Tests) to transmit and receive AMR payloads towards osmo-bts-trx. Related: SYS#5987 Change-Id: Ia20bc96e39726a919a556c83c8be48cb31af7331
Diffstat (limited to 'src/target/firmware')
-rw-r--r--src/target/firmware/layer1/l23_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c
index a133c62f..599272f3 100644
--- a/src/target/firmware/layer1/l23_api.c
+++ b/src/target/firmware/layer1/l23_api.c
@@ -553,6 +553,7 @@ static void l1ctl_rx_tch_mode_req(struct msgb *msg)
l1s.tch_sync = 1; /* Needed for audio to work */
l1s.tch_loop_mode = tch_mode_req->tch_loop_mode;
+ /* TODO: Handle AMR codecs from tch_mode_req if tch_mode_req->tch_mode==GSM48_CMODE_SPEECH_AMR */
l1ctl_tx_tch_mode_conf(tch_mode, audio_mode);
}
@@ -726,4 +727,3 @@ void l1a_l23api_init(void)
{
sercomm_register_rx_cb(SC_DLCI_L1A_L23, l1a_l23_rx);
}
-