From 86069143ff7b4ae0c4eabc80aff3a56db14a32a4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 28 Jan 2010 11:51:24 +0100 Subject: [gsm48] Use optional Chan Mode 1 for the assignment command Specify how we intend to use the assigned channel. This is needed to make CC with early assignment work properly. --- openbsc/src/gsm_04_08_utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbsc/src/gsm_04_08_utils.c b/openbsc/src/gsm_04_08_utils.c index ce635637a..d0304af36 100644 --- a/openbsc/src/gsm_04_08_utils.c +++ b/openbsc/src/gsm_04_08_utils.c @@ -591,6 +591,8 @@ int gsm48_send_rr_ass_cmd(struct gsm_lchan *dest_lchan, struct gsm_lchan *lchan, gsm48_chan_desc(&ass->chan_desc, lchan); ass->power_command = power_command; + msgb_tv_put(msg, GSM48_IE_CHANMODE_1, lchan->tch_mode); + /* in case of multi rate we need to attach a config */ if (lchan->tch_mode == GSM48_CMODE_SPEECH_AMR) { if (lchan->mr_conf.ver == 0) { -- cgit v1.2.3