blob: 95963d59b5ab55fbddbfa9c2bd4ae6c3d894525d [file] [log] [blame]
Harald Welte4fb20752010-03-02 23:17:33 +01001#ifndef _OSMOCORE_GSM48_H
2
3#include <osmocore/tlv.h>
Harald Welte61e2bfc2010-03-04 10:53:03 +01004#include <osmocore/protocol/gsm_04_08.h>
Harald Welte4fb20752010-03-02 23:17:33 +01005
6extern const struct tlv_definition gsm48_att_tlvdef;
Harald Welte61e2bfc2010-03-04 10:53:03 +01007extern const char *cc_state_names[32];
8const char *gsm48_cc_msg_names[0x40];
Harald Welte4fb20752010-03-02 23:17:33 +01009const char *rr_cause_name(uint8_t cause);
10
Harald Welte61e2bfc2010-03-04 10:53:03 +010011void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc,
12 uint16_t mnc, uint16_t lac);
13int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi);
14int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi);
15
Harald Welte4fb20752010-03-02 23:17:33 +010016#endif