srsenb now prints an error message when the QCI is not valid

master
Francisco Paisana 7 years ago
parent d42316fb68
commit f5b8343244

@ -1447,6 +1447,7 @@ void rrc::ue::send_connection_reconf(srslte::byte_buffer_t *pdu)
// Get DRB1 configuration // Get DRB1 configuration
if (get_drbid_config(&conn_reconf->rr_cnfg_ded.drb_to_add_mod_list[0], 1)) { if (get_drbid_config(&conn_reconf->rr_cnfg_ded.drb_to_add_mod_list[0], 1)) {
parent->rrc_log->error("Getting DRB1 configuration\n"); parent->rrc_log->error("Getting DRB1 configuration\n");
printf("ERROR: The QCI %d is invalid or not configured.\n", erabs[5].qos_params.qCI.QCI);
} else { } else {
conn_reconf->rr_cnfg_ded.drb_to_add_mod_list_size = 1; conn_reconf->rr_cnfg_ded.drb_to_add_mod_list_size = 1;
} }
@ -1525,7 +1526,8 @@ void rrc::ue::send_connection_reconf_new_bearer(LIBLTE_S1AP_E_RABTOBESETUPLISTBE
// Get DRB configuration // Get DRB configuration
if (get_drbid_config(&conn_reconf->rr_cnfg_ded.drb_to_add_mod_list[i], lcid)) { if (get_drbid_config(&conn_reconf->rr_cnfg_ded.drb_to_add_mod_list[i], lcid)) {
parent->rrc_log->error("Getting DRB configuration\n"); parent->rrc_log->error("Getting DRB configuration\n");
printf("ERROR: The QCI %d is invalid or not configured.\n", erabs[lcid+4].qos_params.qCI.QCI);
} else { } else {
conn_reconf->rr_cnfg_ded.drb_to_add_mod_list_size++; conn_reconf->rr_cnfg_ded.drb_to_add_mod_list_size++;
} }

Loading…
Cancel
Save