Change parameter string types to bytes type
[ric-plt/streaming-protobufs.git] / rrc_cg_config_info.proto
1 /*
2    Copyright (c) 2019 AT&T Intellectual Property.
3    Copyright (c) 2019 Nokia.
4
5    Licensed under the Creative Commons Attribution 4.0 International
6    Public License (the "License"); you may not use this file except
7    in compliance with the License. You may obtain a copy of the License at
8
9        https://creativecommons.org/licenses/by/4.0/
10
11    Unless required by applicable law or agreed to in writing, documentation
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 syntax = "proto3";
19
20 package streaming_protobufs;
21
22 option go_package = "gerrit.o-ran-sc.org/r/ric-plt/streaming-protobufs";
23
24 import "google/protobuf/wrappers.proto";
25 import "rrc_common_types.proto";
26 import "common_types.proto";
27
28 /*
29    Protocol Buffer definition for CG-ConfigInfo message.
30    (3GPP 38.331, ver 15.4.0)
31
32    Naming convention follows the ASN.1 field naming defined in chapter
33    '11.2.2 Message definitions' of below document:
34    http://www.3gpp.org/ftp//Specs/archive/38_series/38.331/38331-f40.zip
35
36    Dashes converted to underscores to make protobuf message syntax correct.
37 */
38
39 message CG_ConfigInfo
40 {
41     oneof criticalExtensions
42     {
43         CG_ConfigInfoCriticalExtensionsChoice1 criticalExtensionsChoice1 = 1;
44     }
45 }
46
47 message CG_ConfigInfoCriticalExtensionsChoice1
48 {
49     oneof c1 {
50         CG_ConfigInfo_IEs protocolIEs = 1;
51     }
52 }
53
54 message CG_ConfigInfo_IEs
55 {
56     repeated UE_CapabilityRAT_Container ue_CapabilityInfo = 1;
57     MeasResultList2NR candidateCellInfoListMN = 2;
58     MeasResultList2NR candidateCellInfoListSN = 3;
59     MeasResultCellListSFTD measResultCellListSFTD = 4;
60     ScgFailureInfo scgFailureInfo = 5;
61     ConfigRestrictInfoSCG configRestrictInfo = 6;
62     DRX_Info drx_InfoMCG = 7;
63     MeasConfigMN measConfigMN = 8;
64     google.protobuf.BytesValue sourceConfigSCG = 9;
65     RadioBearerConfig scg_RB_Config = 10;
66     RadioBearerConfig mcg_RB_Config = 11;
67     repeated AffectedCarrierFreqCombInfoMRDC mrdc_AssistanceInfo = 12;
68     CG_ConfigInfo_v1540_IEs nonCriticalExtension = 13;
69 }
70
71 message UE_CapabilityRAT_Container
72 {
73     RAT_Type rat_Type = 1;
74     bytes ue_CapabilityRAT_Container = 2;
75 }
76
77 message RAT_Type
78 {
79     enum Value {
80         protobuf_unspecified = 0;
81         nr = 1;
82         eutra_nr = 2;
83         eutra = 3;
84     }
85     Value value = 1;
86 }
87
88 message ScgFailureInfo
89 {
90     enum FailureType {
91         protobuf_unspecified = 0;
92         t310_Expiry = 1;
93         randomAccessProblem = 2;
94         rlc_MaxNumRetx = 3;
95         synchReconfigFailure_SCG = 4;
96         scg_reconfigFailure = 5;
97         srb3_IntegrityFailure = 6;
98     }
99     FailureType failureType = 1;
100     MeasResultSCG_Failure measResultSCG = 2;
101 }
102
103 message MeasResultSCG_Failure
104 {
105     MeasResultList2NR measResultPerMOList = 1;
106 }
107
108 message ConfigRestrictInfoSCG
109 {
110     BandCombinationInfoList allowedBC_ListMRDC = 1;
111     PowerCoordination_FR1 powerCoordination_FR1 = 2;
112     ServCellIndexRangeSCG servCellIndexRangeSCG = 3;
113     google.protobuf.UInt32Value maxMeasFreqsSCG_NR = 4;
114     google.protobuf.UInt32Value maxMeasIdentitiesSCG_NR = 5;
115 }
116
117 message BandCombinationInfoList
118 {
119     repeated BandCombinationInfo items = 1;
120 }
121
122 message BandCombinationInfo
123 {
124     uint32 bandCombinationIndex = 1;
125     repeated uint32 allowedFeatureSetsList = 2;
126 }
127
128 message PowerCoordination_FR1
129 {
130    google.protobuf.Int32Value p_maxNR_FR1 = 1;
131    google.protobuf.Int32Value p_maxEUTRA = 2;
132    google.protobuf.Int32Value p_maxUE_FR1 = 3;
133 }
134
135 message ServCellIndexRangeSCG
136 {
137     uint32 lowBound = 1;
138     uint32 upBound = 2;
139 }
140
141 message MeasConfigMN
142 {
143     repeated NR_FreqInfo measuredFrequenciesMN = 1;
144     oneof measGapConfig {
145         Null release_measGapConfig = 2;
146         GapConfig setup_measGapConfig = 3;
147     }
148     GapPurpose gapPurpose = 4;
149 }
150
151 message GapPurpose
152 {
153     enum Value {
154         protobuf_unspecified = 0;
155         perUE = 1;
156         perFR1 = 2;
157     }
158     Value value = 1;
159 }
160
161 message AffectedCarrierFreqCombInfoMRDC
162 {
163     enum InterferenceDirectionMRDC {
164         protobuf_unspecified = 0;
165         eutra_nr = 1;
166         nr = 2;
167         other = 3;
168         utra_nr_other = 4;
169         nr_other = 5;
170     }
171
172     VictimSystemType victimSystemType = 1;
173     InterferenceDirectionMRDC interferenceDirectionMRDC = 2;
174     AffectedCarrierFreqCombMRDC affectedCarrierFreqCombMRDC = 3;
175 }
176
177 message VictimSystemType
178 {
179     TrueOpt gps = 1;
180     TrueOpt glonass = 2;
181     TrueOpt bds = 3;
182     TrueOpt galileo = 4;
183     TrueOpt wlan = 5;
184     TrueOpt bluetooth = 6;
185 }
186
187 message AffectedCarrierFreqCombMRDC
188 {
189     AffectedCarrierFreqCombEUTRA affectedCarrierFreqCombEUTRA = 1;
190     AffectedCarrierFreqCombNR affectedCarrierFreqCombNR = 2;
191 }
192
193 message AffectedCarrierFreqCombEUTRA
194 {
195     repeated uint32 items = 1;
196 }
197
198 message AffectedCarrierFreqCombNR
199 {
200     repeated uint32 items = 1;
201 }
202
203 message CG_ConfigInfo_v1540_IEs
204 {
205     PH_TypeListMCG ph_InfoMCG = 1;
206     MeasResultReportCGI measResultReportCGI = 2;
207 }
208
209 message PH_TypeListMCG
210 {
211     repeated PH_InfoMCG items = 1;
212 }
213
214 message PH_InfoMCG
215 {
216     uint32 servCellIndex = 1;
217     PH_UplinkCarrierMCG ph_Uplink = 2;
218     PH_UplinkCarrierMCG ph_SupplementaryUplink = 3;
219 }
220
221 message PH_UplinkCarrierMCG
222 {
223     enum PH_Type1or3 {
224         protobuf_unspecified = 0;
225         type1 = 1;
226         type3 = 2;
227     }
228     PH_Type1or3 ph_Type1or3 = 1;
229 }
230
231 message MeasResultReportCGI
232 {
233     uint32 ssbFrequency = 1;
234     uint32 cellForWhichToReportCGI = 2;
235     CGI_Info cgi_Info = 3;
236 }