diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-03-05 19:40:55 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-03-05 19:40:55 +0700 |
commit | 10aa1cd6f6e9a10741965991ecba2b0939e50542 (patch) | |
tree | c6373643eb8551890634727ca7a96722ad3eb0ab /src | |
parent | 8a28868b29b4480f248d64728ebb08af8274fda9 (diff) |
common/l1sap.c: increase the BTS_CTR_RACH_DROP in RACH BER check
The BTS_CTR_RACH_DROP counter is being increased in case if a RACH
request is ignored due to exceeding ToA value, but remains untouched
in case of exceeding BER (Bit Error Rate). Let's fix this.
Change-Id: Ia02e781d6c47d9d8012a4c8846fe4b731aab74d7
Diffstat (limited to 'src')
-rw-r--r-- | src/common/l1sap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c index 330b40a1..f83c46de 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -1207,6 +1207,7 @@ static int l1sap_ph_rach_ind(struct gsm_bts_trx *trx, if (rach_ind->ber10k > btsb->max_ber10k_rach) { DEBUGPFN(DL1C, rach_ind->fn, "ignoring RACH request: %u > %u (max BER)\n", rach_ind->ber10k, btsb->max_ber10k_rach); + rate_ctr_inc2(trx->bts->ctrs, BTS_CTR_RACH_DROP); return 0; } |