adding Jussi as committer
[ric-plt/streaming-protobufs.git] / rrctransfer.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_general_message_types.proto";
26
27 /*
28    Protocol Buffer definition for RRC TRANSFER message.
29    (3GPP 36.423, ver 15.4.0)
30
31    Naming convention follows the ASN.1 field naming defined in chapter
32    '9.3 Message and Information Element Abstract Syntax (with ASN.1)' of below document:
33    http://www.3gpp.org/ftp//Specs/archive/36_series/36.423/36423-f40.zip
34
35    Dashes converted to underscores to make protobuf message syntax correct.
36 */
37
38
39 message UENRMeasurement_ExtIEs
40 {
41 }
42
43 message UENRMeasurement
44 {
45     RRCContainer uENRMeasurements = 1;
46     repeated UENRMeasurement_ExtIEs iE_Extensions = 2;
47 }
48
49 message SplitSRB_ExtIEs
50 {
51 }
52
53 message DeliveryStatus_ExtIEs
54 {
55 }
56
57 message DeliveryStatus
58 {
59     uint32 highestSuccessDeliveredPDCPSN = 1;
60     repeated DeliveryStatus_ExtIEs iE_Extensions = 2;
61 }
62
63 message SplitSRB
64 {
65     enum SRBType {
66         protobuf_unspecified = 0;
67         srb1 = 1;
68         srb2 = 2;
69     }
70
71     /*UNNECESSARILY LONG - CANNOT COMPLETE 36.331 RRCContainer -
72       ALSO SPLIT SRB IS NOT SUPPORTED IN NOKIA gNB. THIS WILL BE A HEAVILY
73       UNNECESSARY EXERCISE TO DO PROTOBUF SPEC. FOR THE TIME BEING, IT IS
74       OK TO USE 38.331*/
75     RRCContainer rrcContainer = 1;
76     SRBType srbType = 2;
77     DeliveryStatus deliveryStatus = 3;
78     repeated SplitSRB_ExtIEs iE_Extensions = 4;
79 }
80
81 message RRCTransfer_IEs
82 {
83     uint32 id_MeNB_UE_X2AP_ID = 1;
84     uint32 id_SgNB_UE_X2AP_ID = 2;
85     SplitSRB id_SplitSRB = 3;
86     UENRMeasurement id_UENRMeasurement = 4;
87     google.protobuf.UInt32Value id_MeNB_UE_X2AP_ID_Extension = 5;
88 }
89
90 message RRCTransfer
91 {
92     RRCTransfer_IEs rrcTransfer_IEs = 1;
93 }