summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/gsm48.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-07-13 21:35:13 +0200
committerHarald Welte <laforge@gnumonks.org>2012-07-13 21:35:13 +0200
commit774a9de8b36a53c9e4e4dca4efbb9944cd39ff65 (patch)
treeda2eed2a3ed2bb2d919cc68b176284386c8aa95a /include/osmocom/gsm/gsm48.h
parente30b6ac5d1127c368184232dc749cef28d0cbb6c (diff)
import gsm48_decode_lai() function from osmocom-bb/mobile sysinfo.c
Diffstat (limited to 'include/osmocom/gsm/gsm48.h')
-rw-r--r--include/osmocom/gsm/gsm48.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gsm/gsm48.h b/include/osmocom/gsm/gsm48.h
index 16a625aa..1e7498a9 100644
--- a/include/osmocom/gsm/gsm48.h
+++ b/include/osmocom/gsm/gsm48.h
@@ -20,6 +20,8 @@ const char *gsm48_cc_state_name(uint8_t state);
const char *gsm48_cc_msg_name(uint8_t msgtype);
const char *rr_cause_name(uint8_t cause);
+int gsm48_decode_lai(struct gsm48_loc_area_id *lai, uint16_t *mcc,
+ uint16_t *mnc, uint16_t *lac);
void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc,
uint16_t mnc, uint16_t lac);
int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi);