diff options
author | Stefan Sperling <ssperling@sysmocom.de> | 2018-05-15 14:48:04 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-05-23 14:55:00 +0200 |
commit | defc3c8caf518306637ac579ec9b856f50dbb8ec (patch) | |
tree | 71d14ec1340b9231eb0497dce43f26cec7138563 /include/osmocom/msc/gsm_subscriber.h | |
parent | 2d95ab67d100a4747f7965b5be07e00453222f87 (diff) |
implement periodic Location Update expiry in the VLR
Remove subscribers which fail to send periodic Location Updates from the
list of subscribers known to the VLR. This complements the IMSI detach
procedure: periodic LU expiry triggers an implicit IMSI detach.
Expired subscribers are purged from a periodic timer which iterates
over all subscribers once per minute.
Subscribers with an active connection do not expire. This is controlled
by the subscriber conn FSM which sets a subscriber's the LU expiry timeout
value to GSM_SUBSCRIBER_NO_EXPIRATION while a connection is active.
Add support for fake time with osmo_clock_gettime() to msc_vlr tests.
This functionality existed in OpenBSC but was lost during the nitb split.
This code took some inspiration from the OpenBSC implementation.
Related: OS#1976
Change-Id: Iebdee8b12d22acfcfb265ee41e71cfc8d9eb3ba9
Diffstat (limited to 'include/osmocom/msc/gsm_subscriber.h')
-rw-r--r-- | include/osmocom/msc/gsm_subscriber.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/osmocom/msc/gsm_subscriber.h b/include/osmocom/msc/gsm_subscriber.h index 16e1037c0..01d9c582c 100644 --- a/include/osmocom/msc/gsm_subscriber.h +++ b/include/osmocom/msc/gsm_subscriber.h @@ -17,8 +17,6 @@ #define GSM_SUBSCRIBER_FIRST_CONTACT 0x00000001 /* gprs_sgsn.h defines additional flags including and above bit 16 (0x10000) */ -#define GSM_SUBSCRIBER_NO_EXPIRATION 0x0 - enum gsm_subscriber_field { GSM_SUBSCRIBER_IMSI, GSM_SUBSCRIBER_TMSI, |