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
a592d0eb
Commit
a592d0eb
authored
Nov 18, 2020
by
Laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warnings
parent
7dd1d456
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+0
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+2
-2
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
a592d0eb
...
@@ -421,7 +421,6 @@ void nr_initiate_ra_proc(module_id_t module_idP,
...
@@ -421,7 +421,6 @@ void nr_initiate_ra_proc(module_id_t module_idP,
uint8_t
ul_carrier_id
=
0
;
// 0 for NUL 1 for SUL
uint8_t
ul_carrier_id
=
0
;
// 0 for NUL 1 for SUL
NR_SearchSpace_t
*
ss
;
NR_SearchSpace_t
*
ss
;
int
UE_id
=
0
;
uint16_t
msg2_frame
,
msg2_slot
,
monitoring_slot_period
,
monitoring_offset
;
uint16_t
msg2_frame
,
msg2_slot
,
monitoring_slot_period
,
monitoring_offset
;
gNB_MAC_INST
*
nr_mac
=
RC
.
nrmac
[
module_idP
];
gNB_MAC_INST
*
nr_mac
=
RC
.
nrmac
[
module_idP
];
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
a592d0eb
...
@@ -1688,7 +1688,7 @@ inline void add_nr_ue_list(NR_UE_list_t *listP, int UE_id) {
...
@@ -1688,7 +1688,7 @@ inline void add_nr_ue_list(NR_UE_list_t *listP, int UE_id) {
/*
/*
* Remove a UE from NR_UE_list listP
* Remove a UE from NR_UE_list listP
*/
*/
inline
int
remove_nr_ue_list
(
NR_UE_list_t
*
listP
,
int
UE_id
)
{
static
inline
void
remove_nr_ue_list
(
NR_UE_list_t
*
listP
,
int
UE_id
)
{
int
*
cur
=
&
listP
->
head
;
int
*
cur
=
&
listP
->
head
;
while
(
*
cur
!=
-
1
&&
*
cur
!=
UE_id
)
while
(
*
cur
!=
-
1
&&
*
cur
!=
UE_id
)
cur
=
&
listP
->
next
[
*
cur
];
cur
=
&
listP
->
next
[
*
cur
];
...
@@ -1696,7 +1696,7 @@ inline int remove_nr_ue_list(NR_UE_list_t *listP, int UE_id) {
...
@@ -1696,7 +1696,7 @@ inline int remove_nr_ue_list(NR_UE_list_t *listP, int UE_id) {
int
*
next
=
&
listP
->
next
[
*
cur
];
int
*
next
=
&
listP
->
next
[
*
cur
];
*
cur
=
listP
->
next
[
*
cur
];
*
cur
=
listP
->
next
[
*
cur
];
*
next
=
-
1
;
*
next
=
-
1
;
return
1
;
return
;
}
}
int
find_nr_UE_id
(
module_id_t
mod_idP
,
rnti_t
rntiP
)
int
find_nr_UE_id
(
module_id_t
mod_idP
,
rnti_t
rntiP
)
...
...
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