Documentation
¶
Index ¶
- func BuildAuthenticationReject(ue *context.AmfUe, accessType models.AccessType, eapMsg string) ([]byte, error)
- func BuildAuthenticationRequest(ue *context.AmfUe, accessType models.AccessType) ([]byte, error)
- func BuildAuthenticationResult(ue *context.AmfUe, accessType models.AccessType, eapSuccess bool, ...) ([]byte, error)
- func BuildConfigurationUpdateCommand(ue *context.AmfUe, anType models.AccessType, ...) ([]byte, error, bool)
- func BuildDLNASTransport(ue *context.AmfUe, accessType models.AccessType, payloadContainerType uint8, ...) ([]byte, error)
- func BuildDeregistrationAccept(ue *context.AmfUe, accessType models.AccessType) ([]byte, error)
- func BuildDeregistrationRequest(ue *context.RanUe, accessType uint8, reRegistrationRequired bool, ...) ([]byte, error)
- func BuildIdentityRequest(ue *context.AmfUe, accessType models.AccessType, typeOfIdentity uint8) ([]byte, error)
- func BuildNotification(ue *context.AmfUe, accessType models.AccessType) ([]byte, error)
- func BuildRegistrationAccept(ue *context.AmfUe, anType models.AccessType, pDUSessionStatus *[16]bool, ...) ([]byte, error)
- func BuildRegistrationReject(ue *context.AmfUe, accessType models.AccessType, cause5GMM uint8, ...) ([]byte, error)
- func BuildSecurityModeCommand(ue *context.AmfUe, accessType models.AccessType, eapSuccess bool, ...) ([]byte, error)
- func BuildServiceAccept(ue *context.AmfUe, accessType models.AccessType, pDUSessionStatus *[16]bool, ...) ([]byte, error)
- func BuildServiceReject(ue *context.AmfUe, accessType models.AccessType, pDUSessionStatus *[16]bool, ...) ([]byte, error)
- func BuildStatus5GMM(ue *context.AmfUe, accessType models.AccessType, cause uint8) ([]byte, error)
- func SendAuthenticationReject(ue *context.RanUe, eapMsg string)
- func SendAuthenticationRequest(ue *context.RanUe)
- func SendAuthenticationResult(ue *context.RanUe, eapSuccess bool, eapMsg string)
- func SendConfigurationUpdateCommand(amfUe *context.AmfUe, accessType models.AccessType, ...)
- func SendDLNASTransport(ue *context.RanUe, payloadContainerType uint8, nasPdu []byte, ...)
- func SendDeregistrationAccept(ue *context.RanUe)
- func SendDeregistrationRequest(ue *context.RanUe, accessType uint8, reRegistrationRequired bool, ...)
- func SendIdentityRequest(ue *context.RanUe, accessType models.AccessType, typeOfIdentity uint8)
- func SendNotification(ue *context.RanUe, nasMsg []byte)
- func SendRegistrationAccept(amfUe *context.AmfUe, anType models.AccessType, pDUSessionStatus *[16]bool, ...)
- func SendRegistrationReject(ue *context.RanUe, cause5GMM uint8, eapMessage string)
- func SendSecurityModeCommand(ue *context.RanUe, accessType models.AccessType, eapSuccess bool, ...)
- func SendServiceAccept(amfUe *context.AmfUe, anType models.AccessType, ...) error
- func SendServiceReject(ue *context.RanUe, pDUSessionStatus *[16]bool, cause uint8)
- func SendStatus5GMM(ue *context.RanUe, cause uint8)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildConfigurationUpdateCommand ¶
func BuildConfigurationUpdateCommand(ue *context.AmfUe, anType models.AccessType, flags *context.ConfigurationUpdateCommandFlags, ) ([]byte, error, bool)
Fllowed by TS 24.501 - 5.4.4 Generic UE configuration update procedure - 5.4.4.1 General
func BuildDLNASTransport ¶
func BuildDeregistrationRequest ¶
func BuildDeregistrationRequest(ue *context.RanUe, accessType uint8, reRegistrationRequired bool, cause5GMM uint8, ) ([]byte, error)
T3346 timer are not supported
func BuildIdentityRequest ¶
func BuildNotification ¶
func BuildRegistrationAccept ¶
func BuildRegistrationReject ¶
func BuildRegistrationReject(ue *context.AmfUe, accessType models.AccessType, cause5GMM uint8, eapMessage string, ) ([]byte, error)
T3346 timer are not supported
func BuildSecurityModeCommand ¶
func BuildSecurityModeCommand(ue *context.AmfUe, accessType models.AccessType, eapSuccess bool, eapMessage string) ( []byte, error, )
TS 24.501 8.2.25
func BuildServiceAccept ¶
func BuildServiceReject ¶
func BuildServiceReject(ue *context.AmfUe, accessType models.AccessType, pDUSessionStatus *[16]bool, cause uint8, ) ([]byte, error)
T3346 Timer and EAP are not Supported
func BuildStatus5GMM ¶
func SendConfigurationUpdateCommand ¶
func SendConfigurationUpdateCommand(amfUe *context.AmfUe, accessType models.AccessType, flags *context.ConfigurationUpdateCommandFlags, )
func SendDLNASTransport ¶
func SendDLNASTransport(ue *context.RanUe, payloadContainerType uint8, nasPdu []byte, pduSessionId int32, cause uint8, backOffTimerUint *uint8, backOffTimer uint8, )
backOffTimerUint = 7 means backoffTimer is null
func SendIdentityRequest ¶
func SendIdentityRequest(ue *context.RanUe, accessType models.AccessType, typeOfIdentity uint8)
func SendNotification ¶
func SendRegistrationAccept ¶
func SendRegistrationAccept( amfUe *context.AmfUe, anType models.AccessType, pDUSessionStatus *[16]bool, reactivationResult *[16]bool, errPduSessionId, errCause []uint8, cxtList *ngapType.PDUSessionResourceSetupListCxtReq, )
func SendRegistrationReject ¶
T3502: This IE may be included to indicate a value for timer T3502 during the initial registration eapMessage: if the REGISTRATION REJECT message is used to convey EAP-failure message
func SendSecurityModeCommand ¶
func SendSecurityModeCommand(ue *context.RanUe, accessType models.AccessType, eapSuccess bool, eapMessage string)
eapSuccess: only used when authType is EAP-AKA', set the value to false if authType is not EAP-AKA' eapMessage: only used when authType is EAP-AKA', set the value to "" if authType is not EAP-AKA'
func SendServiceAccept ¶
func SendServiceAccept(amfUe *context.AmfUe, anType models.AccessType, cxtList ngapType.PDUSessionResourceSetupListCxtReq, pDUSessionStatus *[16]bool, reactivationResult *[16]bool, errPduSessionId, errCause []uint8, ) error
func SendServiceReject ¶
func SendStatus5GMM ¶
Types ¶
This section is empty.