consumer

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const N2SMINFO_ID = "N2SmInfo"

Variables

This section is empty.

Functions

func AMPolicyControlCreate

func AMPolicyControlCreate(ue *context.AmfUe, anType models.AccessType) error

func AMPolicyControlDelete

func AMPolicyControlDelete(ue *context.AmfUe) error

func AMPolicyControlUpdate

func AMPolicyControlUpdate(ue *context.AmfUe, updateRequest models.PolicyAssociationUpdateRequest) error

func BuildUeContextModel

func BuildUeContextModel(ue *amf_context.AmfUe) (ueContext models.UeContext)

func NSSelectionGetForRegistration

func NSSelectionGetForRegistration(ue *context.AmfUe, requestedNssai []models.MappingOfSnssai) error

func RegistrationStatusUpdate

func RegistrationStatusUpdate(ue *amf_context.AmfUe, request models.UeRegStatusUpdateReqData) (
	regStatusTransferComplete bool, problemDetails *models.ProblemDetails, err error,
)

This operation is called "RegistrationCompleteNotify" at TS 23.502

func SDMGetAmData

func SDMGetAmData(ue *context.AmfUe) (problemDetails *models.ProblemDetails, err error)

func SDMGetSliceSelectionSubscriptionData

func SDMGetSliceSelectionSubscriptionData(ue *context.AmfUe) (problemDetails *models.ProblemDetails, err error)

func SDMGetSmfSelectData

func SDMGetSmfSelectData(ue *context.AmfUe) (problemDetails *models.ProblemDetails, err error)

func SDMGetUeContextInSmfData

func SDMGetUeContextInSmfData(ue *context.AmfUe) (problemDetails *models.ProblemDetails, err error)

func SDMSubscribe

func SDMSubscribe(ue *context.AmfUe) (*models.ProblemDetails, error)

func SelectSmf

func SelectSmf(
	ue *context.AmfUe,
	anType models.AccessType,
	pduSessionID int32,
	snssai models.Snssai,
	dnn string,
) (*context.SmContext, uint8, error)

func SendAuth5gAkaConfirmRequest

func SendAuth5gAkaConfirmRequest(ue *context.AmfUe, resStar string) (
	*models.ConfirmationDataResponse, *models.ProblemDetails, error,
)

func SendEapAuthConfirmRequest

func SendEapAuthConfirmRequest(ue *context.AmfUe, eapMsg nasType.EAPMessage) (
	*models.EapSession, *models.ProblemDetails, error,
)

func SendReleaseSmContextRequest

func SendReleaseSmContextRequest(ue *context.AmfUe, smContext *context.SmContext,
	cause *context.CauseAll, n2SmInfoType models.N2SmInfoType,
	n2Info []byte,
) (detail *models.ProblemDetails, err error)

func SendUEAuthenticationAuthenticateRequest

func SendUEAuthenticationAuthenticateRequest(ue *context.AmfUe,
	resynchronizationInfo *models.ResynchronizationInfo,
) (*models.UeAuthenticationCtx, *models.ProblemDetails, error)

func SendUpdateSmContextActivateUpCnxState

func SendUpdateSmContextActivateUpCnxState(
	ue *context.AmfUe, smContext *context.SmContext, accessType models.AccessType) (
	*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, error,
)

func SendUpdateSmContextChangeAccessType

func SendUpdateSmContextChangeAccessType(ue *context.AmfUe,
	smContext *context.SmContext, anTypeCanBeChanged bool) (
	*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, error,
)

func SendUpdateSmContextN2HandoverComplete

func SendUpdateSmContextN2HandoverComplete(
	ue *context.AmfUe, smContext *context.SmContext, amfid string, guami *models.Guami) (
	*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, error,
)

func SendUpdateSmContextN2HandoverPrepared

func SendUpdateSmContextN2HandoverPrepared(
	ue *context.AmfUe, smContext *context.SmContext, n2SmType models.N2SmInfoType, N2SmInfo []byte) (
	*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, error,
)

func SendUpdateSmContextN2HandoverPreparing

func SendUpdateSmContextN2HandoverPreparing(
	ue *context.AmfUe,
	smContext *context.SmContext,
	n2SmType models.N2SmInfoType,
	N2SmInfo []byte, amfid string, targetId *models.NgRanTargetId) (
	*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, error,
)

func SendUpdateSmContextN2Info

func SendUpdateSmContextN2Info(
	ue *context.AmfUe, smContext *context.SmContext, n2SmType models.N2SmInfoType, N2SmInfo []byte) (
	*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, error,
)

func SendUpdateSmContextRequest

func SendUpdateSmContextRequest(smContext *context.SmContext,
	updateData models.SmContextUpdateData, n1Msg []byte, n2Info []byte) (
	*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse,
	error,
)

func SendUpdateSmContextXnHandover

func SendUpdateSmContextXnHandover(
	ue *context.AmfUe, smContext *context.SmContext, n2SmType models.N2SmInfoType, N2SmInfo []byte) (
	*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, error,
)

func SendUpdateSmContextXnHandoverFailed

func SendUpdateSmContextXnHandoverFailed(
	ue *context.AmfUe, smContext *context.SmContext, n2SmType models.N2SmInfoType, N2SmInfo []byte) (
	*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, error,
)

func UEContextTransferRequest

func UEContextTransferRequest(
	ue *amf_context.AmfUe, accessType models.AccessType, transferReason models.TransferReason) (
	ueContextTransferRspData *models.UeContextTransferRspData, problemDetails *models.ProblemDetails, err error,
)

func UeCmRegistration

func UeCmRegistration(ue *context.AmfUe, accessType models.AccessType, initialRegistrationInd bool) (
	*models.ProblemDetails, error,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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