Documentation ¶
Index ¶
- func AMFStatusChangeSubscribeModifyProcedure(subscriptionID string, subscriptionData models.SubscriptionData) (*models.SubscriptionData, *models.ProblemDetails)
- func AMFStatusChangeSubscribeProcedure(subscriptionDataReq models.SubscriptionData) (subscriptionDataRsp models.SubscriptionData, locationHeader string, ...)
- func AMFStatusChangeUnSubscribeProcedure(subscriptionID string) (problemDetails *models.ProblemDetails)
- func AmPolicyControlUpdateNotifyTerminateProcedure(polAssoID string, terminationNotification models.TerminationNotification) *models.ProblemDetails
- func AmPolicyControlUpdateNotifyUpdateProcedure(polAssoID string, policyUpdate models.PolicyUpdate) *models.ProblemDetails
- func AssignEbiDataProcedure(ueContextID string, assignEbiData models.AssignEbiData) (*models.AssignedEbiData, *models.AssignEbiError, *models.ProblemDetails)
- func CreateAMFEventSubscriptionProcedure(createEventSubscription models.AmfCreateEventSubscription) (*models.AmfCreatedEventSubscription, *models.ProblemDetails)
- func CreateUEContextProcedure(ueContextID string, createUeContextRequest models.CreateUeContextRequest) (*models.CreateUeContextResponse, *models.UeContextCreateError)
- func DeleteAMFEventSubscriptionProcedure(subscriptionID string) *models.ProblemDetails
- func HandleAMFStatusChangeSubscribeModify(request *http_wrapper.Request) *http_wrapper.Response
- func HandleAMFStatusChangeSubscribeRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleAMFStatusChangeUnSubscribeRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleAmPolicyControlUpdateNotifyTerminate(request *http_wrapper.Request) *http_wrapper.Response
- func HandleAmPolicyControlUpdateNotifyUpdate(request *http_wrapper.Request) *http_wrapper.Response
- func HandleAssignEbiDataRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleCreateAMFEventSubscription(request *http_wrapper.Request) *http_wrapper.Response
- func HandleCreateUEContextRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleDeleteAMFEventSubscription(request *http_wrapper.Request) *http_wrapper.Response
- func HandleModifyAMFEventSubscription(request *http_wrapper.Request) *http_wrapper.Response
- func HandleN1MessageNotify(request *http_wrapper.Request) *http_wrapper.Response
- func HandleN1N2MessageSubscirbeRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleN1N2MessageTransferRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleN1N2MessageTransferStatusRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleN1N2MessageUnSubscribeRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleOAMRegisteredUEContext(request *http_wrapper.Request) *http_wrapper.Response
- func HandleProvideDomainSelectionInfoRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleProvideLocationInfoRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleRegistrationStatusUpdateRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleReleaseUEContextRequest(request *http_wrapper.Request) *http_wrapper.Response
- func HandleSmContextStatusNotify(request *http_wrapper.Request) *http_wrapper.Response
- func HandleUEContextTransferRequest(request *http_wrapper.Request) *http_wrapper.Response
- func ModifyAMFEventSubscriptionProcedure(subscriptionID string, ...) (*models.AmfUpdatedEventSubscription, *models.ProblemDetails)
- func N1MessageNotifyProcedure(n1MessageNotify models.N1MessageNotify) *models.ProblemDetails
- func N1N2MessageSubscribeProcedure(ueContextID string, ...) (*models.UeN1N2InfoSubscriptionCreatedData, *models.ProblemDetails)
- func N1N2MessageTransferProcedure(ueContextID string, reqUri string, ...) (n1n2MessageTransferRspData *models.N1N2MessageTransferRspData, ...)
- func N1N2MessageTransferStatusProcedure(ueContextID string, reqUri string) (models.N1N2MessageTransferCause, *models.ProblemDetails)
- func N1N2MessageUnSubscribeProcedure(ueContextID string, subscriptionID string) *models.ProblemDetails
- func NewAmfEventReport(ue *context.AmfUe, Type models.AmfEventType, subscriptionId string) (report models.AmfEventReport, ok bool)
- func ProvideDomainSelectionInfoProcedure(ueContextID string, infoClassQuery string, supportedFeaturesQuery string) (*models.UeContextInfo, *models.ProblemDetails)
- func ProvideLocationInfoProcedure(requestLocInfo models.RequestLocInfo, ueContextID string) (*models.ProvideLocInfo, *models.ProblemDetails)
- func RegistrationStatusUpdateProcedure(ueContextID string, ueRegStatusUpdateReqData models.UeRegStatusUpdateReqData) (*models.UeRegStatusUpdateRspData, *models.ProblemDetails)
- func ReleaseUEContextProcedure(ueContextID string, ueContextRelease models.UeContextRelease) *models.ProblemDetails
- func SmContextStatusNotifyProcedure(guti string, pduSessionID int32, ...) *models.ProblemDetails
- func UEContextTransferProcedure(ueContextID string, ueContextTransferRequest models.UeContextTransferRequest) (*models.UeContextTransferResponse, *models.ProblemDetails)
- type PduSession
- type UEContext
- type UEContexts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AMFStatusChangeSubscribeModifyProcedure ¶
func AMFStatusChangeSubscribeModifyProcedure(subscriptionID string, subscriptionData models.SubscriptionData) ( *models.SubscriptionData, *models.ProblemDetails)
func AMFStatusChangeSubscribeProcedure ¶
func AMFStatusChangeSubscribeProcedure(subscriptionDataReq models.SubscriptionData) ( subscriptionDataRsp models.SubscriptionData, locationHeader string, problemDetails *models.ProblemDetails)
func AMFStatusChangeUnSubscribeProcedure ¶
func AMFStatusChangeUnSubscribeProcedure(subscriptionID string) (problemDetails *models.ProblemDetails)
func AmPolicyControlUpdateNotifyTerminateProcedure ¶
func AmPolicyControlUpdateNotifyTerminateProcedure(polAssoID string, terminationNotification models.TerminationNotification) *models.ProblemDetails
func AmPolicyControlUpdateNotifyUpdateProcedure ¶
func AmPolicyControlUpdateNotifyUpdateProcedure(polAssoID string, policyUpdate models.PolicyUpdate) *models.ProblemDetails
func AssignEbiDataProcedure ¶
func AssignEbiDataProcedure(ueContextID string, assignEbiData models.AssignEbiData) ( *models.AssignedEbiData, *models.AssignEbiError, *models.ProblemDetails)
func CreateAMFEventSubscriptionProcedure ¶
func CreateAMFEventSubscriptionProcedure(createEventSubscription models.AmfCreateEventSubscription) ( *models.AmfCreatedEventSubscription, *models.ProblemDetails)
TODO: handle event filter
func CreateUEContextProcedure ¶
func CreateUEContextProcedure(ueContextID string, createUeContextRequest models.CreateUeContextRequest) ( *models.CreateUeContextResponse, *models.UeContextCreateError)
func DeleteAMFEventSubscriptionProcedure ¶
func DeleteAMFEventSubscriptionProcedure(subscriptionID string) *models.ProblemDetails
func HandleAMFStatusChangeSubscribeModify ¶
func HandleAMFStatusChangeSubscribeModify(request *http_wrapper.Request) *http_wrapper.Response
TS 29.518 5.2.2.5.1.3
func HandleAMFStatusChangeSubscribeRequest ¶
func HandleAMFStatusChangeSubscribeRequest(request *http_wrapper.Request) *http_wrapper.Response
TS 29.518 5.2.2.5.1
func HandleAMFStatusChangeUnSubscribeRequest ¶
func HandleAMFStatusChangeUnSubscribeRequest(request *http_wrapper.Request) *http_wrapper.Response
TS 29.518 5.2.2.5.2
func HandleAmPolicyControlUpdateNotifyTerminate ¶
func HandleAmPolicyControlUpdateNotifyTerminate(request *http_wrapper.Request) *http_wrapper.Response
TS 29.507 4.2.4.3
func HandleAmPolicyControlUpdateNotifyUpdate ¶
func HandleAmPolicyControlUpdateNotifyUpdate(request *http_wrapper.Request) *http_wrapper.Response
func HandleAssignEbiDataRequest ¶
func HandleAssignEbiDataRequest(request *http_wrapper.Request) *http_wrapper.Response
TS 29.518 5.2.2.6
func HandleCreateAMFEventSubscription ¶
func HandleCreateAMFEventSubscription(request *http_wrapper.Request) *http_wrapper.Response
func HandleCreateUEContextRequest ¶
func HandleCreateUEContextRequest(request *http_wrapper.Request) *http_wrapper.Response
TS 29.518 5.2.2.2.3
func HandleDeleteAMFEventSubscription ¶
func HandleDeleteAMFEventSubscription(request *http_wrapper.Request) *http_wrapper.Response
func HandleModifyAMFEventSubscription ¶
func HandleModifyAMFEventSubscription(request *http_wrapper.Request) *http_wrapper.Response
func HandleN1MessageNotify ¶
func HandleN1MessageNotify(request *http_wrapper.Request) *http_wrapper.Response
TS 23.502 4.2.2.2.3 Registration with AMF re-allocation
func HandleN1N2MessageSubscirbeRequest ¶
func HandleN1N2MessageSubscirbeRequest(request *http_wrapper.Request) *http_wrapper.Response
TS 29.518 5.2.2.3.3
func HandleN1N2MessageTransferRequest ¶
func HandleN1N2MessageTransferRequest(request *http_wrapper.Request) *http_wrapper.Response
TS23502 4.2.3.3, 4.2.4.3, 4.3.2.2, 4.3.2.3, 4.3.3.2, 4.3.7
func HandleN1N2MessageTransferStatusRequest ¶
func HandleN1N2MessageTransferStatusRequest(request *http_wrapper.Request) *http_wrapper.Response
func HandleN1N2MessageUnSubscribeRequest ¶
func HandleN1N2MessageUnSubscribeRequest(request *http_wrapper.Request) *http_wrapper.Response
func HandleOAMRegisteredUEContext ¶
func HandleOAMRegisteredUEContext(request *http_wrapper.Request) *http_wrapper.Response
func HandleProvideDomainSelectionInfoRequest ¶
func HandleProvideDomainSelectionInfoRequest(request *http_wrapper.Request) *http_wrapper.Response
func HandleProvideLocationInfoRequest ¶
func HandleProvideLocationInfoRequest(request *http_wrapper.Request) *http_wrapper.Response
func HandleRegistrationStatusUpdateRequest ¶
func HandleRegistrationStatusUpdateRequest(request *http_wrapper.Request) *http_wrapper.Response
TS 29.518 5.2.2.2.2
func HandleReleaseUEContextRequest ¶
func HandleReleaseUEContextRequest(request *http_wrapper.Request) *http_wrapper.Response
TS 29.518 5.2.2.2.4
func HandleSmContextStatusNotify ¶
func HandleSmContextStatusNotify(request *http_wrapper.Request) *http_wrapper.Response
func HandleUEContextTransferRequest ¶
func HandleUEContextTransferRequest(request *http_wrapper.Request) *http_wrapper.Response
TS 29.518 5.2.2.2.1
func ModifyAMFEventSubscriptionProcedure ¶
func ModifyAMFEventSubscriptionProcedure( subscriptionID string, modifySubscriptionRequest models.ModifySubscriptionRequest) ( *models.AmfUpdatedEventSubscription, *models.ProblemDetails)
func N1MessageNotifyProcedure ¶
func N1MessageNotifyProcedure(n1MessageNotify models.N1MessageNotify) *models.ProblemDetails
func N1N2MessageSubscribeProcedure ¶
func N1N2MessageSubscribeProcedure(ueContextID string, ueN1N2InfoSubscriptionCreateData models.UeN1N2InfoSubscriptionCreateData) ( *models.UeN1N2InfoSubscriptionCreatedData, *models.ProblemDetails)
func N1N2MessageTransferProcedure ¶
func N1N2MessageTransferProcedure(ueContextID string, reqUri string, n1n2MessageTransferRequest models.N1N2MessageTransferRequest) ( n1n2MessageTransferRspData *models.N1N2MessageTransferRspData, locationHeader string, problemDetails *models.ProblemDetails, transferErr *models.N1N2MessageTransferError)
There are 4 possible return value for this function:
- n1n2MessageTransferRspData: if AMF handle N1N2MessageTransfer Request successfully.
- locationHeader: if response status code is 202, then it will return a non-empty string location header for response
- problemDetails: if AMF reject the request due to application error, e.g. UE context not found.
- TransferErr: if AMF reject the request due to procedure error, e.g. UE has an ongoing procedure.
see TS 29.518 6.1.3.5.3.1 for more details.
func N1N2MessageTransferStatusProcedure ¶
func N1N2MessageTransferStatusProcedure(ueContextID string, reqUri string) (models.N1N2MessageTransferCause, *models.ProblemDetails)
func N1N2MessageUnSubscribeProcedure ¶
func N1N2MessageUnSubscribeProcedure(ueContextID string, subscriptionID string) *models.ProblemDetails
func NewAmfEventReport ¶
func NewAmfEventReport(ue *context.AmfUe, Type models.AmfEventType, subscriptionId string) ( report models.AmfEventReport, ok bool)
DO NOT handle AmfEventType_PRESENCE_IN_AOI_REPORT and AmfEventType_UES_IN_AREA_REPORT(about area)
func ProvideDomainSelectionInfoProcedure ¶
func ProvideDomainSelectionInfoProcedure(ueContextID string, infoClassQuery string, supportedFeaturesQuery string) ( *models.UeContextInfo, *models.ProblemDetails)
func ProvideLocationInfoProcedure ¶
func ProvideLocationInfoProcedure(requestLocInfo models.RequestLocInfo, ueContextID string) ( *models.ProvideLocInfo, *models.ProblemDetails)
func RegistrationStatusUpdateProcedure ¶
func RegistrationStatusUpdateProcedure(ueContextID string, ueRegStatusUpdateReqData models.UeRegStatusUpdateReqData) ( *models.UeRegStatusUpdateRspData, *models.ProblemDetails)
func ReleaseUEContextProcedure ¶
func ReleaseUEContextProcedure(ueContextID string, ueContextRelease models.UeContextRelease) *models.ProblemDetails
func SmContextStatusNotifyProcedure ¶
func SmContextStatusNotifyProcedure(guti string, pduSessionID int32, smContextStatusNotification models.SmContextStatusNotification) *models.ProblemDetails
func UEContextTransferProcedure ¶
func UEContextTransferProcedure(ueContextID string, ueContextTransferRequest models.UeContextTransferRequest) ( *models.UeContextTransferResponse, *models.ProblemDetails)
Types ¶
type PduSession ¶
type UEContext ¶
type UEContext struct { AccessType models.AccessType Supi string Guti string /* Tai */ Mcc string Mnc string Tac string /* PDU sessions */ PduSessions []PduSession /*Connection state */ CmState models.CmState }
type UEContexts ¶
type UEContexts []UEContext
func OAMRegisteredUEContextProcedure ¶
func OAMRegisteredUEContextProcedure(supi string) (UEContexts, *models.ProblemDetails)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.