amf_consumer

package
v0.0.0-...-3a7200f Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AMPolicyControlCreate

func AMPolicyControlCreate(ue *amf_context.AmfUe, anType models.AccessType) (problemDetails *models.ProblemDetails, err error)

func AMPolicyControlDelete

func AMPolicyControlDelete(ue *amf_context.AmfUe) (problemDetails *models.ProblemDetails, err error)

func AMPolicyControlUpdate

func AMPolicyControlUpdate(ue *amf_context.AmfUe, updateRequest models.PolicyAssociationUpdateRequest) (problemDetails *models.ProblemDetails, err error)

func BuildCreateSmContextRequest

func BuildCreateSmContextRequest(ue *amf_context.AmfUe, pduSessionContext models.PduSessionContext, requestType models.RequestType) (smContextCreateData models.SmContextCreateData)

func BuildNFInstance

func BuildNFInstance(context *amf_context.AMFContext) (profile models.NfProfile, err error)

func BuildReleaseSmContextRequest

func BuildReleaseSmContextRequest(ue *amf_context.AmfUe, cause *amf_context.CauseAll, n2SmInfoType models.N2SmInfoType, n2Info []byte) (releaseData models.SmContextReleaseData)

func BuildUeContextCreateData

func BuildUeContextCreateData(ue *amf_context.AmfUe, targetRanId models.NgRanTargetId, sourceToTargetData models.N2InfoContent, pduSessionList []models.N2SmInformation, n2NotifyUri string, ngapCause *models.NgApCause) (ueContextCreateData models.UeContextCreateData)

func BuildUpdateSmContextRequset

func BuildUpdateSmContextRequset(ue *amf_context.AmfUe, present UpdateSmContextPresent, pduSessionId int32, param updateSmContextRequsetParam) (updateData models.SmContextUpdateData)

func BuildUpdateSmContextRequsetHandover

func BuildUpdateSmContextRequsetHandover(ue *amf_context.AmfUe, present UpdateSmContextPresent, pduSessionId int32, param updateSmContextRequsetHandoverParam) (updateData models.SmContextUpdateData)

func CreateUEContextRequest

func CreateUEContextRequest(ue *amf_context.AmfUe, ueContextCreateData models.UeContextCreateData) (ueContextCreatedData *models.UeContextCreatedData, problemDetails *models.ProblemDetails, err error)

func NSSelectionGetForPduSession

func NSSelectionGetForPduSession(ue *amf_context.AmfUe, snssai models.Snssai) (response *models.AuthorizedNetworkSliceInfo, problemDetails *models.ProblemDetails, err error)

func NSSelectionGetForRegistration

func NSSelectionGetForRegistration(ue *amf_context.AmfUe, requestedNssai []models.Snssai) (problemDetails *models.ProblemDetails, err error)

func PutUpuAck

func PutUpuAck(ue *amf_context.AmfUe, upuMacIue string) 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 ReleaseUEContextRequest

func ReleaseUEContextRequest(ue *amf_context.AmfUe, ngapCause models.NgApCause) (problemDetails *models.ProblemDetails, err error)

func SDMGetAmData

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

func SDMGetSliceSelectionSubscriptionData

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

func SDMGetSmfSelectData

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

func SDMGetUeContextInSmfData

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

func SDMSubscribe

func SDMSubscribe(ue *amf_context.AmfUe) (problemDetails *models.ProblemDetails, err error)

func SearchNssfNSSelectionInstance

func SearchNssfNSSelectionInstance(ue *amf_context.AmfUe, nrfUri string, targetNfType, requestNfType models.NfType, param *Nnrf_NFDiscovery.SearchNFInstancesParamOpts) (err error)

func SearchUdmSdmInstance

func SearchUdmSdmInstance(ue *amf_context.AmfUe, nrfUri string, targetNfType, requestNfType models.NfType, param *Nnrf_NFDiscovery.SearchNFInstancesParamOpts) (err error)

func SendAuth5gAkaConfirmRequest

func SendAuth5gAkaConfirmRequest(ue *amf_context.AmfUe, resStar string) (response *models.ConfirmationDataResponse, problemDetails *models.ProblemDetails, err1 error)

func SendCreateSmContextRequest

func SendCreateSmContextRequest(ue *amf_context.AmfUe, smfUri string, nasPdu []byte, smContextCreateData models.SmContextCreateData) (response *models.PostSmContextsResponse, smContextRef string, errorResponse *models.PostPduSessionsErrorResponse, problemDetail *models.ProblemDetails, err1 error)

func SendDeregisterNFInstance

func SendDeregisterNFInstance() (problemDetails *models.ProblemDetails, err error)

func SendEapAuthConfirmRequest

func SendEapAuthConfirmRequest(ue *amf_context.AmfUe, eapMsg nasType.EAPMessage) (response *models.EapSession, problemDetails *models.ProblemDetails, err1 error)

func SendRegisterNFInstance

func SendRegisterNFInstance(nrfUri, nfInstanceId string, profile models.NfProfile) (resouceNrfUri string, retrieveNfInstanceId string, err error)

func SendReleaseSmContextRequest

func SendReleaseSmContextRequest(ue *amf_context.AmfUe, pduSessionId int32, smContextReleaseData models.SmContextReleaseData) (detail *models.ProblemDetails, err error)

func SendSearchNFInstances

func SendSearchNFInstances(nrfUri string, targetNfType, requestNfType models.NfType, param *Nnrf_NFDiscovery.SearchNFInstancesParamOpts) (result models.SearchResult, err error)

func SendUEAuthenticationAuthenticateRequest

func SendUEAuthenticationAuthenticateRequest(ue *amf_context.AmfUe, resynchronizationInfo *models.ResynchronizationInfo) (response *models.UeAuthenticationCtx, problemDetails *models.ProblemDetails, err1 error)

func SendUpdateSmContextChangeAccessType

func SendUpdateSmContextChangeAccessType(ue *amf_context.AmfUe, pduSessionId int32, anTypeCanBeChanged bool) (*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, *models.ProblemDetails, error)

func SendUpdateSmContextHandoverBetweenAMF

func SendUpdateSmContextHandoverBetweenAMF(ue *amf_context.AmfUe, pduSessionId int32, amfid string, guami *models.Guami, activate bool) (*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, *models.ProblemDetails, error)

func SendUpdateSmContextHandoverBetweenAccessType

func SendUpdateSmContextHandoverBetweenAccessType(ue *amf_context.AmfUe, pduSessionId int32, targetAccessType models.AccessType, N1SmMsg []byte) (*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, *models.ProblemDetails, error)

func SendUpdateSmContextN2HandoverPreparing

func SendUpdateSmContextN2HandoverPreparing(ue *amf_context.AmfUe, pduSessionId int32, n2SmType models.N2SmInfoType, N2SmInfo []byte, amfid string, targetId *models.NgRanTargetId) (*models.UpdateSmContextResponse, *models.UpdateSmContextErrorResponse, *models.ProblemDetails, error)

func SendUpdateSmContextRequest

func SendUpdateSmContextRequest(ue *amf_context.AmfUe, smfUri, smContextRef string, updateData models.SmContextUpdateData, n1Msg []byte, n2Info []byte) (response *models.UpdateSmContextResponse, errorResponse *models.UpdateSmContextErrorResponse, problemDetail *models.ProblemDetails, err1 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 *amf_context.AmfUe, accessType models.AccessType, initialRegistrationInd bool) (problemDetails *models.ProblemDetails, err error)

Types

type UpdateSmContextPresent

type UpdateSmContextPresent string
const (
	UpdateSmContextPresentActivateUpCnxState        UpdateSmContextPresent = "Activate_User_Plane_Connectivity"
	UpdateSmContextPresentDeactivateUpCnxState      UpdateSmContextPresent = "Dectivate_User_Plane_Connectivity"
	UpdateSmContextPresentChangeAccessType          UpdateSmContextPresent = "Change_AccessType"
	UpdateSmContextPresentXnHandover                UpdateSmContextPresent = "Xn_Handover"
	UpdateSmContextPresentXnHandoverFailed          UpdateSmContextPresent = "Xn_Handover_Failed"
	UpdateSmContextPresentN2HandoverPreparing       UpdateSmContextPresent = "N2_Handover_Preparing"
	UpdateSmContextPresentN2HandoverPrepared        UpdateSmContextPresent = "N2_Handover_Prepared"
	UpdateSmContextPresentN2HandoverComplete        UpdateSmContextPresent = "N2_Handover_Complete"
	UpdateSmContextPresentN2HandoverCanceled        UpdateSmContextPresent = "N2_Handover_Canceled"
	UpdateSmContextPresentHandoverBetweenAccessType UpdateSmContextPresent = "Handover_Between_AccessType"
	UpdateSmContextPresentHandoverBetweenAMF        UpdateSmContextPresent = "Handover_Between_AMF"
	UpdateSmContextPresentOnlyN2SmInfo              UpdateSmContextPresent = "N2SmInfo"
)

Jump to

Keyboard shortcuts

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