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
ZhouShuya
OpenXG-RAN
Commits
d12f55d2
Commit
d12f55d2
authored
Aug 04, 2017
by
shahab SHARIATBAGHERI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add operating downlink frequency
parent
8e5b1740
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
1 deletion
+17
-1
openair2/ENB_APP/MESSAGES/V2/config_messages.proto
openair2/ENB_APP/MESSAGES/V2/config_messages.proto
+1
-0
openair2/ENB_APP/flexran_agent_common.c
openair2/ENB_APP/flexran_agent_common.c
+4
-0
openair2/ENB_APP/flexran_agent_ran_api.c
openair2/ENB_APP/flexran_agent_ran_api.c
+8
-0
openair2/ENB_APP/flexran_agent_ran_api.h
openair2/ENB_APP/flexran_agent_ran_api.h
+4
-1
No files found.
openair2/ENB_APP/MESSAGES/V2/config_messages.proto
View file @
d12f55d2
...
...
@@ -38,6 +38,7 @@ message flex_cell_config {
optional
uint32
srs_mac_up_pts
=
32
;
// Boolean value. See TS 36.211, section 5.5.3.2. TDD only
optional
uint32
enable_64QAM
=
33
;
// One of the FLEQ_* enum values
optional
uint32
carrier_index
=
34
;
// Carrier component index
optional
uint32
op_dl_freq
=
35
;
// operating downlink frequency
}
message
flex_ue_config
{
...
...
openair2/ENB_APP/flexran_agent_common.c
View file @
d12f55d2
...
...
@@ -1013,6 +1013,10 @@ int flexran_agent_enb_config_reply(mid_t mod_id, const void *params, Protocol__F
cell_conf
[
i
]
->
srs_mac_up_pts
=
flexran_get_srs_MaxUpPts
(
enb_id
,
i
);
cell_conf
[
i
]
->
has_srs_mac_up_pts
=
1
;
cell_conf
[
i
]
->
op_dl_freq
=
flexran_agent_get_operating_dl_freq
(
0
);
cell_conf
[
i
]
->
has_op_dl_freq
=
1
;
if
(
flexran_get_enable64QAM
(
enb_id
,
i
)
==
0
)
{
cell_conf
[
i
]
->
enable_64qam
=
PROTOCOL__FLEX_QAM__FLEQ_MOD_16QAM
;
}
else
if
(
flexran_get_enable64QAM
(
enb_id
,
i
)
==
1
)
{
...
...
openair2/ENB_APP/flexran_agent_ran_api.c
View file @
d12f55d2
...
...
@@ -956,3 +956,11 @@ int flexran_get_antenna_ports(mid_t mod_id, int CC_id){
return
frame_parms
->
nb_antenna_ports_eNB
;
}
float
flexran_agent_get_operating_dl_freq
(
mid_t
cc_id
)
{
const
Enb_properties_array_t
*
enb_properties
=
enb_config_get
();
return
(
enb_properties
->
properties
[
0
]
->
downlink_frequency
[
cc_id
]
/
1000000
);
}
openair2/ENB_APP/flexran_agent_ran_api.h
View file @
d12f55d2
...
...
@@ -299,3 +299,6 @@ int flexran_get_lcg(mid_t ue_id, mid_t lc_id);
/* Get direction of logical channel with id lc_id */
int
flexran_get_direction
(
mid_t
ue_id
,
mid_t
lc_id
);
/*Gety downlink frequency*/
float
flexran_agent_get_operating_dl_freq
(
mid_t
cc_id
);
\ No newline at end of file
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