Skip to content
Snippets Groups Projects
Commit 27ef071b authored by knopp's avatar knopp
Browse files

polartest changes for DCI parameters

parent 1ca00e40
No related branches found
No related tags found
10 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1493fix DL arq errors in UE,!1093Issue in generating NR PRACH for High Speed case,!1074PBCH test case support for non-zero bchpyload,!918Develop nfapi,!847Nr vcd,!782Oai ubuntu docker,!730Nr rlc,!582Integration 2019 w18,!568Short block coding
......@@ -142,6 +142,10 @@ int main(int argc, char *argv[]) {
if (polarMessageType == 0) { //PBCH
} else if (polarMessageType == 1) { //DCI
if (aggregation_level != 16 && aggregation_level!=8 && aggregation_level != 4 && aggregation_level !=2 && aggregation_level !=1) {
printf("Illegal aggregation level %d\n",aggregation_level);
exit(-1);
}
coderLength = 108*aggregation_level;
} else if (polarMessageType == -1) { //UCI
printf("UCI testing not supported yet\n");
......
......@@ -88,7 +88,7 @@ uint32_t nr_polar_output_length(uint16_t K,
if (n>n_2) n=n_2;
if (n<n_min) n=n_min;
/* printf("nr_polar_output_length: K %d, E %d, n %d (n_max %d,n_min %d, n_1 %d,n_2 %d)\n",
/*printf("nr_polar_output_length: K %d, E %d, n %d (n_max %d,n_min %d, n_1 %d,n_2 %d)\n",
K,E,n,n_max,n_min,n_1,n_2);
exit(-1);*/
return ((uint32_t) pow(2.0,n)); //=polar_code_output_length
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment