Restructure directory and add SCG configuration Protobuf
[ric-plt/streaming-protobufs.git] / proto / rrc_cg_config.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 "rrc_reconfiguration.proto";
27
28 /*
29    Protocol Buffer definition for CG-Config 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_Config
40 {
41     oneof criticalExtensions
42     {
43         CG_ConfigCriticalExtensionsChoice1 criticalExtensionsChoice1 = 1;
44     }
45 }
46
47 message CG_ConfigCriticalExtensionsChoice1
48 {
49     oneof c1 {
50         CG_Config_IEs protocolIEs = 1;
51     }
52 }
53
54 message CG_Config_IEs
55 {
56     RRCReconfiguration scg_CellGroupConfig = 1;
57     RadioBearerConfig scg_RB_Config = 2;
58     ConfigRestrictModReqSCG configRestrictModReq = 3;
59     DRX_Info drx_InfoSCG = 4;
60     MeasResultList2NR candidateCellInfoListSN = 5;
61     MeasConfigSN measConfigSN = 6;
62     BandCombinationInfoSN selectedBandCombinationNR = 7;
63     FR_InfoList fr_InfoListSCG = 8;
64     CandidateServingFreqListNR candidateServingFreqListNR = 9;
65     CG_Config_v1540_IEs nonCriticalExtension = 10;
66 }
67
68 message ConfigRestrictModReqSCG
69 {
70     BandCombinationInfoSN requestedBC_MRDC = 1;
71     google.protobuf.Int32Value requestedP_MaxFR1 = 2;
72 }
73
74
75 message BandCombinationInfoSN
76 {
77     uint32 bandCombinationIndex = 1;
78     uint32 requestedFeatureSets = 2;
79 }
80
81 message FR_InfoList
82 {
83     repeated FR_Info items = 1;
84 }
85
86 message FR_Info
87 {
88     uint32 servCellIndex = 1;
89     FR_Type fr_Type = 2;
90 }
91
92 message FR_Type
93 {
94     enum Value {
95         protobuf_unspecified = 0;
96         fr1 = 1;
97         fr2 = 2;
98     }
99     Value value = 1;
100 }
101
102 message CandidateServingFreqListNR
103 {
104     repeated uint32 items = 1;
105 }
106
107 message CG_Config_v1540_IEs
108 {
109     google.protobuf.UInt32Value pSCellFrequency = 1;
110     ReportCGI_Request reportCGI_Request = 2;
111     PH_TypeListSCG ph_InfoSCG = 3;
112 }
113
114 message ReportCGI_Request
115 {
116     RequestedCellInfo requestedCellInfo = 1;
117 }
118
119 message RequestedCellInfo
120 {
121     uint32 ssbFrequency = 1;
122     uint32 cellForWhichToReportCGI = 2;
123 }
124
125 message PH_TypeListSCG
126 {
127     repeated PH_InfoSCG items = 1;
128 }
129
130 message PH_InfoSCG
131 {
132     uint32 servCellIndex = 1;
133     PH_UplinkCarrierSCG ph_Uplink = 2;
134     PH_UplinkCarrierSCG ph_SupplementaryUplink = 3;
135 }
136
137 message PH_UplinkCarrierSCG
138 {
139     enum PH_Type1or3 {
140         protobuf_unspecified = 0;
141         type1 = 1;
142         type3 = 2;
143     }
144     PH_Type1or3 ph_Type1or3 = 1;
145 }
146
147 message MeasConfigSN
148 {
149     repeated NR_FreqInfo measuredFrequenciesSN = 1;
150 }