summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-01-02 13:42:24 +0100
committerMax <msuraev@sysmocom.de>2017-01-06 10:21:11 +0000
commit0bee65c0d89f81a4b90aa3d484016d9ba680dd46 (patch)
treeb87cd593abfb7b3796abf4a37ccfecb285119fed /include/osmocom/gsm
parentedc8db21fa4fec3a87d7892d219ae26135858e9c (diff)
Add OML definitions from OsmoBTS
Change-Id: I9c3bc15662949654e7bba6aad5488c69ee7d0c45 Related: OS#1615
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/abis_nm.h1
-rw-r--r--include/osmocom/gsm/protocol/gsm_12_21.h13
2 files changed, 14 insertions, 0 deletions
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,