@ -127,9 +127,7 @@ void fill_cqi_report_enb_cfg(cqi_report_cfg_s& cqi_report_cfg, const rrc_cfg_t&
cqi_report_cfg . nom_pdsch_rs_epre_offset = 0 ;
}
int fill_cqi_report_setup ( cqi_report_cfg_s & cqi_rep ,
const rrc_cfg_t & enb_cfg ,
const ue_cell_ded_list & ue_cell_list )
int fill_cqi_report_setup ( cqi_report_cfg_s & cqi_rep , const rrc_cfg_t & enb_cfg , const ue_cell_ded_list & ue_cell_list )
{
// eNB params set at this point
@ -148,9 +146,7 @@ int fill_cqi_report_setup(cqi_report_cfg_s& cqi_rep,
return SRSLTE_SUCCESS ;
}
void fill_cqi_report_reconf ( cqi_report_cfg_s & cqi_rep ,
const rrc_cfg_t & enb_cfg ,
const ue_cell_ded_list & ue_cell_list )
void fill_cqi_report_reconf ( cqi_report_cfg_s & cqi_rep , const rrc_cfg_t & enb_cfg , const ue_cell_ded_list & ue_cell_list )
{
// Get RRC setup CQI config
if ( fill_cqi_report_setup ( cqi_rep , enb_cfg , ue_cell_list ) = = SRSLTE_ERROR ) {
@ -229,9 +225,7 @@ void fill_phy_cfg_ded_enb_cfg(phys_cfg_ded_s& phy_cfg, const rrc_cfg_t& enb_cfg)
fill_cqi_report_enb_cfg ( phy_cfg . cqi_report_cfg , enb_cfg ) ;
}
void fill_phy_cfg_ded_setup ( phys_cfg_ded_s & phy_cfg ,
const rrc_cfg_t & enb_cfg ,
const ue_cell_ded_list & ue_cell_list )
void fill_phy_cfg_ded_setup ( phys_cfg_ded_s & phy_cfg , const rrc_cfg_t & enb_cfg , const ue_cell_ded_list & ue_cell_list )
{
// Set PHYConfigDedicated base
fill_phy_cfg_ded_enb_cfg ( phy_cfg , enb_cfg ) ;
@ -246,7 +240,7 @@ void fill_phy_cfg_ded_setup(phys_cfg_ded_s& phy_cfg,
/// Fills ASN1 PhysicalConfigurationDedicated struct with eNB config params at RRCReconf
void fill_phy_cfg_ded_reconf ( phys_cfg_ded_s & phy_cfg ,
const rrc_cfg_t & enb_cfg ,
const ue_cell_ded_list & ue_cell_list ,
const ue_cell_ded_list & ue_cell_list ,
const srslte : : rrc_ue_capabilities_t & ue_caps )
{
// Use RRCSetup as starting point
@ -296,9 +290,9 @@ void fill_rr_cfg_ded_enb_cfg(asn1::rrc::rr_cfg_ded_s& rr_cfg, const rrc_cfg_t& e
rr_cfg . sps_cfg_present = false ;
}
void fill_rr_cfg_ded_setup ( asn1 : : rrc : : rr_cfg_ded_s & rr_cfg ,
const rrc_cfg_t & enb_cfg ,
const ue_cell_ded_list & ue_cell_list )
void fill_rr_cfg_ded_setup ( asn1 : : rrc : : rr_cfg_ded_s & rr_cfg ,
const rrc_cfg_t & enb_cfg ,
const ue_cell_ded_list & ue_cell_list )
{
// Establish default enb config
fill_rr_cfg_ded_enb_cfg ( rr_cfg , enb_cfg ) ;
@ -315,7 +309,7 @@ void fill_rr_cfg_ded_setup(asn1::rrc::rr_cfg_ded_s& rr_cfg,
void fill_rr_cfg_ded_reconf ( asn1 : : rrc : : rr_cfg_ded_s & rr_cfg ,
const rr_cfg_ded_s & current_rr_cfg ,
const rrc_cfg_t & enb_cfg ,
const ue_cell_ded_list & ue_cell_list ,
const ue_cell_ded_list & ue_cell_list ,
const bearer_cfg_handler & bearers ,
const srslte : : rrc_ue_capabilities_t & ue_caps ,
bool phy_cfg_updated )
@ -389,7 +383,7 @@ void apply_rr_cfg_ded_diff(rr_cfg_ded_s& current_rr_cfg_ded, const rr_cfg_ded_s&
void fill_scells_reconf ( asn1 : : rrc : : rrc_conn_recfg_r8_ies_s & recfg_r8 ,
const scell_to_add_mod_list_r10_l & current_scells ,
const rrc_cfg_t & enb_cfg ,
const ue_cell_ded_list & ue_cell_list ,
const ue_cell_ded_list & ue_cell_list ,
const srslte : : rrc_ue_capabilities_t & ue_caps )
{
// check whether there has been scell updates
@ -411,10 +405,10 @@ void fill_scells_reconf(asn1::rrc::rrc_conn_recfg_r8_ies_s& recfg_r8,
scell_to_add_mod_list_r10_l target_scells ( ue_cell_list . nof_cells ( ) - 1 ) ;
for ( size_t ue_cc_idx = 1 ; ue_cc_idx < ue_cell_list . nof_cells ( ) ; + + ue_cc_idx ) {
const ue_cell_ded & scell = * ue_cell_list . get_ue_cc_idx ( ue_cc_idx ) ;
const enb_cell_common & scell_cfg = * scell . cell_common ;
const sib_type1_s & cell_sib1 = scell_cfg . sib1 ;
const sib_type2_s & cell_sib2 = scell_cfg . sib2 ;
const ue_cell_ded & scell = * ue_cell_list . get_ue_cc_idx ( ue_cc_idx ) ;
const enb_cell_common & scell_cfg = * scell . cell_common ;
const sib_type1_s & cell_sib1 = scell_cfg . sib1 ;
const sib_type2_s & cell_sib2 = scell_cfg . sib2 ;
scell_to_add_mod_r10_s & asn1cell = target_scells [ ue_cc_idx - 1 ] ;
asn1cell . scell_idx_r10 = ue_cc_idx ;
@ -563,7 +557,7 @@ void apply_scells_to_add_diff(asn1::rrc::scell_to_add_mod_list_r10_l& current_sc
void apply_reconf_updates ( asn1 : : rrc : : rrc_conn_recfg_r8_ies_s & recfg_r8 ,
ue_var_cfg_t & current_ue_cfg ,
const rrc_cfg_t & enb_cfg ,
const ue_cell_ded_list & ue_cell_list ,
const ue_cell_ded_list & ue_cell_list ,
bearer_cfg_handler & bearers ,
const srslte : : rrc_ue_capabilities_t & ue_caps ,
bool phy_cfg_updated )