Harald Welte | 4fb2075 | 2010-03-02 23:17:33 +0100 | [diff] [blame] | 1 | #ifndef _OSMOCORE_GSM48_H |
| 2 | |
| 3 | #include <osmocore/tlv.h> |
Harald Welte | 61e2bfc | 2010-03-04 10:53:03 +0100 | [diff] [blame^] | 4 | #include <osmocore/protocol/gsm_04_08.h> |
Harald Welte | 4fb2075 | 2010-03-02 23:17:33 +0100 | [diff] [blame] | 5 | |
| 6 | extern const struct tlv_definition gsm48_att_tlvdef; |
Harald Welte | 61e2bfc | 2010-03-04 10:53:03 +0100 | [diff] [blame^] | 7 | extern const char *cc_state_names[32]; |
| 8 | const char *gsm48_cc_msg_names[0x40]; |
Harald Welte | 4fb2075 | 2010-03-02 23:17:33 +0100 | [diff] [blame] | 9 | const char *rr_cause_name(uint8_t cause); |
| 10 | |
Harald Welte | 61e2bfc | 2010-03-04 10:53:03 +0100 | [diff] [blame^] | 11 | void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc, |
| 12 | uint16_t mnc, uint16_t lac); |
| 13 | int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi); |
| 14 | int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi); |
| 15 | |
Harald Welte | 4fb2075 | 2010-03-02 23:17:33 +0100 | [diff] [blame] | 16 | #endif |