aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-22 19:25:58 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-11 20:45:32 +0200
commitedafdc14f3cf0b9714932bce3faf2751f370663d (patch)
tree34d1d26eddb3ea03d7585e370c26bc4805fdf703 /openbsc/include/openbsc
parent54fc3a13183e4d5956c8c17b74caf7ef21febe0a (diff)
cscn: record and use LAC on incoming InitialUE msg
Add lac argument to gsm0408_rcvmsg_iucs(), to record the LAC in newly allocated gsm_subscriber_connections. In effect, fix the LAC sent to UE during Location Updating Accept message. Before, 0 was stored as LAC and sent to the UE, regardless of the actual LAC in use.
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/iu_cs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/iu_cs.h b/openbsc/include/openbsc/iu_cs.h
index f165c9b58..fb61a5cf1 100644
--- a/openbsc/include/openbsc/iu_cs.h
+++ b/openbsc/include/openbsc/iu_cs.h
@@ -1,6 +1,7 @@
#pragma once
-int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg);
+int gsm0408_rcvmsg_iucs(struct gsm_network *network, struct msgb *msg,
+ uint16_t *lac);
struct gsm_subscriber_connection *subscr_conn_lookup_iu(struct gsm_network *network,
struct ue_conn_ctx *ue);