aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-10-31 18:13:47 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-03-18 03:05:34 +0100
commit7934e0d974b4f18c3bf415c9faddef90c3e7fccf (patch)
treea1d0ad12940c6c44ea131677f396437a9fcdec2f /include
parentcec51b340ea424e429e8a266d3a7137c0a8ad552 (diff)
in ran_msg, return gsm0808_speech_codec (inter-MSC)
Get rid of enum mgcp_codecs in inter-MSC handover related code. Change-Id: I9c649f98738a55b8637ae600d5cdf81099fd08e5
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/msc/msc_ho.h2
-rw-r--r--include/osmocom/msc/ran_msg.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/osmocom/msc/msc_ho.h b/include/osmocom/msc/msc_ho.h
index a3f60c7f2..ca5618ebd 100644
--- a/include/osmocom/msc/msc_ho.h
+++ b/include/osmocom/msc/msc_ho.h
@@ -81,7 +81,7 @@ struct msc_ho_state {
struct osmo_sockaddr_str ran_remote_rtp;
/* The codec from Handover Request Acknowledge. */
bool codec_present;
- enum mgcp_codecs codec;
+ struct gsm0808_speech_codec codec;
/* Inter-MSC voice forwarding via MNCC, to the remote MSC. The Prepare Handover Response sent us the
* Handover Number the remote MSC assigned. This is a call to that Handover Number, via PBX.
diff --git a/include/osmocom/msc/ran_msg.h b/include/osmocom/msc/ran_msg.h
index d6b1e75ac..3e0ac6071 100644
--- a/include/osmocom/msc/ran_msg.h
+++ b/include/osmocom/msc/ran_msg.h
@@ -162,7 +162,8 @@ struct ran_handover_request_ack {
struct osmo_sockaddr_str remote_rtp;
bool codec_present;
- enum mgcp_codecs codec;
+ struct gsm0808_speech_codec codec;
+ bool codec_with_iuup;
};
struct ran_handover_command {