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
spbro
OpenXG-RAN
Commits
b331ad21
Commit
b331ad21
authored
May 22, 2024
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
in nr_rx_sdu() use HARQ ID from nfapi_nr_crc_t instead of feedback_ul_harq
parent
f7665357
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+3
-2
openair2/LAYER2/NR_MAC_gNB/mac_proto.h
openair2/LAYER2/NR_MAC_gNB/mac_proto.h
+1
-0
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
+4
-0
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
b331ad21
...
...
@@ -656,6 +656,7 @@ static void _nr_rx_sdu(const module_id_t gnb_mod_idP,
const
rnti_t
rntiP
,
uint8_t
*
sduP
,
const
uint32_t
sdu_lenP
,
const
int8_t
harq_pid
,
const
uint16_t
timing_advance
,
const
uint8_t
ul_cqi
,
const
uint16_t
rssi
)
...
...
@@ -673,7 +674,6 @@ static void _nr_rx_sdu(const module_id_t gnb_mod_idP,
if
(
UE
&&
UE_waiting_CFRA_msg3
==
false
)
{
NR_UE_sched_ctrl_t
*
UE_scheduling_control
=
&
UE
->
UE_sched_ctrl
;
const
int8_t
harq_pid
=
UE_scheduling_control
->
feedback_ul_harq
.
head
;
if
(
sduP
)
T
(
T_GNB_MAC_UL_PDU_WITH_DATA
,
T_INT
(
gnb_mod_idP
),
T_INT
(
CC_idP
),
...
...
@@ -951,13 +951,14 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
const
rnti_t
rntiP
,
uint8_t
*
sduP
,
const
uint32_t
sdu_lenP
,
const
int8_t
harq_pid
,
const
uint16_t
timing_advance
,
const
uint8_t
ul_cqi
,
const
uint16_t
rssi
)
{
gNB_MAC_INST
*
gNB_mac
=
RC
.
nrmac
[
gnb_mod_idP
];
NR_SCHED_LOCK
(
&
gNB_mac
->
sched_lock
);
_nr_rx_sdu
(
gnb_mod_idP
,
CC_idP
,
frameP
,
slotP
,
rntiP
,
sduP
,
sdu_lenP
,
timing_advance
,
ul_cqi
,
rssi
);
_nr_rx_sdu
(
gnb_mod_idP
,
CC_idP
,
frameP
,
slotP
,
rntiP
,
sduP
,
sdu_lenP
,
harq_pid
,
timing_advance
,
ul_cqi
,
rssi
);
NR_SCHED_UNLOCK
(
&
gNB_mac
->
sched_lock
);
}
...
...
openair2/LAYER2/NR_MAC_gNB/mac_proto.h
View file @
b331ad21
...
...
@@ -344,6 +344,7 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
const
rnti_t
rntiP
,
uint8_t
*
sduP
,
const
uint32_t
sdu_lenP
,
const
int8_t
harq_pid
,
const
uint16_t
timing_advance
,
const
uint8_t
ul_cqi
,
const
uint16_t
rssi
);
...
...
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
View file @
b331ad21
...
...
@@ -192,6 +192,9 @@ void handle_nr_ulsch(NR_UL_IND_t *UL_info)
AssertFatal
(
crc
->
rnti
==
rx
->
rnti
,
"mis-match between CRC RNTI %04x and RX RNTI %04x
\n
"
,
crc
->
rnti
,
rx
->
rnti
);
AssertFatal
(
crc
->
harq_id
==
rx
->
harq_id
,
"mis-match between CRC HARQ ID %04x and RX HARQ ID %04x
\n
"
,
crc
->
harq_id
,
rx
->
harq_id
);
LOG_D
(
NR_MAC
,
"%4d.%2d Calling rx_sdu (CRC %s/tb_crc_status %d)
\n
"
,
UL_info
->
frame
,
...
...
@@ -207,6 +210,7 @@ void handle_nr_ulsch(NR_UL_IND_t *UL_info)
crc
->
rnti
,
crc
->
tb_crc_status
?
NULL
:
rx
->
pdu
,
rx
->
pdu_length
,
crc
->
harq_id
,
crc
->
timing_advance
,
crc
->
ul_cqi
,
crc
->
rssi
);
...
...
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