Skip to content
Snippets Groups Projects
Commit a477043a authored by Robert Schmidt's avatar Robert Schmidt
Browse files

Add some useful LOG statements

parent 6c33f790
No related branches found
No related tags found
No related merge requests found
...@@ -2939,13 +2939,13 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) { ...@@ -2939,13 +2939,13 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
int i,j,si_ind; 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); resp->num_cells_to_activate,RC.nb_inst);
for (j=0;j<resp->num_cells_to_activate;j++) { for (j=0;j<resp->num_cells_to_activate;j++) {
for (i=0;i<RC.nb_inst;i++) { for (i=0;i<RC.nb_inst;i++) {
rrc_eNB_carrier_data_t *carrier = &RC.rrc[i]->carrier[0]; 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 // 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]); j,i,RC.rrc[i]->nr_cellid,resp->nr_cellid[j]);
if (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 && (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) { ...@@ -2962,6 +2962,8 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
} }
// perform MAC/L1 common configuration // perform MAC/L1 common configuration
configure_du_mac(i); 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 ...@@ -601,7 +601,7 @@ int flexran_agent_ue_config_reply(mid_t mod_id, const void *params, Protocol__Fl
free(ue_config_reply_msg); free(ue_config_reply_msg);
if(*msg != NULL) if(*msg != NULL)
free(*msg); free(*msg);
//LOG_E(FLEXRAN_AGENT, "%s: an error occured\n", __FUNCTION__); LOG_E(FLEXRAN_AGENT, "%s: an error occured\n", __FUNCTION__);
return -1; return -1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment