summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/gsm0808.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-11-30 10:44:07 +0100
committerMax <msuraev@sysmocom.de>2018-12-14 13:15:39 +0000
commit520743278064c81e7fbe06ba42de6eefa807235a (patch)
tree4ec650c43447422296922b3907ab55d598626e2b /include/osmocom/gsm/gsm0808.h
parent969fb2ed841d34577d985af4baf67d20c6f35c8a (diff)
LCLS: add gsm0808_create_ass2()
It allows setting additional assignment parameters explicitly. Change-Id: Id89765df3f8c12f55f73f1d7a9d90c8883eb3bba Related: OS#2487
Diffstat (limited to 'include/osmocom/gsm/gsm0808.h')
-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 e3fb6ad0..79d89e5f 100644
--- a/include/osmocom/gsm/gsm0808.h
+++ b/include/osmocom/gsm/gsm0808.h
@@ -64,6 +64,12 @@ struct msgb *gsm0808_create_ass(const struct gsm0808_channel_type *ct,
const struct sockaddr_storage *ss,
const struct gsm0808_speech_codec_list *scl,
const uint32_t *ci);
+struct msgb *gsm0808_create_ass2(const struct gsm0808_channel_type *ct,
+ const uint16_t *cic,
+ const struct sockaddr_storage *ss,
+ const struct gsm0808_speech_codec_list *scl,
+ const uint32_t *ci,
+ const uint8_t *kc, const struct osmo_lcls *lcls);
struct msgb *gsm0808_create_ass_compl(uint8_t rr_cause, uint8_t chosen_channel,
uint8_t encr_alg_id, uint8_t speech_mode,
const struct sockaddr_storage *ss,