gmm_message

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAuthenticationReject

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

func BuildAuthenticationRequest

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

func BuildAuthenticationResult

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

func BuildConfigurationUpdateCommand

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

func BuildDLNASTransport

func BuildDLNASTransport(ue *amf_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 *amf_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 *amf_context.AmfUe, accessType uint8) ([]byte, error)

func BuildRegistrationAccept

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

func BuildRegistrationReject

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

T3346 timer are not supported

func BuildSecurityModeCommand

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

TS 24.501 8.2.25

func BuildServiceAccept

func BuildServiceAccept(ue *amf_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 *amf_context.RanUe, eapMsg string)

func SendAuthenticationRequest

func SendAuthenticationRequest(ue *amf_context.RanUe)

func SendAuthenticationResult

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

func SendConfigurationUpdateCommand

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

func SendDLNASTransport

func SendDLNASTransport(ue *amf_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 *amf_context.RanUe)

func SendDeregistrationRequest

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

func SendIdentityRequest

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

func SendNotification

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

func SendRegistrationAccept

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

func SendRegistrationReject

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

func SendServiceReject

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

func SendStatus5GMM

func SendStatus5GMM(ue *amf_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