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
Michael Black
OpenXG-RAN
Commits
fa810fab
Commit
fa810fab
authored
Oct 28, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accounting for wrap in slot comparison in gNB
parent
66144698
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
executables/nr-ue.c
executables/nr-ue.c
+4
-1
openair2/LAYER2/NR_MAC_UE/mac_defs.h
openair2/LAYER2/NR_MAC_UE/mac_defs.h
+0
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+2
-2
No files found.
executables/nr-ue.c
View file @
fa810fab
...
@@ -458,7 +458,10 @@ static void *NRUE_phy_stub_standalone_pnf_task(void *arg)
...
@@ -458,7 +458,10 @@ static void *NRUE_phy_stub_standalone_pnf_task(void *arg)
mac
->
dl_info
.
dci_ind
=
NULL
;
mac
->
dl_info
.
dci_ind
=
NULL
;
mac
->
dl_info
.
rx_ind
=
NULL
;
mac
->
dl_info
.
rx_ind
=
NULL
;
nr_ue_dl_indication
(
&
mac
->
dl_info
,
&
ul_time_alignment
);
if
(
is_nr_DL_slot
(
mac
->
scc
->
tdd_UL_DL_ConfigurationCommon
,
ul_info
.
slot_rx
))
{
nr_ue_dl_indication
(
&
mac
->
dl_info
,
&
ul_time_alignment
);
}
if
(
pthread_mutex_unlock
(
&
mac
->
mutex_dl_info
))
abort
();
if
(
pthread_mutex_unlock
(
&
mac
->
mutex_dl_info
))
abort
();
...
...
openair2/LAYER2/NR_MAC_UE/mac_defs.h
View file @
fa810fab
...
@@ -434,7 +434,6 @@ typedef struct {
...
@@ -434,7 +434,6 @@ typedef struct {
// Defined for abstracted mode
// Defined for abstracted mode
nr_downlink_indication_t
dl_info
;
nr_downlink_indication_t
dl_info
;
NR_UE_HARQ_STATUS_t
dl_harq_info
[
16
];
NR_UE_HARQ_STATUS_t
dl_harq_info
[
16
];
bool
expected_dci
;
bool
expected_dci
;
bool
index_has_dci
[
16
];
bool
index_has_dci
[
16
];
int
active_harq_sfn_slot
;
int
active_harq_sfn_slot
;
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
fa810fab
...
@@ -1268,7 +1268,7 @@ int nr_acknack_scheduling(int mod_id,
...
@@ -1268,7 +1268,7 @@ int nr_acknack_scheduling(int mod_id,
// Find the right timing_indicator value.
// Find the right timing_indicator value.
int
i
=
0
;
int
i
=
0
;
while
(
i
<
8
)
{
while
(
i
<
8
)
{
if
(
pdsch_to_harq_feedback
[
i
]
==
pucch
->
ul_slot
-
slot
)
if
(
pdsch_to_harq_feedback
[
i
]
==
(
pucch
->
ul_slot
-
slot
)
%
n_slots_frame
)
break
;
break
;
++
i
;
++
i
;
}
}
...
@@ -1315,7 +1315,7 @@ int nr_acknack_scheduling(int mod_id,
...
@@ -1315,7 +1315,7 @@ int nr_acknack_scheduling(int mod_id,
while
(
i
<
8
)
{
while
(
i
<
8
)
{
LOG_D
(
NR_MAC
,
"pdsch_to_harq_feedback[%d] = %d (pucch->ul_slot %d - slot %d)
\n
"
,
LOG_D
(
NR_MAC
,
"pdsch_to_harq_feedback[%d] = %d (pucch->ul_slot %d - slot %d)
\n
"
,
i
,
pdsch_to_harq_feedback
[
i
],
pucch
->
ul_slot
,
slot
);
i
,
pdsch_to_harq_feedback
[
i
],
pucch
->
ul_slot
,
slot
);
if
(
pdsch_to_harq_feedback
[
i
]
==
pucch
->
ul_slot
-
slot
)
{
if
(
pdsch_to_harq_feedback
[
i
]
==
(
pucch
->
ul_slot
-
slot
)
%
n_slots_frame
)
{
ind_found
=
i
;
ind_found
=
i
;
break
;
break
;
}
}
...
...
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