RR Assignment for VAMOS: send TSC Set

We already send the TSC Set in the RSL Channel Activation, telling the
BTS about the TSC Set. The MS needs to be instructed of the TSC Set in
the RR Assignment Command.

The first code to actually do an Assignment to a VAMOS activated lchan
will follow in If006f5caaf83b07675f57e5665cfa79328da55e6.

Change-Id: Ibf3b6d276fadf724c16a5225c03e96a27a056153
This commit is contained in:
Neels Hofmeyr 2021-05-23 23:32:47 +02:00
parent 2aac1765e6
commit 52a6b2cebf
1 changed files with 6 additions and 0 deletions

View File

@ -648,6 +648,12 @@ int gsm48_send_rr_ass_cmd(struct gsm_lchan *current_lchan, struct gsm_lchan *new
}
}
/* For VAMOS, include the TSC Set number in the Extended TSC Set IE.
* We don't put any PS domain related values, only the lowest two CS domain bits.
* Convert from spec conforming "human readable" TSC Set 1-4 to 0-3 on the wire. */
if (new_lchan->vamos.enabled && new_lchan->tsc_set > 0)
msgb_tv_put(msg, GSM48_IE_EXTENDED_TSC_SET, new_lchan->tsc_set - 1);
return gsm48_sendmsg(msg);
}