Commit 329226aa authored by xuhl's avatar xuhl

bugfix: pointer offset calculation of RateMatching output sequence 'e'

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5235 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent c1f3534f
......@@ -501,7 +501,8 @@ uint32_t lte_rate_matching_turbo(uint32_t RTC,
printf("lte_rate_matching_turbo: E %d, k0 %d, Ncbmod %d, Ncb/(RTC<<3) %d\n",E,ind,Ncbmod,Ncb/(RTC<<3));
#endif
e2=e+(r*E);
//e2=e+(r*E);
e2 = e;
k=0;
......
......@@ -353,7 +353,7 @@ int dlsch_encoding(unsigned char *a,
r_offset += lte_rate_matching_turbo(dlsch->harq_processes[harq_pid]->RTC[r],
G, //G
dlsch->harq_processes[harq_pid]->w[r],
&dlsch->e[0],
&dlsch->e[r_offset],
dlsch->harq_processes[harq_pid]->C, // C
NSOFT, // Nsoft,
dlsch->Mdlharq,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment