Commit 542bcfb4 authored by Jerome Peraldi's avatar Jerome Peraldi

Merge branch 'sqn/private/bugz122144' into 'sqn/3GPP_TTCN_System_Simulator'

bug #122144: [LTE][36523 8.1.2.2][eNB][RA]fake HARQ feedback for...

See merge request sequans/system/ttcn/openairinterface5g!25
parents 808f0b34 c2ab0aab
......@@ -1016,6 +1016,11 @@ generate_Msg4(module_id_t module_idP,
// put HARQ process round to 0
ra->harq_pid = frame_subframe2_dl_harq_pid(cc->tdd_Config,frameP,subframeP);
UE_info->UE_sched_ctrl[UE_id].round[CC_idP][ra->harq_pid] = 0;
if(rrc_sdu_length > 0 && rrc_sdu_length <= 10 && RC.ss.mode > SS_ENB){
//This is simple condition to determine the rrc message is rrcConnectionReject
// UE would not send HARQ feedback as DL HARQ entity release when received rrcConnectionReject
UE_info->UE_sched_ctrl[UE_id].round[CC_idP][ra->harq_pid] = 8; /* fake ACK, No retransmission */
}
if ((ra->msg4_TBsize - rrc_sdu_length - msg4_header) <= 2) {
msg4_padding = ra->msg4_TBsize - rrc_sdu_length - msg4_header;
......
......@@ -9627,6 +9627,8 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
rrc_eNB_generate_RRCConnectionReject(&ctxt, ue_context_pP, cc_id);
lchannelType = Bearer_CCCH_e;
bcchTransportType = dlsch_TRANSPORT;
ue_context_pP->ue_context.ue_release_timer = 1;
ue_context_pP->ue_context.ue_release_timer_thres = 10;
}
}
}
......
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