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
diff --git a/library/GSMTAP_Types.ttcn b/library/GSMTAP_Types.ttcn
index 3288284..76e6ea3 100644
--- a/library/GSMTAP_Types.ttcn
+++ b/library/GSMTAP_Types.ttcn
@@ -1,5 +1,6 @@
module GSMTAP_Types {
import from Osmocom_Types all;
+ import from GSM_Types all;
const uint8_t GSMTAP_VERSION := 2;
@@ -49,7 +50,7 @@
uint8_t hdr_len,
GsmtapMsgType msg_type,
uint8_t timeslot,
- Arfcn arfcn,
+ GsmBandArfcn arfcn,
int8_t signal_dbm,
int8_t snr_db,
uint32_t frame_number,