diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-01 11:59:42 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-01 12:00:21 +0200 |
commit | a1c4f765eca695bf3d9c41d741bcab81989c8d48 (patch) | |
tree | 06670c450ceb9b71b031f67e8e0b7e1b05024f68 /include/osmocore/protocol | |
parent | 5ba4dc171b0d86ae3032c3732334481d9d399188 (diff) |
import gsm48_parse_ra() and gprs_tlli_type() from openbsc
Diffstat (limited to 'include/osmocore/protocol')
-rw-r--r-- | include/osmocore/protocol/gsm_04_08.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/osmocore/protocol/gsm_04_08.h b/include/osmocore/protocol/gsm_04_08.h index 47b98b29..1a112a08 100644 --- a/include/osmocore/protocol/gsm_04_08.h +++ b/include/osmocore/protocol/gsm_04_08.h @@ -735,10 +735,17 @@ enum gsm48_bcap_rrq { GSM48_BCAP_RRQ_DUAL_FR = 3, }; - #define GSM48_TMSI_LEN 5 #define GSM48_MID_TMSI_LEN (GSM48_TMSI_LEN + 2) #define GSM48_MI_SIZE 32 +/* Chapter 10.4.4.15 */ +struct gsm48_ra_id { + uint8_t digits[3]; /* MCC + MNC BCD digits */ + uint16_t lac; /* Location Area Code */ + uint8_t rac; /* Routing Area Code */ +} __attribute__ ((packed)); + + #endif /* PROTO_GSM_04_08_H */ |