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
lizhongxiao
OpenXG-RAN
Commits
1ca91b3c
Commit
1ca91b3c
authored
May 09, 2018
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug for PC5S release
parent
02fd6fbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/config.c
+2
-2
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_UE.c
+8
-3
No files found.
openair2/LAYER2/MAC/config.c
View file @
1ca91b3c
...
...
@@ -1473,8 +1473,8 @@ rrc_mac_config_req_ue(
for
(
k
=
MAX_NUM_LCID_DATA
;
k
<
MAX_NUM_LCID
;
k
++
)
{
if
(
UE_mac_inst
[
Mod_idP
].
sl_info
[
k
].
LCID
==
logicalChannelIdentity
)
{
UE_mac_inst
[
Mod_idP
].
sl_info
[
k
].
LCID
=
0
;
UE_mac_inst
[
Mod_idP
].
sl_info
[
k
].
destinationL2Id
=
0
;
UE_mac_inst
[
Mod_idP
].
sl_info
[
k
].
groupL2Id
=
0
;
//
UE_mac_inst[Mod_idP].sl_info[k].destinationL2Id = 0;
//
UE_mac_inst[Mod_idP].sl_info[k].groupL2Id = 0;
UE_mac_inst
[
Mod_idP
].
numCommFlows
--
;
break
;
}
...
...
openair2/RRC/LITE/rrc_UE.c
View file @
1ca91b3c
...
...
@@ -6183,9 +6183,14 @@ void *rrc_control_socket_thread_fct(void *arg)
i
=
0
;
if
(
destinationL2Id
>
0
){
for
(
i
=
MAX_NUM_LCID_DATA
;
i
<
MAX_NUM_LCID
;
i
++
)
{
if
((
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
LCID
==
0
)
&&
(
j
==
0
))
j
=
i
+
1
;
if
((
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
LCID
==
0
)
&&
(
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
destinationL2Id
==
0
)
&&
(
j
==
0
))
j
=
i
+
1
;
if
(
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
destinationL2Id
==
destinationL2Id
)
{
pc5s_rbid
=
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
LCID
;
if
(
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
LCID
>
0
)
{
pc5s_rbid
=
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
LCID
;
}
else
if
(
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
LCID
==
0
){
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
LCID
=
i
;
pc5s_rbid
=
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
LCID
;
}
LOG_I
(
RRC
,
"[PC5EstablishReq] rbid %d for destination Id: 0x%08x
\n
"
,
pc5s_rbid
,
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
destinationL2Id
);
break
;
//(LCID, D) already exists!
}
...
...
@@ -6206,7 +6211,7 @@ void *rrc_control_socket_thread_fct(void *arg)
j
=
0
;
i
=
0
;
for
(
i
=
MAX_NUM_LCID_DATA
;
i
<
MAX_NUM_LCID
;
i
++
)
{
if
((
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
LCID
==
0
)
&&
(
j
==
0
))
j
=
i
+
1
;
if
((
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
LCID
==
0
)
&&
(
UE_rrc_inst
[
module_id
].
sl_info
[
i
].
destinationL2Id
==
0
)
&&
(
j
==
0
))
j
=
i
+
1
;
}
if
((
i
==
MAX_NUM_LCID
)
&&
(
j
>
0
))
{
UE_rrc_inst
[
module_id
].
sl_info
[
j
-
1
].
LCID
=
(
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