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 | 1e90866 | 2010-03-07 23:39:54 +0100 | [diff] [blame] | 5 | #include <osmocore/gsm48_ie.h> |
Harald Welte | 4fb2075 | 2010-03-02 23:17:33 +0100 | [diff] [blame] | 6 | |
| 7 | extern const struct tlv_definition gsm48_att_tlvdef; |
Harald Welte | 61e2bfc | 2010-03-04 10:53:03 +0100 | [diff] [blame] | 8 | extern const char *cc_state_names[32]; |
Holger Hans Peter Freyther | 6214b92 | 2010-03-11 14:42:41 +0100 | [diff] [blame^] | 9 | extern const char *gsm48_cc_msg_names[0x40]; |
Harald Welte | 4fb2075 | 2010-03-02 23:17:33 +0100 | [diff] [blame] | 10 | const char *rr_cause_name(uint8_t cause); |
| 11 | |
Harald Welte | 61e2bfc | 2010-03-04 10:53:03 +0100 | [diff] [blame] | 12 | void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc, |
| 13 | uint16_t mnc, uint16_t lac); |
| 14 | int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi); |
| 15 | int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi); |
| 16 | |
Harald Welte | 4fb2075 | 2010-03-02 23:17:33 +0100 | [diff] [blame] | 17 | #endif |