tbf: Ignore lost+recv == 1
Currently the CS level gets changed quickly if single RLC/MAC blocks are sent (e.g. LLC dummy commands), since the rate is either 0% or 100%. This commit ignores measurements which are based on a single block only. Sponsored-by: On-Waves ehf
This commit is contained in:
parent
8322d08071
commit
144a1d0516
|
@ -726,7 +726,7 @@ int gprs_rlcmac_dl_tbf::analyse_errors(char *show_rbb, uint8_t ssn)
|
|||
name(), m_window.v_a(), m_window.v_s(), lost, received,
|
||||
skipped, bsn, info);
|
||||
|
||||
if (lost + received == 0)
|
||||
if (lost + received <= 1)
|
||||
return -1;
|
||||
|
||||
return lost * 100 / (lost + received);
|
||||
|
|
Loading…
Reference in New Issue