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
lizhongxiao
OpenXG-RAN
Commits
a6d86ea8
Commit
a6d86ea8
authored
Oct 13, 2023
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sl-eurecom2' of
https://gitlab.eurecom.fr/oai/openairinterface5g
into sl-eurecom2
parents
d3702751
63b3d8a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
11 deletions
+7
-11
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
+6
-2
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
+1
-8
openair1/SCHED_NR_UE/phy_procedures_nr_ue_sl.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue_sl.c
+0
-1
No files found.
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
View file @
a6d86ea8
...
...
@@ -722,8 +722,12 @@ int32_t nr_rx_pdcch(PHY_VARS_NR_UE *ue,
n_rb
,
rel15
->
BWPStart
);
if
(
pscch_flag
==
1
&&
dB_fixed
(
signal_energy_nodc
(
&
pdcch_dl_ch_estimates_ext
[
0
][
s
*
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
],
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
))
>
30
)
LOG_D
(
NR_PHY
,
"PSCCH: %d.%d rx level0_%d %d ch_level0_%d %d
\n
"
,
proc
->
frame_rx
,
proc
->
nr_slot_rx
,
s
,
dB_fixed
(
signal_energy_nodc
(
&
rxdataF_ext
[
0
][
s
*
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
],
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
)),
s
,
dB_fixed
(
signal_energy_nodc
(
&
pdcch_dl_ch_estimates_ext
[
0
][
s
*
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
],
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
)));
if
(
pscch_flag
==
1
&&
dB_fixed
(
signal_energy_nodc
(
&
pdcch_dl_ch_estimates_ext
[
0
][
s
*
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
],
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
))
>
40
)
{
LOG_I
(
NR_PHY
,
"PSCCH: %d.%d rx level0_%d %d ch_level0_%d %d
\n
"
,
proc
->
frame_rx
,
proc
->
nr_slot_rx
,
s
,
dB_fixed
(
signal_energy_nodc
(
&
rxdataF_ext
[
0
][
s
*
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
],
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
)),
s
,
dB_fixed
(
signal_energy_nodc
(
&
pdcch_dl_ch_estimates_ext
[
0
][
s
*
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
],
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
)));
LOG_M
(
"sciF.m"
,
"scisF0"
,
&
rxdataF_ext
[
0
][
s
*
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
],
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
,
1
,
1
);
LOG_M
(
"scicF.m"
,
"scicF0"
,
&
pdcch_dl_ch_estimates_ext
[
0
][
s
*
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
],
n_rb
*
NBR_RE_PER_RB_WITH_DMRS
,
1
,
1
);
exit
(
-
1
);
}
LOG_D
(
PHY
,
"we enter nr_pdcch_channel_level(avgP=%d) => compute channel level based on ofdm symbol 0, pdcch_vars[eNB_id]->dl_ch_estimates_ext
\n
"
,
*
avgP
);
LOG_D
(
PHY
,
"in nr_pdcch_channel_level(dl_ch_estimates_ext -> dl_ch_estimates_ext)
\n
"
);
// compute channel level based on ofdm symbol 0
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
View file @
a6d86ea8
...
...
@@ -89,14 +89,7 @@ int nr_ulsch_encoding(PHY_VARS_NR_UE *ue,
harq_process
->
first_tx
=
0
;
///////////////////////// a---->| add CRC |---->b /////////////////////////
///////////
/*
int i;
printf("ulsch (tx): \n");
for (i=0;i<(A>>3);i++)
printf("%02x.",harq_process->a[i]);
printf("\n");
*/
int
max_payload_bytes
=
MAX_NUM_NR_ULSCH_SEGMENTS_PER_LAYER
*
num_layers
*
1056
;
if
(
A
>
3824
)
{
...
...
openair1/SCHED_NR_UE/phy_procedures_nr_ue_sl.c
View file @
a6d86ea8
...
...
@@ -539,7 +539,6 @@ void psbch_pscch_pssch_processing(PHY_VARS_NR_UE *ue,
rel15
->
number_of_candidates
=
phy_data
->
nr_sl_pscch_pdu
.
l_subch
;
rel15
->
num_dci_options
=
1
;
rel15
->
dci_length_options
[
0
]
=
phy_data
->
nr_sl_pscch_pdu
.
sci_1a_length
;
LOG_D
(
NR_PHY
,
"PSCCH_PDU SCI 1A length %d
\n
"
,
rel15
->
dci_length_options
[
0
]);
// L now provides the number of PRBs used by PSCCH instead of the number of CCEs
rel15
->
L
[
0
]
=
phy_data
->
nr_sl_pscch_pdu
.
pscch_numrbs
*
phy_data
->
nr_sl_pscch_pdu
.
pscch_numsym
;
// This provides the offset of the candidate of PSCCH in RBs instead of CCEs
...
...
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