summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-03-10 11:50:19 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2013-07-29 12:39:34 +0200
commit695bee1ae74b2cd60c7fee0ed1b44583a7dc54e4 (patch)
tree87d4dd1fdf3b83b2e5ae2df4ca12e6f4d3447828
parentc88d4177e968ba70a484faba7726a5cf27fdb57e (diff)
Send RADIO LINK TIMEOUT value via OML attribute to BTS
The same radio link timeout value is used for BTS and MS side.
-rw-r--r--openbsc/src/libbsc/bts_ipaccess_nanobts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/bts_ipaccess_nanobts.c b/openbsc/src/libbsc/bts_ipaccess_nanobts.c
index c8b235d56..229bd8023 100644
--- a/openbsc/src/libbsc/bts_ipaccess_nanobts.c
+++ b/openbsc/src/libbsc/bts_ipaccess_nanobts.c
@@ -229,6 +229,10 @@ static void patch_nm_tables(struct gsm_bts *bts)
/* patch CGI */
abis_nm_ipaccess_cgi(nanobts_attr_bts+sizeof(nanobts_attr_bts)-7, bts);
+ /* patch CON_FAIL_CRIT */
+ nanobts_attr_bts[13] =
+ (bts->si_common.cell_options.radio_link_timeout + 1) << 2;
+
/* patch the power reduction */
nanobts_attr_radio[1] = bts->c0->max_power_red / 2;