From c624654f6f978ef99e20562dd7379f9a96014006 Mon Sep 17 00:00:00 2001 From: yilmazt Date: Thu, 16 Aug 2018 15:20:36 +0200 Subject: [PATCH] Debug changes --- openair1/PHY/NR_TRANSPORT/nr_dci.c | 2 ++ openair2/GNB_APP/gnb_config.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/openair1/PHY/NR_TRANSPORT/nr_dci.c b/openair1/PHY/NR_TRANSPORT/nr_dci.c index 25bafe6051..949f8807f2 100644 --- a/openair1/PHY/NR_TRANSPORT/nr_dci.c +++ b/openair1/PHY/NR_TRANSPORT/nr_dci.c @@ -205,6 +205,8 @@ uint8_t nr_generate_dci_top(NR_gNB_PDCCH pdcch_vars, //channel coding #ifdef DEBUG_POLAR_PARAMS uint8_t *encoderInput = malloc(sizeof(uint8_t) * dci_alloc.size); + printf("\n[TY]DCI PDU: [0]->0x%08x \t [1]->0x%08x \t [2]->0x%08x \t [3]->0x%08x\n", + dci_alloc.dci_pdu[0], dci_alloc.dci_pdu[1], dci_alloc.dci_pdu[2], dci_alloc.dci_pdu[3]); printf("\ndci_alloc.dci_pdu\n[0]=%d [1]=%d [2]=%d [3]=%d\n",dci_alloc.dci_pdu[0],dci_alloc.dci_pdu[1],dci_alloc.dci_pdu[2],dci_alloc.dci_pdu[3]); nr_bit2byte(dci_alloc.dci_pdu, dci_alloc.size, encoderInput); printf("\ndci_alloc.dci_pdu\n[0]=%d [1]=%d [2]=%d [3]=%d\n",dci_alloc.dci_pdu[0],dci_alloc.dci_pdu[1],dci_alloc.dci_pdu[2],dci_alloc.dci_pdu[3]); diff --git a/openair2/GNB_APP/gnb_config.c b/openair2/GNB_APP/gnb_config.c index cbdf102bd1..455a1c0a83 100644 --- a/openair2/GNB_APP/gnb_config.c +++ b/openair2/GNB_APP/gnb_config.c @@ -592,12 +592,12 @@ int RCconfig_NRRRC(MessageDef *msg_p, uint32_t i, gNB_RRC_INST *rrc) { int32_t RateMatchPatternLTE_CRS_radioframeAllocationOffset = 0; char* RateMatchPatternLTE_CRS_subframeAllocation_choice = NULL; - int32_t srb1_timer_poll_retransmit = 0; + /*int32_t srb1_timer_poll_retransmit = 0; int32_t srb1_timer_reordering = 0; int32_t srb1_timer_status_prohibit = 0; int32_t srb1_poll_pdu = 0; int32_t srb1_poll_byte = 0; - int32_t srb1_max_retx_threshold = 0; + int32_t srb1_max_retx_threshold = 0;*/ //int32_t my_int;