aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-03-06 13:11:13 +0100
committerosmith <osmith@sysmocom.de>2023-03-08 11:52:12 +0000
commit2689ad73a88364cd5760f125cc63533c31e7305f (patch)
treedaaa523a5dc400dc16be1a101498f898e8f13c2e /include
parent6d3da5401fb8f96cdfe56868caf737b807cf9ff6 (diff)
abis_rsl: CSD: add RTP_CSD_FMT IE to CRCX/MDCX
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/abis_rsl.h5
-rw-r--r--include/osmocom/bsc/lchan.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/bsc/abis_rsl.h b/include/osmocom/bsc/abis_rsl.h
index ea029e601..06880bf99 100644
--- a/include/osmocom/bsc/abis_rsl.h
+++ b/include/osmocom/bsc/abis_rsl.h
@@ -120,6 +120,11 @@ int rsl_tx_dyn_ts_pdch_act_deact(struct gsm_bts_trx_ts *ts, bool activate);
int rsl_forward_layer3_info(struct gsm_lchan *lchan, const uint8_t *l3_info, uint8_t l3_info_len);
+int ipacc_rtp_csd_fmt_transp(const struct channel_mode_and_rate *ch_mode_rate,
+ const enum rsl_ipac_rtp_csd_format_d format_d);
+int ipacc_rtp_csd_fmt_non_transp(const struct channel_mode_and_rate *ch_mode_rate,
+ const enum rsl_ipac_rtp_csd_format_d format_d);
+
int ipacc_speech_mode(enum gsm48_chan_mode tch_mode, enum gsm_chan_t type);
void ipacc_speech_mode_set_direction(uint8_t *speech_mode, bool send);
int ipacc_payload_type(enum gsm48_chan_mode tch_mode, enum gsm_chan_t type);
diff --git a/include/osmocom/bsc/lchan.h b/include/osmocom/bsc/lchan.h
index a1eacefc4..135a06768 100644
--- a/include/osmocom/bsc/lchan.h
+++ b/include/osmocom/bsc/lchan.h
@@ -286,6 +286,7 @@ struct gsm_lchan {
uint16_t conn_id;
uint8_t rtp_payload;
uint8_t rtp_payload2;
+ uint8_t rtp_csd_fmt;
uint8_t speech_mode;
/* info we need to postpone the AoIP