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

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5235 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
xuhl
2014-04-10 05:31:36 +00:00
parent c1f3534fa2
commit 329226aaa5
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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;
+1 -1
View File
@@ -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,