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
8a4df37e
Commit
8a4df37e
authored
Aug 23, 2023
by
Chieh-Chun Chen
Committed by
Robert Schmidt
Aug 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nr rlc: rename delete() to delete_entity()
parent
2fef830d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
openair2/LAYER2/nr_rlc/nr_rlc_entity.c
openair2/LAYER2/nr_rlc/nr_rlc_entity.c
+3
-3
openair2/LAYER2/nr_rlc/nr_rlc_entity.h
openair2/LAYER2/nr_rlc/nr_rlc_entity.h
+1
-1
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
+2
-2
openair2/LAYER2/nr_rlc/nr_rlc_ue_manager.c
openair2/LAYER2/nr_rlc/nr_rlc_ue_manager.c
+3
-3
No files found.
openair2/LAYER2/nr_rlc/nr_rlc_entity.c
View file @
8a4df37e
...
...
@@ -99,7 +99,7 @@ nr_rlc_entity_t *new_nr_rlc_entity_am(
ret
->
common
.
set_time
=
nr_rlc_entity_am_set_time
;
ret
->
common
.
discard_sdu
=
nr_rlc_entity_am_discard_sdu
;
ret
->
common
.
reestablishment
=
nr_rlc_entity_am_reestablishment
;
ret
->
common
.
delete
=
nr_rlc_entity_am_delete
;
ret
->
common
.
delete
_entity
=
nr_rlc_entity_am_delete
;
ret
->
common
.
available_tx_space
=
nr_rlc_entity_am_available_tx_space
;
ret
->
common
.
get_stats
=
nr_rlc_entity_get_stats
;
...
...
@@ -158,7 +158,7 @@ nr_rlc_entity_t *new_nr_rlc_entity_um(
ret
->
common
.
set_time
=
nr_rlc_entity_um_set_time
;
ret
->
common
.
discard_sdu
=
nr_rlc_entity_um_discard_sdu
;
ret
->
common
.
reestablishment
=
nr_rlc_entity_um_reestablishment
;
ret
->
common
.
delete
=
nr_rlc_entity_um_delete
;
ret
->
common
.
delete
_entity
=
nr_rlc_entity_um_delete
;
ret
->
common
.
available_tx_space
=
nr_rlc_entity_um_available_tx_space
;
ret
->
common
.
get_stats
=
nr_rlc_entity_get_stats
;
...
...
@@ -198,7 +198,7 @@ nr_rlc_entity_t *new_nr_rlc_entity_tm(
ret
->
common
.
set_time
=
nr_rlc_entity_tm_set_time
;
ret
->
common
.
discard_sdu
=
nr_rlc_entity_tm_discard_sdu
;
ret
->
common
.
reestablishment
=
nr_rlc_entity_tm_reestablishment
;
ret
->
common
.
delete
=
nr_rlc_entity_tm_delete
;
ret
->
common
.
delete
_entity
=
nr_rlc_entity_tm_delete
;
ret
->
common
.
available_tx_space
=
nr_rlc_entity_tm_available_tx_space
;
ret
->
common
.
get_stats
=
nr_rlc_entity_get_stats
;
...
...
openair2/LAYER2/nr_rlc/nr_rlc_entity.h
View file @
8a4df37e
...
...
@@ -119,7 +119,7 @@ typedef struct nr_rlc_entity_t {
void
(
*
reestablishment
)(
struct
nr_rlc_entity_t
*
entity
);
void
(
*
delete
)(
struct
nr_rlc_entity_t
*
entity
);
void
(
*
delete
_entity
)(
struct
nr_rlc_entity_t
*
entity
);
int
(
*
available_tx_space
)(
struct
nr_rlc_entity_t
*
entity
);
...
...
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
View file @
8a4df37e
...
...
@@ -917,13 +917,13 @@ rlc_op_status_t rrc_rlc_config_req (
ue
=
nr_rlc_manager_get_ue
(
nr_rlc_ue_manager
,
ctxt_pP
->
rntiMaybeUEid
);
if
(
srb_flagP
)
{
if
(
ue
->
srb
[
rb_idP
-
1
]
!=
NULL
)
{
ue
->
srb
[
rb_idP
-
1
]
->
delete
(
ue
->
srb
[
rb_idP
-
1
]);
ue
->
srb
[
rb_idP
-
1
]
->
delete
_entity
(
ue
->
srb
[
rb_idP
-
1
]);
ue
->
srb
[
rb_idP
-
1
]
=
NULL
;
}
else
LOG_W
(
RLC
,
"removing non allocated SRB %ld, do nothing
\n
"
,
rb_idP
);
}
else
{
if
(
ue
->
drb
[
rb_idP
-
1
]
!=
NULL
)
{
ue
->
drb
[
rb_idP
-
1
]
->
delete
(
ue
->
drb
[
rb_idP
-
1
]);
ue
->
drb
[
rb_idP
-
1
]
->
delete
_entity
(
ue
->
drb
[
rb_idP
-
1
]);
ue
->
drb
[
rb_idP
-
1
]
=
NULL
;
}
else
LOG_W
(
RLC
,
"removing non allocated DRB %ld, do nothing
\n
"
,
rb_idP
);
...
...
openair2/LAYER2/nr_rlc/nr_rlc_ue_manager.c
View file @
8a4df37e
...
...
@@ -128,16 +128,16 @@ void nr_rlc_manager_remove_ue(nr_rlc_ue_manager_t *_m, int rnti)
if
(
ue
->
srb0
!=
NULL
)
{
/* deliver_sdu_data for srb0 is allocated, needs a free() */
free
(
ue
->
srb0
->
deliver_sdu_data
);
ue
->
srb0
->
delete
(
ue
->
srb0
);
ue
->
srb0
->
delete
_entity
(
ue
->
srb0
);
}
for
(
j
=
0
;
j
<
3
;
j
++
)
if
(
ue
->
srb
[
j
]
!=
NULL
)
ue
->
srb
[
j
]
->
delete
(
ue
->
srb
[
j
]);
ue
->
srb
[
j
]
->
delete
_entity
(
ue
->
srb
[
j
]);
for
(
j
=
0
;
j
<
MAX_DRBS_PER_UE
;
j
++
)
if
(
ue
->
drb
[
j
]
!=
NULL
)
ue
->
drb
[
j
]
->
delete
(
ue
->
drb
[
j
]);
ue
->
drb
[
j
]
->
delete
_entity
(
ue
->
drb
[
j
]);
free
(
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