message

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: Apache-2.0 Imports: 11 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendPDUSessionResourceFailedToModifyListModCfm

func AppendPDUSessionResourceFailedToModifyListModCfm(list *ngapType.PDUSessionResourceFailedToModifyListModCfm,
	pduSessionId int64, transfer []byte)

func AppendPDUSessionResourceModifyListModCfm

func AppendPDUSessionResourceModifyListModCfm(list *ngapType.PDUSessionResourceModifyListModCfm,
	pduSessionId int64, transfer []byte)

func AppendPDUSessionResourceModifyListModReq

func AppendPDUSessionResourceModifyListModReq(list *ngapType.PDUSessionResourceModifyListModReq,
	pduSessionId int32, nasPDU []byte, transfer []byte)

func AppendPDUSessionResourceSetupListCxtReq

func AppendPDUSessionResourceSetupListCxtReq(list *ngapType.PDUSessionResourceSetupListCxtReq,
	pduSessionId int32, snssai models.Snssai, nasPDU []byte, transfer []byte)

func AppendPDUSessionResourceSetupListHOReq

func AppendPDUSessionResourceSetupListHOReq(list *ngapType.PDUSessionResourceSetupListHOReq,
	pduSessionId int32, snssai models.Snssai, transfer []byte)

func AppendPDUSessionResourceSetupListSUReq

func AppendPDUSessionResourceSetupListSUReq(list *ngapType.PDUSessionResourceSetupListSUReq,
	pduSessionId int32, snssai models.Snssai, nasPDU []byte, transfer []byte)

func AppendPDUSessionResourceToReleaseListRelCmd

func AppendPDUSessionResourceToReleaseListRelCmd(list *ngapType.PDUSessionResourceToReleaseListRelCmd,
	pduSessionId int32, transfer []byte)

func BuildAMFConfigurationUpdate

func BuildAMFConfigurationUpdate(tNLassociationUsage ngapType.TNLAssociationUsage,
	tNLAddressWeightFactor ngapType.TNLAddressWeightFactor) ([]byte, error)

Weight Factor associated with each of the TNL association within the AMF

func BuildAMFStatusIndication

func BuildAMFStatusIndication(unavailableGUAMIList ngapType.UnavailableGUAMIList) ([]byte, error)

An AMF shall be able to instruct other peer CP NFs, subscribed to receive such a notification, that it will be unavailable on this AMF and its corresponding target AMF(s). If CP NF does not subscribe to receive AMF unavailable notification, the CP NF may attempt forwarding the transaction towards the old AMF and detect that the AMF is unavailable. When it detects unavailable, it marks the AMF and its associated GUAMI(s) as unavailable. Defined in 23.501 5.21.2.2.2

func BuildDeactivateTrace

func BuildDeactivateTrace(amfUe *context.AmfUe, anType models.AccessType) ([]byte, error)

func BuildDownlinkNasTransport

func BuildDownlinkNasTransport(ue *context.RanUe, nasPdu []byte,
	mobilityRestrictionList *ngapType.MobilityRestrictionList) ([]byte, error)

func BuildDownlinkNonUEAssociatedNRPPATransport

func BuildDownlinkNonUEAssociatedNRPPATransport(
	ue *context.RanUe, nRPPaPDU ngapType.NRPPaPDU) ([]byte, error)

func BuildDownlinkRanConfigurationTransfer

func BuildDownlinkRanConfigurationTransfer(
	sONConfigurationTransfer *ngapType.SONConfigurationTransfer) ([]byte, error)

func BuildDownlinkRanStatusTransfer

func BuildDownlinkRanStatusTransfer(ue *context.RanUe,
	ranStatusTransferTransparentContainer ngapType.RANStatusTransferTransparentContainer) ([]byte, error)

func BuildDownlinkUEAssociatedNRPPaTransport

func BuildDownlinkUEAssociatedNRPPaTransport(ue *context.RanUe, nRPPaPDU ngapType.NRPPaPDU) ([]byte, error)

NRPPa PDU is a pdu from LMF to RAN defined in TS 23.502 4.13.5.5 step 3 NRPPa PDU is by pass

func BuildErrorIndication

func BuildErrorIndication(amfUeNgapId, ranUeNgapId *int64, cause *ngapType.Cause,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

func BuildHandoverCancelAcknowledge

func BuildHandoverCancelAcknowledge(
	ue *context.RanUe, criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

func BuildHandoverCommand

func BuildHandoverCommand(
	sourceUe *context.RanUe,
	pduSessionResourceHandoverList ngapType.PDUSessionResourceHandoverList,
	pduSessionResourceToReleaseList ngapType.PDUSessionResourceToReleaseListHOCmd,
	container ngapType.TargetToSourceTransparentContainer,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

pduSessionResourceHandoverList: provided by amf and transfer is return from smf pduSessionResourceToReleaseList: provided by amf and transfer is return from smf criticalityDiagnostics = criticalityDiagonstics IE in receiver node's error indication when received node can't comprehend the IE or missing IE

func BuildHandoverPreparationFailure

func BuildHandoverPreparationFailure(sourceUe *context.RanUe, cause ngapType.Cause,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

func BuildHandoverRequest

func BuildHandoverRequest(ue *context.RanUe, cause ngapType.Cause,
	pduSessionResourceSetupListHOReq ngapType.PDUSessionResourceSetupListHOReq,
	sourceToTargetTransparentContainer ngapType.SourceToTargetTransparentContainer, nsci bool) ([]byte, error)

The PGW-C+SMF (V-SMF in the case of home-routed roaming scenario only) sends a Nsmf_PDUSession_CreateSMContext Response(N2 SM Information (PDU Session ID, cause code)) to the AMF. Cause is from SMF pduSessionResourceSetupList provided by AMF, and the transfer data is from SMF sourceToTargetTransparentContainer is received from S-RAN nsci: new security context indicator, if amfUe has updated security context, set nsci to true, otherwise set to false

func BuildIEMobilityRestrictionList

func BuildIEMobilityRestrictionList(ue *context.AmfUe) ngapType.MobilityRestrictionList

func BuildInitialContextSetupRequest

func BuildInitialContextSetupRequest(
	amfUe *context.AmfUe,
	anType models.AccessType,
	nasPdu []byte,
	pduSessionResourceSetupRequestList *ngapType.PDUSessionResourceSetupListCxtReq,
	rrcInactiveTransitionReportRequest *ngapType.RRCInactiveTransitionReportRequest,
	coreNetworkAssistanceInfo *ngapType.CoreNetworkAssistanceInformation,
	emergencyFallbackIndicator *ngapType.EmergencyFallbackIndicator) ([]byte, error)

func BuildLocationReportingControl

func BuildLocationReportingControl(
	ue *context.RanUe,
	AOIList *ngapType.AreaOfInterestList,
	LocationReportingReferenceIDToBeCancelled int64,
	eventType ngapType.EventType) ([]byte, error)

AOI List is from SMF The SMF may subscribe to the UE mobility event notification from the AMF (e.g. location reporting, UE moving into or out of Area Of Interest) TS 23.502 4.3.2.2.1 Step.17 The Location Reporting Control message shall identify the UE for which reports are requested and may include Reporting Type, Location Reporting Level, Area Of Interest and Request Reference ID TS 23.502 4.10 LocationReportingProcedure The AMF may request the NG-RAN location reporting with event reporting type (e.g. UE location or UE presence in Area of Interest), reporting mode and its related parameters (e.g. number of reporting) TS 23.501 5.4.7 Location Reference ID To Be Cancelled IE shall be present if the Event Type IE is set to "Stop UE presence in the area of interest".

func BuildNGReset

func BuildNGReset(
	cause ngapType.Cause, partOfNGInterface *ngapType.UEAssociatedLogicalNGConnectionList) ([]byte, error)

func BuildNGResetAcknowledge

func BuildNGResetAcknowledge(partOfNGInterface *ngapType.UEAssociatedLogicalNGConnectionList,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

func BuildNGSetupFailure

func BuildNGSetupFailure(cause ngapType.Cause) ([]byte, error)

func BuildNGSetupResponse

func BuildNGSetupResponse() ([]byte, error)

func BuildOverloadStart

func BuildOverloadStart(
	amfOverloadResponse *ngapType.OverloadResponse,
	amfTrafficLoadReductionIndication int64,
	overloadStartNSSAIList *ngapType.OverloadStartNSSAIList) ([]byte, error)

TS 23.501 5.19.5.2 amfOverloadResponse: the required behaviour of NG-RAN, provided by AMF amfTrafficLoadReductionIndication(int 1~99): indicates the percentage of the type of traffic relative to the instantaneous incoming rate at the NG-RAN node, provided by AMF overloadStartNSSAIList: overload slices, provide by AMF

func BuildOverloadStop

func BuildOverloadStop() ([]byte, error)

func BuildPDUSessionResourceModifyConfirm

func BuildPDUSessionResourceModifyConfirm(
	ue *context.RanUe,
	pduSessionResourceModifyConfirmList ngapType.PDUSessionResourceModifyListModCfm,
	pduSessionResourceFailedToModifyList ngapType.PDUSessionResourceFailedToModifyListModCfm,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

pduSessionResourceModifyConfirmList: provided by AMF, and transfer data is return from SMF pduSessionResourceFailedToModifyList: provided by AMF, and transfer data is return from SMF

func BuildPDUSessionResourceModifyRequest

func BuildPDUSessionResourceModifyRequest(ue *context.RanUe,
	pduSessionResourceModifyRequestList ngapType.PDUSessionResourceModifyListModReq) ([]byte, error)

pduSessionResourceModifyRequestList: from SMF

func BuildPDUSessionResourceReleaseCommand

func BuildPDUSessionResourceReleaseCommand(ue *context.RanUe, nasPdu []byte,
	pduSessionResourceReleasedList ngapType.PDUSessionResourceToReleaseListRelCmd) ([]byte, error)

func BuildPDUSessionResourceSetupRequest

func BuildPDUSessionResourceSetupRequest(ue *context.RanUe, nasPdu []byte,
	pduSessionResourceSetupRequestList ngapType.PDUSessionResourceSetupListSUReq) ([]byte, error)

nasPDU: from nas layer pduSessionResourceSetupRequestList: provided by AMF, and transfer data is from SMF

func BuildPaging

func BuildPaging(
	ue *context.AmfUe, pagingPriority *ngapType.PagingPriority, pagingOriginNon3GPP bool) ([]byte, error)

anType indicate amfUe send this msg for which accessType Paging Priority: is included only if the AMF receives an Namf_Communication_N1N2MessageTransfer message with an ARP value associated with priority services (e.g., MPS, MCS), as configured by the operator. (TS 23.502 4.2.3.3, TS 23.501 5.22.3) pagingOriginNon3GPP: TS 23.502 4.2.3.3 step 4b: If the UE is simultaneously registered over 3GPP and non-3GPP accesses in the same PLMN, the UE is in CM-IDLE state in both 3GPP access and non-3GPP access, and the PDU Session ID in step 3a is associated with non-3GPP access, the AMF sends a Paging message with associated access "non-3GPP" to NG-RAN node(s) via 3GPP access. more paging policy with 3gpp/non-3gpp access is described in TS 23.501 5.6.8

func BuildPathSwitchRequestAcknowledge

func BuildPathSwitchRequestAcknowledge(
	ue *context.RanUe,
	pduSessionResourceSwitchedList ngapType.PDUSessionResourceSwitchedList,
	pduSessionResourceReleasedList ngapType.PDUSessionResourceReleasedListPSAck,
	newSecurityContextIndicator bool,
	coreNetworkAssistanceInformation *ngapType.CoreNetworkAssistanceInformation,
	rrcInactiveTransitionReportRequest *ngapType.RRCInactiveTransitionReportRequest,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

pduSessionResourceSwitchedList: provided by AMF, and the transfer data is from SMF pduSessionResourceReleasedList: provided by AMF, and the transfer data is from SMF newSecurityContextIndicator: if AMF has activated a new 5G NAS security context, set it to true, otherwise set to false coreNetworkAssistanceInformation: provided by AMF, based on collection of UE behaviour statistics and/or other available information about the expected UE behaviour. TS 23.501 5.4.6, 5.4.6.2 rrcInactiveTransitionReportRequest: configured by amf criticalityDiagnostics: from received node when received not comprehended IE or missing IE

func BuildPathSwitchRequestFailure

func BuildPathSwitchRequestFailure(
	amfUeNgapId,
	ranUeNgapId int64,
	pduSessionResourceReleasedList *ngapType.PDUSessionResourceReleasedListPSFail,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

pduSessionResourceReleasedList: provided by AMF, and the transfer data is from SMF criticalityDiagnostics: from received node when received not comprehended IE or missing IE

func BuildRanConfigurationUpdateAcknowledge

func BuildRanConfigurationUpdateAcknowledge(
	criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

func BuildRanConfigurationUpdateFailure

func BuildRanConfigurationUpdateFailure(
	cause ngapType.Cause, criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

func BuildRerouteNasRequest

func BuildRerouteNasRequest(ue *context.AmfUe, anType models.AccessType, amfUeNgapID *int64,
	ngapMessage []byte, allowedNSSAI *ngapType.AllowedNSSAI) ([]byte, error)

TS 23.502 4.2.2.2.3 anType: indicate amfUe send this msg for which accessType amfUeNgapID: initial AMF get it from target AMF ngapMessage: initial UE Message to reroute allowedNSSAI: provided by AMF, and AMF get it from NSSF (4.2.2.2.3 step 4b)

func BuildTraceStart

func BuildTraceStart() ([]byte, error)

func BuildUEContextModificationRequest

func BuildUEContextModificationRequest(
	amfUe *context.AmfUe,
	anType models.AccessType,
	oldAmfUeNgapID *int64,
	rrcInactiveTransitionReportRequest *ngapType.RRCInactiveTransitionReportRequest,
	coreNetworkAssistanceInfo *ngapType.CoreNetworkAssistanceInformation,
	mobilityRestrictionList *ngapType.MobilityRestrictionList,
	emergencyFallbackIndicator *ngapType.EmergencyFallbackIndicator) ([]byte, error)

func BuildUEContextReleaseCommand

func BuildUEContextReleaseCommand(
	ue *context.RanUe, causePresent int, cause aper.Enumerated) ([]byte, error)

func BuildUERadioCapabilityCheckRequest

func BuildUERadioCapabilityCheckRequest(ue *context.RanUe) ([]byte, error)

func BuildUETNLABindingReleaseRequest

func BuildUETNLABindingReleaseRequest(ue *context.RanUe) ([]byte, error)

func BuildUnavailableGUAMIList

func BuildUnavailableGUAMIList(guamiList []models.Guami) (unavailableGUAMIList ngapType.UnavailableGUAMIList)

func NasSendToRan

func NasSendToRan(ue *context.AmfUe, accessType models.AccessType, packet []byte)

func SendAMFConfigurationUpdate

func SendAMFConfigurationUpdate(ran *context.AmfRan, usage ngapType.TNLAssociationUsage,
	weightfactor ngapType.TNLAddressWeightFactor)

Weight Factor associated with each of the TNL association within the AMF

func SendAMFStatusIndication

func SendAMFStatusIndication(ran *context.AmfRan, unavailableGUAMIList ngapType.UnavailableGUAMIList)

An AMF shall be able to instruct other peer CP NFs, subscribed to receive such a notification, that it will be unavailable on this AMF and its corresponding target AMF(s). If CP NF does not subscribe to receive AMF unavailable notification, the CP NF may attempt forwarding the transaction towards the old AMF and detect that the AMF is unavailable. When it detects unavailable, it marks the AMF and its associated GUAMI(s) as unavailable. Defined in 23.501 5.21.2.2.2

func SendDeactivateTrace

func SendDeactivateTrace(amfUe *context.AmfUe, anType models.AccessType)

func SendDownlinkNasTransport

func SendDownlinkNasTransport(ue *context.RanUe, nasPdu []byte,
	mobilityRestrictionList *ngapType.MobilityRestrictionList)

func SendDownlinkNonUEAssociatedNRPPATransport

func SendDownlinkNonUEAssociatedNRPPATransport(ue *context.RanUe, nRPPaPDU ngapType.NRPPaPDU)

NRPPa PDU is by pass NRPPa PDU is from LMF define in 4.13.5.6

func SendDownlinkRanConfigurationTransfer

func SendDownlinkRanConfigurationTransfer(ran *context.AmfRan, transfer *ngapType.SONConfigurationTransfer)

SONConfigurationTransfer = sONConfigurationTransfer from uplink Ran Configuration Transfer

func SendDownlinkRanStatusTransfer

func SendDownlinkRanStatusTransfer(ue *context.RanUe, container ngapType.RANStatusTransferTransparentContainer)

RanStatusTransferTransparentContainer from Uplink Ran Configuration Transfer

func SendDownlinkUEAssociatedNRPPaTransport

func SendDownlinkUEAssociatedNRPPaTransport(ue *context.RanUe, nRPPaPDU ngapType.NRPPaPDU)

NRPPa PDU is a pdu from LMF to RAN defined in TS 23.502 4.13.5.5 step 3 NRPPa PDU is by pass

func SendErrorIndication

func SendErrorIndication(ran *context.AmfRan, amfUeNgapId, ranUeNgapId *int64, cause *ngapType.Cause,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics)

func SendHandoverCancelAcknowledge

func SendHandoverCancelAcknowledge(ue *context.RanUe, criticalityDiagnostics *ngapType.CriticalityDiagnostics)

func SendHandoverCommand

func SendHandoverCommand(
	sourceUe *context.RanUe,
	pduSessionResourceHandoverList ngapType.PDUSessionResourceHandoverList,
	pduSessionResourceToReleaseList ngapType.PDUSessionResourceToReleaseListHOCmd,
	container ngapType.TargetToSourceTransparentContainer,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics)

pduSessionResourceHandoverList: provided by amf and transfer is return from smf pduSessionResourceToReleaseList: provided by amf and transfer is return from smf criticalityDiagnostics = criticalityDiagonstics IE in receiver node's error indication when received node can't comprehend the IE or missing IE

func SendHandoverPreparationFailure

func SendHandoverPreparationFailure(sourceUe *context.RanUe, cause ngapType.Cause,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics)

cause = initiate the Handover Cancel procedure with the appropriate value for the Cause IE. criticalityDiagnostics = criticalityDiagonstics IE in receiver node's error indication when received node can't comprehend the IE or missing IE

func SendHandoverRequest

func SendHandoverRequest(sourceUe *context.RanUe, targetRan *context.AmfRan, cause ngapType.Cause,
	pduSessionResourceSetupListHOReq ngapType.PDUSessionResourceSetupListHOReq,
	sourceToTargetTransparentContainer ngapType.SourceToTargetTransparentContainer, nsci bool)

The PGW-C+SMF (V-SMF in the case of home-routed roaming scenario only) sends a Nsmf_PDUSession_CreateSMContext Response(N2 SM Information (PDU Session ID, cause code)) to the AMF. Cause is from SMF pduSessionResourceSetupList provided by AMF, and the transfer data is from SMF sourceToTargetTransparentContainer is received from S-RAN nsci: new security context indicator, if amfUe has updated security context, set nsci to true, otherwise set to false N2 handover in same AMF

func SendInitialContextSetupRequest

func SendInitialContextSetupRequest(
	amfUe *context.AmfUe,
	anType models.AccessType,
	nasPdu []byte,
	pduSessionResourceSetupRequestList *ngapType.PDUSessionResourceSetupListCxtReq,
	rrcInactiveTransitionReportRequest *ngapType.RRCInactiveTransitionReportRequest,
	coreNetworkAssistanceInfo *ngapType.CoreNetworkAssistanceInformation,
	emergencyFallbackIndicator *ngapType.EmergencyFallbackIndicator)

func SendLocationReportingControl

func SendLocationReportingControl(
	ue *context.RanUe,
	AOIList *ngapType.AreaOfInterestList,
	LocationReportingReferenceIDToBeCancelled int64,
	eventType ngapType.EventType)

AOI List is from SMF The SMF may subscribe to the UE mobility event notification from the AMF (e.g. location reporting, UE moving into or out of Area Of Interest) TS 23.502 4.3.2.2.1 Step.17 The Location Reporting Control message shall identify the UE for which reports are requested and may include Reporting Type, Location Reporting Level, Area Of Interest and Request Reference ID TS 23.502 4.10 LocationReportingProcedure The AMF may request the NG-RAN location reporting with event reporting type (e.g. UE location or UE presence in Area of Interest), reporting mode and its related parameters (e.g. number of reporting) TS 23.501 5.4.7 Location Reference ID To Be Cancelled IE shall be present if the Event Type IE is set to "Stop UE presence in the area of interest". otherwise set it to 0

func SendNGReset

func SendNGReset(ran *context.AmfRan, cause ngapType.Cause,
	partOfNGInterface *ngapType.UEAssociatedLogicalNGConnectionList)

partOfNGInterface: if reset type is "reset all", set it to nil TS 38.413 9.2.6.11

func SendNGResetAcknowledge

func SendNGResetAcknowledge(ran *context.AmfRan, partOfNGInterface *ngapType.UEAssociatedLogicalNGConnectionList,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics)

func SendNGSetupFailure

func SendNGSetupFailure(ran *context.AmfRan, cause ngapType.Cause)

func SendNGSetupResponse

func SendNGSetupResponse(ran *context.AmfRan)

func SendOverloadStart

func SendOverloadStart(
	ran *context.AmfRan,
	amfOverloadResponse *ngapType.OverloadResponse,
	amfTrafficLoadReductionIndication int64,
	overloadStartNSSAIList *ngapType.OverloadStartNSSAIList)

TS 23.501 5.19.5.2 amfOverloadResponse: the required behaviour of NG-RAN, provided by AMF amfTrafficLoadReductionIndication(int 1~99): indicates the percentage of the type, set to 0 if does not need this ie of traffic relative to the instantaneous incoming rate at the NG-RAN node, provided by AMF overloadStartNSSAIList: overload slices, provide by AMF

func SendOverloadStop

func SendOverloadStop(ran *context.AmfRan)

func SendPDUSessionResourceModifyConfirm

func SendPDUSessionResourceModifyConfirm(
	ue *context.RanUe,
	pduSessionResourceModifyConfirmList ngapType.PDUSessionResourceModifyListModCfm,
	pduSessionResourceFailedToModifyList ngapType.PDUSessionResourceFailedToModifyListModCfm,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics)

pduSessionResourceModifyConfirmList: provided by AMF, and transfer data is return from SMF pduSessionResourceFailedToModifyList: provided by AMF, and transfer data is return from SMF

func SendPDUSessionResourceModifyRequest

func SendPDUSessionResourceModifyRequest(ue *context.RanUe,
	pduSessionResourceModifyRequestList ngapType.PDUSessionResourceModifyListModReq)

pduSessionResourceModifyRequestList: from SMF

func SendPDUSessionResourceReleaseCommand

func SendPDUSessionResourceReleaseCommand(ue *context.RanUe, nasPdu []byte,
	pduSessionResourceReleasedList ngapType.PDUSessionResourceToReleaseListRelCmd)

func SendPDUSessionResourceSetupRequest

func SendPDUSessionResourceSetupRequest(ue *context.RanUe, nasPdu []byte,
	pduSessionResourceSetupRequestList ngapType.PDUSessionResourceSetupListSUReq)

nasPDU: from nas layer pduSessionResourceSetupRequestList: provided by AMF, and transfer data is from SMF

func SendPaging

func SendPaging(ue *context.AmfUe, ngapBuf []byte)

anType indicate amfUe send this msg for which accessType Paging Priority: is included only if the AMF receives an Namf_Communication_N1N2MessageTransfer message with an ARP value associated with priority services (e.g., MPS, MCS), as configured by the operator. (TS 23.502 4.2.3.3, TS 23.501 5.22.3) pagingOriginNon3GPP: TS 23.502 4.2.3.3 step 4b: If the UE is simultaneously registered over 3GPP and non-3GPP accesses in the same PLMN, the UE is in CM-IDLE state in both 3GPP access and non-3GPP access, and the PDU Session ID in step 3a is associated with non-3GPP access, the AMF sends a Paging message with associated access "non-3GPP" to NG-RAN node(s) via 3GPP access. more paging policy with 3gpp/non-3gpp access is described in TS 23.501 5.6.8

func SendPathSwitchRequestAcknowledge

func SendPathSwitchRequestAcknowledge(
	ue *context.RanUe,
	pduSessionResourceSwitchedList ngapType.PDUSessionResourceSwitchedList,
	pduSessionResourceReleasedList ngapType.PDUSessionResourceReleasedListPSAck,
	newSecurityContextIndicator bool,
	coreNetworkAssistanceInformation *ngapType.CoreNetworkAssistanceInformation,
	rrcInactiveTransitionReportRequest *ngapType.RRCInactiveTransitionReportRequest,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics)

pduSessionResourceSwitchedList: provided by AMF, and the transfer data is from SMF pduSessionResourceReleasedList: provided by AMF, and the transfer data is from SMF newSecurityContextIndicator: if AMF has activated a new 5G NAS security context, set it to true, otherwise set to false coreNetworkAssistanceInformation: provided by AMF, based on collection of UE behaviour statistics and/or other available information about the expected UE behaviour. TS 23.501 5.4.6, 5.4.6.2 rrcInactiveTransitionReportRequest: configured by amf criticalityDiagnostics: from received node when received not comprehended IE or missing IE

func SendPathSwitchRequestFailure

func SendPathSwitchRequestFailure(
	ran *context.AmfRan,
	amfUeNgapId,
	ranUeNgapId int64,
	pduSessionResourceReleasedList *ngapType.PDUSessionResourceReleasedListPSFail,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics)

pduSessionResourceReleasedList: provided by AMF, and the transfer data is from SMF criticalityDiagnostics: from received node when received not comprehended IE or missing IE

func SendRanConfigurationUpdateAcknowledge

func SendRanConfigurationUpdateAcknowledge(
	ran *context.AmfRan, criticalityDiagnostics *ngapType.CriticalityDiagnostics)

criticality ->from received node when received node can't comprehend the IE or missing IE

func SendRanConfigurationUpdateFailure

func SendRanConfigurationUpdateFailure(ran *context.AmfRan, cause ngapType.Cause,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics)

criticality ->from received node when received node can't comprehend the IE or missing IE If the AMF cannot accept the update, it shall respond with a RAN CONFIGURATION UPDATE FAILURE message and appropriate cause value.

func SendRerouteNasRequest

func SendRerouteNasRequest(ue *context.AmfUe, anType models.AccessType, amfUeNgapID *int64, ngapMessage []byte,
	allowedNSSAI *ngapType.AllowedNSSAI)

TS 23.502 4.2.2.2.3 anType: indicate amfUe send this msg for which accessType amfUeNgapID: initial AMF get it from target AMF ngapMessage: initial UE Message to reroute allowedNSSAI: provided by AMF, and AMF get it from NSSF (4.2.2.2.3 step 4b)

func SendToRan

func SendToRan(ran *context.AmfRan, packet []byte)

func SendToRanUe

func SendToRanUe(ue *context.RanUe, packet []byte)

func SendUEContextModificationRequest

func SendUEContextModificationRequest(
	amfUe *context.AmfUe,
	anType models.AccessType,
	oldAmfUeNgapID *int64,
	rrcInactiveTransitionReportRequest *ngapType.RRCInactiveTransitionReportRequest,
	coreNetworkAssistanceInfo *ngapType.CoreNetworkAssistanceInformation,
	mobilityRestrictionList *ngapType.MobilityRestrictionList,
	emergencyFallbackIndicator *ngapType.EmergencyFallbackIndicator)

func SendUEContextReleaseCommand

func SendUEContextReleaseCommand(ue *context.RanUe, action context.RelAction, causePresent int, cause aper.Enumerated)

func SendUERadioCapabilityCheckRequest

func SendUERadioCapabilityCheckRequest(ue *context.RanUe)

func SendUETNLABindingReleaseRequest

func SendUETNLABindingReleaseRequest(ue *context.RanUe)

Types

This section is empty.

Jump to

Keyboard shortcuts

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