From a6007ee8398d4415076dd3eec3e78add323f1996 Mon Sep 17 00:00:00 2001 From: squishy me <69491904+Leon777-coder@users.noreply.github.com> Date: Mon, 20 Nov 2023 19:53:17 +0800 Subject: [PATCH] Update handler.go issue 413 v1 --- internal/gmm/handler.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/internal/gmm/handler.go b/internal/gmm/handler.go index 2c0fa29c..523f587b 100644 --- a/internal/gmm/handler.go +++ b/internal/gmm/handler.go @@ -1120,6 +1120,19 @@ func handleRequestedNssai(ue *context.AmfUe, anType models.AccessType) error { needSliceSelection = true break } + + reqSnssai := models.Snssai{ + Sst: requestedSnssai.ServingSnssai.Sst, + Sd: requestedSnssai.ServingSnssai.Sd, + } + + if !amfSelf.InPlmnSupportList(reqSnssai) { + + //ngap_message.SendRerouteNasRequest(ue, anType, nil, ue.RanUe[anType].InitialUEMessage, &allowedNssaiNgap) + needSliceSelection = true + } else { + + } } if needSliceSelection {