From 666e36aea9ddb9ffc6fd1c7620943449be345355 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 13 Jul 2015 20:33:08 +0200 Subject: nitb: Add a mode to not use TMSI for normal operation In case foreign simcards are used we can not do authentication and ciphering. In case a TMSI is re-used too early and we do page using TMSI we can't know which of the two MS is responding to us. We could change the "secure channel" routine to ask for the IMSI and only then stop the paging. As we don't have ciphering there is not much use in using the TMSI. Add a mode "no assign-tmsi" that will not assign the TMSI during LU. Now CM Service Request and Paging Response will work using the IMSI. There can't be a clash with that. [ciaby fixed the vty write to use the right name] --- openbsc/include/openbsc/gsm_data.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 6f7c8dd2a..90f3c800d 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -281,6 +281,9 @@ struct gsm_network { struct gsm_subscriber_group *subscr_group; struct gsm_sms_queue *sms_queue; + /* nitb related control */ + int avoid_tmsi; + /* control interface */ struct ctrl_handle *ctrl; }; -- cgit v1.2.3