Fixing "CRC OK" bug.
Sometimes CRC OK is printed, but there are bits in error at the LDPC decoder output
This commit is contained in:
committed by
Thomas Schlichter
parent
15417570aa
commit
c8d0da0dcb
@@ -462,7 +462,7 @@ void init_nr_transport(PHY_VARS_gNB *gNB) {
|
|||||||
for (j=0; j<2; j++) {
|
for (j=0; j<2; j++) {
|
||||||
// ULSCH for RA
|
// ULSCH for RA
|
||||||
if(i==0) {
|
if(i==0) {
|
||||||
gNB->ulsch[i][j] = new_gNB_ulsch(5, fp->N_RB_UL, 0);
|
gNB->ulsch[i][j] = new_gNB_ulsch(MAX_LDPC_ITERATIONS, fp->N_RB_UL, 0);
|
||||||
|
|
||||||
if (!gNB->ulsch[i][j]) {
|
if (!gNB->ulsch[i][j]) {
|
||||||
LOG_E(PHY,"Can't get gNB ulsch structures\n");
|
LOG_E(PHY,"Can't get gNB ulsch structures\n");
|
||||||
@@ -471,7 +471,7 @@ void init_nr_transport(PHY_VARS_gNB *gNB) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ULSCH for data
|
// ULSCH for data
|
||||||
gNB->ulsch[i+1][j] = new_gNB_ulsch(5, fp->N_RB_UL, 0);
|
gNB->ulsch[i+1][j] = new_gNB_ulsch(MAX_LDPC_ITERATIONS, fp->N_RB_UL, 0);
|
||||||
|
|
||||||
if (!gNB->ulsch[i+1][j]) {
|
if (!gNB->ulsch[i+1][j]) {
|
||||||
LOG_E(PHY,"Can't get gNB ulsch structures\n");
|
LOG_E(PHY,"Can't get gNB ulsch structures\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user