Add NAS Registration Request with type Mobility Registration Updating

* ref TS 24.501
This commit is contained in:
Guido Casati
2025-02-04 15:31:24 +01:00
parent e3eb663085
commit 54755b57aa
+5 -1
View File
@@ -469,7 +469,11 @@ void generateRegistrationRequest(as_nas_info_t *initialNasMsg, nr_ue_nas_t *nas)
// Plain 5GMM msg
registration_request_msg *mm_msg = &plain.mm_msg.registration_request;
mm_msg->fgsregistrationtype = INITIAL_REGISTRATION;
if (nas->fiveGMM_state == FGS_DEREGISTERED) {
mm_msg->fgsregistrationtype = INITIAL_REGISTRATION;
} else {
mm_msg->fgsregistrationtype = MOBILITY_REGISTRATION_UPDATING;
}
mm_msg->naskeysetidentifier.naskeysetidentifier = 1;
size += 1;
if (nas->guti) {