Documentation ¶
Overview ¶
Copyright 2024 Ella Networks
Copyright 2024 Ella Networks
Index ¶
- Constants
- Variables
- func AnTypeToNas(anType models.AccessType) uint8
- func Authentication(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func AuthenticationProcedure(ue *context.AmfUe, accessType models.AccessType) (bool, error)
- func ContextSetup(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func DeRegistered(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func DeregisteredInitiated(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func HandleAuthenticationError(ue *context.AmfUe, anType models.AccessType) error
- func HandleAuthenticationFailure(ue *context.AmfUe, anType models.AccessType, ...) error
- func HandleAuthenticationResponse(ue *context.AmfUe, accessType models.AccessType, ...) error
- func HandleConfigurationUpdateComplete(ue *context.AmfUe, ...) error
- func HandleDeregistrationAccept(ue *context.AmfUe, anType models.AccessType, ...) error
- func HandleDeregistrationRequest(ue *context.AmfUe, anType models.AccessType, ...) error
- func HandleIdentityResponse(ue *context.AmfUe, identityResponse *nasMessage.IdentityResponse) error
- func HandleInitialRegistration(ue *context.AmfUe, anType models.AccessType) error
- func HandleMobilityAndPeriodicRegistrationUpdating(ue *context.AmfUe, anType models.AccessType) error
- func HandleNotificationResponse(ue *context.AmfUe, notificationResponse *nasMessage.NotificationResponse) error
- func HandleRegistrationComplete(ue *context.AmfUe, accessType models.AccessType, ...) error
- func HandleRegistrationRequest(ue *context.AmfUe, anType models.AccessType, procedureCode int64, ...) error
- func HandleSecurityModeComplete(ue *context.AmfUe, anType models.AccessType, procedureCode int64, ...) error
- func HandleSecurityModeReject(ue *context.AmfUe, anType models.AccessType, ...) error
- func HandleServiceRequest(ue *context.AmfUe, anType models.AccessType, ...) error
- func HandleStatus5GMM(ue *context.AmfUe, anType models.AccessType, status5GMM *nasMessage.Status5GMM) error
- func HandleULNASTransport(ue *context.AmfUe, anType models.AccessType, ...) error
- func IdentityVerification(ue *context.AmfUe) bool
- func NetworkInitiatedDeregistrationProcedure(ue *context.AmfUe, accessType models.AccessType) (err error)
- func PlmnIdStringToModels(plmnId string) (plmnID models.PlmnId)
- func Registered(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func SecurityMode(state *fsm.State, event fsm.EventType, args fsm.ArgsType)
- func SetDeregisteredState(amfUe *context.AmfUe, anType uint8)
- func SnssaiModelsToHex(snssai models.Snssai) string
Constants ¶
View Source
const ( S_NSSAI_CONGESTION = "S-NSSAI_CONGESTION" DNN_CONGESTION = "DNN_CONGESTION" PRIORITIZED_SERVICES_ONLY = "PRIORITIZED_SERVICES_ONLY" OUT_OF_LADN_SERVICE_AREA = "OUT_OF_LADN_SERVICE_AREA" )
View Source
const ( GmmMessageEvent fsm.EventType = "Gmm Message" StartAuthEvent fsm.EventType = "Start Authentication" AuthSuccessEvent fsm.EventType = "Authentication Success" AuthRestartEvent fsm.EventType = "Authentication Restart" AuthFailEvent fsm.EventType = "Authentication Fail" AuthErrorEvent fsm.EventType = "Authentication Error" SecurityModeSuccessEvent fsm.EventType = "SecurityMode Success" SecurityModeFailEvent fsm.EventType = "SecurityMode Fail" SecuritySkipEvent fsm.EventType = "Security Skip" SecurityModeAbortEvent fsm.EventType = "SecurityMode Abort" ContextSetupSuccessEvent fsm.EventType = "ContextSetup Success" ContextSetupFailEvent fsm.EventType = "ContextSetup Fail" InitDeregistrationEvent fsm.EventType = "Initialize Deregistration" NwInitiatedDeregistrationEvent fsm.EventType = "Network Initiated Deregistration Event" SliceInfoDeleteEvent fsm.EventType = "Slice Info Delete Event" SliceInfoAddEvent fsm.EventType = "Slice Info Add Event" DeregistrationAcceptEvent fsm.EventType = "Deregistration Accept" )
View Source
const ( ArgAmfUe string = "AMF Ue" ArgNASMessage string = "NAS Message" ArgProcedureCode string = "Procedure Code" ArgAccessType string = "Access Type" ArgEAPSuccess string = "EAP Success" ArgEAPMessage string = "EAP Message" Arg3GPPDeregistered string = "3GPP Deregistered" ArgNon3GPPDeregistered string = "Non3GPP Deregistered" ArgNssai string = "Nssai" )
Variables ¶
View Source
var GmmFSM *fsm.FSM
Functions ¶
func AnTypeToNas ¶
func AnTypeToNas(anType models.AccessType) uint8
func AuthenticationProcedure ¶
func DeregisteredInitiated ¶
func HandleAuthenticationError ¶
func HandleAuthenticationError(ue *context.AmfUe, anType models.AccessType) error
func HandleAuthenticationFailure ¶
func HandleAuthenticationFailure(ue *context.AmfUe, anType models.AccessType, authenticationFailure *nasMessage.AuthenticationFailure, ) error
func HandleAuthenticationResponse ¶
func HandleAuthenticationResponse(ue *context.AmfUe, accessType models.AccessType, authenticationResponse *nasMessage.AuthenticationResponse, ) error
TS 24.501 5.4.1
func HandleConfigurationUpdateComplete ¶
func HandleConfigurationUpdateComplete(ue *context.AmfUe, configurationUpdateComplete *nasMessage.ConfigurationUpdateComplete, ) error
func HandleDeregistrationAccept ¶
func HandleDeregistrationAccept(ue *context.AmfUe, anType models.AccessType, deregistrationAccept *nasMessage.DeregistrationAcceptUETerminatedDeregistration, ) error
TS 23.502 4.2.2.3
func HandleDeregistrationRequest ¶
func HandleDeregistrationRequest(ue *context.AmfUe, anType models.AccessType, deregistrationRequest *nasMessage.DeregistrationRequestUEOriginatingDeregistration, ) error
TS 23.502 4.2.2.3
func HandleIdentityResponse ¶
func HandleIdentityResponse(ue *context.AmfUe, identityResponse *nasMessage.IdentityResponse) error
func HandleInitialRegistration ¶
func HandleInitialRegistration(ue *context.AmfUe, anType models.AccessType) error
func HandleMobilityAndPeriodicRegistrationUpdating ¶
func HandleMobilityAndPeriodicRegistrationUpdating(ue *context.AmfUe, anType models.AccessType) error
func HandleNotificationResponse ¶
func HandleNotificationResponse(ue *context.AmfUe, notificationResponse *nasMessage.NotificationResponse) error
TS 24501 5.6.3.2
func HandleRegistrationComplete ¶
func HandleRegistrationComplete(ue *context.AmfUe, accessType models.AccessType, registrationComplete *nasMessage.RegistrationComplete, ) error
func HandleRegistrationRequest ¶
func HandleRegistrationRequest(ue *context.AmfUe, anType models.AccessType, procedureCode int64, registrationRequest *nasMessage.RegistrationRequest, ) error
Handle cleartext IEs of Registration Request, which cleattext IEs defined in TS 24.501 4.4.6
func HandleSecurityModeComplete ¶
func HandleSecurityModeComplete(ue *context.AmfUe, anType models.AccessType, procedureCode int64, securityModeComplete *nasMessage.SecurityModeComplete, ) error
TS 33.501 6.7.2
func HandleSecurityModeReject ¶
func HandleSecurityModeReject(ue *context.AmfUe, anType models.AccessType, securityModeReject *nasMessage.SecurityModeReject, ) error
func HandleServiceRequest ¶
func HandleServiceRequest(ue *context.AmfUe, anType models.AccessType, serviceRequest *nasMessage.ServiceRequest, ) error
TS 24501 5.6.1
func HandleStatus5GMM ¶
func HandleStatus5GMM(ue *context.AmfUe, anType models.AccessType, status5GMM *nasMessage.Status5GMM) error
func HandleULNASTransport ¶
func HandleULNASTransport(ue *context.AmfUe, anType models.AccessType, ulNasTransport *nasMessage.ULNASTransport, ) error
func IdentityVerification ¶
func NetworkInitiatedDeregistrationProcedure ¶
func NetworkInitiatedDeregistrationProcedure(ue *context.AmfUe, accessType models.AccessType) (err error)
func PlmnIdStringToModels ¶
func SetDeregisteredState ¶
func SnssaiModelsToHex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.