summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2019-01-08 14:44:24 +0100
committerHarald Welte <laforge@gnumonks.org>2019-01-19 21:03:56 +0000
commit414c8f565b68199fe1d7dd5d179252127a58ecaf (patch)
treea43aafa1a263ac56d6e4f60870a045028856d537 /include/osmocom
parentd6ef6f1b9163be659693bb546276ab2f655f9cb9 (diff)
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
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/gsm/gsm0808.h6
1 files changed, 6 insertions, 0 deletions
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,