aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-05-28 16:11:19 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-05-28 17:40:15 +0200
commita098c19b5531e175a308fbe4aee39c54cb3c71f1 (patch)
tree797e16ad6adc9fc5a54d47a34a90d9f1cf557d13 /src/bts.h
parentd9e102472a97c767cba1bd5687db30028436d623 (diff)
tbf: Set MS timeout
This commit sets the MS timeout when the MS object is created. The value is taken from the ms_idle_sec field in gprs_rlcmac_bts which can be changed by the VTY commands shown below. The following VTY commands are added to the config-pcu node: - ms-idle-time <1-7200> Set the timeout in seconds - no ms-idle-time Disable the timeout Another timer that is related is T3314 (Ready Timer, default 44s, GSM 24.008, 11.2.2) which requires the SGSN to use paging after its expiry. Longer timeouts can help if adaptive coding scheme selection is used (not yet implemented). On the other hand, measurement values (TA, signal quality) can get invalid after some time, especially with a moving MS. So a value slightly above T3314 is probably a good value to start with. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index 28ecfc1..af66dfc 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -141,6 +141,7 @@ struct gprs_rlcmac_bts {
uint8_t force_two_phase;
uint8_t alpha, gamma;
uint32_t dl_tbf_idle_msec; /* hold time for idle DL TBFs */
+ uint32_t ms_idle_sec;
/* TBF handling, make private or move into TBFController */
/* list of uplink TBFs */