From b4a8badc45a05283944859e2822a202197eed1c4 Mon Sep 17 00:00:00 2001 From: Tim Ehlers Date: Tue, 14 Feb 2012 23:54:25 +0100 Subject: mobile: Add vty option to force rekeying for every new channel Written-by: Tim Ehlers Signed-off-by: Sylvain Munaut --- src/host/layer23/include/osmocom/bb/mobile/settings.h | 1 + src/host/layer23/include/osmocom/bb/mobile/subscriber.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/host/layer23/include/osmocom/bb/mobile') diff --git a/src/host/layer23/include/osmocom/bb/mobile/settings.h b/src/host/layer23/include/osmocom/bb/mobile/settings.h index e09d9084..6d446967 100644 --- a/src/host/layer23/include/osmocom/bb/mobile/settings.h +++ b/src/host/layer23/include/osmocom/bb/mobile/settings.h @@ -87,6 +87,7 @@ struct gsm_settings { /* radio */ uint16_t dsc_max; + uint8_t force_rekey; /* dialing */ struct llist_head abbrev; diff --git a/src/host/layer23/include/osmocom/bb/mobile/subscriber.h b/src/host/layer23/include/osmocom/bb/mobile/subscriber.h index 50c305a8..3e50e29d 100644 --- a/src/host/layer23/include/osmocom/bb/mobile/subscriber.h +++ b/src/host/layer23/include/osmocom/bb/mobile/subscriber.h @@ -105,6 +105,7 @@ int gsm_subscr_dump_forbidden_plmn(struct osmocom_ms *ms, void gsm_subscr_dump(struct gsm_subscriber *subscr, void (*print)(void *, const char *, ...), void *priv); char *gsm_check_imsi(const char *imsi); +int gsm_subscr_get_key_seq(struct osmocom_ms *ms, struct gsm_subscriber *subscr); #endif /* _SUBSCRIBER_H */ -- cgit v1.2.3