polartest changes for DCI parameters

This commit is contained in:
Raymond Knopp
2019-04-12 07:57:34 +02:00
parent 1ca00e40b5
commit 27ef071b81
2 changed files with 5 additions and 1 deletions
@@ -142,6 +142,10 @@ int main(int argc, char *argv[]) {
if (polarMessageType == 0) { //PBCH if (polarMessageType == 0) { //PBCH
} else if (polarMessageType == 1) { //DCI } 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; coderLength = 108*aggregation_level;
} else if (polarMessageType == -1) { //UCI } else if (polarMessageType == -1) { //UCI
printf("UCI testing not supported yet\n"); printf("UCI testing not supported yet\n");