diff --git a/openair1/PHY/CODING/TESTBENCH/polartest.c b/openair1/PHY/CODING/TESTBENCH/polartest.c index a78146042b..bd5b06e4f1 100644 --- a/openair1/PHY/CODING/TESTBENCH/polartest.c +++ b/openair1/PHY/CODING/TESTBENCH/polartest.c @@ -32,6 +32,8 @@ int main(int argc, char *argv[]) { double timeEncoderCumulative = 0, timeDecoderCumulative = 0; uint8_t aggregation_level; + uint32_t dci_pdu[4]; + while ((arguments = getopt (argc, argv, "s:d:f:m:i:l:a:")) != -1) switch (arguments) { @@ -105,8 +107,10 @@ int main(int argc, char *argv[]) { } fprintf(logFile,",SNR,nBitError,blockErrorState,t_encoder[us],t_decoder[us]\n"); - uint8_t *testInput = malloc(sizeof(uint8_t) * testLength); //generate randomly - uint8_t *encoderOutput = malloc(sizeof(uint8_t) * coderLength); + //uint8_t *testInput = malloc(sizeof(uint8_t) * testLength); //generate randomly + //uint8_t *encoderOutput = malloc(sizeof(uint8_t) * coderLength); + uint32_t testInput[4], encoderOutput[4]; + double *modulatedInput = malloc (sizeof(double) * coderLength); //channel input double *channelOutput = malloc (sizeof(double) * coderLength); //add noise diff --git a/openair1/PHY/NR_TRANSPORT/nr_dci_tools.c b/openair1/PHY/NR_TRANSPORT/nr_dci_tools.c index e3504ea64e..0747c0e4d2 100644 --- a/openair1/PHY/NR_TRANSPORT/nr_dci_tools.c +++ b/openair1/PHY/NR_TRANSPORT/nr_dci_tools.c @@ -142,6 +142,7 @@ printf("frequency_domain_assignment = %05d = %#010x\n" #endif // Freq domain assignment fsize = (int)ceil( log2( (N_RB*(N_RB+1))>>1 ) ); + printf("N_RB=%d & fsize=%d\n\n",N_RB,fsize); for (int i=0; ifrequency_domain_assignment>>(fsize-i-1))&1)<