Commit a7cfd78a authored by kaltenbe's avatar kaltenbe

taking out exit on PUCCH-NACK


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7803 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 80fc74fa
...@@ -2020,7 +2020,7 @@ void phy_procedures_eNB_TX(unsigned char sched_subframe,PHY_VARS_eNB *phy_vars_e ...@@ -2020,7 +2020,7 @@ void phy_procedures_eNB_TX(unsigned char sched_subframe,PHY_VARS_eNB *phy_vars_e
if (harq_pid==255) { if (harq_pid==255) {
LOG_E(PHY,"[eNB %"PRIu8"] Frame %d: Bad harq_pid for ULSCH allocation\n",phy_vars_eNB->Mod_id,phy_vars_eNB->proc[sched_subframe].frame_tx); LOG_E(PHY,"[eNB %"PRIu8"] Frame %d: Bad harq_pid for ULSCH allocation\n",phy_vars_eNB->Mod_id,phy_vars_eNB->proc[sched_subframe].frame_tx);
mac_exit_wrapper("Invalid harq_pid (255) detected"); //mac_exit_wrapper("Invalid harq_pid (255) detected");
return; // not reached return; // not reached
} }
...@@ -2277,7 +2277,10 @@ void phy_procedures_eNB_TX(unsigned char sched_subframe,PHY_VARS_eNB *phy_vars_e ...@@ -2277,7 +2277,10 @@ void phy_procedures_eNB_TX(unsigned char sched_subframe,PHY_VARS_eNB *phy_vars_e
LOG_T(PHY,"%x.",dlsch_input_buffer[i]); LOG_T(PHY,"%x.",dlsch_input_buffer[i]);
LOG_T(PHY,"\n"); LOG_T(PHY,"\n");
*/ */
if (crnti!=0)
UE_id = add_ue(crnti,phy_vars_eNB); UE_id = add_ue(crnti,phy_vars_eNB);
else
UE_id = -1;
if (UE_id==-1) { if (UE_id==-1) {
LOG_W(PHY,"[eNB] Max user count reached.\n"); LOG_W(PHY,"[eNB] Max user count reached.\n");
...@@ -2686,10 +2689,12 @@ void process_HARQ_feedback(uint8_t UE_id, ...@@ -2686,10 +2689,12 @@ void process_HARQ_feedback(uint8_t UE_id,
} }
else { else {
dlsch_ACK[0] = pucch_payload[0]; dlsch_ACK[0] = pucch_payload[0];
LOG_I(PHY,"[eNB %d] Frame %d: Received ACK/NAK %d on PUCCH for subframe %d\n",phy_vars_eNB->Mod_id, LOG_D(PHY,"[eNB %d] Frame %d: Received ACK/NAK %d on PUCCH for subframe %d\n",phy_vars_eNB->Mod_id,
frame,dlsch_ACK[0],subframe_m4); frame,dlsch_ACK[0],subframe_m4);
/*
if (dlsch_ACK[0]==0) if (dlsch_ACK[0]==0)
AssertFatal(0,"Exiting on NAK on PUCCH\n"); AssertFatal(0,"Exiting on NAK on PUCCH\n");
*/
} }
......
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