2020-07-27 08:02:49 +02:00
|
|
|
package control
|
|
|
|
|
|
|
|
const MAX_SUBSCRIPTION_ATTEMPTS = 100
|
|
|
|
|
|
|
|
type DecodedIndicationMessage struct {
|
|
|
|
RequestID int32
|
|
|
|
RequestSequenceNumber int32
|
|
|
|
FuncID int32
|
|
|
|
ActionID int32
|
|
|
|
IndSN int32
|
|
|
|
IndType int32
|
|
|
|
IndHeader []byte
|
|
|
|
IndHeaderLength int32
|
|
|
|
IndMessage []byte
|
|
|
|
IndMessageLength int32
|
|
|
|
CallProcessID []byte
|
|
|
|
CallProcessIDLength int32
|
|
|
|
}
|
|
|
|
|
|
|
|
type CauseItemType struct {
|
|
|
|
CauseType int32
|
|
|
|
CauseID int32
|
|
|
|
}
|
|
|
|
|
|
|
|
type ActionAdmittedListType struct {
|
|
|
|
ActionID [16]int32
|
|
|
|
Count int
|
|
|
|
}
|
|
|
|
|
|
|
|
type ActionNotAdmittedListType struct {
|
|
|
|
ActionID [16]int32
|
|
|
|
Cause [16]CauseItemType
|
|
|
|
Count int
|
|
|
|
}
|
|
|
|
|
|
|
|
type DecodedSubscriptionResponseMessage struct {
|
|
|
|
RequestID int32
|
|
|
|
RequestSequenceNumber int32
|
|
|
|
FuncID int32
|
|
|
|
ActionAdmittedList ActionAdmittedListType
|
|
|
|
ActionNotAdmittedList ActionNotAdmittedListType
|
|
|
|
}
|
|
|
|
|
|
|
|
type IntPair64 struct {
|
|
|
|
DL int64
|
|
|
|
UL int64
|
|
|
|
}
|
|
|
|
|
|
|
|
type OctetString struct {
|
|
|
|
Buf []byte
|
|
|
|
Size int
|
|
|
|
}
|
|
|
|
|
|
|
|
type Integer OctetString
|
|
|
|
|
|
|
|
type PrintableString OctetString
|
|
|
|
|
|
|
|
type ActionDefinition OctetString
|
|
|
|
|
|
|
|
type BitString struct {
|
|
|
|
Buf []byte
|
|
|
|
Size int
|
|
|
|
BitsUnused int
|
|
|
|
}
|
|
|
|
|
|
|
|
type SubsequentAction struct {
|
|
|
|
IsValid int
|
|
|
|
SubsequentActionType int64
|
|
|
|
TimeToWait int64
|
|
|
|
}
|
|
|
|
|
|
|
|
type GNBID BitString
|
|
|
|
|
|
|
|
type GlobalgNBIDType struct {
|
|
|
|
PlmnID OctetString
|
|
|
|
GnbIDType int
|
|
|
|
GnbID interface{}
|
|
|
|
}
|
|
|
|
|
|
|
|
type GlobalKPMnodegNBIDType struct {
|
|
|
|
GlobalgNBID GlobalgNBIDType
|
|
|
|
GnbCUUPID *Integer
|
|
|
|
GnbDUID *Integer
|
|
|
|
}
|
|
|
|
|
|
|
|
type ENGNBID BitString
|
|
|
|
|
|
|
|
type GlobalKPMnodeengNBIDType struct {
|
|
|
|
PlmnID OctetString
|
|
|
|
GnbIDType int
|
|
|
|
GnbID interface{}
|
|
|
|
}
|
|
|
|
|
|
|
|
type NGENBID_Macro BitString
|
|
|
|
|
|
|
|
type NGENBID_ShortMacro BitString
|
|
|
|
|
|
|
|
type NGENBID_LongMacro BitString
|
|
|
|
|
|
|
|
type GlobalKPMnodengeNBIDType struct {
|
|
|
|
PlmnID OctetString
|
|
|
|
EnbIDType int
|
|
|
|
EnbID interface{}
|
|
|
|
}
|
|
|
|
|
|
|
|
type ENBID_Macro BitString
|
|
|
|
|
|
|
|
type ENBID_Home BitString
|
|
|
|
|
|
|
|
type ENBID_ShortMacro BitString
|
|
|
|
|
|
|
|
type ENBID_LongMacro BitString
|
|
|
|
|
|
|
|
type GlobalKPMnodeeNBIDType struct {
|
|
|
|
PlmnID OctetString
|
|
|
|
EnbIDType int
|
|
|
|
EnbID interface{}
|
|
|
|
}
|
|
|
|
|
|
|
|
type NRCGIType struct {
|
|
|
|
PlmnID OctetString
|
|
|
|
NRCellID BitString
|
|
|
|
}
|
|
|
|
|
|
|
|
type SliceIDType struct {
|
|
|
|
SST OctetString
|
|
|
|
SD *OctetString
|
|
|
|
}
|
|
|
|
|
|
|
|
type GNB_DU_Name PrintableString
|
|
|
|
|
|
|
|
type GNB_CU_CP_Name PrintableString
|
|
|
|
|
|
|
|
type GNB_CU_UP_Name PrintableString
|
|
|
|
|
|
|
|
type IndicationHeaderFormat1 struct {
|
2023-05-18 19:56:46 +02:00
|
|
|
CollectionStartTime *OctetString
|
2020-07-27 08:02:49 +02:00
|
|
|
GlobalKPMnodeIDType int32
|
|
|
|
GlobalKPMnodeID interface{}
|
2023-05-18 19:56:46 +02:00
|
|
|
// NRCGI *NRCGIType
|
|
|
|
// PlmnID *OctetString
|
|
|
|
// SliceID *SliceIDType
|
|
|
|
// FiveQI int64
|
|
|
|
// Qci int64
|
|
|
|
// UeMessageType int32
|
|
|
|
// GnbDUID *Integer
|
|
|
|
// GnbNameType int32
|
|
|
|
// GnbName interface{}
|
|
|
|
GlobalgNBID *GlobalgNBIDType
|
2020-07-27 08:02:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type IndicationHeader struct {
|
|
|
|
IndHdrType int32
|
|
|
|
IndHdr interface{}
|
|
|
|
}
|
|
|
|
|
|
|
|
type FQIPERSlicesPerPlmnPerCellType struct {
|
|
|
|
FiveQI int64
|
|
|
|
PrbUsage IntPair64
|
|
|
|
}
|
|
|
|
|
|
|
|
type SlicePerPlmnPerCellType struct {
|
|
|
|
SliceID SliceIDType
|
|
|
|
FQIPERSlicesPerPlmnPerCells [64]FQIPERSlicesPerPlmnPerCellType
|
|
|
|
FQIPERSlicesPerPlmnPerCellCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type DUPM5GCContainerType struct {
|
|
|
|
SlicePerPlmnPerCells [1024]SlicePerPlmnPerCellType
|
|
|
|
SlicePerPlmnPerCellCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type DUPMEPCPerQCIReportType struct {
|
|
|
|
QCI int64
|
|
|
|
PrbUsage IntPair64
|
|
|
|
}
|
|
|
|
|
|
|
|
type DUPMEPCContainerType struct {
|
|
|
|
PerQCIReports [256]DUPMEPCPerQCIReportType
|
|
|
|
PerQCIReportCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type ServedPlmnPerCellType struct {
|
|
|
|
PlmnID OctetString
|
|
|
|
DUPM5GC *DUPM5GCContainerType
|
|
|
|
DUPMEPC *DUPMEPCContainerType
|
|
|
|
}
|
|
|
|
|
|
|
|
type CellResourceReportType struct {
|
|
|
|
NRCGI NRCGIType
|
|
|
|
TotalofAvailablePRBs IntPair64
|
|
|
|
ServedPlmnPerCells [12]ServedPlmnPerCellType
|
|
|
|
ServedPlmnPerCellCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type ODUPFContainerType struct {
|
|
|
|
CellResourceReports [512]CellResourceReportType
|
|
|
|
CellResourceReportCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUCPResourceStatusType struct {
|
|
|
|
NumberOfActiveUEs int64
|
|
|
|
}
|
|
|
|
|
|
|
|
type OCUCPPFContainerType struct {
|
2023-05-18 19:56:46 +02:00
|
|
|
// GNBCUCPName *PrintableString
|
2020-07-27 08:02:49 +02:00
|
|
|
CUCPResourceStatus CUCPResourceStatusType
|
|
|
|
}
|
|
|
|
|
|
|
|
type FQIPERSlicesPerPlmnType struct {
|
|
|
|
FiveQI int64
|
|
|
|
PDCPBytesDL *Integer
|
|
|
|
PDCPBytesUL *Integer
|
|
|
|
}
|
|
|
|
|
|
|
|
type SliceToReportType struct {
|
|
|
|
SliceID SliceIDType
|
|
|
|
FQIPERSlicesPerPlmns [64]FQIPERSlicesPerPlmnType
|
|
|
|
FQIPERSlicesPerPlmnCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUUPPM5GCType struct {
|
|
|
|
SliceToReports [1024]SliceToReportType
|
|
|
|
SliceToReportCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUUPPMEPCPerQCIReportType struct {
|
|
|
|
QCI int64
|
|
|
|
PDCPBytesDL *Integer
|
|
|
|
PDCPBytesUL *Integer
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUUPPMEPCType struct {
|
|
|
|
CUUPPMEPCPerQCIReports [256]CUUPPMEPCPerQCIReportType
|
|
|
|
CUUPPMEPCPerQCIReportCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUUPPlmnType struct {
|
|
|
|
PlmnID OctetString
|
|
|
|
CUUPPM5GC *CUUPPM5GCType
|
|
|
|
CUUPPMEPC *CUUPPMEPCType
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUUPMeasurementContainerType struct {
|
|
|
|
CUUPPlmns [12]CUUPPlmnType
|
|
|
|
CUUPPlmnCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUUPPFContainerItemType struct {
|
|
|
|
InterfaceType int64
|
|
|
|
OCUUPPMContainer CUUPMeasurementContainerType
|
|
|
|
}
|
|
|
|
|
|
|
|
type OCUUPPFContainerType struct {
|
2023-05-18 19:56:46 +02:00
|
|
|
// GNBCUUPName *PrintableString
|
2020-07-27 08:02:49 +02:00
|
|
|
CUUPPFContainerItems [3]CUUPPFContainerItemType
|
|
|
|
CUUPPFContainerItemCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type DUUsageReportUeResourceReportItemType struct {
|
|
|
|
CRNTI Integer
|
|
|
|
PRBUsageDL int64
|
|
|
|
PRBUsageUL int64
|
|
|
|
}
|
|
|
|
|
|
|
|
type DUUsageReportCellResourceReportItemType struct {
|
|
|
|
NRCGI NRCGIType
|
|
|
|
UeResourceReportItems [32]DUUsageReportUeResourceReportItemType
|
|
|
|
UeResourceReportItemCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type DUUsageReportType struct {
|
|
|
|
CellResourceReportItems [512]DUUsageReportCellResourceReportItemType
|
|
|
|
CellResourceReportItemCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUCPUsageReportUeResourceReportItemType struct {
|
|
|
|
CRNTI Integer
|
|
|
|
ServingCellRF *OctetString
|
|
|
|
NeighborCellRF *OctetString
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUCPUsageReportCellResourceReportItemType struct {
|
|
|
|
NRCGI NRCGIType
|
|
|
|
UeResourceReportItems [32]CUCPUsageReportUeResourceReportItemType
|
|
|
|
UeResourceReportItemCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUCPUsageReportType struct {
|
|
|
|
CellResourceReportItems [16384]CUCPUsageReportCellResourceReportItemType
|
|
|
|
CellResourceReportItemCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUUPUsageReportUeResourceReportItemType struct {
|
|
|
|
CRNTI Integer
|
|
|
|
PDCPBytesDL *Integer
|
|
|
|
PDCPBytesUL *Integer
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUUPUsageReportCellResourceReportItemType struct {
|
|
|
|
NRCGI NRCGIType
|
|
|
|
UeResourceReportItems [32]CUUPUsageReportUeResourceReportItemType
|
|
|
|
UeResourceReportItemCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type CUUPUsageReportType struct {
|
|
|
|
CellResourceReportItems [512]CUUPUsageReportCellResourceReportItemType
|
|
|
|
CellResourceReportItemCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type PFContainerType struct {
|
|
|
|
ContainerType int32
|
|
|
|
Container interface{}
|
|
|
|
}
|
|
|
|
|
2023-05-18 19:56:46 +02:00
|
|
|
// type RANContainerType struct {
|
|
|
|
// Timestamp OctetString
|
|
|
|
// ContainerType int32
|
|
|
|
// Container interface{}
|
|
|
|
// }
|
|
|
|
|
|
|
|
type RANContainerType OctetString
|
2020-07-27 08:02:49 +02:00
|
|
|
|
|
|
|
type PMContainerType struct {
|
|
|
|
PFContainer *PFContainerType
|
|
|
|
RANContainer *RANContainerType
|
|
|
|
}
|
|
|
|
|
|
|
|
type IndicationMessageFormat1 struct {
|
|
|
|
PMContainers [8]PMContainerType
|
|
|
|
PMContainerCount int
|
|
|
|
}
|
|
|
|
|
|
|
|
type IndicationMessage struct {
|
2023-05-18 19:56:46 +02:00
|
|
|
// StyleType int64
|
2020-07-27 08:02:49 +02:00
|
|
|
IndMsgType int32
|
|
|
|
IndMsg interface{}
|
|
|
|
}
|
|
|
|
|
|
|
|
type Timestamp struct {
|
|
|
|
TVsec int64 `json:"tv_sec"`
|
|
|
|
TVnsec int64 `json:"tv_nsec"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CellMetricsEntry struct {
|
2020-12-10 05:17:28 +01:00
|
|
|
MeasTimestampPDCPBytes Timestamp `json:"MeasTimestampPDCPBytes"`
|
2023-05-18 19:56:46 +02:00
|
|
|
CellID string `json:"CellID"`
|
2020-12-10 05:17:28 +01:00
|
|
|
PDCPBytesDL int64 `json:"PDCPBytesDL"`
|
|
|
|
PDCPBytesUL int64 `json:"PDCPBytesUL"`
|
|
|
|
MeasTimestampPRB Timestamp `json:"MeasTimestampAvailPRB"`
|
|
|
|
AvailPRBDL int64 `json:"AvailPRBDL"`
|
|
|
|
AvailPRBUL int64 `json:"AvailPRBUL"`
|
2023-05-18 19:56:46 +02:00
|
|
|
MeasPeriodPDCP int64 `json:"MeasPeriodPDCPBytes"`
|
|
|
|
MeasPeriodPRB int64 `json:"MeasPeriodAvailPRB"`
|
2020-07-27 08:02:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type CellRFType struct {
|
2023-05-18 19:56:46 +02:00
|
|
|
RSRP int `json:"rsrp"`
|
|
|
|
RSRQ int `json:"rsrq"`
|
2020-10-20 05:52:56 +02:00
|
|
|
RSSINR int `json:"rssinr"`
|
2020-07-27 08:02:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type NeighborCellRFType struct {
|
|
|
|
CellID string `json:"CID"`
|
2020-12-10 05:17:28 +01:00
|
|
|
CellRF CellRFType `json:"CellRF"`
|
2020-07-27 08:02:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type UeMetricsEntry struct {
|
2023-05-18 19:56:46 +02:00
|
|
|
UeID int64 `json:"UEID"`
|
|
|
|
ServingCellID string `json:"ServingCellID"`
|
|
|
|
MeasTimestampPDCPBytes Timestamp `json:"MeasTimestampUEPDCPBytes"`
|
|
|
|
PDCPBytesDL int64 `json:"UEPDCPBytesDL"`
|
|
|
|
PDCPBytesUL int64 `json:"UEPDCPBytesUL"`
|
|
|
|
MeasTimestampPRB Timestamp `json:"MeasTimestampUEPRBUsage"`
|
|
|
|
PRBUsageDL int64 `json:"UEPRBUsageDL"`
|
|
|
|
PRBUsageUL int64 `json:"UEPRBUsageUL"`
|
|
|
|
MeasTimeRF Timestamp `json:"MeasTimestampRF"`
|
|
|
|
MeasPeriodRF int64 `json:"MeasPeriodRF"`
|
|
|
|
MeasPeriodPDCP int64 `json:"MeasPeriodUEPDCPBytes"`
|
|
|
|
MeasPeriodPRB int64 `json:"MeasPeriodUEPRBUsage"`
|
|
|
|
ServingCellRF CellRFType `json:"ServingCellRF"`
|
|
|
|
NeighborCellsRF []NeighborCellRFType `json:"NeighborCellRF"`
|
2020-07-27 08:02:49 +02:00
|
|
|
}
|