adding Jussi as committer
[ric-plt/streaming-protobufs.git] / 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
27 /*
28    Protocol Buffer definition for CG-Config message.
29    (3GPP 38.331, ver 15.4.0)
30
31    Naming convention follows the ASN.1 field naming defined in chapter
32    '11.2.2 Message definitions' of below document:
33    http://www.3gpp.org/ftp//Specs/archive/38_series/38.331/38331-f40.zip
34
35    Dashes converted to underscores to make protobuf message syntax correct.
36 */
37
38 message CG_Config
39 {
40     oneof criticalExtensions
41     {
42         CG_ConfigCriticalExtensionsChoice1 criticalExtensionsChoice1 = 1;
43     }
44 }
45
46 message CG_ConfigCriticalExtensionsChoice1
47 {
48     oneof c1 {
49         CG_Config_IEs protocolIEs = 1;
50     }
51 }
52
53 message CG_Config_IEs
54 {
55     google.protobuf.StringValue scg_CellGroupConfig = 1;
56     RadioBearerConfig scg_RB_Config = 2;
57     ConfigRestrictModReqSCG configRestrictModReq = 3;
58     DRX_Info drx_InfoSCG = 4;
59     MeasResultList2NR candidateCellInfoListSN = 5;
60     MeasConfigSN measConfigSN = 6;
61     BandCombinationInfoSN selectedBandCombinationNR = 7;
62     FR_InfoList fr_InfoListSCG = 8;
63     CandidateServingFreqListNR candidateServingFreqListNR = 9;
64     CG_Config_v1540_IEs nonCriticalExtension = 10;
65 }
66
67 message ConfigRestrictModReqSCG
68 {
69     BandCombinationInfoSN requestedBC_MRDC = 1;
70     google.protobuf.Int32Value requestedP_MaxFR1 = 2;
71 }
72
73
74 message BandCombinationInfoSN
75 {
76     uint32 bandCombinationIndex = 1;
77     uint32 requestedFeatureSets = 2;
78 }
79
80 message FR_InfoList
81 {
82     repeated FR_Info items = 1;
83 }
84
85 message FR_Info
86 {
87     uint32 servCellIndex = 1;
88     FR_Type fr_Type = 2;
89 }
90
91 message FR_Type
92 {
93     enum Value {
94         protobuf_unspecified = 0;
95         fr1 = 1;
96         fr2 = 2;
97     }
98     Value value = 1;
99 }
100
101 message CandidateServingFreqListNR
102 {
103     repeated uint32 items = 1;
104 }
105
106 message CG_Config_v1540_IEs
107 {
108     google.protobuf.UInt32Value pSCellFrequency = 1;
109     ReportCGI_Request reportCGI_Request = 2;
110     PH_TypeListSCG ph_InfoSCG = 3;
111 }
112
113 message ReportCGI_Request
114 {
115     RequestedCellInfo requestedCellInfo = 1;
116 }
117
118 message RequestedCellInfo
119 {
120     uint32 ssbFrequency = 1;
121     uint32 cellForWhichToReportCGI = 2;
122 }
123
124 message PH_TypeListSCG
125 {
126     repeated PH_InfoSCG items = 1;
127 }
128
129 message PH_InfoSCG
130 {
131     uint32 servCellIndex = 1;
132     PH_UplinkCarrierSCG ph_Uplink = 2;
133     PH_UplinkCarrierSCG ph_SupplementaryUplink = 3;
134 }
135
136 message PH_UplinkCarrierSCG
137 {
138     enum PH_Type1or3 {
139         protobuf_unspecified = 0;
140         type1 = 1;
141         type3 = 2;
142     }
143     PH_Type1or3 ph_Type1or3 = 1;
144 }
145
146 message MeasConfigSN
147 {
148     repeated NR_FreqInfo measuredFrequenciesSN = 1;
149 }