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
ce12e827
Commit
ce12e827
authored
Feb 24, 2022
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code clean up
parent
13401a5f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+5
-7
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
ce12e827
...
@@ -1335,14 +1335,12 @@ void set_harq_status(NR_UE_MAC_INST_t *mac,
...
@@ -1335,14 +1335,12 @@ void set_harq_status(NR_UE_MAC_INST_t *mac,
current_harq
->
dl_frame
=
frame
;
current_harq
->
dl_frame
=
frame
;
current_harq
->
dl_slot
=
slot
;
current_harq
->
dl_slot
=
slot
;
if
(
get_softmodem_params
()
->
emulate_l1
)
{
if
(
get_softmodem_params
()
->
emulate_l1
)
{
uint8_
t
scs
=
get_softmodem_params
()
->
numerology
;
in
t
scs
=
get_softmodem_params
()
->
numerology
;
int
slots_per_frame
=
nr_slots_per_frame
[
scs
];
int
slots_per_frame
=
nr_slots_per_frame
[
scs
];
if
(
data_toul_fb
+
slot
>=
slots_per_frame
)
{
slot
+=
data_toul_fb
;
if
(
slot
>=
slots_per_frame
)
{
frame
=
(
frame
+
1
)
%
1024
;
frame
=
(
frame
+
1
)
%
1024
;
slot
=
(
data_toul_fb
+
slot
)
-
slots_per_frame
;
slot
%=
slots_per_frame
;
}
else
{
slot
=
data_toul_fb
+
slot
;
}
}
}
}
...
...
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