ngap_message

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

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 *amf_context.AmfUe, anType models.AccessType) ([]byte, error)

func BuildDownlinkNasTransport

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

func BuildDownlinkNonUEAssociatedNRPPATransport

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

func BuildDownlinkRanConfigurationTransfer

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

func BuildDownlinkRanStatusTransfer

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

func BuildDownlinkUEAssociatedNRPPaTransport

func BuildDownlinkUEAssociatedNRPPaTransport(ue *amf_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 *amf_context.RanUe, criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

func BuildHandoverCommand

func BuildHandoverCommand(
	sourceUe *amf_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 *amf_context.RanUe, cause ngapType.Cause, criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)

func BuildHandoverRequest

func BuildHandoverRequest(ue *amf_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 *amf_context.AmfUe) (mobilityRestrictionList ngapType.MobilityRestrictionList)

func BuildInitialContextSetupRequest

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

func BuildLocationReportingControl

func BuildLocationReportingControl(
	ue *amf_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 *amf_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 *amf_context.RanUe, pduSessionResourceModifyRequestList ngapType.PDUSessionResourceModifyListModReq) ([]byte, error)

pduSessionResourceModifyRequestList: from SMF

func BuildPDUSessionResourceReleaseCommand

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

func BuildPDUSessionResourceSetupRequest

func BuildPDUSessionResourceSetupRequest(ue *amf_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 *amf_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 *amf_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 *amf_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 *amf_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 *amf_context.RanUe, causePresent int, cause aper.Enumerated) ([]byte, error)

func BuildUERadioCapabilityCheckRequest

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

func BuildUETNLABindingReleaseRequest

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

func BuildUnavailableGUAMIList

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

func NasSendToRan

func NasSendToRan(ue *amf_context.AmfUe, packet []byte)

func SendAMFConfigurationUpdate

func SendAMFConfigurationUpdate(ran *amf_context.AmfRan, tNLassociationUsage ngapType.TNLAssociationUsage, tNLAddressWeightFactor ngapType.TNLAddressWeightFactor)

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

func SendAMFStatusIndication

func SendAMFStatusIndication(ran *amf_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 *amf_context.AmfUe, anType models.AccessType)

func SendDownlinkNasTransport

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

func SendDownlinkNonUEAssociatedNRPPATransport

func SendDownlinkNonUEAssociatedNRPPATransport(ue *amf_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 *amf_context.AmfRan, sONConfigurationTransfer *ngapType.SONConfigurationTransfer)

sONConfigurationTransfer = sONConfigurationTransfer from uplink Ran Configuration Transfer

func SendDownlinkRanStatusTransfer

func SendDownlinkRanStatusTransfer(ue *amf_context.RanUe, ranStatusTransferTransparentContainer ngapType.RANStatusTransferTransparentContainer)

ranStatusTransferTransparentContainer from Uplink Ran Configuration Transfer

func SendDownlinkUEAssociatedNRPPaTransport

func SendDownlinkUEAssociatedNRPPaTransport(ue *amf_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 *amf_context.AmfRan, amfUeNgapId, ranUeNgapId *int64, cause *ngapType.Cause, criticalityDiagnostics *ngapType.CriticalityDiagnostics)

func SendHandoverCancelAcknowledge

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

func SendHandoverCommand

func SendHandoverCommand(
	sourceUe *amf_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 *amf_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 *amf_context.RanUe, targetRan *amf_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 *amf_context.AmfUe,
	anType models.AccessType,
	nasPdu []byte,
	oldAmf *string,
	pduSessionResourceSetupRequestList *ngapType.PDUSessionResourceSetupListCxtReq,
	rrcInactiveTransitionReportRequest *ngapType.RRCInactiveTransitionReportRequest,
	coreNetworkAssistanceInfo *ngapType.CoreNetworkAssistanceInformation,
	emergencyFallbackIndicator *ngapType.EmergencyFallbackIndicator)

func SendLocationReportingControl

func SendLocationReportingControl(
	ue *amf_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 *amf_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 *amf_context.AmfRan, partOfNGInterface *ngapType.UEAssociatedLogicalNGConnectionList, criticalityDiagnostics *ngapType.CriticalityDiagnostics)

func SendNGSetupFailure

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

func SendNGSetupResponse

func SendNGSetupResponse(ran *amf_context.AmfRan)

func SendOverloadStart

func SendOverloadStart(
	ran *amf_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 *amf_context.AmfRan)

func SendPDUSessionResourceModifyConfirm

func SendPDUSessionResourceModifyConfirm(
	ue *amf_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 *amf_context.RanUe, pduSessionResourceModifyRequestList ngapType.PDUSessionResourceModifyListModReq)

pduSessionResourceModifyRequestList: from SMF

func SendPDUSessionResourceReleaseCommand

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

func SendPDUSessionResourceSetupRequest

func SendPDUSessionResourceSetupRequest(ue *amf_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 *amf_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 *amf_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 *amf_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 *amf_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 *amf_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 *amf_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 *amf_context.AmfRan, packet []byte)

func SendToRanUe

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

func SendUEContextModificationRequest

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

func SendUEContextReleaseCommand

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

func SendUERadioCapabilityCheckRequest

func SendUERadioCapabilityCheckRequest(ue *amf_context.RanUe)

func SendUETNLABindingReleaseRequest

func SendUETNLABindingReleaseRequest(ue *amf_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