From 0bee65c0d89f81a4b90aa3d484016d9ba680dd46 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 2 Jan 2017 13:42:24 +0100 Subject: Add OML definitions from OsmoBTS Change-Id: I9c3bc15662949654e7bba6aad5488c69ee7d0c45 Related: OS#1615 --- include/osmocom/gsm/abis_nm.h | 1 + include/osmocom/gsm/protocol/gsm_12_21.h | 13 +++++++++++++ 2 files changed, 14 insertions(+) (limited to 'include/osmocom/gsm') diff --git a/include/osmocom/gsm/abis_nm.h b/include/osmocom/gsm/abis_nm.h index 04bca432..14dbc08c 100644 --- a/include/osmocom/gsm/abis_nm.h +++ b/include/osmocom/gsm/abis_nm.h @@ -34,6 +34,7 @@ const char *abis_nm_opstate_name(uint8_t os); const char *abis_nm_avail_name(uint8_t avail); const char *abis_nm_test_name(uint8_t test); extern const struct tlv_definition abis_nm_osmo_att_tlvdef; +extern const struct tlv_definition abis_nm_att_tlvdef_ipa; /*! \brief write a human-readable OML header to the debug log * \param[in] ss Logging sub-system diff --git a/include/osmocom/gsm/protocol/gsm_12_21.h b/include/osmocom/gsm/protocol/gsm_12_21.h index 3c3a2c91..ed53dc64 100644 --- a/include/osmocom/gsm/protocol/gsm_12_21.h +++ b/include/osmocom/gsm/protocol/gsm_12_21.h @@ -615,6 +615,19 @@ struct abis_nm_channel { uint8_t subslot; /*!< \brief E1 sub-slot */ } __attribute__ ((packed)); +/*! \brief 3GPP TS 12.21 9.4.53 T200 index */ +enum abis_nm_t200_idx { + T200_SDCCH = 0, + T200_FACCH_F = 1, + T200_FACCH_H = 2, + T200_SACCH_TCH_SAPI0 = 3, + T200_SACCH_SDCCH = 4, + T200_SDCCH_SAPI3 = 5, + T200_SACCH_TCH_SAPI3 = 6 +}; + +extern const uint8_t abis_nm_t200_ms[]; + /*! \brief Siemens BS-11 specific objects in the SienemsHW (0xA5) object class */ enum abis_bs11_objtype { BS11_OBJ_ALCO = 0x01, -- cgit v1.2.3