aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-18 19:51:53 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-18 19:51:53 +0000
commit0313394a88540780c64e5f0e9294a147b54c11ba (patch)
tree4c3d1ae28146e3b2cc87a06d25fe1ba2c64bc6af /include/openbsc
parent2c38aa8dcd4e40aac275564fefa8c0f99c82f491 (diff)
* support BS11 specific IE types in abis_nm
* make bs11_config compile again * now that we have a proper TLV parser, use it to parse the status response on the serial port
Diffstat (limited to 'include/openbsc')
-rw-r--r--include/openbsc/abis_nm.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/openbsc/abis_nm.h b/include/openbsc/abis_nm.h
index 749f025c7..a28905c18 100644
--- a/include/openbsc/abis_nm.h
+++ b/include/openbsc/abis_nm.h
@@ -25,6 +25,8 @@
#include <sys/types.h>
+#include <openbsc/tlv.h>
+
/* PRIVATE */
/* generic header in front of every OML message according to TS 08.59 */
@@ -371,6 +373,8 @@ enum abis_nm_attr {
NM_ATT_BS11_RADIO_MEAS_GRAN = 0xdc, /* in SACCH multiframes */
NM_ATT_BS11_RADIO_MEAS_REP = 0xdd,
+ NM_ATT_BS11_BTS_STATE = 0xf0,
+ NM_ATT_BS11_E1_STATE = 0xf1,
NM_ATT_BS11_PLL = 0xf2,
NM_ATT_BS11_RX_OFFSET = 0xf3,
NM_ATT_BS11_ANT_TYPE = 0xf4,
@@ -497,9 +501,8 @@ struct abis_nm_cfg {
};
extern int abis_nm_rcvmsg(struct msgb *msg);
-//extern struct abis_nm_h *abis_nm_init(struct abis_nm_cfg *cfg);
-//extern void abis_nm_fini(struct abis_nm_h *nmh);
+int abis_nm_tlv_parse(struct tlv_parsed *tp, const u_int8_t *buf, int len);
int abis_nm_rx(struct msgb *msg);
int abis_nm_opstart(struct gsm_bts *bts, u_int8_t obj_class, u_int8_t i0, u_int8_t i1, u_int8_t i2);
int abis_nm_chg_adm_state(struct gsm_bts *bts, u_int8_t obj_class, u_int8_t i0,