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
wangjie
OpenXG-RAN
Commits
ef78dcde
Commit
ef78dcde
authored
Feb 13, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
send UE Capabilities to Flexran RTController
parent
12ac8b18
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
15 deletions
+10
-15
openair2/ENB_APP/flexran_agent_common.c
openair2/ENB_APP/flexran_agent_common.c
+10
-15
No files found.
openair2/ENB_APP/flexran_agent_common.c
View file @
ef78dcde
...
@@ -630,21 +630,16 @@ int flexran_agent_ue_config_reply(mid_t mod_id, const void *params, Protocol__Fl
...
@@ -630,21 +630,16 @@ int flexran_agent_ue_config_reply(mid_t mod_id, const void *params, Protocol__Fl
Protocol__FlexUeCapabilities
*
capabilities
;
Protocol__FlexUeCapabilities
*
capabilities
;
capabilities
=
malloc
(
sizeof
(
Protocol__FlexUeCapabilities
));
capabilities
=
malloc
(
sizeof
(
Protocol__FlexUeCapabilities
));
protocol__flex_ue_capabilities__init
(
capabilities
);
protocol__flex_ue_capabilities__init
(
capabilities
);
//TODO: Set half duplex (FDD operation)
capabilities
->
has_half_duplex
=
1
;
capabilities
->
has_half_duplex
=
0
;
capabilities
->
half_duplex
=
flexran_get_half_duplex
(
mod_id
,
i
);
capabilities
->
half_duplex
=
0
;
//flexran_get_half_duplex(i);
capabilities
->
has_intra_sf_hopping
=
1
;
//TODO: Set intra-frame hopping flag
capabilities
->
intra_sf_hopping
=
flexran_get_intra_sf_hopping
(
mod_id
,
i
);
capabilities
->
has_intra_sf_hopping
=
0
;
capabilities
->
has_type2_sb_1
=
1
;
capabilities
->
intra_sf_hopping
=
1
;
//flexran_get_intra_sf_hopping(i);
capabilities
->
type2_sb_1
=
flexran_get_type2_sb_1
(
mod_id
,
i
);
//TODO: Set support for type 2 hopping with n_sb > 1
capabilities
->
has_ue_category
=
1
;
capabilities
->
has_type2_sb_1
=
0
;
capabilities
->
ue_category
=
flexran_get_ue_category
(
mod_id
,
i
);
capabilities
->
type2_sb_1
=
1
;
//flexran_get_type2_sb_1(i);
capabilities
->
has_res_alloc_type1
=
1
;
//TODO: Set ue category
capabilities
->
res_alloc_type1
=
flexran_get_res_alloc_type1
(
mod_id
,
i
);
capabilities
->
has_ue_category
=
0
;
capabilities
->
ue_category
=
1
;
//flexran_get_ue_category(i);
//TODO: Set UE support for resource allocation type 1
capabilities
->
has_res_alloc_type1
=
0
;
capabilities
->
res_alloc_type1
=
1
;
//flexran_get_res_alloc_type1(i);
//Set the capabilites to the message
//Set the capabilites to the message
ue_config
[
i
]
->
capabilities
=
capabilities
;
ue_config
[
i
]
->
capabilities
=
capabilities
;
...
...
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