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
148dafcf
Commit
148dafcf
authored
Nov 04, 2021
by
David Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused debug log.
parent
e4c5b23f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
11 deletions
+3
-11
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
+3
-6
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+0
-5
No files found.
openair1/PHY/NR_TRANSPORT/pucch_rx.c
View file @
148dafcf
...
...
@@ -415,7 +415,7 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB,
if
(
pucch_pdu
->
bit_len_harq
==
0
)
{
uci_pdu
->
harq
=
NULL
;
uci_pdu
->
sr
=
calloc
(
1
,
sizeof
(
*
uci_pdu
->
sr
));
AssertFatal
(
uci_pdu
->
sr
!=
NULL
,
"Memory allocation failed when pucch_pdu->bit_len_harq == 0
\n
"
);
AssertFatal
(
uci_pdu
->
sr
!=
NULL
,
"Memory allocation failed when pucch_pdu->bit_len_harq == 0
\n
"
);
uci_pdu
->
sr
->
sr_confidence_level
=
no_conf
?
1
:
0
;
uci_stats
->
pucch0_sr_trials
++
;
if
(
xrtmag_dBtimes10
>
(
10
*
gNB
->
measurements
.
n0_power_tot_dB
))
{
...
...
@@ -424,13 +424,11 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB,
}
else
{
uci_pdu
->
sr
->
sr_indication
=
0
;
}
LOG_I
(
PHY
,
"uci_01->harq->num_harq == 0
\n
"
);
}
else
if
(
pucch_pdu
->
bit_len_harq
==
1
)
{
uci_pdu
->
harq
=
calloc
(
1
,
sizeof
(
*
uci_pdu
->
harq
));
AssertFatal
(
uci_pdu
->
harq
!=
NULL
,
"Memory allocation failed when pucch_pdu->bit_len_harq == 1
\n
"
);
AssertFatal
(
uci_pdu
->
harq
!=
NULL
,
"Memory allocation failed when pucch_pdu->bit_len_harq == 1
\n
"
);
uci_pdu
->
harq
->
num_harq
=
1
;
LOG_I
(
PHY
,
"uci_01->harq->num_harq %u with uci_pdu %p harq %p
\n
"
,
uci_pdu
->
harq
->
num_harq
,
uci_pdu
,
uci_pdu
->
harq
);
uci_pdu
->
harq
->
harq_confidence_level
=
no_conf
?
1
:
0
;
uci_pdu
->
harq
->
harq_list
=
(
nfapi_nr_harq_t
*
)
malloc
(
1
);
uci_pdu
->
harq
->
harq_list
[
0
].
harq_value
=
index
&
0x01
;
...
...
@@ -446,9 +444,8 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB,
}
else
{
uci_pdu
->
harq
=
calloc
(
1
,
sizeof
(
*
uci_pdu
->
harq
));
AssertFatal
(
uci_pdu
->
harq
!=
NULL
,
"Memory allocation failed when pucch_pdu->bit_len_harq > 1
\n
"
);
AssertFatal
(
uci_pdu
->
harq
!=
NULL
,
"Memory allocation failed when pucch_pdu->bit_len_harq > 1
\n
"
);
uci_pdu
->
harq
->
num_harq
=
2
;
LOG_I
(
PHY
,
"uci_01->harq->num_harq %u with uci_pdu %p harq %p
\n
"
,
uci_pdu
->
harq
->
num_harq
,
uci_pdu
,
uci_pdu
->
harq
);
uci_pdu
->
harq
->
harq_confidence_level
=
(
no_conf
)
?
1
:
0
;
uci_pdu
->
harq
->
harq_list
=
(
nfapi_nr_harq_t
*
)
malloc
(
2
);
uci_pdu
->
harq
->
harq_list
[
1
].
harq_value
=
index
&
0x01
;
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
148dafcf
...
...
@@ -1087,11 +1087,6 @@ void handle_nr_uci_pucch_0_1(module_id_t mod_id,
if
(((
uci_01
->
pduBitmap
>>
1
)
&
0x01
))
{
// iterate over received harq bits
LOG_I
(
NR_MAC
,
"uci_01 %p
\n
"
,
uci_01
);
LOG_I
(
NR_MAC
,
"uci_01->harq %p
\n
"
,
uci_01
->
harq
);
LOG_I
(
NR_MAC
,
"uci_01->harq->num_harq %u
\n
"
,
uci_01
->
harq
->
num_harq
);
for
(
int
harq_bit
=
0
;
harq_bit
<
uci_01
->
harq
->
num_harq
;
harq_bit
++
)
{
const
uint8_t
harq_value
=
uci_01
->
harq
->
harq_list
[
harq_bit
].
harq_value
;
const
uint8_t
harq_confidence
=
uci_01
->
harq
->
harq_confidence_level
;
...
...
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