Commit 71790ccb authored by francescomani's avatar francescomani

remove noS1 condition to init pdcp in phy-test mode

parent c599e172
......@@ -515,14 +515,11 @@ int main(int argc, char **argv)
uint16_t node_number = get_softmodem_params()->node_number;
ue_id_g = (node_number == 0) ? 0 : node_number - 2;
AssertFatal(ue_id_g >= 0, "UE id is expected to be nonnegative.\n");
if(IS_SOFTMODEM_NOS1 || get_softmodem_params()->sa || get_softmodem_params()->nsa) {
if(node_number == 0) {
if(node_number == 0)
init_pdcp(0);
}
else {
else
init_pdcp(mode_offset + ue_id_g);
}
}
init_NR_UE(NB_UE_INST, uecap_file, reconfig_file, rbconfig_file);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment