Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG
OpenXG UE
Commits
822ff749
Commit
822ff749
authored
Sep 21, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another bugfix in acknack scheduling
parent
542f3861
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+5
-5
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
822ff749
...
...
@@ -1210,7 +1210,7 @@ int nr_acknack_scheduling(int mod_id,
nr_fill_nfapi_pucch
(
mod_id
,
frame
,
slot
,
pucch
,
UE_id
);
memset
(
pucch
,
0
,
sizeof
(
*
pucch
));
pucch
->
frame
=
s
==
n_slots_frame
-
1
?
(
f
+
1
)
%
1024
:
f
;
if
((
s
+
1
)
==
nr_slots_period
)
if
((
(
s
+
1
)
%
nr_slots_period
)
==
nr_slots_period
)
pucch
->
ul_slot
=
(
s
+
1
+
first_ul_slot_tdd
)
%
n_slots_frame
;
else
pucch
->
ul_slot
=
(
s
+
1
)
%
n_slots_frame
;
...
...
@@ -1226,7 +1226,7 @@ int nr_acknack_scheduling(int mod_id,
nr_fill_nfapi_pucch
(
mod_id
,
frame
,
slot
,
csi_pucch
,
UE_id
);
memset
(
csi_pucch
,
0
,
sizeof
(
*
csi_pucch
));
pucch
->
frame
=
s
==
n_slots_frame
-
1
?
(
f
+
1
)
%
1024
:
f
;
if
((
s
+
1
)
==
nr_slots_period
)
if
((
(
s
+
1
)
%
nr_slots_period
)
==
nr_slots_period
)
pucch
->
ul_slot
=
(
s
+
1
+
first_ul_slot_tdd
)
%
n_slots_frame
;
else
pucch
->
ul_slot
=
(
s
+
1
)
%
n_slots_frame
;
...
...
@@ -1275,7 +1275,7 @@ int nr_acknack_scheduling(int mod_id,
nr_fill_nfapi_pucch
(
mod_id
,
frame
,
slot
,
pucch
,
UE_id
);
memset
(
pucch
,
0
,
sizeof
(
*
pucch
));
pucch
->
frame
=
s
==
n_slots_frame
-
1
?
(
f
+
1
)
%
1024
:
f
;
if
((
s
+
1
)
==
nr_slots_period
)
if
((
(
s
+
1
)
%
nr_slots_period
)
==
nr_slots_period
)
pucch
->
ul_slot
=
(
s
+
1
+
first_ul_slot_tdd
)
%
n_slots_frame
;
else
pucch
->
ul_slot
=
(
s
+
1
)
%
n_slots_frame
;
...
...
@@ -1321,7 +1321,7 @@ int nr_acknack_scheduling(int mod_id,
const
int
f
=
pucch
->
frame
;
const
int
s
=
pucch
->
ul_slot
;
pucch
->
frame
=
s
==
n_slots_frame
-
1
?
(
f
+
1
)
%
1024
:
f
;
if
((
s
+
1
)
==
nr_slots_period
)
if
((
(
s
+
1
)
%
nr_slots_period
)
==
nr_slots_period
)
pucch
->
ul_slot
=
(
s
+
1
+
first_ul_slot_tdd
)
%
n_slots_frame
;
else
pucch
->
ul_slot
=
(
s
+
1
)
%
n_slots_frame
;
...
...
@@ -1356,7 +1356,7 @@ int nr_acknack_scheduling(int mod_id,
const
int
s
=
pucch
->
ul_slot
;
memset
(
pucch
,
0
,
sizeof
(
*
pucch
));
pucch
->
frame
=
s
==
n_slots_frame
-
1
?
(
f
+
1
)
%
1024
:
f
;
if
((
s
+
1
)
==
nr_slots_period
)
if
((
(
s
+
1
)
%
nr_slots_period
)
==
nr_slots_period
)
pucch
->
ul_slot
=
(
s
+
1
+
first_ul_slot_tdd
)
%
n_slots_frame
;
else
pucch
->
ul_slot
=
(
s
+
1
)
%
n_slots_frame
;
...
...
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