diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-08-19 07:54:59 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-08-20 13:57:12 +0200 |
commit | d1862d7cf98b984407d8533ac68b0ae85cfbf9c7 (patch) | |
tree | 5b83437ee68e41b0d831b3b2c45fc1f2449525a3 /openbsc/include/openbsc/gsm_04_08.h | |
parent | 081c00d885c9c929f2430f48eb11c2a96afea116 (diff) |
[gsm48] Move parsing of the MI from to gsm_04_08_utils.c
The parsing of the IMSI is needed for the MSC part as well. Move
it to the gsm_04_08_utils.c so it can be used.
Diffstat (limited to 'openbsc/include/openbsc/gsm_04_08.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_04_08.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_04_08.h b/openbsc/include/openbsc/gsm_04_08.h index 2518dfd6c..8f0e4658c 100644 --- a/openbsc/include/openbsc/gsm_04_08.h +++ b/openbsc/include/openbsc/gsm_04_08.h @@ -684,6 +684,7 @@ enum gsm48_bcap_rrq { #define GSM48_TMSI_LEN 5 #define GSM48_MID_TMSI_LEN (GSM48_TMSI_LEN + 2) +#define GSM48_MI_SIZE 32 struct msgb; @@ -708,6 +709,7 @@ int gsm48_tx_mm_auth_rej(struct gsm_lchan *lchan); struct msgb *gsm48_msgb_alloc(void); int gsm48_sendmsg(struct msgb *msg, struct gsm_trans *trans); int generate_mid_from_tmsi(u_int8_t *buf, u_int32_t tmsi); +int gsm48_mi_to_string(char *string, const int str_len, const u_int8_t *mi, const int mi_len); int gsm48_send_rr_release(struct gsm_lchan *lchan); int gsm48_send_rr_app_info(struct gsm_lchan *lchan, u_int8_t apdu_id, |