modified logging for PBCH and function pointer for uhd priority fix
This commit is contained in:
@@ -239,7 +239,7 @@ int nr_generate_pbch(NR_gNB_PBCH *pbch,
|
|||||||
uint8_t nushift;
|
uint8_t nushift;
|
||||||
uint32_t unscrambling_mask;
|
uint32_t unscrambling_mask;
|
||||||
uint64_t a_reversed=0;
|
uint64_t a_reversed=0;
|
||||||
LOG_I(PHY, "PBCH generation started\n");
|
LOG_D(PHY, "PBCH generation started\n");
|
||||||
///Payload generation
|
///Payload generation
|
||||||
memset((void *)pbch, 0, sizeof(NR_gNB_PBCH));
|
memset((void *)pbch, 0, sizeof(NR_gNB_PBCH));
|
||||||
pbch->pbch_a=0;
|
pbch->pbch_a=0;
|
||||||
@@ -267,7 +267,7 @@ int nr_generate_pbch(NR_gNB_PBCH *pbch,
|
|||||||
else
|
else
|
||||||
pbch->pbch_a |= ((config->sch_config.ssb_subcarrier_offset.value>>4)&1)<<29; //MSB of k_SSB (bit index 4)
|
pbch->pbch_a |= ((config->sch_config.ssb_subcarrier_offset.value>>4)&1)<<29; //MSB of k_SSB (bit index 4)
|
||||||
|
|
||||||
LOG_I(PHY,"After extra byte: pbch_a = 0x%08x\n",pbch->pbch_a);
|
LOG_D(PHY,"After extra byte: pbch_a = 0x%08x\n",pbch->pbch_a);
|
||||||
|
|
||||||
// Payload interleaving
|
// Payload interleaving
|
||||||
|
|
||||||
|
|||||||
@@ -1368,7 +1368,6 @@ extern "C" {
|
|||||||
device->trx_set_freq_func = trx_usrp_set_freq;
|
device->trx_set_freq_func = trx_usrp_set_freq;
|
||||||
device->trx_set_gains_func = trx_usrp_set_gains;
|
device->trx_set_gains_func = trx_usrp_set_gains;
|
||||||
device->openair0_cfg = openair0_cfg;
|
device->openair0_cfg = openair0_cfg;
|
||||||
device->uhd_set_thread_priority = uhd_set_thread_priority;
|
|
||||||
s->sample_rate = openair0_cfg[0].sample_rate;
|
s->sample_rate = openair0_cfg[0].sample_rate;
|
||||||
|
|
||||||
// TODO:
|
// TODO:
|
||||||
|
|||||||
Reference in New Issue
Block a user