bts: Count TBF TS allocation failure
Related: OS#2282 Change-Id: I0696bf77364bd31b96c00614a58ce66809683d1c
This commit is contained in:
parent
7c9a4a41bc
commit
4e1c9adb67
|
@ -100,6 +100,7 @@ static const struct rate_ctr_desc bts_ctr_description[] = {
|
|||
{ "tbf:reused", "TBF Reused "},
|
||||
{ "tbf:alloc:algo-a", "TBF Alloc Algo A "},
|
||||
{ "tbf:alloc:algo-b", "TBF Alloc Algo B "},
|
||||
{ "tbf:alloc:failed", "TBF Alloc Failure "},
|
||||
{ "rlc:sent", "RLC Sent "},
|
||||
{ "rlc:resent", "RLC Resent "},
|
||||
{ "rlc:restarted", "RLC Restarted "},
|
||||
|
|
|
@ -87,6 +87,7 @@ enum {
|
|||
CTR_TBF_REUSED,
|
||||
CTR_TBF_ALLOC_ALGO_A,
|
||||
CTR_TBF_ALLOC_ALGO_B,
|
||||
CTR_TBF_ALLOC_FAIL,
|
||||
CTR_RLC_SENT,
|
||||
CTR_RLC_RESENT,
|
||||
CTR_RLC_RESTARTED,
|
||||
|
|
|
@ -335,6 +335,7 @@ int gprs_rlcmac_tbf::update()
|
|||
/* if no resource */
|
||||
if (rc < 0) {
|
||||
LOGPTBF(this, LOGL_ERROR, "No resource after update???\n");
|
||||
bts_do_rate_ctr_inc(bts, CTR_TBF_ALLOC_FAIL);
|
||||
return -rc;
|
||||
}
|
||||
|
||||
|
@ -754,6 +755,7 @@ int gprs_rlcmac_tbf::setup(int8_t use_trx, bool single_slot)
|
|||
LOGPTBF(this, LOGL_NOTICE,
|
||||
"Timeslot Allocation failed: trx = %d, single_slot = %d\n",
|
||||
use_trx, single_slot);
|
||||
bts_do_rate_ctr_inc(bts, CTR_TBF_ALLOC_FAIL);
|
||||
return -1;
|
||||
}
|
||||
/* assign control ts */
|
||||
|
|
Loading…
Reference in New Issue