aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/codec_pref.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/bsc/codec_pref.h')
-rw-r--r--include/osmocom/bsc/codec_pref.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/bsc/codec_pref.h b/include/osmocom/bsc/codec_pref.h
index 94fc987eb..09aaa604b 100644
--- a/include/osmocom/bsc/codec_pref.h
+++ b/include/osmocom/bsc/codec_pref.h
@@ -7,6 +7,8 @@ struct gsm0808_channel_type;
struct gsm0808_speech_codec_list;
struct gsm_audio_support;
struct bts_codec_conf;
+struct bsc_msc_data;
+struct gsm_bts;
int match_codec_pref(enum gsm48_chan_mode *chan_mode,
bool *full_rate,
@@ -15,3 +17,7 @@ int match_codec_pref(enum gsm48_chan_mode *chan_mode,
struct gsm_audio_support * const *audio_support,
int audio_length,
const struct bts_codec_conf *bts_codec);
+
+void gen_bss_supported_codec_list(struct gsm0808_speech_codec_list *scl,
+ const struct bsc_msc_data *msc,
+ const struct gsm_bts *bts);