aboutsummaryrefslogtreecommitdiffstats
path: root/src/libbsc/bts_ipaccess_nanobts_omlattr.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-27 09:56:39 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-27 10:09:43 +0100
commit5d22458169a39be6afa993a4c09899a72822cc84 (patch)
tree9b4406b82e587d92ccc28c84006452e541844327 /src/libbsc/bts_ipaccess_nanobts_omlattr.c
parentc9b0b262c367e29b6785ee994d741658841b1a5a (diff)
osmo-bts/nanobts: Set RACH_Busy Threshold to -90 dBm
In the past we used to set this to "-10 dBm" which means that basically no RACH ever passed that treshold and in the associated CCCH LOAD IND the number of busy slots was always zero. Let's set the default to -90dBm. The user can of course always configure a different value in the VTY. This means that now any RACH slot signal level >= 90 dBm counts as "busy" in those CCCH LOAD IND (RACH). Change-Id: Ib9cbb786d19acc74f0951930b0dc9284854c6000 Closes: OS#3004 Related: OS#3003
Diffstat (limited to 'src/libbsc/bts_ipaccess_nanobts_omlattr.c')
-rw-r--r--src/libbsc/bts_ipaccess_nanobts_omlattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libbsc/bts_ipaccess_nanobts_omlattr.c b/src/libbsc/bts_ipaccess_nanobts_omlattr.c
index 926322c84..1a8d9b07b 100644
--- a/src/libbsc/bts_ipaccess_nanobts_omlattr.c
+++ b/src/libbsc/bts_ipaccess_nanobts_omlattr.c
@@ -75,7 +75,7 @@ struct msgb *nanobts_attr_bts_get(struct gsm_bts *bts)
msgb_tv_put(msgb, NM_ATT_CCCH_L_I_P, 1);
/* busy threshold in - dBm */
- buf[0] = 10;
+ buf[0] = 90; /* -90 dBm as default "busy" threshold */
if (bts->rach_b_thresh != -1)
buf[0] = bts->rach_b_thresh & 0xff;
msgb_tv_put(msgb, NM_ATT_RACH_B_THRESH, buf[0]);