|
|
@ -231,11 +231,11 @@ int srslte_symbol_sz(uint32_t nof_prb) {
|
|
|
|
} else if (nof_prb<=25) {
|
|
|
|
} else if (nof_prb<=25) {
|
|
|
|
return 384;
|
|
|
|
return 384;
|
|
|
|
} else if (nof_prb<=50) {
|
|
|
|
} else if (nof_prb<=50) {
|
|
|
|
return 768;
|
|
|
|
return 640;
|
|
|
|
} else if (nof_prb<=75) {
|
|
|
|
} else if (nof_prb<=75) {
|
|
|
|
return 1024;
|
|
|
|
return 1024;
|
|
|
|
} else if (nof_prb<=100) {
|
|
|
|
} else if (nof_prb<=100) {
|
|
|
|
return 1536;
|
|
|
|
return 1280;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return SRSLTE_ERROR;
|
|
|
|
return SRSLTE_ERROR;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -254,11 +254,11 @@ int srslte_nof_prb(uint32_t symbol_sz)
|
|
|
|
return 15;
|
|
|
|
return 15;
|
|
|
|
case 384:
|
|
|
|
case 384:
|
|
|
|
return 25;
|
|
|
|
return 25;
|
|
|
|
case 768:
|
|
|
|
case 640:
|
|
|
|
return 50;
|
|
|
|
return 50;
|
|
|
|
case 1024:
|
|
|
|
case 1024:
|
|
|
|
return 75;
|
|
|
|
return 75;
|
|
|
|
case 1536:
|
|
|
|
case 1280:
|
|
|
|
return 100;
|
|
|
|
return 100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|