forked from wineslab/oai-oran-protolib
-
Notifications
You must be signed in to change notification settings - Fork 13
/
ran_messages.proto
66 lines (53 loc) · 1.4 KB
/
ran_messages.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
syntax = "proto2";
enum RAN_message_type{
SUBSCRIPTION = 1;
INDICATION_REQUEST = 2;
INDICATION_RESPONSE = 3;
CONTROL = 4;
}
enum RAN_parameter{
GNB_ID = 1;
UE_LIST = 3;
}
message RAN_param_map_entry{
required RAN_parameter key = 1;
oneof value{
int64 int64_value = 2;
string string_value = 3;
ue_list_m ue_list = 4;
}
}
/* RAN SUBMESSAGES */
message RAN_indication_request{
repeated RAN_parameter target_params = 1;
}
message RAN_indication_response{
repeated RAN_param_map_entry param_map = 1;
}
message RAN_control_request{
repeated RAN_param_map_entry target_param_map = 1;
}
/* MASTER RAN MESSAGE */
message RAN_message{
required RAN_message_type msg_type = 1;
oneof payload{
RAN_indication_request ran_indication_request = 2;
RAN_indication_response ran_indication_response = 3;
RAN_control_request ran_control_request = 4;
}
}
message ue_info_m{
// this is to identify the ue
required int32 rnti=1;
// specific ue's measurements (these will come from the gnb)
optional float meas_type_1=2;
optional float meas_type_2=3;
optional float meas_type_3=4;
// specific ue's propoerties (these will be set by the xapp and sent to gnb)
optional bool prop_1 = 5;
optional float prop_2 = 6;
}
message ue_list_m{
required int32 connected_ues = 1;
repeated ue_info_m ue_info = 2;
}