osmocom-bb/src/host/layer23/src/mobile
Vadim Yanitskiy 40b0a9094e mobile: init TCH state earlier (on receipt of CC ALERTING)
During a Mobile Originating voice call, we would normally start
receiving traffic indications with ringback tone (or even some
melody) before the call gets CONNECTed.  So in order for the user
to be able to hear that, we need to init the voice call handler
earlier (on receipt of CC ALERTING message).

We should not be transmitting voice/data frames before the call
gets CONNECTed, so add 'rx_only' flag to the TCH state.  In
tch_send_msg() drop msgb if this flag is set.

Rx only mode makes no sense for data calls, so in tch_recv_cb() we
discard received DL frames and thus do not trigger sending UL frames.

Change-Id: Idd32c823639cc1f9999d77fcefe7e260e31a85ec
Related: OS#4396
2024-02-06 01:05:48 +07:00
..
Makefile.am mobile: implement sending CSD data over UNIX socket 2024-01-20 07:36:15 +07:00
app_mobile.c mobile: init/deinit GAPK I/O based on CC transaction events 2024-01-18 03:51:35 +07:00
gapk_io.c mobile: rename tch_send_voice_{msg,frame}() functions 2024-01-18 03:54:15 +07:00
gsm48_cc.c mobile: rename tch_send_voice_{msg,frame}() functions 2024-01-18 03:54:15 +07:00
gsm48_mm.c fixup: mobile: always check return value of tlv_parse() 2024-01-17 05:02:12 +07:00
gsm48_rr.c mobile: init/deinit GAPK I/O based on CC transaction events 2024-01-18 03:51:35 +07:00
gsm322.c mobile: Fix PCS ARFCN handling: PCS can only be ARFCN 512..810 2023-11-27 10:49:26 +01:00
gsm411_sms.c ASCI: Add GCC/BCC layer to support voice group/broadcast calls 2023-10-02 19:37:13 +02:00
gsm414.c ASCI: Add a flag to turn transmitter off or on 2023-09-27 14:02:41 +00:00
gsm480_ss.c mobile: add generic signals for CC/SS/SM transactions 2024-01-17 22:52:41 +07:00
gsm44068_gcc_bcc.c ASCI: Notify talker in the VTY that he cannot leave the call while talking 2023-11-10 12:14:13 +00:00
main.c layer23: fix handling of logging category mask (-d option) 2023-06-16 06:51:59 +07:00
mncc_sock.c layer23: Call osmo_fd_unregister() before closing and changing bfd->fd 2023-03-14 12:17:36 +00:00
mnccms.c mobile: fix rate adaption checking for MO/MT CSD calls 2024-01-26 14:29:44 +00:00
primitives.c treewide: remove FSF address 2021-12-14 12:52:04 +00:00
script_lua.c layer23: Move osmocom_ms to a separate file 2023-01-16 10:30:12 +01:00
script_nolua.c treewide: remove FSF address 2021-12-14 12:52:04 +00:00
tch.c mobile: init TCH state earlier (on receipt of CC ALERTING) 2024-02-06 01:05:48 +07:00
tch_data.c mobile: use tch_send_msg() in tch_csd_tx_to_l1() 2024-02-06 01:05:48 +07:00
tch_data_sock.c mobile: add a separate logging category for CSD 2024-01-24 07:04:57 +07:00
tch_voice.c mobile: split voice specific TCH handling into its own file 2024-01-20 06:08:03 +07:00
transaction.c mobile: add generic signals for CC/SS/SM transactions 2024-01-17 22:52:41 +07:00
vty_interface.c mobile: VTY: store/read data call params to/from config file 2024-01-26 14:29:44 +00:00