Add some useful LOG statements
This commit is contained in:
@@ -2939,13 +2939,13 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
|
||||
|
||||
|
||||
int i,j,si_ind;
|
||||
printf("cells_to_activated %d, RRC instances %d\n",
|
||||
LOG_I(ENB_APP, "cells_to_activated %d, RRC instances %d\n",
|
||||
resp->num_cells_to_activate,RC.nb_inst);
|
||||
for (j=0;j<resp->num_cells_to_activate;j++) {
|
||||
for (i=0;i<RC.nb_inst;i++) {
|
||||
rrc_eNB_carrier_data_t *carrier = &RC.rrc[i]->carrier[0];
|
||||
// identify local index of cell j by nr_cellid, plmn identity and physical cell ID
|
||||
printf("Checking cell %d, rrc inst %d : rrc->nr_cellid %lx, resp->nr_cellid %lx\n",
|
||||
LOG_I(ENB_APP, "Checking cell %d, rrc inst %d : rrc->nr_cellid %lx, resp->nr_cellid %lx\n",
|
||||
j,i,RC.rrc[i]->nr_cellid,resp->nr_cellid[j]);
|
||||
if (RC.rrc[i]->nr_cellid == resp->nr_cellid[j] &&
|
||||
(check_plmn_identity(carrier, resp->mcc[j], resp->mnc[j], resp->mnc_digit_length[j])>0 &&
|
||||
@@ -2962,6 +2962,8 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
|
||||
}
|
||||
// perform MAC/L1 common configuration
|
||||
configure_du_mac(i);
|
||||
} else {
|
||||
LOG_E(ENB_APP, "F1 Setup Response not matching\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -601,7 +601,7 @@ int flexran_agent_ue_config_reply(mid_t mod_id, const void *params, Protocol__Fl
|
||||
free(ue_config_reply_msg);
|
||||
if(*msg != NULL)
|
||||
free(*msg);
|
||||
//LOG_E(FLEXRAN_AGENT, "%s: an error occured\n", __FUNCTION__);
|
||||
LOG_E(FLEXRAN_AGENT, "%s: an error occured\n", __FUNCTION__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user