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
zzha zzha
OpenXG-RAN
Commits
8c55ccc9
Commit
8c55ccc9
authored
Sep 22, 2021
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a critical bug introduced by F1-U in 4G
parent
32ebb876
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
24 deletions
+26
-24
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+1
-1
openair2/LAYER2/rlc_v2/rlc_oai_api.c
openair2/LAYER2/rlc_v2/rlc_oai_api.c
+25
-23
No files found.
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
8c55ccc9
...
...
@@ -1546,7 +1546,7 @@ void pdcp_add_UE(const protocol_ctxt_t *const ctxt_pP) {
pdcp_enb
[
ctxt_pP
->
module_id
].
rnti
[
i
]
=
ctxt_pP
->
rnti
;
pdcp_enb
[
ctxt_pP
->
module_id
].
uid
[
i
]
=
i
;
pdcp_enb
[
ctxt_pP
->
module_id
].
num_ues
++
;
printf
(
"add new uid is %d %x
\n
\n
"
,
i
,
ctxt_pP
->
rnti
);
LOG_I
(
PDCP
,
"add new uid is %d %x
\n
"
,
i
,
ctxt_pP
->
rnti
);
pdcp_init_stats_UE
(
ctxt_pP
->
module_id
,
i
);
// ret=1;
break
;
...
...
openair2/LAYER2/rlc_v2/rlc_oai_api.c
View file @
8c55ccc9
...
...
@@ -418,7 +418,8 @@ rb_found:
AssertFatal
(
type
!=
ngran_eNB_CU
&&
type
!=
ngran_ng_eNB_CU
&&
type
!=
ngran_gNB_CU
,
"Can't be CU, bad node type %d
\n
"
,
type
);
if
(
NODE_IS_DU
(
type
)
&&
is_srb
==
1
)
{
if
(
NODE_IS_DU
(
type
))
{
if
(
is_srb
==
1
)
{
MessageDef
*
msg
=
itti_alloc_new_message_sized
(
TASK_RLC_ENB
,
0
,
F1AP_UL_RRC_MESSAGE
,
sizeof
(
*
msg
)
+
size
);
F1AP_UL_RRC_MESSAGE
(
msg
).
rrc_container
=
(
uint8_t
*
)(
msg
+
1
);
memcpy
(
F1AP_UL_RRC_MESSAGE
(
msg
).
rrc_container
,
buf
,
size
);
...
...
@@ -443,6 +444,7 @@ rb_found:
return
;
}
}
}
memblock
=
get_free_mem_block
(
size
,
__func__
);
if
(
memblock
==
NULL
)
{
...
...
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