aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_main.cpp
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-04 10:05:48 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-05 13:49:06 +0200
commit3c91cb881d6a5126673e88d8421a207efec6a42d (patch)
treec4c663063ee4f774b9cee4e929e6b341b491e03d /src/pcu_main.cpp
parenta098c19b5531e175a308fbe4aee39c54cb3c71f1 (diff)
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
Diffstat (limited to 'src/pcu_main.cpp')
-rw-r--r--src/pcu_main.cpp1
1 files changed, 1 insertions, 0 deletions
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);