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
wangjie
OpenXG-RAN
Commits
ffdffb1b
Commit
ffdffb1b
authored
Apr 23, 2021
by
rmagueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings
parent
16870b62
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+1
-1
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
+0
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
+2
-2
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
ffdffb1b
...
@@ -1229,7 +1229,7 @@ int nr_rx_pusch(PHY_VARS_gNB *gNB,
...
@@ -1229,7 +1229,7 @@ int nr_rx_pusch(PHY_VARS_gNB *gNB,
rel15_ul
->
rb_size
*
12
)
/
num_symb
;
rel15_ul
->
rb_size
*
12
)
/
num_symb
;
if
(
gNB
->
pusch_vars
[
ulsch_id
]
->
ulsch_power
[
aarx
]
==
1
)
return
(
1
);
if
(
gNB
->
pusch_vars
[
ulsch_id
]
->
ulsch_power
[
aarx
]
==
1
)
return
(
1
);
for
(
int
rb
=
0
;
rb
<
rel15_ul
->
rb_size
;
rb
++
)
{
for
(
int
rb
=
0
;
rb
<
rel15_ul
->
rb_size
;
rb
++
)
{
printf
(
"aarx %d symbol %d, rb %d => %d
\n
"
,
aarx
,
symbol
,
rb
,
dB_fixed
(
gNB
->
measurements
.
n0_subband_power
[
aarx
][
rel15_ul
->
bwp_start
+
rel15_ul
->
rb_start
+
rb
]));
LOG_D
(
NR_PHY
,
"aarx %d symbol %d, rb %d => %d
\n
"
,
aarx
,
symbol
,
rb
,
dB_fixed
(
gNB
->
measurements
.
n0_subband_power
[
aarx
][
rel15_ul
->
bwp_start
+
rel15_ul
->
rb_start
+
rb
]));
gNB
->
pusch_vars
[
ulsch_id
]
->
ulsch_noise_power
[
aarx
]
+=
gNB
->
measurements
.
n0_subband_power
[
aarx
][
rel15_ul
->
bwp_start
+
rel15_ul
->
rb_start
+
rb
]
/
rel15_ul
->
rb_size
/
num_symb
;
gNB
->
pusch_vars
[
ulsch_id
]
->
ulsch_noise_power
[
aarx
]
+=
gNB
->
measurements
.
n0_subband_power
[
aarx
][
rel15_ul
->
bwp_start
+
rel15_ul
->
rb_start
+
rb
]
/
rel15_ul
->
rb_size
/
num_symb
;
}
}
}
}
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
View file @
ffdffb1b
...
@@ -588,7 +588,6 @@ uint32_t nr_dlsch_decoding(PHY_VARS_NR_UE *phy_vars_ue,
...
@@ -588,7 +588,6 @@ uint32_t nr_dlsch_decoding(PHY_VARS_NR_UE *phy_vars_ue,
}
}
else
{
else
{
LOG_D
(
PHY
,
"CRC NOT OK
\n\033
[0m"
);
LOG_D
(
PHY
,
"CRC NOT OK
\n\033
[0m"
);
ret
=
1
+
dlsch
->
max_ldpc_iterations
;
}
}
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
View file @
ffdffb1b
...
@@ -311,7 +311,7 @@ void nr_preprocessor_phytest(module_id_t module_id,
...
@@ -311,7 +311,7 @@ void nr_preprocessor_phytest(module_id_t module_id,
sched_ctrl
->
num_total_bytes
+=
sched_ctrl
->
rlc_status
[
lcid
].
bytes_in_buffer
;
sched_ctrl
->
num_total_bytes
+=
sched_ctrl
->
rlc_status
[
lcid
].
bytes_in_buffer
;
const
int
target_ss
=
NR_SearchSpace__searchSpaceType_PR_ue_Specific
;
const
int
target_ss
=
NR_SearchSpace__searchSpaceType_PR_ue_Specific
;
sched_ctrl
->
search_space
=
get_searchspace
(
scc
,
sched_ctrl
->
active_bwp
,
target_ss
);
sched_ctrl
->
search_space
=
get_searchspace
(
scc
,
sched_ctrl
->
active_bwp
->
bwp_Dedicated
,
target_ss
);
uint8_t
nr_of_candidates
;
uint8_t
nr_of_candidates
;
find_aggregation_candidates
(
&
sched_ctrl
->
aggregation_level
,
find_aggregation_candidates
(
&
sched_ctrl
->
aggregation_level
,
&
nr_of_candidates
,
&
nr_of_candidates
,
...
@@ -437,7 +437,7 @@ bool nr_ul_preprocessor_phytest(module_id_t module_id,
...
@@ -437,7 +437,7 @@ bool nr_ul_preprocessor_phytest(module_id_t module_id,
sched_ctrl
->
sched_pusch
.
frame
=
sched_frame
;
sched_ctrl
->
sched_pusch
.
frame
=
sched_frame
;
const
int
target_ss
=
NR_SearchSpace__searchSpaceType_PR_ue_Specific
;
const
int
target_ss
=
NR_SearchSpace__searchSpaceType_PR_ue_Specific
;
sched_ctrl
->
search_space
=
get_searchspace
(
scc
,
sched_ctrl
->
active_bwp
,
target_ss
);
sched_ctrl
->
search_space
=
get_searchspace
(
scc
,
sched_ctrl
->
active_bwp
->
bwp_Dedicated
,
target_ss
);
uint8_t
nr_of_candidates
;
uint8_t
nr_of_candidates
;
find_aggregation_candidates
(
&
sched_ctrl
->
aggregation_level
,
find_aggregation_candidates
(
&
sched_ctrl
->
aggregation_level
,
&
nr_of_candidates
,
&
nr_of_candidates
,
...
...
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