1 #ifndef _OSMO_GSM_ABIS_NM_H
2 #define _OSMO_GSM_ABIS_NM_H
4 /*! \defgroup oml A-bis OML
8 #include <osmocom/gsm/tlv.h>
9 #include <osmocom/gsm/gsm_utils.h>
10 #include <osmocom/gsm/protocol/gsm_12_21.h>
12 /*! \file abis_nm.h */
15 enum gsm_phys_chan_config
;
17 const enum abis_nm_msgtype abis_nm_reports
[4];
18 const enum abis_nm_msgtype abis_nm_no_ack_nack
[3];
19 const enum abis_nm_msgtype abis_nm_sw_load_msgs
[9];
20 const enum abis_nm_msgtype abis_nm_nacks
[33];
22 extern const struct value_string abis_nm_obj_class_names
[];
23 extern const struct value_string abis_nm_adm_state_names
[];
25 const char *abis_nm_nack_cause_name(uint8_t cause
);
26 const char *abis_nm_nack_name(uint8_t nack
);
27 const char *abis_nm_event_type_name(uint8_t cause
);
28 const char *abis_nm_severity_name(uint8_t cause
);
29 const struct tlv_definition abis_nm_att_tlvdef
;
30 const char *abis_nm_opstate_name(uint8_t os
);
31 const char *abis_nm_avail_name(uint8_t avail
);
32 const char *abis_nm_test_name(uint8_t test
);
33 void abis_nm_debugp_foh(int ss
, struct abis_om_fom_hdr
*foh
);
35 int abis_nm_chcomb4pchan(enum gsm_phys_chan_config pchan
);
36 enum abis_nm_chan_comb
abis_nm_pchan4chcomb(uint8_t chcomb
);
40 #endif /* _OSMO_GSM_ABIS_NM_H */