Commit e01dd43b authored by cig's avatar cig

Cleanup comments, removed UE files from gNB MAC library

parent 08323413
...@@ -1766,8 +1766,6 @@ set (MAC_NR_SRC ...@@ -1766,8 +1766,6 @@ set (MAC_NR_SRC
${NR_GNB_MAC_DIR}/gNB_scheduler_primitives.c ${NR_GNB_MAC_DIR}/gNB_scheduler_primitives.c
${NR_GNB_MAC_DIR}/gNB_scheduler_phytest.c ${NR_GNB_MAC_DIR}/gNB_scheduler_phytest.c
${NR_GNB_MAC_DIR}/gNB_scheduler_RA.c ${NR_GNB_MAC_DIR}/gNB_scheduler_RA.c
${NR_UE_MAC_DIR}/nr_l1_helpers.c
${NR_UE_MAC_DIR}/nr_ra_procedures.c
) )
......
...@@ -2289,8 +2289,8 @@ void phy_procedures_nrUE_TX(PHY_VARS_NR_UE *ue, ...@@ -2289,8 +2289,8 @@ void phy_procedures_nrUE_TX(PHY_VARS_NR_UE *ue,
//int32_t ulsch_start=0; //int32_t ulsch_start=0;
int slot_tx = proc->nr_tti_tx; int slot_tx = proc->nr_tti_tx;
int frame_tx = proc->frame_tx; int frame_tx = proc->frame_tx;
uint8_t harq_pid = 0; // TBR uint8_t harq_pid = 0;
runmode_t mode = normal_txrx; // TBR set proper mode runmode_t mode = normal_txrx;
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_UE_TX,VCD_FUNCTION_IN); VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_UE_TX,VCD_FUNCTION_IN);
...@@ -2328,14 +2328,13 @@ void phy_procedures_nrUE_TX(PHY_VARS_NR_UE *ue, ...@@ -2328,14 +2328,13 @@ void phy_procedures_nrUE_TX(PHY_VARS_NR_UE *ue,
// check if we have PRACH opportunity // check if we have PRACH opportunity
if (is_nr_prach_subframe(&ue->frame_parms, frame_tx, slot_tx)) { if (is_nr_prach_subframe(&ue->frame_parms, frame_tx, slot_tx)) {
// TBR TODO FIX this works only for TDD but it enters phy_procedures_nrUE_TX only when mode is FDD // TBR TODO FIX this works only for TDD but it enters phy_procedures_nrUE_TX only when mode is FDD
printf("the value of is_nr_prach subframe is %d\n", is_nr_prach_subframe(&ue->frame_parms, frame_tx, slot_tx)); // TBR debug printf(" is_nr_prach_subframe is %d\n", is_nr_prach_subframe(&ue->frame_parms, frame_tx, slot_tx)); // TBR debug
nr_ue_prach_procedures(ue, proc, gNB_id, mode); nr_ue_prach_procedures(ue, proc, gNB_id, mode);
} }
} }
else { else {
ue->generate_nr_prach = 0; ue->generate_nr_prach = 0;
} }
/* RACH */
LOG_I(PHY,"****** end TX-Chain for AbsSubframe %d.%d ******\n", frame_tx, slot_tx); LOG_I(PHY,"****** end TX-Chain for AbsSubframe %d.%d ******\n", frame_tx, slot_tx);
......
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