mirror of https://github.com/PentHertz/srsLTE.git
Fixed bug in calc_new_transmission
This commit is contained in:
parent
02680ed2aa
commit
3b4649b9f7
|
@ -347,7 +347,7 @@ private:
|
||||||
// Determine if it's a new transmission 5.3.2.2
|
// Determine if it's a new transmission 5.3.2.2
|
||||||
bool calc_is_new_transmission(Tgrant grant) {
|
bool calc_is_new_transmission(Tgrant grant) {
|
||||||
|
|
||||||
if (grant.phy_grant.dl.mcs[tid].idx < 28 && // mcs 29,30,31 always retx regardless of rest
|
if (grant.phy_grant.dl.mcs[tid].idx <= 28 && // mcs 29,30,31 always retx regardless of rest
|
||||||
((grant.ndi[tid] != cur_grant.ndi[tid]) || // 1st condition (NDI has changed)
|
((grant.ndi[tid] != cur_grant.ndi[tid]) || // 1st condition (NDI has changed)
|
||||||
(pid == HARQ_BCCH_PID && grant.rv[tid] == 0) || // 2nd condition (Broadcast and 1st transmission)
|
(pid == HARQ_BCCH_PID && grant.rv[tid] == 0) || // 2nd condition (Broadcast and 1st transmission)
|
||||||
is_first_tb))
|
is_first_tb))
|
||||||
|
|
Loading…
Reference in New Issue