fixed call to check_band_frequencies in enb_config.c (order was was wrong).
This commit is contained in:
@@ -528,15 +528,6 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
|
||||
RRC_CONFIGURATION_REQ (msg_p).downlink_frequency[j] = (uint32_t) ccparams_lte.downlink_frequency;
|
||||
RRC_CONFIGURATION_REQ (msg_p).uplink_frequency_offset[j] = (unsigned int) ccparams_lte.uplink_frequency_offset;
|
||||
|
||||
if (config_check_band_frequencies(j,
|
||||
RRC_CONFIGURATION_REQ (msg_p).eutra_band[j],
|
||||
RRC_CONFIGURATION_REQ (msg_p).downlink_frequency[j],
|
||||
RRC_CONFIGURATION_REQ (msg_p).uplink_frequency_offset[j],
|
||||
RRC_CONFIGURATION_REQ (msg_p).frame_type[j])) {
|
||||
AssertFatal(0, "error calling enb_check_band_frequencies\n");
|
||||
}
|
||||
|
||||
|
||||
|
||||
RRC_CONFIGURATION_REQ (msg_p).Nid_cell[j]= ccparams_lte.Nid_cell;
|
||||
|
||||
@@ -569,6 +560,14 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
|
||||
RC.config_file_name, i, ccparams_lte.frame_type);
|
||||
}
|
||||
|
||||
if (config_check_band_frequencies(j,
|
||||
RRC_CONFIGURATION_REQ (msg_p).eutra_band[j],
|
||||
RRC_CONFIGURATION_REQ (msg_p).downlink_frequency[j],
|
||||
RRC_CONFIGURATION_REQ (msg_p).uplink_frequency_offset[j],
|
||||
RRC_CONFIGURATION_REQ (msg_p).frame_type[j])) {
|
||||
AssertFatal(0, "error calling enb_check_band_frequencies\n");
|
||||
}
|
||||
|
||||
|
||||
if ((ccparams_lte.nb_antenna_ports <1) || (ccparams_lte.nb_antenna_ports > 2))
|
||||
AssertFatal (0,
|
||||
|
||||
Reference in New Issue
Block a user