rlcmac: tbf_ul: Allow sending UL data if in state FINISHED

This can happen for instance if MS sent al the data but PCU didn't
receive it all (some it was lost) so it can still keep asking the MS to
submit data. In this case, the MS shall attempt retransmit of some
unacked data.

Change-Id: I2333a0a432c0c6f223bc1043ddb0d9c34842a5a3
This commit is contained in:
Pau Espin 2023-02-20 13:28:53 +01:00
parent dfe49c5f44
commit 7ff9597b43
1 changed files with 2 additions and 1 deletions

View File

@ -133,7 +133,8 @@ bool gprs_rlcmac_ul_tbf_data_rts(const struct gprs_rlcmac_ul_tbf *ul_tbf, const
return false;
st = gprs_rlcmac_tbf_ul_state(ul_tbf);
return (st == GPRS_RLCMAC_TBF_UL_ST_FLOW);
return (st == GPRS_RLCMAC_TBF_UL_ST_FLOW ||
st == GPRS_RLCMAC_TBF_UL_ST_FINISHED);
}
static int gprs_rlcmac_ul_tbf_update_window(struct gprs_rlcmac_ul_tbf *ul_tbf,