diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-02-17 16:45:06 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-18 10:26:36 +0100 |
commit | d471901f724c6e6592b15dd2b3b8348ff12a0d09 (patch) | |
tree | 6ba704454d613d4dd719a503c7e1e74d1280ac20 /library/BSSGP_Emulation.ttcn | |
parent | 6abb9fe76fc18fec3b35c5b63daee21774d9ed19 (diff) |
BSSGP/LLC: Fix LLCC SAPI for SM
While in TS 24.007 there is a separate L3 SAPI for GMM and SM,
this only applies to messages sent over LAPDm, and not LLC.
In LLC, both GMM and SM are sent via the same LLGMM LLC-SAPI.
Change-Id: I7814c952cd7f6032222b190d396aaa0570571bfc
Diffstat (limited to 'library/BSSGP_Emulation.ttcn')
-rw-r--r-- | library/BSSGP_Emulation.ttcn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/BSSGP_Emulation.ttcn b/library/BSSGP_Emulation.ttcn index fb3f7d4a..1ced242c 100644 --- a/library/BSSGP_Emulation.ttcn +++ b/library/BSSGP_Emulation.ttcn @@ -562,7 +562,7 @@ private function f_llc_sapi_by_l3_mo(PDU_L3_MS_SGSN l3_mo) return BIT4 { if (ischosen(l3_mo.msgs.gprs_mm)) { return c_LLC_SAPI_LLGMM; } else if (ischosen(l3_mo.msgs.gprs_sm)) { - return c_LLC_SAPI_LLSM; + return c_LLC_SAPI_LLGMM; } else if (ischosen(l3_mo.msgs.sms)) { return c_LLC_SAPI_LLSMS; } @@ -574,7 +574,7 @@ private function f_llc_sapi_by_l3_mt(PDU_L3_SGSN_MS l3_mt) return BIT4 { if (ischosen(l3_mt.msgs.gprs_mm)) { return c_LLC_SAPI_LLGMM; } else if (ischosen(l3_mt.msgs.gprs_sm)) { - return c_LLC_SAPI_LLSM; + return c_LLC_SAPI_LLGMM; } else if (ischosen(l3_mt.msgs.sms)) { return c_LLC_SAPI_LLSMS; } |