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
2e7842d9
Commit
2e7842d9
authored
Aug 24, 2020
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix on last commit
parent
28ef845d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+1
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+1
-1
No files found.
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
2e7842d9
...
@@ -362,7 +362,7 @@ void nr_fill_indication(PHY_VARS_gNB *gNB, int frame, int slot_rx, int ULSCH_id,
...
@@ -362,7 +362,7 @@ void nr_fill_indication(PHY_VARS_gNB *gNB, int frame, int slot_rx, int ULSCH_id,
gNB
->
rx_pdu_list
[
num_rx
].
harq_id
=
harq_pid
;
gNB
->
rx_pdu_list
[
num_rx
].
harq_id
=
harq_pid
;
gNB
->
rx_pdu_list
[
num_rx
].
ul_cqi
=
cqi
;
gNB
->
rx_pdu_list
[
num_rx
].
ul_cqi
=
cqi
;
gNB
->
rx_pdu_list
[
num_rx
].
timing_advance
=
timing_advance_update
;
gNB
->
rx_pdu_list
[
num_rx
].
timing_advance
=
timing_advance_update
;
gNB
->
rx_pdu_list
[
num_rx
].
rssi
=
0xffff
;
// invalid value as this is not yet computed
gNB
->
rx_pdu_list
[
num_rx
].
rssi
=
1280
-
(
10
*
dB_fixed
(
2047
*
2047
)
-
dB_fixed_times10
(
gNB
->
pusch_vars
[
ULSCH_id
]
->
ulsch_power
[
0
]));
if
(
crc_flag
)
if
(
crc_flag
)
gNB
->
rx_pdu_list
[
num_rx
].
pdu_length
=
0
;
gNB
->
rx_pdu_list
[
num_rx
].
pdu_length
=
0
;
else
{
else
{
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
2e7842d9
...
@@ -305,11 +305,11 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
...
@@ -305,11 +305,11 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
if
(
UE_scheduling_control
->
ul_rssi
<
(
100
+
rssi
))
{
if
(
UE_scheduling_control
->
ul_rssi
<
(
100
+
rssi
))
{
UE_scheduling_control
->
tpc0
=
nr_get_tpc
(
target_snrx10
,
ul_cqi
,
30
);
UE_scheduling_control
->
tpc0
=
nr_get_tpc
(
target_snrx10
,
ul_cqi
,
30
);
UE_scheduling_control
->
ta_update
=
timing_advance
;
UE_scheduling_control
->
ta_update
=
timing_advance
;
UE_scheduling_control
->
ul_rssi
=
rssi
;
}
}
else
{
else
{
UE_scheduling_control
->
tpc0
=
1
;
UE_scheduling_control
->
tpc0
=
1
;
}
}
UE_scheduling_control
->
ul_rssi
=
rssi
;
#if defined(ENABLE_MAC_PAYLOAD_DEBUG)
#if defined(ENABLE_MAC_PAYLOAD_DEBUG)
LOG_I
(
MAC
,
"Printing received UL MAC payload at gNB side: %d
\n
"
);
LOG_I
(
MAC
,
"Printing received UL MAC payload at gNB side: %d
\n
"
);
...
...
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