diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-10-13 15:25:54 +0700 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2019-10-21 11:25:40 +0000 |
commit | 8c242f041a713058963ed22bd05533d2b1092f26 (patch) | |
tree | 51a3527777d095ad85d63fd806f83972ea28eb55 /library | |
parent | 20f870076763f7b152d61a2dafc5ee90ee473c9f (diff) |
BTS_Tests.ttcn: add a test case for PTCCH/D and PTCCH/U
This test case is aimed to verify handling of both PTCCH/U and
PTCCH/D logical channels, recently implemented in [1]. This is
done by sending 16 Access Bursts on PTCCH/U, and then by
sending a random data block on PTCCH/D.
The existing TC_pcu_data_req_ptcch does not cover PTCCH/U, and
moreover involves TBF handling which has nothing to do with
PTCCH. Let's keep it anyway.
[1] I232e5f514fbad2c51daaa59ff516004aba97c8a3
Change-Id: I011ffdfa63b698ce6085968d15ffb4ff4bd23ee5
Related: OS#4102
Diffstat (limited to 'library')
-rw-r--r-- | library/GSM_Types.ttcn | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn index ec74ce52..ee6d1326 100644 --- a/library/GSM_Types.ttcn +++ b/library/GSM_Types.ttcn @@ -158,7 +158,8 @@ module GSM_Types { /* TS 48.058 9.3.2 Link ID */ type enumerated RslLinkIdC { FACCH_SDCCH (0), - SACCH (1) + SACCH (1), + OSMO_PTCCH (2) /* Osmocom (trxcon) specific extension */ } with { variant "FIELDLENGTH(2)" }; type enumerated RslSapi0Prio { @@ -195,6 +196,12 @@ module GSM_Types { sapi := sapi }; + template RslLinkId tr_RslLinkID_OSMO_PTCCH(template GsmSapi sapi) modifies tr_RslLinkId := { + c := OSMO_PTCCH, + na := false, + sapi := sapi + }; + template (value) RslLinkId ts_RslLinkID_DCCH(GsmSapi sapi) := { c := FACCH_SDCCH, na := false, @@ -209,6 +216,13 @@ module GSM_Types { sapi := sapi }; + template (value) RslLinkId ts_RslLinkID_OSMO_PTCCH(GsmSapi sapi) := { + c := OSMO_PTCCH, + na := false, + prio := SAPI0_PRIO_NORMAL, + sapi := sapi + }; + function f_hex_is_odd_length(hexstring digits) return bitstring { if (lengthof(digits) rem 2 == 1) { return '1'B; |