Merge remote-tracking branch 'origin/ci-fixes-dora' into integration_2024_w46 (!3104)

Trigger deregistration only in SA mode

Upon press of ^C, the UE triggers a NAS deregistration. This does not work
in do-ra or phy-test modes, because there is no NAS. Therefore, in non-SA
modes, just stop the UE directly.

This can potentially improve the 5G RFsim CI test case, because together with
a high RFsim timeout, the chances of the last HARQ status line being without
retransmissions is much higher. If that does not help, we can further increase
the retx threshold.
This commit is contained in:
Jaroslava Fiedlerova
2024-11-15 18:49:12 +01:00
+1 -1
View File
@@ -334,7 +334,7 @@ static void trigger_stop(int sig)
}
static void trigger_deregistration(int sig)
{
if (!stop_immediately) {
if (!stop_immediately && IS_SA_MODE(get_softmodem_params())) {
MessageDef *msg = itti_alloc_new_message(TASK_NAS_NRUE, 0, NAS_DEREGISTRATION_REQ);
NAS_DEREGISTRATION_REQ(msg).cause = AS_DETACH;
itti_send_msg_to_task(TASK_NAS_NRUE, 0, msg);