Commit df8929e5 authored by yilmazt's avatar yilmazt

Debug changes3

parent 948eb6f1
...@@ -130,7 +130,15 @@ void nr_fill_dci_and_dlsch(PHY_VARS_gNB *gNB, ...@@ -130,7 +130,15 @@ void nr_fill_dci_and_dlsch(PHY_VARS_gNB *gNB,
switch(params_rel15->rnti_type) { switch(params_rel15->rnti_type) {
case NFAPI_NR_RNTI_RA: case NFAPI_NR_RNTI_RA:
#ifdef DEBUG_NFAPI_NR_RNTI_RA #ifdef DEBUG_NFAPI_NR_RNTI_RA
printf("\npdu_rel15->frequency_domain_assignment = %d = 0x%x",pdu_rel15->frequency_domain_assignment,pdu_rel15->frequency_domain_assignment); printf("frequency_domain_assignment = %05d = %#08x\n"
" time_domain_assignment = %05d = %#08x\n"
" vrb_to_prb_mapping = %05d = %#08x\n"
" MCS = %05d = %#08x\n"
" tb_scaling = %05d = %#08x\n",
pdu_rel15->frequency_domain_assignment,pdu_rel15->frequency_domain_assignment,
pdu_rel15->time_domain_assignment,pdu_rel15->time_domain_assignment,
pdu_rel15->vrb_to_prb_mapping,pdu_rel15->vrb_to_prb_mapping,
pdu_rel15->mcs,pdu_rel15->mcs,pdu_rel15->tb_scaling,pdu_rel15->tb_scaling);
#endif #endif
// Freq domain assignment // Freq domain assignment
fsize = (int)ceil( log2( (N_RB*(N_RB+1))>>1 ) ); fsize = (int)ceil( log2( (N_RB*(N_RB+1))>>1 ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment