aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/oml.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-25 20:30:18 +0100
committerHarald Welte <laforge@gnumonks.org>2016-01-25 20:46:51 +0100
commit0d19e4848723dda10a31a68b89314414a2eab26b (patch)
tree6381b4e39af92eb1ab6173fd8d7a45c77e8969d6 /src/common/oml.c
parent728448a7f18d8b771c56f16777110c83d4f00a2b (diff)
Fix T200 default values
The T200 default values should be in milli-seconds (as the variable name indicates). They are not expected to be divided by the TS 12.21 OML dividers for T200. This change doesn't really make a difference with OpenBSC, as the BSC always sets its own T200 values via OML, overwriting the defaults here.
Diffstat (limited to 'src/common/oml.c')
-rw-r--r--src/common/oml.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index 7795cc6e..515f33a1 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -394,13 +394,13 @@ static const uint8_t abis_nm_t200_mult[] = {
/* the below defaults correpsond to the libocmocore default of 1s for
* DCCH and 2s for ACCH. The BSC should overried this via OML anyway. */
const unsigned int oml_default_t200_ms[7] = {
- [T200_SDCCH] = 1000/5,
- [T200_FACCH_F] = 1000/5,
- [T200_FACCH_H] = 1000/5,
- [T200_SACCH_TCH_SAPI0] = 2000/10,
- [T200_SACCH_SDCCH] = 2000/10,
- [T200_SDCCH_SAPI3] = 1000/5,
- [T200_SACCH_TCH_SAPI3] = 2000/10,
+ [T200_SDCCH] = 1000,
+ [T200_FACCH_F] = 1000,
+ [T200_FACCH_H] = 1000,
+ [T200_SACCH_TCH_SAPI0] = 2000,
+ [T200_SACCH_SDCCH] = 2000,
+ [T200_SDCCH_SAPI3] = 1000,
+ [T200_SACCH_TCH_SAPI3] = 2000,
};
static void dl_set_t200(struct lapdm_datalink *dl, unsigned int t200_msec)