[RIC-431] Add AdditionalCellInformation proto
[ric-plt/nodeb-rnib.git] / entities / gnb.proto
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  * Copyright 2019 Nokia
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 /*
19  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
20  * platform project (RICP).
21  */
22
23
24 syntax = "proto3";
25 package entities;
26 import "ran_function.proto";
27 import "additional_cell_information.proto";
28
29
30 message Gnb{
31         repeated ServedNRCell served_nr_cells = 1;
32         repeated RanFunction ran_functions = 2;
33 }
34
35 message ServedNRCell{
36         ServedNRCellInformation served_nr_cell_information = 1;
37         repeated NrNeighbourInformation nr_neighbour_infos = 2;
38 }
39
40 message ServedNRCellInformation{
41         uint32 nr_pci = 1;
42         string cell_id = 2;
43         string stac5g = 3;
44         string configured_stac = 4;
45         repeated string served_plmns= 5;
46         Nr.Mode nr_mode = 6;
47         message ChoiceNRMode{
48                 message FddInfo{
49                         NrFrequencyInfo ul_freq_info = 1;
50                         NrFrequencyInfo dl_freq_info = 2;
51                         NrTransmissionBandwidth ul_transmission_bandwidth = 3;
52                         NrTransmissionBandwidth dl_transmission_bandwidth = 4;
53                 }
54                 message TddInfo{
55                         NrFrequencyInfo nr_freq_info = 1;
56                         NrTransmissionBandwidth transmission_bandwidth = 2;
57                 }
58                 FddInfo fdd  = 1;
59                 TddInfo tdd  = 2;
60         }
61         ChoiceNRMode choice_nr_mode = 7;
62         AdditionalCellInformation additional_cell_information = 8;
63 }
64
65 message Nr{
66         enum Mode{
67                 UNKNOWN = 0;
68                 FDD = 1;
69                 TDD = 2;
70         }
71 }
72
73 message NrFrequencyInfo{
74         uint64 nr_ar_fcn = 1;
75         message SulInformation{
76             uint64 sul_ar_fcn = 1;
77                 NrTransmissionBandwidth sul_transmission_bandwidth = 2;
78         }
79         SulInformation sulInformation = 3;
80         repeated FrequencyBandItem frequency_bands = 4;
81 }
82
83 message FrequencyBandItem{
84         uint32 nr_frequency_band = 1;
85         repeated uint32 supported_sul_bands = 2;
86 }
87
88 message NrTransmissionBandwidth{
89         Nrscs nrscs = 1;
90         Ncnrb ncnrb= 2;
91 }
92
93 enum Nrscs {
94         UNKNOWN_NRSCS = 0;
95         SCS15 = 1;
96         SCS30 = 2;
97         SCS60 = 3;
98         SCS120 = 4;
99 }
100
101 enum Ncnrb{
102         UNKNOWN_NCNRB = 0;
103     NRB11 =1;
104         NRB18 =2;
105         NRB24 =3;
106         NRB25 =4;
107         NRB31 =5;
108         NRB32 =6;
109         NRB38 =7;
110         NRB51 =8;
111         NRB52 =9;
112         NRB65 =10;
113         NRB66 =11;
114         NRB78 =12;
115         NRB79 =13;
116         NRB93 =14;
117         NRB106 =15;
118         NRB107 =16;
119         NRB121 =17;
120         NRB132 =18;
121         NRB133 =19;
122         NRB135 =20;
123         NRB160 =21;
124         NRB162 =22;
125         NRB189 =23;
126         NRB216 =24;
127         NRB217 =25;
128         NRB245 =26;
129         NRB264 =27;
130         NRB270 =28;
131         NRB273 =29;
132 }
133
134 message NrNeighbourInformation{
135         uint32 nr_pci = 1;
136         string nr_cgi = 2;
137         Nr.Mode nr_mode = 3;
138         message ChoiceNRMode{
139                 message FddInfo{
140                         NrFrequencyInfo ular_fcn_freq_info = 1;
141                         NrFrequencyInfo dlar_fcn_freq_info = 2;
142                 }
143                 message TddInfo{
144                         NrFrequencyInfo ar_fcn_nr_freq_info = 1;
145                 }
146                 FddInfo fdd  = 1;
147                 TddInfo tdd  = 2;
148         }
149         ChoiceNRMode choice_nr_mode = 4;
150         string stac5g = 5;
151         string configured_stac = 6;
152 }
153