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
This commit is contained in:
parent
8a28868b29
commit
10aa1cd6f6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue