message

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2022 License: Apache-2.0 Imports: 14 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAuthenticationReject

func BuildAuthenticationReject(ue *context.AmfUe, eapMsg string) ([]byte, error)

func BuildAuthenticationRequest

func BuildAuthenticationRequest(ue *context.AmfUe) ([]byte, error)

func BuildAuthenticationResult

func BuildAuthenticationResult(ue *context.AmfUe, eapSuccess bool, eapMsg string) ([]byte, error)

func BuildConfigurationUpdateCommand

func BuildConfigurationUpdateCommand(ue *context.AmfUe, anType models.AccessType,
	networkSlicingIndication *nasType.NetworkSlicingIndication) ([]byte, error)

func BuildDLNASTransport

func BuildDLNASTransport(ue *context.AmfUe, payloadContainerType uint8, nasPdu []byte,
	pduSessionId uint8, cause *uint8, backoffTimerUint *uint8, backoffTimer uint8) ([]byte, error)

func BuildDeregistrationAccept

func BuildDeregistrationAccept() ([]byte, error)

func BuildDeregistrationRequest

func BuildDeregistrationRequest(ue *context.RanUe, accessType uint8, reRegistrationRequired bool,
	cause5GMM uint8) ([]byte, error)

T3346 timer are not supported

func BuildIdentityRequest

func BuildIdentityRequest(typeOfIdentity uint8) ([]byte, error)

func BuildNotification

func BuildNotification(ue *context.AmfUe, accessType models.AccessType) ([]byte, error)

func BuildRegistrationAccept

func BuildRegistrationAccept(
	ue *context.AmfUe,
	anType models.AccessType,
	pDUSessionStatus *[16]bool,
	reactivationResult *[16]bool,
	errPduSessionId, errCause []uint8) ([]byte, error)

func BuildRegistrationReject

func BuildRegistrationReject(ue *context.AmfUe, cause5GMM uint8, eapMessage string) ([]byte, error)

T3346 timer are not supported

func BuildSecurityModeCommand

func BuildSecurityModeCommand(ue *context.AmfUe, eapSuccess bool, eapMessage string) ([]byte, error)

TS 24.501 8.2.25

func BuildServiceAccept

func BuildServiceAccept(ue *context.AmfUe, pDUSessionStatus *[16]bool,
	reactivationResult *[16]bool, errPduSessionId, errCause []uint8) ([]byte, error)

func BuildServiceReject

func BuildServiceReject(pDUSessionStatus *[16]bool, cause uint8) ([]byte, error)

T3346 Timer and EAP are not Supported

func BuildStatus5GMM

func BuildStatus5GMM(cause uint8) ([]byte, error)

func SendAuthenticationReject

func SendAuthenticationReject(ue *context.RanUe, eapMsg string)

func SendAuthenticationRequest

func SendAuthenticationRequest(ue *context.RanUe)

func SendAuthenticationResult

func SendAuthenticationResult(ue *context.RanUe, eapSuccess bool, eapMsg string)

func SendConfigurationUpdateCommand

func SendConfigurationUpdateCommand(amfUe *context.AmfUe, accessType models.AccessType,
	networkSlicingIndication *nasType.NetworkSlicingIndication)

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 SendDeregistrationAccept

func SendDeregistrationAccept(ue *context.RanUe)

func SendDeregistrationRequest

func SendDeregistrationRequest(ue *context.RanUe, accessType uint8, reRegistrationRequired bool, cause5GMM uint8)

func SendIdentityRequest

func SendIdentityRequest(ue *context.RanUe, typeOfIdentity uint8)

func SendNotification

func SendNotification(ue *context.RanUe, nasMsg []byte)

func SendRegistrationAccept

func SendRegistrationAccept(
	ue *context.AmfUe,
	anType models.AccessType,
	pDUSessionStatus *[16]bool,
	reactivationResult *[16]bool,
	errPduSessionId, errCause []uint8,
	pduSessionResourceSetupList *ngapType.PDUSessionResourceSetupListCxtReq)

func SendRegistrationReject

func SendRegistrationReject(ue *context.RanUe, cause5GMM uint8, eapMessage string)

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, 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(ue *context.RanUe, pDUSessionStatus *[16]bool, reactivationResult *[16]bool,
	errPduSessionId, errCause []uint8)

func SendServiceReject

func SendServiceReject(ue *context.RanUe, pDUSessionStatus *[16]bool, cause uint8)

func SendStatus5GMM

func SendStatus5GMM(ue *context.RanUe, cause uint8)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL