ngapTestpacket

package
v3.0.0+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

TODO: check test data

Functions

func BuildAMFConfigurationUpdate

func BuildAMFConfigurationUpdate(amfName string, guamiList []ngapType.ServedGUAMIItem, plmnList []ngapType.PLMNSupportItem, amfRelativeCapacity int64,
	addList *ngapType.AMFTNLAssociationToAddList, removeList *ngapType.AMFTNLAssociationToRemoveList, updateList *ngapType.AMFTNLAssociationToUpdateList) (pdu ngapType.NGAPPDU)

func BuildAMFConfigurationUpdateAcknowledge

func BuildAMFConfigurationUpdateAcknowledge() (pdu ngapType.NGAPPDU)

func BuildAMFConfigurationUpdateFailure

func BuildAMFConfigurationUpdateFailure() (pdu ngapType.NGAPPDU)

func BuildAMFStatusIndication

func BuildAMFStatusIndication() (pdu ngapType.NGAPPDU)

func BuildCellTrafficTrace

func BuildCellTrafficTrace(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildErrorIndication

func BuildErrorIndication() (pdu ngapType.NGAPPDU)

func BuildHandoverCancel

func BuildHandoverCancel() (pdu ngapType.NGAPPDU)

func BuildHandoverFailure

func BuildHandoverFailure(amfUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildHandoverNotify

func BuildHandoverNotify(amfUeNgapID int64, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildHandoverRequestAcknowledge

func BuildHandoverRequestAcknowledge(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildHandoverRequired

func BuildHandoverRequired(amfUeNgapID, ranUeNgapID int64, targetGNBID []byte, targetCellID []byte) (pdu ngapType.NGAPPDU)

func BuildInitialContextSetupFailure

func BuildInitialContextSetupFailure(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildInitialContextSetupResponse

func BuildInitialContextSetupResponse(amfUeNgapID, ranUeNgapID int64, ipv4 string, pduSessionFailedList *ngapType.PDUSessionResourceFailedToSetupListCxtRes) (pdu ngapType.NGAPPDU)

func BuildInitialContextSetupResponseForRegistraionTest

func BuildInitialContextSetupResponseForRegistraionTest(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildInitialUEMessage

func BuildInitialUEMessage(ranUeNgapID int64, nasPdu []byte, fiveGSTmsi string) (pdu ngapType.NGAPPDU)

func BuildLocationReport

func BuildLocationReport() (pdu ngapType.NGAPPDU)

func BuildLocationReportingFailureIndication

func BuildLocationReportingFailureIndication() (pdu ngapType.NGAPPDU)

func BuildNGReset

func BuildNGReset(partOfNGInterface *ngapType.UEAssociatedLogicalNGConnectionList) (pdu ngapType.NGAPPDU)

func BuildNGResetAcknowledge

func BuildNGResetAcknowledge() (pdu ngapType.NGAPPDU)

func BuildNGSetupRequest

func BuildNGSetupRequest() (pdu ngapType.NGAPPDU)

func BuildNGSetupResponse

func BuildNGSetupResponse(amfName string, guamiList []ngapType.ServedGUAMIItem, plmnList []ngapType.PLMNSupportItem, amfRelativeCapacity int64) (pdu ngapType.NGAPPDU)

func BuildNasNonDeliveryIndication

func BuildNasNonDeliveryIndication(amfUeNgapID, ranUeNgapID int64, naspdu aper.OctetString) (pdu ngapType.NGAPPDU)

func BuildOverloadStart

func BuildOverloadStart(
	action *ngapType.OverloadAction,
	ind *int64,
	list []ngapType.OverloadStartNSSAIItem) (pdu ngapType.NGAPPDU)

func BuildOverloadStop

func BuildOverloadStop() (pdu ngapType.NGAPPDU)

func BuildPDUSessionResourceModifyConfirm

func BuildPDUSessionResourceModifyConfirm(
	amfUeNgapId int64,
	ranUeNgapId int64,
	pduSessionResourceModifyConfirmList ngapType.PDUSessionResourceModifyListModCfm,
	pduSessionResourceFailedToModifyList ngapType.PDUSessionResourceFailedToModifyListModCfm,
	criticalityDiagnostics *ngapType.CriticalityDiagnostics) (pdu ngapType.NGAPPDU)

func BuildPDUSessionResourceModifyIndication

func BuildPDUSessionResourceModifyIndication(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildPDUSessionResourceModifyResponse

func BuildPDUSessionResourceModifyResponse(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildPDUSessionResourceNotify

func BuildPDUSessionResourceNotify() (pdu ngapType.NGAPPDU)

func BuildPDUSessionResourceReleaseCommand

func BuildPDUSessionResourceReleaseCommand(
	amfUeNgapId int64,
	ranUeNgapId int64,
	pagingPriority *ngapType.RANPagingPriority,
	nasPdu []byte,
	pduSessionResourceReleasedList ngapType.PDUSessionResourceToReleaseListRelCmd) (pdu ngapType.NGAPPDU)

func BuildPDUSessionResourceReleaseResponse

func BuildPDUSessionResourceReleaseResponse() (pdu ngapType.NGAPPDU)

func BuildPDUSessionResourceReleaseResponseForReleaseTest

func BuildPDUSessionResourceReleaseResponseForReleaseTest(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildPDUSessionResourceSetupResponse

func BuildPDUSessionResourceSetupResponse(amfUeNgapID, ranUeNgapID int64, ipv4 string) (pdu ngapType.NGAPPDU)

func BuildPDUSessionResourceSetupResponseForPaging

func BuildPDUSessionResourceSetupResponseForPaging(amfUeNgapID, ranUeNgapID int64, ipv4 string) (pdu ngapType.NGAPPDU)

func BuildPDUSessionResourceSetupResponseForRegistrationTest

func BuildPDUSessionResourceSetupResponseForRegistrationTest(amfUeNgapID, ranUeNgapID int64, ipv4 string) (pdu ngapType.NGAPPDU)

func BuildPathSwitchRequest

func BuildPathSwitchRequest(sourceAmfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildRRCInactiveTransitionReport

func BuildRRCInactiveTransitionReport() (pdu ngapType.NGAPPDU)

func BuildRanConfigurationUpdate

func BuildRanConfigurationUpdate() (pdu ngapType.NGAPPDU)

func BuildRanConfigurationUpdateAck

func BuildRanConfigurationUpdateAck(diagnostics *ngapType.CriticalityDiagnostics) (pdu ngapType.NGAPPDU)

func BuildRanConfigurationUpdateFailure

func BuildRanConfigurationUpdateFailure(
	time *ngapType.TimeToWait,
	diagnostics *ngapType.CriticalityDiagnostics) (pdu ngapType.NGAPPDU)

func BuildUEContextModificationFailure

func BuildUEContextModificationFailure(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildUEContextModificationResponse

func BuildUEContextModificationResponse(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildUEContextReleaseComplete

func BuildUEContextReleaseComplete(amfUeNgapID, ranUeNgapID int64, pduSessionIDList []int64) (pdu ngapType.NGAPPDU)

func BuildUEContextReleaseRequest

func BuildUEContextReleaseRequest(amfUeNgapID, ranUeNgapID int64, pduSessionIDList []int64) (pdu ngapType.NGAPPDU)

func BuildUERadioCapabilityCheckRequest

func BuildUERadioCapabilityCheckRequest(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildUERadioCapabilityCheckResponse

func BuildUERadioCapabilityCheckResponse() (pdu ngapType.NGAPPDU)

func BuildUERadioCapabilityInfoIndication

func BuildUERadioCapabilityInfoIndication() (pdu ngapType.NGAPPDU)

func BuildUETNLABindingReleaseRequest

func BuildUETNLABindingReleaseRequest() (pdu ngapType.NGAPPDU)

func BuildUplinkNasTransport

func BuildUplinkNasTransport(amfUeNgapID, ranUeNgapID int64, nasPdu []byte) (pdu ngapType.NGAPPDU)

func BuildUplinkNonUEAssociatedNRPPATransport

func BuildUplinkNonUEAssociatedNRPPATransport() (pdu ngapType.NGAPPDU)

func BuildUplinkRanConfigurationTransfer

func BuildUplinkRanConfigurationTransfer() (pdu ngapType.NGAPPDU)

func BuildUplinkRanStatusTransfer

func BuildUplinkRanStatusTransfer(amfUeNgapID, ranUeNgapID int64) (pdu ngapType.NGAPPDU)

func BuildUplinkUEAssociatedNRPPATransport

func BuildUplinkUEAssociatedNRPPATransport() (pdu ngapType.NGAPPDU)

func GetHandoverRequestAcknowledgeTransfer

func GetHandoverRequestAcknowledgeTransfer() []byte

func GetHandoverRequiredTransfer

func GetHandoverRequiredTransfer() []byte

func GetHandoverResourceAllocationUnsuccessfulTransfer

func GetHandoverResourceAllocationUnsuccessfulTransfer() []byte

func GetPDUSessionResourceModifyConfirmTransfer

func GetPDUSessionResourceModifyConfirmTransfer(qfis []int64) []byte

func GetPDUSessionResourceModifyIndicationTransfer

func GetPDUSessionResourceModifyIndicationTransfer() []byte

func GetPDUSessionResourceModifyIndicationUnsuccessfulTransfer

func GetPDUSessionResourceModifyIndicationUnsuccessfulTransfer() []byte

func GetPDUSessionResourceModifyResponseTransfer

func GetPDUSessionResourceModifyResponseTransfer() []byte

func GetPDUSessionResourceModifyUnsuccessfulTransfer

func GetPDUSessionResourceModifyUnsuccessfulTransfer() []byte

func GetPDUSessionResourceNotifyReleasedTransfer

func GetPDUSessionResourceNotifyReleasedTransfer() []byte

func GetPDUSessionResourceNotifyTransfer

func GetPDUSessionResourceNotifyTransfer(qfis []int64, notiCause []uint64, relQfis []int64) []byte

func GetPDUSessionResourceReleaseCommandTransfer

func GetPDUSessionResourceReleaseCommandTransfer() []byte

func GetPDUSessionResourceReleaseResponseTransfer

func GetPDUSessionResourceReleaseResponseTransfer() []byte

func GetPDUSessionResourceSetupResponseTransfer

func GetPDUSessionResourceSetupResponseTransfer(ipv4 string) []byte

func GetPDUSessionResourceSetupUnsucessfulTransfer

func GetPDUSessionResourceSetupUnsucessfulTransfer() []byte

func GetPathSwitchRequestSetupFailedTransfer

func GetPathSwitchRequestSetupFailedTransfer() []byte

func GetPathSwitchRequestTransfer

func GetPathSwitchRequestTransfer() []byte

func GetSourceToTargetTransparentTransfer

func GetSourceToTargetTransparentTransfer(targetGNBID []byte, targetCellID []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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