diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-10-21 03:01:00 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2019-11-05 01:33:30 +0100 |
commit | 8a50cfbc4e2eff215014c91b6ee7ad7f65d66101 (patch) | |
tree | 48c13d3ef7c049acddef1be485fedc5099cf99ea /include | |
parent | 3f391dd77d691f1ccc4a00afd376c5bdaf381674 (diff) |
BSSMAP: decode Codec List (BSS Supported)
Actually decode the Codec List (BSS Supported) in BSSMAP, in both the Complete
Layer 3 Information and the Assignment Complete messages.
An upcoming patch improves codec negotiation and requires the BSS supported
codecs, which are so far ignored (which is/was a pity as osmo-bsc goes at great
lengths to compose those IEs).
Change-Id: I66c735c79e982388f06b5de783aa584c9d13569e
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/msc/ran_msg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/msc/ran_msg.h b/include/osmocom/msc/ran_msg.h index 081c7ad4d..1b0e2e8b6 100644 --- a/include/osmocom/msc/ran_msg.h +++ b/include/osmocom/msc/ran_msg.h @@ -192,6 +192,7 @@ struct ran_msg { union { struct { const struct gsm0808_cell_id *cell_id; + const struct gsm0808_speech_codec_list *codec_list_bss_supported; struct msgb *msg; } compl_l3; struct msgb *dtap; @@ -226,6 +227,7 @@ struct ran_msg { struct osmo_sockaddr_str remote_rtp; bool codec_present; enum mgcp_codecs codec; + const struct gsm0808_speech_codec_list *codec_list_bss_supported; bool osmux_present; uint8_t osmux_cid; } assignment_complete; |