diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 638b03506..b4a8ef550 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -407,6 +407,9 @@ enum gsm_auth_policy { GSM_AUTH_POLICY_TOKEN, /* accept first, send token per sms, then revoke authorization */ }; +#define GSM_T3101_DEFAULT 10 +#define GSM_T3113_DEFAULT 60 + struct gsm_network { /* global parameters */ u_int16_t country_code; diff --git a/openbsc/src/gsm_data.c b/openbsc/src/gsm_data.c index 8212346ec..88de4c462 100644 --- a/openbsc/src/gsm_data.c +++ b/openbsc/src/gsm_data.c @@ -198,6 +198,9 @@ struct gsm_network *gsm_network_init(u_int16_t country_code, u_int16_t network_c net->country_code = country_code; net->network_code = network_code; net->num_bts = 0; + net->T3101 = GSM_T3101_DEFAULT; + net->T3113 = GSM_T3113_DEFAULT; + /* FIXME: initialize all other timers! */ INIT_LLIST_HEAD(&net->trans_list); INIT_LLIST_HEAD(&net->upqueue);