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
canghaiwuhen
OpenXG-RAN
Commits
f84568e1
Commit
f84568e1
authored
Feb 24, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix when checking for the LCG of an LC
parent
fffb682f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
openair2/ENB_APP/enb_agent_common.c
openair2/ENB_APP/enb_agent_common.c
+6
-4
No files found.
openair2/ENB_APP/enb_agent_common.c
View file @
f84568e1
...
...
@@ -1053,8 +1053,7 @@ int get_lcg(mid_t ue_id, mid_t lc_id)
int
get_direction
(
mid_t
ue_id
,
mid_t
lc_id
)
{
/*TODO: fill with the value for the rest of LCID*/
if
(
lc_id
==
CCCH
|
lc_id
==
DCCH
)
if
(
lc_id
==
DCCH
|
lc_id
==
DCCH1
)
return
2
;
else
if
(
lc_id
==
DTCH
)
return
1
;
...
...
@@ -1124,8 +1123,11 @@ int enb_agent_lc_config_reply(mid_t mod_id, const void *params, Protocol__Progra
lc_config
[
j
]
->
has_lcid
=
1
;
lc_config
[
j
]
->
lcid
=
j
+
1
;
//TODO: Set the LCG of the channel
lc_config
[
j
]
->
has_lcg
=
1
;
lc_config
[
j
]
->
lcg
=
get_lcg
(
i
,
j
+
1
);
int
lcg
=
get_lcg
(
i
,
j
+
1
);
if
(
lcg
>=
0
&&
lcg
<=
3
)
{
lc_config
[
j
]
->
has_lcg
=
1
;
lc_config
[
j
]
->
lcg
=
get_lcg
(
i
,
j
+
1
);
}
//TODO: Set the LC direction
lc_config
[
j
]
->
has_direction
=
1
;
lc_config
[
j
]
->
direction
=
get_direction
(
i
,
j
+
1
);
...
...
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