From 3c91cb881d6a5126673e88d8421a207efec6a42d Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Thu, 4 Jun 2015 10:05:48 +0200 Subject: pcu: Set ms_idle_sec to 60s Since the timing advance storage has been removed, the TA values are lost, when the last TBF of a single MS is freed. The TA storage has at least saved the last 30 TA values. So now in more cases a wrong TA value can be transmitted to an MS. Note that this also could have happened before the removal of the storage, especially if more than 30 MS were in use. This commit changes the default value of ms_idle_sec to 60s which is higher than default value for T3314 (44s, see TS 24.008, 11.2.2), after which the SGSN will have to start paging anyway. In that case, a RACH request will be triggered, that will trigger an update of the TA value in the PCU. Sponsored-by: On-Waves ehf --- src/pcu_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp index 75e12634..9e96af08 100644 --- a/src/pcu_main.cpp +++ b/src/pcu_main.cpp @@ -172,6 +172,7 @@ int main(int argc, char *argv[]) bts->n3103 = 4; bts->n3105 = 8; bts->alpha = 0; /* a = 0.0 */ + bts->ms_idle_sec = 60; /* slightly above T3314 (default 44s, 24.008, 11.2.2) */ msgb_set_talloc_ctx(tall_pcu_ctx); -- cgit v1.2.3