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
28fcd6f7
Commit
28fcd6f7
authored
Jun 26, 2023
by
Anton Kozhemiachenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix srb_id issue (in TC 7.1.2.2.1 the first SRB2 message comes on invalid SRB)
parent
fc77df61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c
+1
-1
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
+2
-2
No files found.
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c
View file @
28fcd6f7
...
...
@@ -112,7 +112,7 @@ static void nr_pdcp_entity_recv_pdu(nr_pdcp_entity_t *entity,
LOG_I
(
PDCP
,
"%s: Entity security status(%d): ciphering %d, integrity check %d
\n
"
,
__FUNCTION__
,
entity
->
has_ciphering
,
entity
->
has_ciphering
?
entity
->
ciphering_algorithm
:-
1
,
entity
->
has_integrity
?
entity
->
integrity_algorithm
:-
1
);
LOG_MSG
(
_buffer
,
size
,
"RLC => PDCP: rcvd_count=%zu, rcvd_sn=%d
: "
,
rcvd_count
,
rcvd_sn
);
LOG_MSG
(
_buffer
,
size
,
"RLC => PDCP: rcvd_count=%zu, rcvd_sn=%d
, rb_id=%d: "
,
rcvd_count
,
rcvd_sn
,
entity
->
rb_id
);
if
(
entity
->
has_ciphering
)
{
...
...
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
View file @
28fcd6f7
...
...
@@ -888,12 +888,12 @@ static void deliver_pdu_srb(void *_ue, nr_pdcp_entity_t *entity,
srb_found:
LOG_D
(
PDCP
,
"%s(): (srb %d) calling rlc_data_req size %d
\n
"
,
__func__
,
srb_id
,
size
);
LOG_MSG
(
buf
,
size
,
"%s: PDCP => RLC
: "
,
__FUNCTION__
);
LOG_MSG
(
buf
,
size
,
"%s: PDCP => RLC
, rb_id=%d: "
,
__FUNCTION__
,
srb_id
);
//for (i = 0; i < size; i++) printf(" %2.2x", (unsigned char)memblock->data[i]);
//printf("\n");
if
((
RC
.
nrrrc
==
NULL
)
||
(
!
NODE_IS_CU
(
node_type
)))
{
if
(
entity
->
is_gnb
)
{
f1ap_dl_rrc_message_t
dl_rrc
=
{.
old_gNB_DU_ue_id
=
0xFFFFFF
,
.
rrc_container
=
(
uint8_t
*
)
buf
,
.
rrc_container_length
=
size
,
.
rnti
=
ue
->
rntiMaybeUEid
,
.
srb_id
=
DCCH
};
f1ap_dl_rrc_message_t
dl_rrc
=
{.
old_gNB_DU_ue_id
=
0xFFFFFF
,
.
rrc_container
=
(
uint8_t
*
)
buf
,
.
rrc_container_length
=
size
,
.
rnti
=
ue
->
rntiMaybeUEid
,
.
srb_id
=
srb_id
};
gNB_RRC_INST
*
rrc
=
RC
.
nrrrc
[
0
];
rrc
->
mac_rrc
.
dl_rrc_message_transfer
(
0
,
&
dl_rrc
);
}
else
{
// UE
...
...
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