osmo-msc/src
Harald Welte 0e2fa5dcb5 DTAP: Ensure proper DLCI is used in MSC-originated DTAP
The DLCI field of the DTAP header indicates the SAPI as well as the
data link (main DCCH or SACCH).  We must make sure to use the correct
DLCI when sending DTAP to the BSC.

We achieve this by
* storing the DLCI in the msgb->cb while parsing the DTAP header
* storing the received DLCI (from msgb->cb) in the transaction for
  mobile-originated transactions
* using the trans->dlci to sent msgb->cb when transmitting L3
* filling the DTAP DLCI value from msgb->cb when transmitting DTAP

For MSC-originated transactions, we choose a DLCI value corresponding
to the service (SAPI=0 for CC, SAPI=3 for SMS) and store that in
trans->dlci.

Closes: OS#3150
Change-Id: If511b20f52575054cab1346d99a8cb68d827fdbf
2018-04-09 16:41:10 +02:00
..
libgsupclient drop some dead definitions (gsm_data.h, gsup_client.c) 2018-04-02 23:59:50 +02:00
libmsc DTAP: Ensure proper DLCI is used in MSC-originated DTAP 2018-04-09 16:41:10 +02:00
libvlr dissolve libcommon: drop gsm_subscriber_base.c, move vlr_subscr_* to vlr.c 2018-03-22 17:06:28 +01:00
osmo-msc use osmo_init_logging2() with proper talloc ctx 2018-03-30 23:20:03 +02:00
utils use osmo_init_logging2() with proper talloc ctx 2018-03-30 23:20:03 +02:00
Makefile.am remove empty libcommon-cs 2018-03-22 17:11:30 +01:00