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 BuildDLNASTransport(ue *context.AmfUe, payloadContainerType uint8, nasPdu []byte, ...) ([]byte, error)
- func BuildDeregistrationAccept() ([]byte, error)
- func BuildDeregistrationRequest(ue *context.RanUe, accessType uint8, reRegistrationRequired bool, ...) ([]byte, error)
- func BuildIdentityRequest(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, eapSuccess bool, eapMessage string) ([]byte, error)
- func BuildServiceAccept(ue *context.AmfUe, pDUSessionStatus *[16]bool, reactivationResult *[16]bool, ...) ([]byte, error)
- func BuildServiceReject(pDUSessionStatus *[16]bool, 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 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, typeOfIdentity uint8)
- func SendNotification(ue *context.RanUe, nasMsg []byte)
- func SendRegistrationAccept(ue *context.AmfUe, anType models.AccessType, pDUSessionStatus *[16]bool, ...)
- func SendRegistrationReject(ue *context.RanUe, cause5GMM uint8, eapMessage string)
- func SendSecurityModeCommand(ue *context.RanUe, eapSuccess bool, eapMessage string)
- func SendServiceAccept(ue *context.RanUe, pDUSessionStatus *[16]bool, reactivationResult *[16]bool, ...)
- func SendServiceReject(ue *context.RanUe, pDUSessionStatus *[16]bool, cause uint8)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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, eapSuccess bool, eapMessage string) ([]byte, error)
TS 24.501 8.2.25
func BuildServiceAccept ¶
func BuildServiceReject ¶
T3346 Timer and EAP are not Supported
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 SendNotification ¶
func SendRegistrationAccept ¶
func SendRegistrationAccept( ue *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 ¶
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.