enb,cfg_parser: Add GERAN speed state scale factors

master
Matan Perelman 3 years ago committed by Andre Puschmann
parent 88998385eb
commit f571d46cf8

@ -143,6 +143,9 @@ sib3 =
# Must be added to sib1::sched_info::si_mapping_info array parameter to be transmitted # Must be added to sib1::sched_info::si_mapping_info array parameter to be transmitted
# #
# t_resel_geran: Cell reselection timer (seconds) # t_resel_geran: Cell reselection timer (seconds)
# t_resel_geran_sf: Optional speed dependent ScalingFactor for t_resel_geran.
# sf_medium: Scaling factor if the UE is in Medium Mobility state, one of "0.25", "0.5", "0.75" or "1.0".
# sf_high: Scaling factor if the UE is in High Mobility state, one of "0.25", "0.5", "0.75" or "1.0".
# carrier_freqs_info_list: A list of carrier frequency groups. # carrier_freqs_info_list: A list of carrier frequency groups.
# cell_resel_prio: Absolute priority of the carrier frequency group # cell_resel_prio: Absolute priority of the carrier frequency group
# ncc_permitted: 8-bit bitmap of NCC carriers permitted for monitoring # ncc_permitted: 8-bit bitmap of NCC carriers permitted for monitoring

@ -2236,7 +2236,13 @@ int parse_sib7(std::string filename, sib_type7_s* data)
parser::section sib7("sib7"); parser::section sib7("sib7");
sib7.add_field(new parser::field<uint8>("t_resel_geran", &data->t_resel_geran)); sib7.add_field(new parser::field<uint8>("t_resel_geran", &data->t_resel_geran));
// TODO: t_resel_geran_sf
parser::section t_resel_geran_sf("t_resel_geran_sf");
sib7.add_subsection(&t_resel_geran_sf);
t_resel_geran_sf.set_optional(&data->t_resel_geran_sf_present);
t_resel_geran_sf.add_field(make_asn1_enum_number_str_parser("sf_medium", &data->t_resel_geran_sf.sf_medium));
t_resel_geran_sf.add_field(make_asn1_enum_number_str_parser("sf_high", &data->t_resel_geran_sf.sf_high));
data->carrier_freqs_info_list_present = true; data->carrier_freqs_info_list_present = true;
parser::section geran_neigh("carrier_freqs_info_list"); parser::section geran_neigh("carrier_freqs_info_list");

Loading…
Cancel
Save