Harald Welte | c436245 | 2010-03-22 22:25:13 +0800 | [diff] [blame] | 1 | #ifndef _OSMOCORE_GSM48_H |
| 2 | |
| 3 | #include <osmocore/tlv.h> |
| 4 | #include <osmocore/protocol/gsm_04_08.h> |
| 5 | #include <osmocore/gsm48_ie.h> |
| 6 | |
| 7 | extern const struct tlv_definition gsm48_att_tlvdef; |
Harald Welte | 9870099 | 2010-03-25 12:15:24 +0800 | [diff] [blame^] | 8 | const char *gsm48_cc_state_name(uint8_t state); |
| 9 | const char *gsm48_cc_msg_name(uint8_t msgtype); |
Harald Welte | c436245 | 2010-03-22 22:25:13 +0800 | [diff] [blame] | 10 | const char *rr_cause_name(uint8_t cause); |
| 11 | |
| 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 | |
| 17 | #endif |