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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
b07e9f32
Commit
b07e9f32
authored
Sep 22, 2023
by
mir
Committed by
Robert Schmidt
Oct 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove return const values
parent
afc75c5d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
8 deletions
+8
-8
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
+1
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+1
-1
openair2/LAYER2/NR_MAC_gNB/mac_proto.h
openair2/LAYER2/NR_MAC_gNB/mac_proto.h
+2
-2
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
+1
-1
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.h
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.h
+1
-1
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
+1
-1
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.h
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.h
+1
-1
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
View file @
b07e9f32
...
...
@@ -53,7 +53,7 @@
#define WORD 32
//#define SIZE_OF_POINTER sizeof (void *)
const
int
get_dl_tda
(
const
gNB_MAC_INST
*
nrmac
,
const
NR_ServingCellConfigCommon_t
*
scc
,
int
slot
)
{
int
get_dl_tda
(
const
gNB_MAC_INST
*
nrmac
,
const
NR_ServingCellConfigCommon_t
*
scc
,
int
slot
)
{
/* we assume that this function is mutex-protected from outside */
const
NR_TDD_UL_DL_Pattern_t
*
tdd
=
scc
->
tdd_UL_DL_ConfigurationCommon
?
&
scc
->
tdd_UL_DL_ConfigurationCommon
->
pattern1
:
NULL
;
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
b07e9f32
...
...
@@ -39,7 +39,7 @@
//#define SRS_IND_DEBUG
const
int
get_ul_tda
(
gNB_MAC_INST
*
nrmac
,
const
NR_ServingCellConfigCommon_t
*
scc
,
int
frame
,
int
slot
)
int
get_ul_tda
(
gNB_MAC_INST
*
nrmac
,
const
NR_ServingCellConfigCommon_t
*
scc
,
int
frame
,
int
slot
)
{
/* we assume that this function is mutex-protected from outside */
NR_SCHED_ENSURE_LOCKED
(
&
nrmac
->
sched_lock
);
...
...
openair2/LAYER2/NR_MAC_gNB/mac_proto.h
View file @
b07e9f32
...
...
@@ -396,8 +396,8 @@ void set_sched_pucch_list(NR_UE_sched_ctrl_t *sched_ctrl,
const
NR_UE_UL_BWP_t
*
ul_bwp
,
const
NR_ServingCellConfigCommon_t
*
scc
);
const
int
get_dl_tda
(
const
gNB_MAC_INST
*
nrmac
,
const
NR_ServingCellConfigCommon_t
*
scc
,
int
slot
);
const
int
get_ul_tda
(
gNB_MAC_INST
*
nrmac
,
const
NR_ServingCellConfigCommon_t
*
scc
,
int
frame
,
int
slot
);
int
get_dl_tda
(
const
gNB_MAC_INST
*
nrmac
,
const
NR_ServingCellConfigCommon_t
*
scc
,
int
slot
);
int
get_ul_tda
(
gNB_MAC_INST
*
nrmac
,
const
NR_ServingCellConfigCommon_t
*
scc
,
int
frame
,
int
slot
);
int
get_cce_index
(
const
gNB_MAC_INST
*
nrmac
,
const
int
CC_id
,
...
...
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
View file @
b07e9f32
...
...
@@ -1226,7 +1226,7 @@ nr_pdcp_ue_manager_t *nr_pdcp_sdap_get_ue_manager() {
}
/* returns false in case of error, true if everything ok */
const
bool
nr_pdcp_get_statistics
(
ue_id_t
ue_id
,
int
srb_flag
,
int
rb_id
,
nr_pdcp_statistics_t
*
out
)
bool
nr_pdcp_get_statistics
(
ue_id_t
ue_id
,
int
srb_flag
,
int
rb_id
,
nr_pdcp_statistics_t
*
out
)
{
nr_pdcp_ue_t
*
ue
;
nr_pdcp_entity_t
*
rb
;
...
...
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.h
View file @
b07e9f32
...
...
@@ -103,6 +103,6 @@ void nr_pdcp_tick(int frame, int subframe);
nr_pdcp_ue_manager_t
*
nr_pdcp_sdap_get_ue_manager
();
const
bool
nr_pdcp_get_statistics
(
ue_id_t
ue_id
,
int
srb_flag
,
int
rb_id
,
nr_pdcp_statistics_t
*
out
);
bool
nr_pdcp_get_statistics
(
ue_id_t
ue_id
,
int
srb_flag
,
int
rb_id
,
nr_pdcp_statistics_t
*
out
);
#endif
/* NR_PDCP_OAI_API_H */
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
View file @
b07e9f32
...
...
@@ -1046,7 +1046,7 @@ void nr_rlc_activate_avg_time_to_tx(
}
/* returns false in case of error, true if everything ok */
const
bool
nr_rlc_get_statistics
(
bool
nr_rlc_get_statistics
(
int
rnti
,
int
srb_flag
,
int
rb_id
,
...
...
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.h
View file @
b07e9f32
...
...
@@ -70,4 +70,4 @@ void nr_rlc_activate_srb0(int rnti, struct gNB_MAC_INST_s *mac, void *rawUE,
sdu_size_t
sdu_len
,
void
*
rawUE
));
const
bool
nr_rlc_get_statistics
(
int
rnti
,
int
srb_flag
,
int
rb_id
,
nr_rlc_statistics_t
*
out
);
bool
nr_rlc_get_statistics
(
int
rnti
,
int
srb_flag
,
int
rb_id
,
nr_rlc_statistics_t
*
out
);
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