libosmogsm 1.13.1.1-afb4 Osmocom GSM library

Functions | Variables
abis_nm.c File Reference
A-bis OML
`#include <stdint.h>`
`#include <errno.h>`
`#include <osmocom/core/utils.h>`
`#include <osmocom/core/logging.h>`
`#include <osmocom/gsm/tlv.h>`
`#include <osmocom/gsm/gsm_utils.h>`
`#include <osmocom/gsm/protocol/gsm_12_21.h>`
`#include <osmocom/gsm/abis_nm.h>`

## Functions
const char * | abis_nm_nack_name (uint8_t nack)
| Get human-readable string for OML NACK message type. More...
const char * | abis_nm_nack_cause_name (uint8_t cause)
| Get human-readable string for NACK cause. More...
const char * | abis_nm_event_type_name (uint8_t cause)
| Get human-readable string for OML event type. More...
const char * | abis_nm_severity_name (uint8_t cause)
| Get human-readable string for perceived OML severity. More...
const char * | abis_nm_opstate_name (uint8_t os)
| Get human-readable string for OML Operational State. More...
const char * | abis_nm_avail_name (uint8_t avail)
| Get human-readable string for OML Availability State. More...
const char * | abis_nm_test_name (uint8_t test)
| Get human-readable string for OML test. More...
struct msgb * | abis_nm_fail_evt_rep (enum abis_nm_event_type t, enum abis_nm_severity s, enum abis_nm_pcause_type ct, uint16_t cause_value, const char *fmt,...)
| Pack 3GPP TS 12.21 § 8.8.2 Failure Event Report into msgb. More...
struct msgb * | abis_nm_fail_evt_vrep (enum abis_nm_event_type t, enum abis_nm_severity s, enum abis_nm_pcause_type ct, uint16_t cause_value, const char *fmt, va_list ap)
| Pack 3GPP TS 12.21 § 8.8.2 Failure Event Report into msgb. More...
uint16_t | abis_nm_sw_desc_len (const struct abis_nm_sw_desc *sw, bool put_sw_desc)
| Compute length of given 3GPP TS 52.021 §9.4.62 SW Description. More...
uint16_t | abis_nm_put_sw_desc (struct msgb *msg, const struct abis_nm_sw_desc *sw, bool put_sw_desc)
| Put given 3GPP TS 52.021 §9.4.62 SW Description into msgb. More...
uint16_t | abis_nm_put_sw_file (struct msgb *msg, const char *id, const char *ver, bool put_sw_desc)
| Put given file ID/Version pair as 3GPP TS 52.021 §9.4.62 SW Description into msgb. More...
uint32_t | abis_nm_get_sw_desc_len (const uint8_t *buf, size_t len)
| Get length of first 3GPP TS 52.021 §9.4.62 SW Description from buffer. More...
static int | abis_nm_get_sw_desc (struct abis_nm_sw_desc *sw, const uint8_t *buf, size_t length)
| Parse single 3GPP TS 52.021 §9.4.62 SW Description from buffer. More...
int | abis_nm_get_sw_conf (const uint8_t *buf, size_t buf_len, struct abis_nm_sw_desc *sw, uint16_t sw_len)
| Parse 3GPP TS 52.021 §9.4.61 SW Configuration from buffer. More...
int | abis_nm_chcomb4pchan (enum gsm_phys_chan_config pchan)
| Obtain OML Channel Combination for phnsical channel config. More...
enum gsm_phys_chan_config | abis_nm_pchan4chcomb (uint8_t chcomb)
| Obtain physical channel config for OML Channel Combination. More...
char * | abis_nm_dump_foh_buf (char *buf, size_t buf_len, const struct abis_om_fom_hdr *foh)
const char * | abis_nm_dump_foh (const struct abis_om_fom_hdr *foh)
char * | abis_nm_dump_foh_c (void *ctx, const struct abis_om_fom_hdr *foh)
void | abis_nm_debugp_foh (int ss, struct abis_om_fom_hdr *foh)

## Variables
const char | abis_nm_ipa_magic [13] = "com.ipaccess"
const char | abis_nm_osmo_magic [12] = "org.osmocom"
enum abis_nm_msgtype | abis_nm_reports [4]
| unidirectional messages from BTS to BSC More...
enum abis_nm_msgtype | abis_nm_no_ack_nack [3]
| messages without ACK/NACK More...
enum abis_nm_msgtype | abis_nm_sw_load_msgs [9]
| messages related to software load More...
enum abis_nm_msgtype | abis_nm_nacks [33]
| All NACKs (negative acknowledgements. More...
static const struct value_string | nack_names []
const struct value_string | abis_mm_event_cause_names []
const struct value_string | abis_nm_pcause_type_names []
static const struct value_string | nack_cause_names []
static const struct value_string | event_type_names []
static const struct value_string | severity_names []
const uint8_t | abis_nm_t200_ms []
| 3GPP TS 12.21 9.4.53 T200 values (in msec) More...
const struct value_string | abis_nm_msgtype_names []
| 3GPP TS 52.021 §9.1 Message Types More...
const struct value_string | abis_nm_att_names []
| 3GPP TS 52.021 §9.4 Attributes and Parameters More...
enum abis_nm_attr | abis_nm_att_settable []
| Attributes that the BSC can set, not only get, according to Section 9.4. More...
const struct tlv_definition | abis_nm_att_tlvdef_ipa
| GSM A-bis OML IPA TLV parser definition. More...
const struct tlv_definition | abis_nm_att_tlvdef
| GSM A-bis OML TLV parser definition. More...
const struct tlv_definition | abis_nm_osmo_att_tlvdef
| org.osmocom GSM A-bis OML TLV parser definition More...
const struct value_string | abis_nm_msg_disc_names []
| Human-readable strings for A-bis OML Object Class. More...
const struct value_string | abis_nm_obj_class_names []
| Human-readable strings for A-bis OML Object Class. More...
static const struct value_string | avail_names []
static const struct value_string | test_names []
const struct value_string | abis_nm_adm_state_names []
| Human-readable names for OML administrative state. More...
static enum abis_nm_chan_comb | chcomb4pchan []
const struct value_string | abis_nm_ipacc_freq_band_desc []
const struct value_string | abis_nm_ipacc_ciph_algo_desc []
const struct value_string | abis_nm_ipacc_chant_desc []
const struct value_string | abis_nm_ipacc_chanm_desc []
const struct value_string | abis_nm_ipacc_gprs_coding_desc []
const struct value_string | abis_nm_ipacc_rtp_feat_desc []
const struct value_string | abis_nm_ipacc_rsl_feat_desc []