Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bin He
openairinterface5G
Commits
664ac4fa
Commit
664ac4fa
authored
4 years ago
by
Francesco Mani
Browse files
Options
Downloads
Patches
Plain Diff
bugfix on last commit
parent
c127a5a2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+1
-1
1 addition, 1 deletion
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+1
-1
1 addition, 1 deletion
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
with
2 additions
and
2 deletions
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+
1
−
1
View file @
664ac4fa
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+
1
−
1
View file @
664ac4fa
...
@@ -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
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment