Dl-SCH-NR: updated unit test

This commit is contained in:
Xavier Arteaga 2020-11-09 15:02:20 +01:00 committed by Andre Puschmann
parent 4e5edb5168
commit 53282bdfbf
2 changed files with 3 additions and 7 deletions

View File

@ -196,11 +196,7 @@ int srslte_sch_nr_init_tx(srslte_sch_nr_t* q)
return ret;
}
#ifdef LV_HAVE_AVX2
srslte_ldpc_encoder_type_t encoder_type = SRSLTE_LDPC_ENCODER_AVX2;
#else // LV_HAVE_AVX2
srslte_ldpc_encoder_type_t encoder_type = SRSLTE_LDPC_ENCODER_C;
#endif // LV_HAVE_AVX2
// Iterate over all possible lifting sizes
for (uint16_t ls = 0; ls <= MAX_LIFTSIZE; ls++) {

View File

@ -33,8 +33,8 @@ static srslte_carrier_nr_t carrier = {
0 // start
};
static uint32_t n_prb = 1; // Set to 0 for steering
static uint32_t mcs = 16; // Set to 30 for steering
static uint32_t n_prb = 0; // Set to 0 for steering
static uint32_t mcs = 30; // Set to 30 for steering
static srslte_pdsch_cfg_nr_t pdsch_cfg = {};
static srslte_pdsch_grant_nr_t pdsch_grant = {};
@ -234,4 +234,4 @@ clean_exit:
srslte_softbuffer_rx_free(&softbuffer_rx);
return SRSLTE_SUCCESS;
}
}