diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-05-28 15:43:53 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-05-28 16:38:16 +0200 |
commit | d9e102472a97c767cba1bd5687db30028436d623 (patch) | |
tree | 63e8d6c08fddf98cb0c2391c0f0ed1068c54dcd5 /tests/ms/MsTest.ok | |
parent | 1db67e0a35a479ef20b871c459ea3f3e0155b620 (diff) |
ms: Add timer
Currently the MS object is immediately idle when all TBFs are
detached and if no guard is being used. Since the plan is to use the
MS objects to pass information from one TBF to the next one even
across the gap of some seconds of inactivity, a mechanism is needed
to keep the MS objects around for some time.
This commit extends the GprsMs class by a timer that keeps the MS
objects in non-idle state for some time after all TBFs have been
detached. The set_timeout method must be used with a non-zero value
to activate this feature.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/ms/MsTest.ok')
-rw-r--r-- | tests/ms/MsTest.ok | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ms/MsTest.ok b/tests/ms/MsTest.ok index 004b36d4..c49e840a 100644 --- a/tests/ms/MsTest.ok +++ b/tests/ms/MsTest.ok @@ -12,3 +12,7 @@ === end test_ms_change_tlli === === start test_ms_storage === === end test_ms_storage === +=== start test_ms_timeout === + ms_active() was called + ms_idle() was called +=== end test_ms_timeout === |