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
5e0e07b6
Commit
5e0e07b6
authored
Dec 14, 2020
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR UE: do not hardcode the UL harq_pid to 0 in phy_procedures_nrUE_TX()
parent
a269ad84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
+6
-6
No files found.
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
View file @
5e0e07b6
...
@@ -204,10 +204,8 @@ void nr_process_timing_advance_rar(PHY_VARS_NR_UE *ue, int frame_rx, int nr_slot
...
@@ -204,10 +204,8 @@ void nr_process_timing_advance_rar(PHY_VARS_NR_UE *ue, int frame_rx, int nr_slot
void
phy_procedures_nrUE_TX
(
PHY_VARS_NR_UE
*
ue
,
void
phy_procedures_nrUE_TX
(
PHY_VARS_NR_UE
*
ue
,
UE_nr_rxtx_proc_t
*
proc
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
gNB_id
)
{
uint8_t
gNB_id
)
{
//int32_t ulsch_start=0;
int
slot_tx
=
proc
->
nr_slot_tx
;
int
slot_tx
=
proc
->
nr_slot_tx
;
int
frame_tx
=
proc
->
frame_tx
;
int
frame_tx
=
proc
->
frame_tx
;
uint8_t
harq_pid
=
0
;
runmode_t
mode
=
normal_txrx
;
runmode_t
mode
=
normal_txrx
;
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_UE_TX
,
VCD_FUNCTION_IN
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_UE_TX
,
VCD_FUNCTION_IN
);
...
@@ -222,16 +220,18 @@ void phy_procedures_nrUE_TX(PHY_VARS_NR_UE *ue,
...
@@ -222,16 +220,18 @@ void phy_procedures_nrUE_TX(PHY_VARS_NR_UE *ue,
if
(
ue
->
UE_mode
[
gNB_id
]
<=
PUSCH
||
get_softmodem_params
()
->
phy_test
==
1
){
if
(
ue
->
UE_mode
[
gNB_id
]
<=
PUSCH
||
get_softmodem_params
()
->
phy_test
==
1
){
if
(
ue
->
ulsch
[
proc
->
thread_id
][
gNB_id
][
0
]
->
harq_processes
[
harq_pid
]
->
status
==
ACTIVE
)
for
(
uint8_t
harq_pid
=
0
;
harq_pid
<
ue
->
ulsch
[
proc
->
thread_id
][
gNB_id
][
0
]
->
number_harq_processes_for_pusch
;
harq_pid
++
)
{
nr_ue_ulsch_procedures
(
ue
,
harq_pid
,
frame_tx
,
slot_tx
,
proc
->
thread_id
,
gNB_id
);
if
(
ue
->
ulsch
[
proc
->
thread_id
][
gNB_id
][
0
]
->
harq_processes
[
harq_pid
]
->
status
==
ACTIVE
)
nr_ue_ulsch_procedures
(
ue
,
harq_pid
,
frame_tx
,
slot_tx
,
proc
->
thread_id
,
gNB_id
);
}
if
(
get_softmodem_params
()
->
usim_test
==
0
)
{
if
(
get_softmodem_params
()
->
usim_test
==
0
)
{
LOG_D
(
PHY
,
"Generating PUCCH
\n
"
);
LOG_D
(
PHY
,
"Generating PUCCH
\n
"
);
pucch_procedures_ue_nr
(
ue
,
pucch_procedures_ue_nr
(
ue
,
gNB_id
,
gNB_id
,
proc
,
proc
,
FALSE
);
FALSE
);
}
}
LOG_D
(
PHY
,
"Sending Uplink data
\n
"
);
LOG_D
(
PHY
,
"Sending Uplink data
\n
"
);
nr_ue_pusch_common_procedures
(
ue
,
nr_ue_pusch_common_procedures
(
ue
,
...
...
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