diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-28 11:51:24 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-28 12:46:04 +0100 |
commit | 1b891fd7bab5f2c3ea3f0c2a296a605305ac984d (patch) | |
tree | 1b8a0c49bd5060ed93d373c0a21bd288b904a022 /openbsc | |
parent | 550197fd8cace3ac974609886fbba8c39680515d (diff) |
[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.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/gsm_04_08_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/gsm_04_08_utils.c b/openbsc/src/gsm_04_08_utils.c index e95d426d0..821bde266 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) { |