Set 5GMM Mode to IDLE when receiving NR_NAS_CONN_RELEASE_IND
> In N1 mode, upon indication from lower layers that the access stratum connection has been released, the UE shall enter 5GMM-IDLE mode and consider the N1 NAS signalling connection released (3GPP TS 24.501)
This commit is contained in:
@@ -1565,8 +1565,12 @@ void *nas_nrue(void *args_p)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case NR_NAS_CONN_RELEASE_IND:
|
case NR_NAS_CONN_RELEASE_IND: {
|
||||||
LOG_I(NAS, "[UE %ld] Received %s: cause %u\n", nas->UE_id, ITTI_MSG_NAME(msg_p), NR_NAS_CONN_RELEASE_IND(msg_p).cause);
|
LOG_I(NAS, "[UE %ld] Received %s: cause %s\n",
|
||||||
|
nas->UE_id, ITTI_MSG_NAME (msg_p), nr_release_cause_desc[NR_NAS_CONN_RELEASE_IND (msg_p).cause]);
|
||||||
|
/* In N1 mode, upon indication from lower layers that the access stratum connection has been released,
|
||||||
|
the UE shall enter 5GMM-IDLE mode and consider the N1 NAS signalling connection released (3GPP TS 24.501) */
|
||||||
|
nas->fiveGMM_mode = FGS_IDLE;
|
||||||
// TODO handle connection release
|
// TODO handle connection release
|
||||||
if (nas->termination_procedure) {
|
if (nas->termination_procedure) {
|
||||||
/* the following is not clean, but probably necessary: we need to give
|
/* the following is not clean, but probably necessary: we need to give
|
||||||
@@ -1577,7 +1581,7 @@ void *nas_nrue(void *args_p)
|
|||||||
itti_wait_tasks_unblock(); /* will unblock ITTI to stop nr-uesoftmodem */
|
itti_wait_tasks_unblock(); /* will unblock ITTI to stop nr-uesoftmodem */
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case NAS_UPLINK_DATA_CNF:
|
case NAS_UPLINK_DATA_CNF:
|
||||||
LOG_I(NAS,
|
LOG_I(NAS,
|
||||||
"[UE %ld] Received %s: UEid %u, errCode %u\n",
|
"[UE %ld] Received %s: UEid %u, errCode %u\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user