blob: 6356379676764700ea9031f66c7ca8a69d79811c [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 Welte1e908662010-03-07 23:39:54 +01005#include <osmocore/gsm48_ie.h>
Harald Welte4fb20752010-03-02 23:17:33 +01006
7extern const struct tlv_definition gsm48_att_tlvdef;
Harald Welte61e2bfc2010-03-04 10:53:03 +01008extern const char *cc_state_names[32];
9const char *gsm48_cc_msg_names[0x40];
Harald Welte4fb20752010-03-02 23:17:33 +010010const char *rr_cause_name(uint8_t cause);
11
Harald Welte61e2bfc2010-03-04 10:53:03 +010012void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc,
13 uint16_t mnc, uint16_t lac);
14int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi);
15int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi);
16
Harald Welte4fb20752010-03-02 23:17:33 +010017#endif