Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常顺宇
OpenXG-RAN
Commits
cd74f4d6
Commit
cd74f4d6
authored
Dec 10, 2017
by
shahab SHARIAT BAGHERI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message balance
parent
5e20c970
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
70 additions
and
134 deletions
+70
-134
openair2/ENB_APP/MESSAGES/V2/config_messages.proto
openair2/ENB_APP/MESSAGES/V2/config_messages.proto
+1
-1
openair2/ENB_APP/MESSAGES/V2/control_delegation.proto
openair2/ENB_APP/MESSAGES/V2/control_delegation.proto
+1
-1
openair2/ENB_APP/MESSAGES/V2/controller_commands.proto
openair2/ENB_APP/MESSAGES/V2/controller_commands.proto
+1
-7
openair2/ENB_APP/MESSAGES/V2/flexran.proto
openair2/ENB_APP/MESSAGES/V2/flexran.proto
+3
-19
openair2/ENB_APP/MESSAGES/V2/header.proto
openair2/ENB_APP/MESSAGES/V2/header.proto
+1
-2
openair2/ENB_APP/MESSAGES/V2/mac_primitives.proto
openair2/ENB_APP/MESSAGES/V2/mac_primitives.proto
+0
-37
openair2/ENB_APP/MESSAGES/V2/stats_common.proto
openair2/ENB_APP/MESSAGES/V2/stats_common.proto
+55
-51
openair2/ENB_APP/MESSAGES/V2/stats_messages.proto
openair2/ENB_APP/MESSAGES/V2/stats_messages.proto
+6
-6
openair2/ENB_APP/MESSAGES/V2/time_common.proto
openair2/ENB_APP/MESSAGES/V2/time_common.proto
+2
-2
openair2/ENB_APP/flexran_agent_common.c
openair2/ENB_APP/flexran_agent_common.c
+0
-8
No files found.
openair2/ENB_APP/MESSAGES/V2/config_messages.proto
View file @
cd74f4d6
openair2/ENB_APP/MESSAGES/V2/control_delegation.proto
View file @
cd74f4d6
openair2/ENB_APP/MESSAGES/V2/controller_commands.proto
View file @
cd74f4d6
...
...
@@ -4,7 +4,7 @@ package protocol;
import
"mac_primitives.proto"
;
//
// Body of UE DL
/UL
MAC scheduling configuration info
// Body of UE DL MAC scheduling configuration info
//
message
flex_dl_data
{
...
...
@@ -16,12 +16,6 @@ message flex_dl_data {
optional
uint32
act_deact_ce
=
6
;
//Hex content of MAC CE for Activation/Deactivation in CA
}
message
flex_ul_data
{
optional
uint32
rnti
=
1
;
optional
flex_ul_dci
ul_dci
=
2
;
}
//
// Body of the RAR scheduler configuration
//
...
...
openair2/ENB_APP/MESSAGES/V2/flexran.proto
View file @
cd74f4d6
...
...
@@ -8,6 +8,7 @@ import "config_messages.proto";
import
"controller_commands.proto"
;
import
"control_delegation.proto"
;
message
flexran_message
{
optional
flexran_direction
msg_dir
=
100
;
oneof
msg
{
...
...
@@ -29,7 +30,6 @@ message flexran_message {
flex_control_delegation
control_delegation_msg
=
16
;
flex_agent_reconfiguration
agent_reconfiguration_msg
=
17
;
flex_rrc_triggering
rrc_triggering
=
18
;
flex_ul_mac_config
ul_mac_config_msg
=
19
;
}
}
...
...
@@ -166,22 +166,6 @@ message flex_dl_mac_config {
repeated
flex_pdcch_ofdm_sym_count
ofdm_sym
=
6
;
// OFDM symbol count for each CC
}
message
flex_ul_mac_config
{
optional
flex_header
header
=
1
;
optional
uint32
sfn_sf
=
2
;
repeated
flex_ul_data
ul_ue_data
=
3
;
}
message
flex_rrc_triggering
{
optional
flex_header
header
=
1
;
optional
string
rrc_trigger
=
2
;
}
//
// UE state change message
//
...
...
openair2/ENB_APP/MESSAGES/V2/header.proto
View file @
cd74f4d6
...
...
@@ -41,6 +41,5 @@ enum flex_type {
FLPT_DELEGATE_CONTROL
=
15
;
FLPT_RECONFIGURE_AGENT
=
16
;
FLPT_RRC_TRIGGERING
=
17
;
FLPT_UL_MAC_CONFIG
=
18
;
}
openair2/ENB_APP/MESSAGES/V2/mac_primitives.proto
View file @
cd74f4d6
...
...
@@ -36,37 +36,6 @@ message flex_dl_dci {
optional
uint32
cif
=
27
;
// CIF for cross-carrier scheduling
}
message
flex_ul_dci
{
optional
uint32
rnti
=
1
;
optional
uint32
rb_start
=
2
;
// The start RB allocated to the UE
optional
uint32
rb_len
=
3
;
// The number of RBs allocated to the UE
optional
uint32
mcs
=
4
;
// Modulation and coding scheme
optional
uint32
cyclic_shift2
=
5
;
// match DCI format 0/4 PDU
optional
uint32
freq_hop_flag
=
6
;
// 0 no hopping, 1 hoppping
optional
uint32
freq_hop_map
=
7
;
// Frequency hopping bits (0..4)
optional
uint32
ndi
=
8
;
// New data indicator
optional
uint32
rv
=
9
;
// Redundancy version
optional
uint32
harq_pid
=
10
;
// The harq process id
optional
uint32
ultx_mode
=
11
;
// A FLULM_* value
optional
uint32
tbs_size
=
12
;
// The size of each TBS
optional
uint32
n_srs
=
13
;
// Overlap indication with srs
optional
uint32
res_alloc
=
14
;
// Type of resource allocation
optional
uint32
size
=
15
;
// Size of the ULSCH PDU in bytes for UL Grant.
optional
uint32
dai
=
16
;
// TDD only
// optional uint32 tb_swap = 17; // Boolean. TB to codeword swap flag
// optional uint32 pdcch_order = 19;
// optional uint32 preamble_index = 20; // Only valid if pdcch_order = 1
// optional uint32 prach_mask_index = 21; // Only valid if pdcch_order = 1
// optional uint32 tbs_idx = 23; // The TBS index for Format 1A
}
//
// Messages related to the creation of RLC PDUs
...
...
@@ -107,9 +76,3 @@ enum flex_ngap_val {
FLNGV_1
=
0
;
FLNGV_2
=
1
;
}
enum
flex_mod_type
{
FLMOD_QPSK
=
2
;
FLMOD_16QAM
=
4
;
FLMOD_64QAM
=
6
;
}
openair2/ENB_APP/MESSAGES/V2/stats_common.proto
View file @
cd74f4d6
...
...
@@ -183,8 +183,10 @@ message flex_noise_interference_report {
}
//
// RRC Primitives
// RRC
Measurements
Primitives
//
message
flex_rrc_measurements
{
// Measurement identifier.
optional
int32
measid
=
1
;
...
...
@@ -236,13 +238,16 @@ message flex_plmn_identity {
}
message
flex_eutra_ref_signal_meas
{
// Neighboring Cell Reference Signal Received Power (RSRP).
// Neighboring Cell RSRP
optional
int32
rsrp
=
1
;
// Neighboring Cell Reference Signal Received Quality (RSRQ).
// Neighboring Cell RSRQ
optional
int32
rsrq
=
2
;
}
//
// PDCP Statistics
//
message
flex_pdcp_stats
{
optional
uint32
pkt_tx
=
1
;
...
...
@@ -261,5 +266,4 @@ message flex_pdcp_stats {
optional
uint32
pkt_rx_aiat
=
14
;
optional
uint32
pkt_rx_aiat_s
=
15
;
optional
uint32
pkt_rx_oo
=
16
;
}
}
openair2/ENB_APP/MESSAGES/V2/stats_messages.proto
View file @
cd74f4d6
...
...
@@ -86,8 +86,8 @@ enum flex_ue_stats_type {
FLUST_PBS
=
32
;
FLUST_UL_CQI
=
64
;
FLUST_PDCP_STATS
=
1024
;
// To be changed
// To be extended with more types of stats
FLUST_PDCP_STATS
=
1024
;
FLUST_RRC_MEASUREMENTS
=
65536
;
// To be extended with more types of stats
}
openair2/ENB_APP/MESSAGES/V2/time_common.proto
View file @
cd74f4d6
openair2/ENB_APP/flexran_agent_common.c
View file @
cd74f4d6
...
...
@@ -387,7 +387,6 @@ int flexran_agent_control_delegation(mid_t mod_id, const void *params, Protocol_
Protocol__FlexControlDelegation
*
control_delegation_msg
=
input
->
control_delegation_msg
;
// struct timespec vartime = timer_start();
int
status
;
//Write the payload lib into a file in the cache and load the lib
char
lib_name
[
120
];
char
target
[
512
];
...
...
@@ -395,13 +394,6 @@ int flexran_agent_control_delegation(mid_t mod_id, const void *params, Protocol_
strcpy
(
target
,
local_cache
);
strcat
(
target
,
lib_name
);
status
=
mkdir
(
local_cache
,
S_IRWXU
|
S_IRWXG
|
S_IRWXO
);
if
(
status
<
0
){
LOG_W
(
ENB_APP
,
"Couldn't create local cache!"
);
}
FILE
*
f
;
f
=
fopen
(
target
,
"wb"
);
fwrite
(
control_delegation_msg
->
payload
.
data
,
control_delegation_msg
->
payload
.
len
,
1
,
f
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment