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
littleBu
OpenXG-RAN
Commits
de76decf
Commit
de76decf
authored
Apr 05, 2024
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dlsch feedback ind
parent
f7b5c1dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
executables/nr-ue.c
executables/nr-ue.c
+13
-4
No files found.
executables/nr-ue.c
View file @
de76decf
...
...
@@ -817,9 +817,15 @@ static void remaining_pdsch_procedures(void *parms)
nr_ue_symb_data_t
*
symbData
=
(
nr_ue_symb_data_t
*
)
parms
;
nr_ue_pdsch_procedures
(
parms
);
/* Tell TX thread to not wait anymore */
const
int
ack_nack_slot
=
(
symbData
->
valProc
.
nr_slot_rx
+
symbData
->
dlsch
[
0
].
dlsch_config
.
k1_feedback
)
%
symbData
->
UE
->
frame_parms
.
slots_per_frame
;
send_dl_done_to_tx_thread
(
&
symbData
->
UE
->
tx_resume_ind_fifo
[
ack_nack_slot
],
symbData
->
valProc
.
nr_slot_rx
);
const
int
slot_rx
=
symbData
->
valProc
.
nr_slot_rx
;
const
int
k1
=
symbData
->
dlsch
[
0
].
dlsch_config
.
k1_feedback
;
if
(
symbData
->
dlsch
[
0
].
rnti_type
==
TYPE_C_RNTI_
)
{
const
int
ack_nack_slot
=
(
slot_rx
+
k1
)
%
symbData
->
UE
->
frame_parms
.
slots_per_frame
;
if
(
k1
>=
DURATION_RX_TO_TX
)
send_dl_done_to_tx_thread
(
&
symbData
->
UE
->
tx_resume_ind_fifo
[
ack_nack_slot
],
symbData
->
valProc
.
nr_slot_rx
);
else
LOG_E
(
NR_PHY
,
"Incompatible k1 value. Should be rejected by MAC
\n
"
);
}
free
(
symbData
->
rxdataF_ext
);
symbData
->
rxdataF_ext
=
NULL
;
free
(
symbData
->
pdsch_dl_ch_estimates
);
...
...
@@ -979,7 +985,10 @@ static void slot_process(PHY_VARS_NR_UE *UE,
// indicate to tx thread to wait for DLSCH decoding
const
int
ack_nack_slot
=
(
proc
->
nr_slot_rx
+
phy_data
.
dlsch
[
0
].
dlsch_config
.
k1_feedback
)
%
UE
->
frame_parms
.
slots_per_frame
;
tx_wait_for_dlsch
[
ack_nack_slot
]
++
;
if
(
phy_data
.
dlsch
[
0
].
dlsch_config
.
k1_feedback
>=
DURATION_RX_TO_TX
)
tx_wait_for_dlsch
[
ack_nack_slot
]
++
;
else
LOG_E
(
NR_PHY
,
"Incompatible k1 value. Should be rejected by MAC
\n
"
);
}
csirs_state
=
(
phy_data
.
csirs_vars
.
active
)
?
SCHEDULED
:
DONE
;
csiim_state
=
(
phy_data
.
csiim_vars
.
active
)
?
SCHEDULED
:
DONE
;
...
...
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