diff options
Diffstat (limited to 'libosmocore/include/osmocore/gsm48.h')
-rw-r--r-- | libosmocore/include/osmocore/gsm48.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libosmocore/include/osmocore/gsm48.h b/libosmocore/include/osmocore/gsm48.h new file mode 100644 index 000000000..787cdd0d9 --- /dev/null +++ b/libosmocore/include/osmocore/gsm48.h @@ -0,0 +1,17 @@ +#ifndef _OSMOCORE_GSM48_H + +#include <osmocore/tlv.h> +#include <osmocore/protocol/gsm_04_08.h> +#include <osmocore/gsm48_ie.h> + +extern const struct tlv_definition gsm48_att_tlvdef; +extern const char *cc_state_names[32]; +extern const char *gsm48_cc_msg_names[0x40]; +const char *rr_cause_name(uint8_t cause); + +void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc, + uint16_t mnc, uint16_t lac); +int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi); +int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi); + +#endif |