Commit 91e9f930 authored by Hongzhi Wang's avatar Hongzhi Wang

revert max_rbsize and tpc default value

parent 457ee6c0
...@@ -681,7 +681,7 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP, ...@@ -681,7 +681,7 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
} }
else{ else{
LOG_D(NR_MAC,"[UE %d] Detected DTX : increasing UE TX power\n",UE_id); LOG_D(NR_MAC,"[UE %d] Detected DTX : increasing UE TX power\n",UE_id);
//UE_scheduling_control->tpc0 = 3; UE_scheduling_control->tpc0 = 3;
} }
#if defined(ENABLE_MAC_PAYLOAD_DEBUG) #if defined(ENABLE_MAC_PAYLOAD_DEBUG)
...@@ -1336,8 +1336,7 @@ void pf_ul(module_id_t module_id, ...@@ -1336,8 +1336,7 @@ void pf_ul(module_id_t module_id,
uint16_t max_rbSize = 1; uint16_t max_rbSize = 1;
while (rbStart + max_rbSize < bwpSize && rballoc_mask[rbStart + max_rbSize]) while (rbStart + max_rbSize < bwpSize && rballoc_mask[rbStart + max_rbSize])
max_rbSize++; max_rbSize++;
max_rbSize=50;
if (rbStart + min_rb >= bwpSize) { if (rbStart + min_rb >= bwpSize) {
LOG_W(NR_MAC, "cannot allocate UL data for UE %d/RNTI %04x: no resources (rbStart %d, min_rb %d, bwpSize %d\n", LOG_W(NR_MAC, "cannot allocate UL data for UE %d/RNTI %04x: no resources (rbStart %d, min_rb %d, bwpSize %d\n",
UE_id, UE_info->rnti[UE_id],rbStart,min_rb,bwpSize); UE_id, UE_info->rnti[UE_id],rbStart,min_rb,bwpSize);
......
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