X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fhandlers%2Fenb_load_information_to_protobuf.go;fp=E2Manager%2Fhandlers%2Fenb_load_information_to_protobuf.go;h=f40fa0ef7ef13d31f73fc3e2f03b7b916510f5bb;hb=8720fbfe6c21a347b3378f517a214068b4876c30;hp=67eb4ed14546be0b81f0545094443e284c6018d8;hpb=f9e31bbb0a80ae78cf72eabea8303c28abcdb2e8;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/handlers/enb_load_information_to_protobuf.go b/E2Manager/handlers/enb_load_information_to_protobuf.go index 67eb4ed..f40fa0e 100644 --- a/E2Manager/handlers/enb_load_information_to_protobuf.go +++ b/E2Manager/handlers/enb_load_information_to_protobuf.go @@ -12,7 +12,7 @@ import ( ) const ( - MaxCellineNb = 256 + MaxCellsInEnb = 256 MaxNoOfPrbs = 110 NaxNoOfCompHypothesisSet = 256 NaxNoOfCompCells = 32 @@ -64,7 +64,7 @@ func extractPduCellInformationItemIEs(pdu *C.E2AP_PDU_t) ([]*C.CellInformation_I loadInformationCellListCount := loadInformationCellList.list.count - if loadInformationCellListCount == 0 || loadInformationCellListCount > MaxCellineNb { + if loadInformationCellListCount == 0 || loadInformationCellListCount > MaxCellsInEnb { return nil, fmt.Errorf("#extractPduCellInformationItemIEs - Invalid CellInformation list count") } @@ -265,7 +265,7 @@ func extractPduUlHighInterferenceIndicationInfoItems(cellId string, cellInformat pduUlHighInterferenceIndicationInfoListCount := pduUlHighInterferenceIndicationInfo.list.count - if pduUlHighInterferenceIndicationInfoListCount == 0 || pduUlHighInterferenceIndicationInfoListCount > MaxCellineNb { + if pduUlHighInterferenceIndicationInfoListCount == 0 || pduUlHighInterferenceIndicationInfoListCount > MaxCellsInEnb { return nil, fmt.Errorf("#extractPduUlHighInterferenceIndicationInfoItems - cellId: %s - Invalid UL High Interference Indication info list count", cellId) }