Log disabling
This commit is contained in:
@@ -277,8 +277,7 @@ int nr_generate_pbch(NR_gNB_PBCH *pbch,
|
||||
else
|
||||
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);
|
||||
printf("After extra byte: pbch_a = 0x%08x\n",pbch->pbch_a);
|
||||
LOG_I(PHY,"After extra byte: pbch_a = 0x%08x\n",pbch->pbch_a);
|
||||
|
||||
// Payload interleaving
|
||||
|
||||
|
||||
@@ -679,9 +679,9 @@ int nr_rx_pbch( PHY_VARS_NR_UE *ue,
|
||||
uint32_t out=0;
|
||||
for (int i=0; i<32; i++) {
|
||||
out |= ((nr_ue_pbch_vars->pbch_a_interleaved>>i)&1)<<(pbch_deinterleaving_pattern[i]);
|
||||
//#ifdef DEBUG_PBCH
|
||||
#ifdef DEBUG_PBCH
|
||||
printf("i %d in 0x%08x out 0x%08x ilv %d (in>>i)&1) 0x%08x\n", i, nr_ue_pbch_vars->pbch_a_interleaved, out, pbch_deinterleaving_pattern[i], (nr_ue_pbch_vars->pbch_a_interleaved>>i)&1);
|
||||
//#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
uint32_t payload = 0;
|
||||
|
||||
@@ -122,7 +122,7 @@ int main(int argc, char **argv)
|
||||
unsigned char frame_type = 0;
|
||||
unsigned char pbch_phase = 0;
|
||||
|
||||
int frame=8,subframe=0;
|
||||
int frame=0,subframe=0;
|
||||
int frame_length_complex_samples;
|
||||
int frame_length_complex_samples_no_prefix;
|
||||
NR_DL_FRAME_PARMS *frame_parms;
|
||||
|
||||
Reference in New Issue
Block a user