Documentation
¶
Index ¶
- func BuildAuthenticationReject(ue *context.AmfUe, eapMsg string) ([]byte, error)
- func BuildAuthenticationRequest(ue *context.AmfUe) ([]byte, error)
- func BuildAuthenticationResult(ue *context.AmfUe, eapSuccess bool, eapMsg string) ([]byte, error)
- func BuildConfigurationUpdateCommand(ue *context.AmfUe, anType models.AccessType, ...) ([]byte, error)
- func BuildDLNASTransport(ue *context.AmfUe, accessType models.AccessType, payloadContainerType uint8, ...) ([]byte, error)
- func BuildDeregistrationAccept() ([]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, cause5GMM uint8, eapMessage string) ([]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(pDUSessionStatus *[16]bool, cause uint8) ([]byte, error)
- func BuildStatus5GMM(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(ue *context.RanUe, anType models.AccessType, pDUSessionStatus *[16]bool, ...)
- 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, networkSlicingIndication *nasType.NetworkSlicingIndication) ([]byte, error)
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 ¶
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 ¶
T3346 Timer and EAP are not Supported
func BuildStatus5GMM ¶
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 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, pduSessionResourceSetupList *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 SendServiceReject ¶
func SendStatus5GMM ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.