Documentation ¶
Index ¶
- Constants
- func AppendPDUSessionResourceFailedToModifyListModRes(list *ngapType.PDUSessionResourceFailedToModifyListModRes, pduSessionID int64, ...)
- func AppendPDUSessionResourceFailedToSetupListCxtRes(list *ngapType.PDUSessionResourceFailedToSetupListCxtRes, pduSessionID int64, ...)
- func AppendPDUSessionResourceFailedToSetupListCxtfail(list *ngapType.PDUSessionResourceFailedToSetupListCxtFail, pduSessionID int64, ...)
- func AppendPDUSessionResourceFailedToSetupListSURes(list *ngapType.PDUSessionResourceFailedToSetupListSURes, pduSessionID int64, ...)
- func AppendPDUSessionResourceModifyListModRes(list *ngapType.PDUSessionResourceModifyListModRes, pduSessionID int64, ...)
- func AppendPDUSessionResourceSetupListCxtRes(list *ngapType.PDUSessionResourceSetupListCxtRes, pduSessionID int64, ...)
- func AppendPDUSessionResourceSetupListSURes(list *ngapType.PDUSessionResourceSetupListSURes, pduSessionID int64, ...)
- func BuildAMFConfigurationUpdateAcknowledge(setupList *ngapType.AMFTNLAssociationSetupList, ...) ([]byte, error)
- func BuildAMFConfigurationUpdateFailure(ngCause ngapType.Cause, time *ngapType.TimeToWait, ...) ([]byte, error)
- func BuildCause(present int, value aper.Enumerated) (cause *ngapType.Cause)
- func BuildErrorIndication(amfUENGAPID *int64, ranUENGAPID *int64, cause *ngapType.Cause, ...) ([]byte, error)
- func BuildInitialContextSetupFailure(ranUe *context.N3IWFRanUe, cause ngapType.Cause, ...) ([]byte, error)
- func BuildInitialContextSetupResponse(ranUe *context.N3IWFRanUe, ...) ([]byte, error)
- func BuildInitialUEMessage(ranUe *context.N3IWFRanUe, nasPdu []byte, allowedNSSAI *ngapType.AllowedNSSAI) ([]byte, error)
- func BuildLocationReport() ([]byte, error)
- func BuildLocationReportingFailureIndication() ([]byte, error)
- func BuildNASNonDeliveryIndication(ranUe *context.N3IWFRanUe, nasPdu []byte, cause ngapType.Cause) ([]byte, error)
- func BuildNGReset(ngCause ngapType.Cause, ...) ([]byte, error)
- func BuildNGResetAcknowledge(partOfNGInterface *ngapType.UEAssociatedLogicalNGConnectionList, ...) ([]byte, error)
- func BuildNGSetupRequest() ([]byte, error)
- func BuildPDUSessionResourceModifyIndication(ranUe *context.N3IWFRanUe, ...) ([]byte, error)
- func BuildPDUSessionResourceModifyResponse(ranUe *context.N3IWFRanUe, ...) ([]byte, error)
- func BuildPDUSessionResourceModifyResponseTransfer(ulNGUUPTNLInformation *ngapType.UPTransportLayerInformation, ...) ([]byte, error)
- func BuildPDUSessionResourceModifyUnsuccessfulTransfer(cause ngapType.Cause, criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)
- func BuildPDUSessionResourceNotify(ranUe *context.N3IWFRanUe, notiList *ngapType.PDUSessionResourceNotifyList, ...) ([]byte, error)
- func BuildPDUSessionResourceReleaseResponse(ranUe *context.N3IWFRanUe, ...) ([]byte, error)
- func BuildPDUSessionResourceSetupResponse(ranUe *context.N3IWFRanUe, ...) ([]byte, error)
- func BuildPDUSessionResourceSetupResponseTransfer(pduSession *context.PDUSession) ([]byte, error)
- func BuildPDUSessionResourceSetupUnsuccessfulTransfer(cause ngapType.Cause, criticalityDiagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)
- func BuildRANConfigurationUpdate() ([]byte, error)
- func BuildRRCInactiveTransitionReport() ([]byte, error)
- func BuildRerouteNASRequest() ([]byte, error)
- func BuildUEContextModificationFailure(ranUe *context.N3IWFRanUe, cause ngapType.Cause, ...) ([]byte, error)
- func BuildUEContextModificationResponse(ranUe *context.N3IWFRanUe, ...) ([]byte, error)
- func BuildUEContextReleaseComplete(ranUe *context.N3IWFRanUe, ...) ([]byte, error)
- func BuildUEContextReleaseRequest(ranUe *context.N3IWFRanUe, cause ngapType.Cause) ([]byte, error)
- func BuildUERadioCapabilityCheckResponse(ranUe *context.N3IWFRanUe, diagnostics *ngapType.CriticalityDiagnostics) ([]byte, error)
- func BuildUERadioCapabilityInfoIndication() ([]byte, error)
- func BuildUplinkNASTransport(ranUe *context.N3IWFRanUe, nasPdu []byte) ([]byte, error)
- func BuildUplinkRANConfigurationTransfer() ([]byte, error)
- func BuildUplinkRANStatusTransfer() ([]byte, error)
- func SendAMFConfigurationUpdateAcknowledge(amf *context.N3IWFAMF, setupList *ngapType.AMFTNLAssociationSetupList, ...)
- func SendAMFConfigurationUpdateFailure(amf *context.N3IWFAMF, ngCause ngapType.Cause, time *ngapType.TimeToWait, ...)
- func SendErrorIndication(amf *context.N3IWFAMF, amfUENGAPID *int64, ranUENGAPID *int64, ...)
- func SendErrorIndicationWithSctpConn(sctpConn *sctp.SCTPConn, amfUENGAPID *int64, ranUENGAPID *int64, ...)
- func SendInitialContextSetupFailure(ranUe *context.N3IWFRanUe, cause ngapType.Cause, ...)
- func SendInitialContextSetupResponse(ranUe *context.N3IWFRanUe, ...)
- func SendInitialUEMessage(amf *context.N3IWFAMF, ranUe *context.N3IWFRanUe, nasPdu []byte)
- func SendLocationReport()
- func SendLocationReportingFailureIndication()
- func SendNASNonDeliveryIndication(ranUe *context.N3IWFRanUe, nasPdu []byte, cause ngapType.Cause)
- func SendNGReset(amf *context.N3IWFAMF, cause ngapType.Cause, ...)
- func SendNGResetAcknowledge(amf *context.N3IWFAMF, ...)
- func SendNGSetupRequest(conn *sctp.SCTPConn)
- func SendPDUSessionResourceModifyIndication(ranUe *context.N3IWFRanUe, ...)
- func SendPDUSessionResourceModifyResponse(ranUe *context.N3IWFRanUe, ...)
- func SendPDUSessionResourceNotify(ranUe *context.N3IWFRanUe, notiList *ngapType.PDUSessionResourceNotifyList, ...)
- func SendPDUSessionResourceReleaseResponse(ranUe *context.N3IWFRanUe, ...)
- func SendPDUSessionResourceSetupResponse(ranUe *context.N3IWFRanUe, ...)
- func SendRANConfigurationUpdate(amf *context.N3IWFAMF)
- func SendRRCInactiveTransitionReport()
- func SendRerouteNASRequest()
- func SendToAmf(amf *context.N3IWFAMF, pkt []byte)
- func SendUEContextModificationFailure(ranUe *context.N3IWFRanUe, cause ngapType.Cause, ...)
- func SendUEContextModificationResponse(ranUe *context.N3IWFRanUe, ...)
- func SendUEContextReleaseComplete(ranUe *context.N3IWFRanUe, ...)
- func SendUEContextReleaseRequest(ranUe *context.N3IWFRanUe, cause ngapType.Cause)
- func SendUERadioCapabilityCheckResponse(amf *context.N3IWFAMF, ranUe *context.N3IWFRanUe, ...)
- func SendUERadioCapabilityInfoIndication()
- func SendUplinkNASTransport(ranUe *context.N3IWFRanUe, nasPdu []byte)
- func SendUplinkRANConfigurationTransfer()
- func SendUplinkRANStatusTransfer()
- type ANParameters
Constants ¶
View Source
const ( ANParametersTypeGUAMI = 1 ANParametersTypeSelectedPLMNID = 2 ANParametersTypeRequestedNSSAI = 3 ANParametersTypeEstablishmentCause = 4 )
Used in AN-Parameter field for IE types
View Source
const ( ANParametersLenGUAMI = 6 ANParametersLenPLMNID = 3 ANParametersLenEstCause = 1 )
Used for checking if AN-Parameter length field is legal
View Source
const ( EstablishmentCauseEmergency = 0 EstablishmentCauseHighPriorityAccess = 1 EstablishmentCauseMO_Signalling = 3 EstablishmentCauseMO_Data = 4 EstablishmentCauseMPS_PriorityAccess = 8 EstablishmentCauseMCS_PriorityAccess = 9 )
Used in IE Establishment Cause field for cause types
Variables ¶
This section is empty.
Functions ¶
func AppendPDUSessionResourceFailedToModifyListModRes ¶
func AppendPDUSessionResourceFailedToModifyListModRes( list *ngapType.PDUSessionResourceFailedToModifyListModRes, pduSessionID int64, transfer []byte, )
func AppendPDUSessionResourceFailedToSetupListCxtRes ¶
func AppendPDUSessionResourceFailedToSetupListCxtRes( list *ngapType.PDUSessionResourceFailedToSetupListCxtRes, pduSessionID int64, transfer []byte, )
func AppendPDUSessionResourceFailedToSetupListCxtfail ¶
func AppendPDUSessionResourceFailedToSetupListCxtfail( list *ngapType.PDUSessionResourceFailedToSetupListCxtFail, pduSessionID int64, transfer []byte, )
func AppendPDUSessionResourceFailedToSetupListSURes ¶
func AppendPDUSessionResourceFailedToSetupListSURes( list *ngapType.PDUSessionResourceFailedToSetupListSURes, pduSessionID int64, transfer []byte, )
func AppendPDUSessionResourceModifyListModRes ¶
func AppendPDUSessionResourceModifyListModRes( list *ngapType.PDUSessionResourceModifyListModRes, pduSessionID int64, transfer []byte, )
func AppendPDUSessionResourceSetupListCxtRes ¶
func AppendPDUSessionResourceSetupListCxtRes( list *ngapType.PDUSessionResourceSetupListCxtRes, pduSessionID int64, transfer []byte, )
func AppendPDUSessionResourceSetupListSURes ¶
func AppendPDUSessionResourceSetupListSURes( list *ngapType.PDUSessionResourceSetupListSURes, pduSessionID int64, transfer []byte, )
func BuildAMFConfigurationUpdateAcknowledge ¶
func BuildAMFConfigurationUpdateAcknowledge( setupList *ngapType.AMFTNLAssociationSetupList, failList *ngapType.TNLAssociationList, diagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildAMFConfigurationUpdateFailure ¶
func BuildAMFConfigurationUpdateFailure( ngCause ngapType.Cause, time *ngapType.TimeToWait, diagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildCause ¶
func BuildCause(present int, value aper.Enumerated) (cause *ngapType.Cause)
func BuildErrorIndication ¶
func BuildInitialContextSetupFailure ¶
func BuildInitialContextSetupFailure( ranUe *context.N3IWFRanUe, cause ngapType.Cause, failedList *ngapType.PDUSessionResourceFailedToSetupListCxtFail, criticalityDiagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildInitialContextSetupResponse ¶
func BuildInitialContextSetupResponse( ranUe *context.N3IWFRanUe, responseList *ngapType.PDUSessionResourceSetupListCxtRes, failedList *ngapType.PDUSessionResourceFailedToSetupListCxtRes, criticalityDiagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildInitialUEMessage ¶
func BuildInitialUEMessage(ranUe *context.N3IWFRanUe, nasPdu []byte, allowedNSSAI *ngapType.AllowedNSSAI, ) ([]byte, error)
func BuildLocationReport ¶
func BuildNGReset ¶
func BuildNGResetAcknowledge ¶
func BuildNGResetAcknowledge( partOfNGInterface *ngapType.UEAssociatedLogicalNGConnectionList, diagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildNGSetupRequest ¶
func BuildPDUSessionResourceModifyIndication ¶
func BuildPDUSessionResourceModifyIndication( ranUe *context.N3IWFRanUe, modifyList []ngapType.PDUSessionResourceModifyItemModInd, ) ([]byte, error)
func BuildPDUSessionResourceModifyResponse ¶
func BuildPDUSessionResourceModifyResponse( ranUe *context.N3IWFRanUe, responseList *ngapType.PDUSessionResourceModifyListModRes, failedList *ngapType.PDUSessionResourceFailedToModifyListModRes, criticalityDiagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildPDUSessionResourceModifyResponseTransfer ¶
func BuildPDUSessionResourceModifyResponseTransfer( ulNGUUPTNLInformation *ngapType.UPTransportLayerInformation, dlNGUUPTNLInformation *ngapType.UPTransportLayerInformation, responseList *ngapType.QosFlowAddOrModifyResponseList, failedList *ngapType.QosFlowListWithCause, ) ([]byte, error)
func BuildPDUSessionResourceNotify ¶
func BuildPDUSessionResourceNotify( ranUe *context.N3IWFRanUe, notiList *ngapType.PDUSessionResourceNotifyList, relList *ngapType.PDUSessionResourceReleasedListNot, ) ([]byte, error)
func BuildPDUSessionResourceReleaseResponse ¶
func BuildPDUSessionResourceReleaseResponse( ranUe *context.N3IWFRanUe, relList ngapType.PDUSessionResourceReleasedListRelRes, diagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildPDUSessionResourceSetupResponse ¶
func BuildPDUSessionResourceSetupResponse( ranUe *context.N3IWFRanUe, responseList *ngapType.PDUSessionResourceSetupListSURes, failedList *ngapType.PDUSessionResourceFailedToSetupListSURes, criticalityDiagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildPDUSessionResourceSetupResponseTransfer ¶
func BuildPDUSessionResourceSetupResponseTransfer(pduSession *context.PDUSession) ([]byte, error)
func BuildRerouteNASRequest ¶
func BuildUEContextModificationFailure ¶
func BuildUEContextModificationFailure(ranUe *context.N3IWFRanUe, cause ngapType.Cause, criticalityDiagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildUEContextModificationResponse ¶
func BuildUEContextModificationResponse( ranUe *context.N3IWFRanUe, criticalityDiagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildUEContextReleaseComplete ¶
func BuildUEContextReleaseComplete(ranUe *context.N3IWFRanUe, criticalityDiagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildUERadioCapabilityCheckResponse ¶
func BuildUERadioCapabilityCheckResponse( ranUe *context.N3IWFRanUe, diagnostics *ngapType.CriticalityDiagnostics, ) ([]byte, error)
func BuildUplinkNASTransport ¶
func BuildUplinkNASTransport(ranUe *context.N3IWFRanUe, nasPdu []byte) ([]byte, error)
func SendAMFConfigurationUpdateAcknowledge ¶
func SendAMFConfigurationUpdateAcknowledge( amf *context.N3IWFAMF, setupList *ngapType.AMFTNLAssociationSetupList, failList *ngapType.TNLAssociationList, diagnostics *ngapType.CriticalityDiagnostics, )
func SendAMFConfigurationUpdateFailure ¶
func SendAMFConfigurationUpdateFailure( amf *context.N3IWFAMF, ngCause ngapType.Cause, time *ngapType.TimeToWait, diagnostics *ngapType.CriticalityDiagnostics, )
func SendErrorIndication ¶
func SendInitialContextSetupFailure ¶
func SendInitialContextSetupFailure( ranUe *context.N3IWFRanUe, cause ngapType.Cause, failedList *ngapType.PDUSessionResourceFailedToSetupListCxtFail, criticalityDiagnostics *ngapType.CriticalityDiagnostics, )
func SendInitialContextSetupResponse ¶
func SendInitialContextSetupResponse( ranUe *context.N3IWFRanUe, responseList *ngapType.PDUSessionResourceSetupListCxtRes, failedList *ngapType.PDUSessionResourceFailedToSetupListCxtRes, criticalityDiagnostics *ngapType.CriticalityDiagnostics, )
func SendInitialUEMessage ¶
func SendInitialUEMessage(amf *context.N3IWFAMF, ranUe *context.N3IWFRanUe, nasPdu []byte, )
func SendLocationReport ¶
func SendLocationReport()
func SendLocationReportingFailureIndication ¶
func SendLocationReportingFailureIndication()
func SendNASNonDeliveryIndication ¶
func SendNASNonDeliveryIndication( ranUe *context.N3IWFRanUe, nasPdu []byte, cause ngapType.Cause, )
func SendNGReset ¶
func SendNGReset( amf *context.N3IWFAMF, 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( amf *context.N3IWFAMF, partOfNGInterface *ngapType.UEAssociatedLogicalNGConnectionList, diagnostics *ngapType.CriticalityDiagnostics, )
func SendNGSetupRequest ¶
func SendPDUSessionResourceModifyIndication ¶
func SendPDUSessionResourceModifyIndication( ranUe *context.N3IWFRanUe, modifyList []ngapType.PDUSessionResourceModifyItemModInd, )
func SendPDUSessionResourceModifyResponse ¶
func SendPDUSessionResourceModifyResponse( ranUe *context.N3IWFRanUe, responseList *ngapType.PDUSessionResourceModifyListModRes, failedList *ngapType.PDUSessionResourceFailedToModifyListModRes, criticalityDiagnostics *ngapType.CriticalityDiagnostics, )
func SendPDUSessionResourceNotify ¶
func SendPDUSessionResourceNotify( ranUe *context.N3IWFRanUe, notiList *ngapType.PDUSessionResourceNotifyList, relList *ngapType.PDUSessionResourceReleasedListNot, )
func SendPDUSessionResourceReleaseResponse ¶
func SendPDUSessionResourceReleaseResponse( ranUe *context.N3IWFRanUe, relList ngapType.PDUSessionResourceReleasedListRelRes, diagnostics *ngapType.CriticalityDiagnostics, )
func SendPDUSessionResourceSetupResponse ¶
func SendPDUSessionResourceSetupResponse( ranUe *context.N3IWFRanUe, responseList *ngapType.PDUSessionResourceSetupListSURes, failedListSURes *ngapType.PDUSessionResourceFailedToSetupListSURes, criticalityDiagnostics *ngapType.CriticalityDiagnostics, )
func SendRRCInactiveTransitionReport ¶
func SendRRCInactiveTransitionReport()
func SendRerouteNASRequest ¶
func SendRerouteNASRequest()
func SendUEContextModificationFailure ¶
func SendUEContextModificationFailure( ranUe *context.N3IWFRanUe, cause ngapType.Cause, criticalityDiagnostics *ngapType.CriticalityDiagnostics, )
func SendUEContextModificationResponse ¶
func SendUEContextModificationResponse( ranUe *context.N3IWFRanUe, criticalityDiagnostics *ngapType.CriticalityDiagnostics, )
func SendUEContextReleaseComplete ¶
func SendUEContextReleaseComplete( ranUe *context.N3IWFRanUe, criticalityDiagnostics *ngapType.CriticalityDiagnostics, )
func SendUEContextReleaseRequest ¶
func SendUEContextReleaseRequest( ranUe *context.N3IWFRanUe, cause ngapType.Cause, )
func SendUERadioCapabilityCheckResponse ¶
func SendUERadioCapabilityCheckResponse( amf *context.N3IWFAMF, ranUe *context.N3IWFRanUe, diagnostics *ngapType.CriticalityDiagnostics, )
func SendUERadioCapabilityInfoIndication ¶
func SendUERadioCapabilityInfoIndication()
func SendUplinkNASTransport ¶
func SendUplinkNASTransport( ranUe *context.N3IWFRanUe, nasPdu []byte, )
func SendUplinkRANConfigurationTransfer ¶
func SendUplinkRANConfigurationTransfer()
func SendUplinkRANStatusTransfer ¶
func SendUplinkRANStatusTransfer()
Types ¶
type ANParameters ¶
type ANParameters struct { GUAMI *ngapType.GUAMI SelectedPLMNID *ngapType.PLMNIdentity RequestedNSSAI *ngapType.AllowedNSSAI EstablishmentCause *ngapType.RRCEstablishmentCause }
Access Network Parameters
func UnmarshalEAP5GData ¶
func UnmarshalEAP5GData(codedData []byte) (anParameters *ANParameters, nasPDU []byte, err error)
Click to show internal directories.
Click to hide internal directories.