@@ -923,7 +923,7 @@ std::map<five_qi_t, srs_cu_cp::cu_cp_qos_config> srsran::generate_cu_cp_qos_conf
923923
924924 for (const qos_appconfig& qos : config.qos_cfg ) {
925925 if (out_cfg.find (qos.five_qi ) != out_cfg.end ()) {
926- report_error (" Duplicate 5QI configuration: 5QI= {}\n " , qos.five_qi );
926+ report_error (" Duplicate 5QI configuration: {}\n " , qos.five_qi );
927927 }
928928 // Convert PDCP config
929929 pdcp_config& out_pdcp = out_cfg[qos.five_qi ].pdcp ;
@@ -934,14 +934,14 @@ std::map<five_qi_t, srs_cu_cp::cu_cp_qos_config> srsran::generate_cu_cp_qos_conf
934934 // RLC mode
935935 rlc_mode mode = {};
936936 if (!from_string (mode, qos.rlc .mode )) {
937- report_error (" Invalid RLC mode: 5QI= {}, mode={}\n " , qos.five_qi , qos.rlc .mode );
937+ report_error (" Invalid RLC mode: {}, mode={}\n " , qos.five_qi , qos.rlc .mode );
938938 }
939939 if (mode == rlc_mode::um_bidir || mode == rlc_mode::um_unidir_ul || mode == rlc_mode::um_unidir_dl) {
940940 out_pdcp.rlc_mode = pdcp_rlc_mode::um;
941941 } else if (mode == rlc_mode::am) {
942942 out_pdcp.rlc_mode = pdcp_rlc_mode::am;
943943 } else {
944- report_error (" Invalid RLC mode: 5QI= {}, mode={}\n " , qos.five_qi , qos.rlc .mode );
944+ report_error (" Invalid RLC mode: {}, mode={}\n " , qos.five_qi , qos.rlc .mode );
945945 }
946946
947947 // Integrity Protection required
@@ -953,7 +953,7 @@ std::map<five_qi_t, srs_cu_cp::cu_cp_qos_config> srsran::generate_cu_cp_qos_conf
953953 // > Tx
954954 // >> SN size
955955 if (!pdcp_sn_size_from_uint (out_pdcp.tx .sn_size , qos.pdcp .tx .sn_field_length )) {
956- report_error (" Invalid PDCP TX SN: 5QI= {}, SN={}\n " , qos.five_qi , qos.pdcp .tx .sn_field_length );
956+ report_error (" Invalid PDCP TX SN: {}, SN={}\n " , qos.five_qi , qos.pdcp .tx .sn_field_length );
957957 }
958958
959959 // >> discard timer
@@ -968,15 +968,15 @@ std::map<five_qi_t, srs_cu_cp::cu_cp_qos_config> srsran::generate_cu_cp_qos_conf
968968 // > Rx
969969 // >> SN size
970970 if (!pdcp_sn_size_from_uint (out_pdcp.rx .sn_size , qos.pdcp .rx .sn_field_length )) {
971- report_error (" Invalid PDCP RX SN: 5QI= {}, SN={}\n " , qos.five_qi , qos.pdcp .rx .sn_field_length );
971+ report_error (" Invalid PDCP RX SN: {}, SN={}\n " , qos.five_qi , qos.pdcp .rx .sn_field_length );
972972 }
973973
974974 // >> out of order delivery
975975 out_pdcp.rx .out_of_order_delivery = qos.pdcp .rx .out_of_order_delivery ;
976976
977977 // >> t-Reordering
978978 if (!pdcp_t_reordering_from_int (out_pdcp.rx .t_reordering , qos.pdcp .rx .t_reordering )) {
979- report_error (" Invalid PDCP t-Reordering. 5QI {} t-Reordering {}\n " , qos.five_qi , qos.pdcp .rx .t_reordering );
979+ report_error (" Invalid PDCP t-Reordering. {} t-Reordering {}\n " , qos.five_qi , qos.pdcp .rx .t_reordering );
980980 }
981981 }
982982 return out_cfg;
@@ -995,10 +995,10 @@ std::map<five_qi_t, srs_cu_up::cu_up_qos_config> srsran::generate_cu_up_qos_conf
995995
996996 for (const qos_appconfig& qos : config.qos_cfg ) {
997997 if (out_cfg.find (qos.five_qi ) != out_cfg.end ()) {
998- report_error (" Duplicate 5QI configuration: 5QI= {}\n " , qos.five_qi );
998+ report_error (" Duplicate 5QI configuration: {}\n " , qos.five_qi );
999999 }
10001000 if (du_qos.find (qos.five_qi ) == du_qos.end ()) {
1001- report_error (" Cannot create CU-UP config: No entry for 5QI= {} in DU QoS config\n " , qos.five_qi );
1001+ report_error (" Cannot create CU-UP config: No entry for {} in DU QoS config\n " , qos.five_qi );
10021002 }
10031003 // Convert PDCP custom config
10041004 pdcp_custom_config& out_pdcp_custom = out_cfg[qos.five_qi ].pdcp_custom ;
@@ -1012,7 +1012,7 @@ std::map<five_qi_t, srs_cu_up::cu_up_qos_config> srsran::generate_cu_up_qos_conf
10121012 // Take from AM config
10131013 out_pdcp_custom.tx .rlc_sdu_queue = du_five_qi.rlc .am .tx .queue_size ;
10141014 } else {
1015- report_error (" Cannot create CU-UP config: Unsupported rlc_mode={} for 5QI= {} in DU QoS config\n ." ,
1015+ report_error (" Cannot create CU-UP config: Unsupported rlc_mode={} for {} in DU QoS config\n ." ,
10161016 du_five_qi.rlc .mode ,
10171017 qos.five_qi );
10181018 }
@@ -1070,25 +1070,25 @@ std::map<five_qi_t, du_qos_config> srsran::generate_du_qos_config(const gnb_appc
10701070
10711071 for (const qos_appconfig& qos : config.qos_cfg ) {
10721072 if (out_cfg.find (qos.five_qi ) != out_cfg.end ()) {
1073- report_error (" Duplicate 5QI configuration: 5QI= {}\n " , qos.five_qi );
1073+ report_error (" Duplicate 5QI configuration: {}\n " , qos.five_qi );
10741074 }
10751075 // Convert RLC config
10761076 auto & out_rlc = out_cfg[qos.five_qi ].rlc ;
10771077 if (!from_string (out_rlc.mode , qos.rlc .mode )) {
1078- report_error (" Invalid RLC mode: 5QI= {}, mode={}\n " , qos.five_qi , qos.rlc .mode );
1078+ report_error (" Invalid RLC mode: {}, mode={}\n " , qos.five_qi , qos.rlc .mode );
10791079 }
10801080
10811081 if (out_rlc.mode == rlc_mode::um_bidir) {
10821082 // UM Config
10831083 // < RX SN
10841084 if (!from_number (out_rlc.um .rx .sn_field_length , qos.rlc .um .rx .sn_field_length )) {
1085- report_error (" Invalid RLC UM RX SN: 5QI= {}, SN={}\n " , qos.five_qi , qos.rlc .um .rx .sn_field_length );
1085+ report_error (" Invalid RLC UM RX SN: {}, SN={}\n " , qos.five_qi , qos.rlc .um .rx .sn_field_length );
10861086 }
10871087 // < RX t-reassembly
10881088 out_rlc.um .rx .t_reassembly = qos.rlc .um .rx .t_reassembly ;
10891089 // < TX SN
10901090 if (!from_number (out_rlc.um .tx .sn_field_length , qos.rlc .um .tx .sn_field_length )) {
1091- report_error (" Invalid RLC UM TX SN: 5QI= {}, SN={}\n " , qos.five_qi , qos.rlc .um .tx .sn_field_length );
1091+ report_error (" Invalid RLC UM TX SN: {}, SN={}\n " , qos.five_qi , qos.rlc .um .tx .sn_field_length );
10921092 }
10931093 out_rlc.um .tx .queue_size = qos.rlc .um .tx .queue_size ;
10941094 } else if (out_rlc.mode == rlc_mode::am) {
0 commit comments