diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/msc/gsm_subscriber.h | 1 | ||||
-rw-r--r-- | include/osmocom/msc/vlr.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocom/msc/gsm_subscriber.h b/include/osmocom/msc/gsm_subscriber.h index 16e1037c0..50b4a233b 100644 --- a/include/osmocom/msc/gsm_subscriber.h +++ b/include/osmocom/msc/gsm_subscriber.h @@ -18,6 +18,7 @@ /* gprs_sgsn.h defines additional flags including and above bit 16 (0x10000) */ #define GSM_SUBSCRIBER_NO_EXPIRATION 0x0 +#define GSM_SUBSCRIBER_LU_EXPIRATION_INTERVAL 60 /* in seconds */ enum gsm_subscriber_field { GSM_SUBSCRIBER_IMSI, diff --git a/include/osmocom/msc/vlr.h b/include/osmocom/msc/vlr.h index 0a9ef6fb5..c647ddc4c 100644 --- a/include/osmocom/msc/vlr.h +++ b/include/osmocom/msc/vlr.h @@ -148,6 +148,7 @@ struct vlr_subscr { struct osmo_fsm_inst *proc_arq_fsm; bool lu_complete; + time_t expire_lu; void *msc_conn_ref; @@ -237,6 +238,7 @@ struct vlr_instance { struct llist_head operations; struct gsup_client *gsup_client; struct vlr_ops ops; + struct osmo_timer_list lu_expire_timer; struct { bool retrieve_imeisv_early; bool retrieve_imeisv_ciphered; @@ -379,6 +381,7 @@ void vlr_subscr_cancel_attach_fsm(struct vlr_subscr *vsub, enum osmo_fsm_term_cause fsm_cause, uint8_t gsm48_cause); +void vlr_subscr_enable_expire_lu(struct vlr_subscr *vsub); /* Process Acccess Request FSM */ |