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
wangjie
OpenXG-RAN
Commits
9f070b74
Commit
9f070b74
authored
Jul 13, 2021
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR_UE: use correct HARQ PID when setting the HARQ status to ACTIVE in nr_ue_scheduled_response()
parent
bf50c61e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
+6
-7
No files found.
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
View file @
9f070b74
...
...
@@ -80,31 +80,30 @@ int8_t nr_ue_scheduled_response(nr_scheduled_response_t *scheduled_response){
}
else
{
fapi_nr_dl_config_dlsch_pdu_rel15_t
*
dlsch_config_pdu
=
&
dl_config
->
dl_config_list
[
i
].
dlsch_config_pdu
.
dlsch_config_rel15
;
uint8_t
current_harq_pid
=
dlsch_config_pdu
->
harq_process_nbr
;
if
(
dl_config
->
dl_config_list
[
i
].
pdu_type
==
FAPI_NR_DL_CONFIG_TYPE_DLSCH
){
dlsch0
=
PHY_vars_UE_g
[
module_id
][
cc_id
]
->
dlsch
[
thread_id
][
0
][
0
];
}
else
if
(
dl_config
->
dl_config_list
[
i
].
pdu_type
==
FAPI_NR_DL_CONFIG_TYPE_RA_DLSCH
){
dlsch0
=
PHY_vars_UE_g
[
module_id
][
cc_id
]
->
dlsch_ra
[
0
];
dlsch0
->
rnti_type
=
_RA_RNTI_
;
dlsch0
->
harq_processes
[
dlsch0
->
current_harq_pid
]
->
status
=
ACTIVE
;
dlsch0
->
harq_processes
[
current_harq_pid
]
->
status
=
ACTIVE
;
}
else
if
(
dl_config
->
dl_config_list
[
i
].
pdu_type
==
FAPI_NR_DL_CONFIG_TYPE_SI_DLSCH
){
dlsch0
=
PHY_vars_UE_g
[
module_id
][
cc_id
]
->
dlsch_SI
[
0
];
dlsch0
->
rnti_type
=
_SI_RNTI_
;
dlsch0
->
harq_processes
[
dlsch0
->
current_harq_pid
]
->
status
=
ACTIVE
;
dlsch0
->
harq_processes
[
current_harq_pid
]
->
status
=
ACTIVE
;
}
fapi_nr_dl_config_dlsch_pdu_rel15_t
*
dlsch_config_pdu
=
&
dl_config
->
dl_config_list
[
i
].
dlsch_config_pdu
.
dlsch_config_rel15
;
uint8_t
current_harq_pid
=
dlsch_config_pdu
->
harq_process_nbr
;
NR_DL_UE_HARQ_t
*
dlsch0_harq
;
dlsch0
->
current_harq_pid
=
current_harq_pid
;
dlsch0
->
active
=
1
;
dlsch0
->
rnti
=
dl_config
->
dl_config_list
[
i
].
dlsch_config_pdu
.
rnti
;
dlsch0_harq
=
dlsch0
->
harq_processes
[
current_harq_pid
];
LOG_D
(
PHY
,
"current_harq_pid = %d
\n
"
,
current_harq_pid
);
NR_DL_UE_HARQ_t
*
dlsch0_harq
=
dlsch0
->
harq_processes
[
current_harq_pid
];
if
(
dlsch0_harq
){
dlsch0_harq
->
BWPStart
=
dlsch_config_pdu
->
BWPStart
;
...
...
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