osmocom-bb/src/host/layer23/include/osmocom/bb/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: rename voice.[ch] to tch.[ch] 2023-11-03 13:34:02 +07:00
app_mobile.h layer23: Integreate mobile further into l23_app 2023-01-31 11:59:08 +01:00
gapk_io.h mobile: init/deinit GAPK I/O based on CC transaction events 2024-01-18 03:51:35 +07:00
gsm48_cc.h [mobile] Using socket application interface with mobile application 2011-09-04 10:02:43 +02:00
gsm48_mm.h ASCI: Add group receive and transmit mode support to MM layer 2023-10-02 19:37:05 +02:00
gsm48_rr.h mobile: cosmetic: rename gsm48_rr_tx_{voice->traffic}() 2023-11-03 13:34:02 +07:00
gsm322.h Migrate network identifier fields to modern osmocom structures 2023-05-22 16:12:04 +02:00
gsm411_sms.h mobile: Send SMS through the primitive interface 2017-12-27 10:07:17 +08:00
gsm480_ss.h host/mobile: Adding (partly implemented) supplementary service support 2011-11-13 20:25:20 +01:00
gsm44068_gcc_bcc.h ASCI: Add GCC/BCC layer to support voice group/broadcast calls 2023-10-02 19:37:13 +02:00
mncc.h mobile: move 'struct gsm_call' from <mncc.h> to <mncc_ms.h> 2023-10-30 15:05:58 +07:00
mncc_ms.h mobile: add support for Circuit Switched Data calls 2023-11-02 14:41:23 +07:00
mncc_sock.h host/mobile: use osmocom_ms as talloc context 2017-11-08 18:46:57 +07:00
primitives.h lua: Expose API to trigger a network reselection 2018-09-16 13:51:29 +00:00
tch.h mobile: init TCH state earlier (on receipt of CC ALERTING) 2024-02-06 01:05:48 +07:00
transaction.h mobile: store MNCC Bearer Capability in CC transaction 2024-01-17 22:52:41 +07:00
vty.h mobile: add params and VTY commands for data calls 2023-11-03 13:32:58 +07:00