aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-22 19:26:52 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-20 11:22:59 +0200
commit9bc1ddc849714bd4f38ce9d40965793ff400606b (patch)
treefc73904f0ba3373799c0222faa9a8908f8c5f81e /openbsc/include
parent90e2c751e97bfbe7cc18e040aaf60dc5236d8d7b (diff)
iu.c: add registry of RNC-Ids in LACs
Introduce struct gsm_rnc, stored in a global list, static to iu.c. (This list is not part of gsm_network so that the code can be used from both MSC and GPRS code, i.e. both for CS and PS.) Parse RANAP Global RNC Id, add GSM flags to build for gsm48_mcc_mnc_from_bcd() to decode the PLMN Id. Upon every Initial UE message, record/verify RNC Id and LAC for that connection. In case of mismatch, so far just log an error.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/iu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/iu.h b/openbsc/include/openbsc/iu.h
index 0f178d74b..4fde62431 100644
--- a/openbsc/include/openbsc/iu.h
+++ b/openbsc/include/openbsc/iu.h
@@ -5,6 +5,7 @@ struct msgb;
struct gprs_ra_id;
struct RANAP_RAB_SetupOrModifiedItemIEs_s;
+struct RANAP_GlobalRNC_ID;
struct ue_conn_ctx {
struct llist_head list;