diff options
authorHarald Welte <laforge@gnumonks.org>2017-12-10 19:55:18 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-11 14:03:50 +0100
commitdea252d29c2e9c303dfe706656598278a2c13e99 (patch)
parent4bd710d107786ecf838f568171a0175d157e809d (diff)
Change T3101 default from 10s to 3s.
This timer is started when a channel is allocated with an IMMEDIATE ASSIGNMENT message. It is stopped when the MS has correctly seized the channel. Ever since the early days of development we were using a very long timeout to be on the safe side. However, in production networks this is a terrible waste of resources, as we will occupy 10s worth of air-time on one of our channels for each RACH request we receive. The only scenarios where you might need something absurdly high as 10s would be if you have 8s of RTT between your BTS and the BSC. See also https://osmocom.org/projects/osmobsc/wiki/Timers Change-Id: If3c52a7cf0c06d074c44a2fc414679279189aab9 Closes: OS#2733
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index a9512f59c..a6c8198d6 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -262,7 +262,7 @@ enum gsm_auth_policy {
GSM_AUTH_POLICY_REGEXP, /* accept IMSIs matching given regexp */
-#define GSM_T3101_DEFAULT 10 /* s */
+#define GSM_T3101_DEFAULT 3 /* s */
#define GSM_T3103_DEFAULT 5 /* s */
#define GSM_T3105_DEFAULT 100 /* ms */
#define GSM_T3107_DEFAULT 5 /* s */