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
b7f1368b
Commit
b7f1368b
authored
Apr 27, 2021
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes
parent
9ae24b3c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
+4
-4
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
+2
-0
No files found.
openair1/PHY/NR_TRANSPORT/pucch_rx.c
View file @
b7f1368b
...
@@ -292,10 +292,10 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB,
...
@@ -292,10 +292,10 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB,
}
}
}
}
#ifdef DEBUG_NR_PUCCH_RX
//
#ifdef DEBUG_NR_PUCCH_RX
printf
(
"PUCCH IDFT = (%d,%d)=>%f
\n
"
,
corr_re
[
0
],
corr_im
[
0
],
10
*
log10
(
corr_re
[
0
]
*
corr_re
[
0
]
+
corr_im
[
0
]
*
corr_im
[
0
]));
LOG_I
(
PHY
,
"PUCCH IDFT = (%d,%d)=>%f
\n
"
,
corr_re
[
0
],
corr_im
[
0
],
10
*
log10
(
corr_re
[
0
]
*
corr_re
[
0
]
+
corr_im
[
0
]
*
corr_im
[
0
]));
if
(
l
>
1
)
printf
(
"PUCCH 2nd symbol IDFT[%d/%d] = (%d,%d)=>%f
\n
"
,
mcs
[
i
],
seq_index
,
corr_re
[
1
],
corr_im
[
1
],
10
*
log10
(
corr_re
[
1
]
*
corr_re
[
1
]
+
corr_im
[
1
]
*
corr_im
[
1
]));
if
(
l
>
1
)
LOG_I
(
PHY
,
"PUCCH 2nd symbol IDFT[%d/%d] = (%d,%d)=>%f
\n
"
,
mcs
[
i
],
seq_index
,
corr_re
[
1
],
corr_im
[
1
],
10
*
log10
(
corr_re
[
1
]
*
corr_re
[
1
]
+
corr_im
[
1
]
*
corr_im
[
1
]));
#endif
i
//
#endif
if
(
pucch_pdu
->
freq_hop_flag
==
0
&&
l
==
1
)
// non-coherent correlation
if
(
pucch_pdu
->
freq_hop_flag
==
0
&&
l
==
1
)
// non-coherent correlation
temp
=
corr_re
[
0
]
*
corr_re
[
0
]
+
corr_im
[
0
]
*
corr_im
[
0
];
temp
=
corr_re
[
0
]
*
corr_re
[
0
]
+
corr_im
[
0
]
*
corr_im
[
0
];
else
if
(
pucch_pdu
->
freq_hop_flag
==
0
&&
l
==
2
)
{
else
if
(
pucch_pdu
->
freq_hop_flag
==
0
&&
l
==
2
)
{
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
View file @
b7f1368b
...
@@ -853,6 +853,8 @@ void nr_schedule_ue_spec(module_id_t module_id,
...
@@ -853,6 +853,8 @@ void nr_schedule_ue_spec(module_id_t module_id,
pdsch_pdu
->
qamModOrder
[
0
]
=
Qm
;
pdsch_pdu
->
qamModOrder
[
0
]
=
Qm
;
pdsch_pdu
->
mcsIndex
[
0
]
=
sched_ctrl
->
mcs
;
pdsch_pdu
->
mcsIndex
[
0
]
=
sched_ctrl
->
mcs
;
pdsch_pdu
->
mcsTable
[
0
]
=
sched_ctrl
->
mcsTableIdx
;
pdsch_pdu
->
mcsTable
[
0
]
=
sched_ctrl
->
mcsTableIdx
;
AssertFatal
(
harq
!=
NULL
,
"harq is null
\n
"
);
AssertFatal
(
harq
->
round
<
16
,
"harq->round %d > 15
\n
"
,
harq_round
);
pdsch_pdu
->
rvIndex
[
0
]
=
nr_rv_round_map
[
harq
->
round
];
pdsch_pdu
->
rvIndex
[
0
]
=
nr_rv_round_map
[
harq
->
round
];
pdsch_pdu
->
TBSize
[
0
]
=
TBS
;
pdsch_pdu
->
TBSize
[
0
]
=
TBS
;
...
...
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