From 414c8f565b68199fe1d7dd5d179252127a58ecaf Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 8 Jan 2019 14:44:24 +0100 Subject: LCLS: add status parameter to Assignment Completed message * add gsm0808_create_ass_compl2() with additional gsm0808_lcls_status parameter and make gsm0808_create_ass_compl() into trivial wrapper around it * update tests accordingly Change-Id: I547c6b8707123aa8c1ef636db88908df112d90a4 Related: OS#2487 --- include/osmocom/gsm/gsm0808.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/osmocom/gsm/gsm0808.h b/include/osmocom/gsm/gsm0808.h index 782f3ecd..6d14e13e 100644 --- a/include/osmocom/gsm/gsm0808.h +++ b/include/osmocom/gsm/gsm0808.h @@ -76,6 +76,12 @@ struct msgb *gsm0808_create_ass_compl(uint8_t rr_cause, uint8_t chosen_channel, const struct gsm0808_speech_codec *sc, const struct gsm0808_speech_codec_list *scl); +struct msgb *gsm0808_create_ass_compl2(uint8_t rr_cause, uint8_t chosen_channel, + uint8_t encr_alg_id, uint8_t speech_mode, + const struct sockaddr_storage *ss, + const struct gsm0808_speech_codec *sc, + const struct gsm0808_speech_codec_list *scl, + enum gsm0808_lcls_status lcls_bss_status); struct msgb *gsm0808_create_assignment_completed(uint8_t rr_cause, uint8_t chosen_channel, uint8_t encr_alg_id, -- cgit v1.2.3