diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-11-14 04:24:57 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-11-24 11:58:49 +0100 |
commit | 1acc7bb1840582a351888bba9f98644b9435f5a1 (patch) | |
tree | a82a0d72471651c4a8343443edd55cb6c9b24b97 /library/L1CTL_PortType.ttcn | |
parent | 0e18824f3b2907f272a5ef687a717b1aef0e3e8d (diff) |
library: move Osmocom_Types.Arfcn to GSM_Types.GsmBandArfcn
In some cases GsmArfcn itself is not enough. It case of L1CTL
and GSMTAP, it needs to be equipped with a band discriminator:
- DCS / PCS (as the numbers may overlap),
- Downlink / Uplink (not yet there).
Let's rename this record and move it to GSM_Types. Also, add
send / receive tamplates, so we can add new fields later.
Change-Id: I7a63f03bbd15a06caafb786122dc12991d115771
Diffstat (limited to 'library/L1CTL_PortType.ttcn')
-rw-r--r-- | library/L1CTL_PortType.ttcn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/library/L1CTL_PortType.ttcn b/library/L1CTL_PortType.ttcn index 19b3ee39..5c554c2b 100644 --- a/library/L1CTL_PortType.ttcn +++ b/library/L1CTL_PortType.ttcn @@ -42,7 +42,10 @@ module L1CTL_PortType { return len; } - function f_L1CTL_FBSB(L1CTL_PT pt, Arfcn arfcn, L1ctlCcchMode ccch_mode := CCCH_MODE_COMBINED, integer rxlev_exp := 57) { + function f_L1CTL_FBSB(L1CTL_PT pt, GsmBandArfcn arfcn, + L1ctlCcchMode ccch_mode := CCCH_MODE_COMBINED, + integer rxlev_exp := 57) + { timer T := 15.0; for (var integer i := 0; i < 10; i := i+1) { var L1ctlDlMessage dl; |