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
spbro
OpenXG-RAN
Commits
6b465c71
Commit
6b465c71
authored
Sep 07, 2022
by
Angelo Athanassopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR PDCP - Removed DRB ID limitations
parent
91143db6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.h
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.h
+1
-0
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
+4
-4
openair2/LAYER2/nr_pdcp/nr_pdcp_ue_manager.h
openair2/LAYER2/nr_pdcp/nr_pdcp_ue_manager.h
+1
-1
No files found.
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.h
View file @
6b465c71
...
...
@@ -25,6 +25,7 @@
#include <stdint.h>
#include "nr_pdcp_sdu.h"
#include "openair2/RRC/NR/rrc_gNB_drbs.h"
typedef
enum
{
NR_PDCP_DRB_AM
,
...
...
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
View file @
6b465c71
...
...
@@ -265,7 +265,7 @@ static void do_pdcp_data_ind(
else
rb
=
ue
->
srb
[
rb_id
-
1
];
}
else
{
if
(
rb_id
<
1
||
rb_id
>
5
)
if
(
rb_id
<
1
||
rb_id
>
MAX_DRBS_PER_UE
)
rb
=
NULL
;
else
rb
=
ue
->
drb
[
rb_id
-
1
];
...
...
@@ -631,7 +631,7 @@ static void deliver_sdu_drb(void *_ue, nr_pdcp_entity_t *entity,
size
);
}
else
{
for
(
i
=
0
;
i
<
5
;
i
++
)
{
for
(
i
=
0
;
i
<
MAX_DRBS_PER_UE
;
i
++
)
{
if
(
entity
==
ue
->
drb
[
i
])
{
rb_id
=
i
+
1
;
goto
rb_found
;
...
...
@@ -666,7 +666,7 @@ static void deliver_pdu_drb(void *_ue, nr_pdcp_entity_t *entity,
int
i
;
mem_block_t
*
memblock
;
for
(
i
=
0
;
i
<
5
;
i
++
)
{
for
(
i
=
0
;
i
<
MAX_DRBS_PER_UE
;
i
++
)
{
if
(
entity
==
ue
->
drb
[
i
])
{
rb_id
=
i
+
1
;
goto
rb_found
;
...
...
@@ -1347,7 +1347,7 @@ static bool pdcp_data_req_drb(protocol_ctxt_t *ctxt_pP,
ue
=
nr_pdcp_manager_get_ue
(
nr_pdcp_ue_manager
,
rnti
);
if
(
rb_id
<
1
||
rb_id
>
5
)
if
(
rb_id
<
1
||
rb_id
>
MAX_DRBS_PER_UE
)
rb
=
NULL
;
else
rb
=
ue
->
drb
[
rb_id
-
1
];
...
...
openair2/LAYER2/nr_pdcp/nr_pdcp_ue_manager.h
View file @
6b465c71
...
...
@@ -29,7 +29,7 @@ typedef void nr_pdcp_ue_manager_t;
typedef
struct
nr_pdcp_ue_t
{
int
rnti
;
nr_pdcp_entity_t
*
srb
[
3
];
nr_pdcp_entity_t
*
drb
[
5
];
nr_pdcp_entity_t
*
drb
[
MAX_DRBS_PER_UE
];
}
nr_pdcp_ue_t
;
/***********************************************************************/
...
...
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