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
064035d8
Commit
064035d8
authored
Nov 08, 2021
by
David Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to emulate_l1 instead of nsa in gNB indication.
parent
e3600128
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+3
-2
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
+7
-7
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
064035d8
...
...
@@ -1099,8 +1099,9 @@ void handle_nr_uci_pucch_0_1(module_id_t mod_id,
const
int8_t
pid
=
sched_ctrl
->
feedback_dl_harq
.
head
;
remove_front_nr_list
(
&
sched_ctrl
->
feedback_dl_harq
);
/* According to nfapi_nr_interface_scf.h, harq_value = 0 is a pass
(The check below was for harq_value == 1 in the develop branch) */
if
(
get_softmodem_params
()
->
nsa
)
(The check below was for harq_value == 1 in the develop branch)
TODO: After update in develop branch, the following condition will be updated.*/
if
(
get_softmodem_params
()
->
emulate_l1
)
handle_dl_harq
(
mod_id
,
UE_id
,
pid
,
harq_value
==
0
&&
harq_confidence
==
0
);
else
handle_dl_harq
(
mod_id
,
UE_id
,
pid
,
harq_value
==
1
&&
harq_confidence
==
0
);
...
...
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
View file @
064035d8
...
...
@@ -73,7 +73,7 @@ void handle_nr_rach(NR_UL_IND_t *UL_info)
}
NR_UL_IND_t
UL_INFO
;
nfapi_nr_rach_indication_t
*
rach_ind
=
NULL
;
if
(
get_softmodem_params
()
->
nsa
)
if
(
get_softmodem_params
()
->
emulate_l1
)
{
if
(
gnb_rach_ind_queue
.
num_items
==
0
)
return
;
...
...
@@ -118,7 +118,7 @@ void handle_nr_rach(NR_UL_IND_t *UL_info)
UL_INFO
.
rach_ind
.
pdu_list
[
i
].
preamble_list
[
0
].
timing_advance
);
}
}
if
(
get_softmodem_params
()
->
nsa
)
if
(
get_softmodem_params
()
->
emulate_l1
)
{
if
(
rach_ind
&&
rach_ind
->
number_of_pdus
>
0
)
{
...
...
@@ -149,7 +149,7 @@ void handle_nr_uci(NR_UL_IND_t *UL_info)
NR_UL_IND_t
UL_INFO
;
nfapi_nr_uci_indication_t
*
uci_ind
=
NULL
;
if
(
get_softmodem_params
()
->
nsa
)
if
(
get_softmodem_params
()
->
emulate_l1
)
{
if
(
gnb_uci_ind_queue
.
num_items
==
0
)
return
;
...
...
@@ -191,7 +191,7 @@ void handle_nr_uci(NR_UL_IND_t *UL_info)
}
}
if
(
get_softmodem_params
()
->
nsa
)
if
(
get_softmodem_params
()
->
emulate_l1
)
{
for
(
int
i
=
0
;
i
<
num_ucis
;
i
++
)
{
switch
(
uci_list
[
i
].
pdu_type
)
{
...
...
@@ -266,7 +266,7 @@ void handle_nr_ulsch(NR_UL_IND_t *UL_info)
NR_UL_IND_t
UL_INFO
;
nfapi_nr_rx_data_indication_t
*
rx_ind
=
NULL
;
nfapi_nr_crc_indication_t
*
crc_ind
=
NULL
;
if
(
get_softmodem_params
()
->
nsa
)
if
(
get_softmodem_params
()
->
emulate_l1
)
{
rx_ind
=
get_queue
(
&
gnb_rx_ind_queue
);
if
(
!
rx_ind
)
...
...
@@ -353,7 +353,7 @@ void handle_nr_ulsch(NR_UL_IND_t *UL_info)
handle_nr_ul_harq
(
UL_INFO
.
CC_id
,
UL_INFO
.
module_id
,
UL_INFO
.
frame
,
UL_INFO
.
slot
,
crc
);
break
;
}
// for (j=0;j<UL_INFO.crc_ind.number_crcs;j++)
if
(
get_softmodem_params
()
->
nsa
)
if
(
get_softmodem_params
()
->
emulate_l1
)
{
int
last
=
UL_INFO
.
crc_ind
.
number_crcs
-
1
;
if
(
j
<
last
)
...
...
@@ -379,7 +379,7 @@ void handle_nr_ulsch(NR_UL_IND_t *UL_info)
}
}
}
// for (i=0;i<UL_INFO.rx_ind.number_of_pdus;i++)
if
(
get_softmodem_params
()
->
nsa
)
if
(
get_softmodem_params
()
->
emulate_l1
)
{
if
(
UL_INFO
.
crc_ind
.
number_crcs
>
0
)
{
...
...
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