Error checking and meas sending wait for EPC only
This commit is contained in:
@@ -821,7 +821,6 @@ int nr_ue_ul_indication(nr_uplink_indication_t *ul_info){
|
|||||||
|
|
||||||
int nr_ue_dl_indication(nr_downlink_indication_t *dl_info, NR_UL_TIME_ALIGNMENT_t *ul_time_alignment){
|
int nr_ue_dl_indication(nr_downlink_indication_t *dl_info, NR_UL_TIME_ALIGNMENT_t *ul_time_alignment){
|
||||||
|
|
||||||
int32_t i;
|
|
||||||
uint32_t ret_mask = 0x0;
|
uint32_t ret_mask = 0x0;
|
||||||
module_id_t module_id = dl_info->module_id;
|
module_id_t module_id = dl_info->module_id;
|
||||||
NR_UE_MAC_INST_t *mac = get_mac_inst(module_id);
|
NR_UE_MAC_INST_t *mac = get_mac_inst(module_id);
|
||||||
@@ -832,9 +831,9 @@ int nr_ue_dl_indication(nr_downlink_indication_t *dl_info, NR_UL_TIME_ALIGNMENT_
|
|||||||
nr_ue_scheduler(dl_info, NULL);
|
nr_ue_scheduler(dl_info, NULL);
|
||||||
} else {
|
} else {
|
||||||
// UL indication after reception of DCI or DL PDU
|
// UL indication after reception of DCI or DL PDU
|
||||||
if(dl_info->dci_ind != NULL){
|
if (dl_info && dl_info->dci_ind && dl_info->dci_ind->number_of_dcis) {
|
||||||
LOG_D(MAC,"[L2][IF MODULE][DL INDICATION][DCI_IND]\n");
|
LOG_D(MAC,"[L2][IF MODULE][DL INDICATION][DCI_IND]\n");
|
||||||
for(i=0; i<dl_info->dci_ind->number_of_dcis; ++i){
|
for (int i = 0; i < dl_info->dci_ind->number_of_dcis; i++) {
|
||||||
LOG_D(MAC,">>>NR_IF_Module i=%d, dl_info->dci_ind->number_of_dcis=%d\n",i,dl_info->dci_ind->number_of_dcis);
|
LOG_D(MAC,">>>NR_IF_Module i=%d, dl_info->dci_ind->number_of_dcis=%d\n",i,dl_info->dci_ind->number_of_dcis);
|
||||||
nr_scheduled_response_t scheduled_response;
|
nr_scheduled_response_t scheduled_response;
|
||||||
int8_t ret = handle_dci(dl_info->module_id,
|
int8_t ret = handle_dci(dl_info->module_id,
|
||||||
@@ -854,9 +853,9 @@ int nr_ue_dl_indication(nr_downlink_indication_t *dl_info, NR_UL_TIME_ALIGNMENT_
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(dl_info->rx_ind != NULL){
|
if (dl_info->rx_ind != NULL) {
|
||||||
|
|
||||||
for(i=0; i<dl_info->rx_ind->number_pdus; ++i){
|
for (int i=0; i<dl_info->rx_ind->number_pdus; ++i) {
|
||||||
|
|
||||||
LOG_D(MAC, "In %s sending DL indication to MAC. 1 PDU type %d of %d total number of PDUs \n",
|
LOG_D(MAC, "In %s sending DL indication to MAC. 1 PDU type %d of %d total number of PDUs \n",
|
||||||
__FUNCTION__,
|
__FUNCTION__,
|
||||||
|
|||||||
@@ -4627,7 +4627,8 @@ void ue_measurement_report_triggering(protocol_ctxt_t *const ctxt_pP, const uint
|
|||||||
if (is_state_connected && is_t304_inactive && have_meas_flag) {
|
if (is_state_connected && is_t304_inactive && have_meas_flag) {
|
||||||
LOG_I(RRC,"[UE %d] Frame %d: Triggering generation of Meas Report for NR_r15. count = %d\n",
|
LOG_I(RRC,"[UE %d] Frame %d: Triggering generation of Meas Report for NR_r15. count = %d\n",
|
||||||
ctxt_pP->module_id, ctxt_pP->frame, ue->subframeCount);
|
ctxt_pP->module_id, ctxt_pP->frame, ue->subframeCount);
|
||||||
usleep(200000); //Melissa Elkadi come back for EPC
|
if (!SOFTMODEM_NOS1_BIT)
|
||||||
|
usleep(200000); //Melissa Elkadi come back for EPC
|
||||||
if (ue->measReportList[i][j] == NULL) {
|
if (ue->measReportList[i][j] == NULL) {
|
||||||
ue->measReportList[i][j] = malloc(sizeof(MEAS_REPORT_LIST));
|
ue->measReportList[i][j] = malloc(sizeof(MEAS_REPORT_LIST));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user