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
0d89f13a
Commit
0d89f13a
authored
Aug 18, 2022
by
Angelo Athanassopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR RRC - Remove unnecessary function nr_ue_new
parent
ed058bf4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
openair2/RRC/NR/rrc_gNB_drbs.c
openair2/RRC/NR/rrc_gNB_drbs.c
+0
-14
openair2/RRC/NR/rrc_gNB_drbs.h
openair2/RRC/NR/rrc_gNB_drbs.h
+0
-1
No files found.
openair2/RRC/NR/rrc_gNB_drbs.c
View file @
0d89f13a
...
...
@@ -121,20 +121,6 @@ uint8_t next_available_drb(gNB_RRC_UE_t *rrc_ue, uint8_t pdusession_id) {
return
DRB_INACTIVE
;
}
nr_ue_t
*
nr_ue_new
(
rnti_t
rnti
)
{
if
(
nr_ue_get
(
rnti
))
{
LOG_D
(
RRC
,
"UE already exists with rnti: %u
\n
"
,
rnti
);
return
nr_ue_get
(
rnti
);
}
nr_ue_t
*
ue
;
ue
=
calloc
(
1
,
sizeof
(
nr_ue_t
));
ue
->
ue_id
=
rnti
;
ue
->
next_ue
=
ues
.
list
;
ues
.
list
=
ue
;
return
ues
.
list
;
}
nr_ue_t
*
nr_ue_get
(
rnti_t
rnti
)
{
nr_ue_t
*
ue
;
ue
=
ues
.
list
;
...
...
openair2/RRC/NR/rrc_gNB_drbs.h
View file @
0d89f13a
...
...
@@ -52,7 +52,6 @@ NR_DRB_ToAddMod_t *generateDRB(gNB_RRC_UE_t *rrc_ue,
int
do_drb_ciphering
);
nr_ue_t
*
nr_ue_get
(
rnti_t
rnti
);
nr_ue_t
*
nr_ue_new
(
rnti_t
rnti
);
uint8_t
next_available_drb
(
gNB_RRC_UE_t
*
ue
,
uint8_t
pdusession_id
);
#endif
\ No newline at end of file
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