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
94188666
Commit
94188666
authored
Oct 13, 2023
by
ue1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed some assertions
parent
63b3d8a9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
common/utils/nr/nr_common.c
common/utils/nr/nr_common.c
+1
-1
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+3
-1
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
+2
-1
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
+1
-0
No files found.
common/utils/nr/nr_common.c
View file @
94188666
...
...
@@ -387,7 +387,7 @@ int get_dmrs_port(int nl, uint16_t dmrs_ports)
}
}
}
AssertFatal
(
p
>-
1
,
"No dmrs port corresponding to layer %d found
\n
"
,
nl
);
if
(
p
==-
1
)
LOG_E
(
NR_PHY
,
"No dmrs port corresponding to layer %d found
\n
"
,
nl
);
return
p
;
}
...
...
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
94188666
...
...
@@ -1976,9 +1976,11 @@ void nr_rx_pusch(PHY_VARS_gNB *gNB,
for
(
int
nl
=
0
;
nl
<
nrOfLayers
;
nl
++
)
{
uint32_t
nvar_tmp
=
0
;
int
dmrs_port
=
get_dmrs_port
(
nl
,
dmrs_ports
);
if
(
dmrs_port
<
0
)
return
;
nr_pusch_channel_estimation
(
gNB
,
ue
,
rxFSz
,
rxdataF
,
slot
,
get_dmrs_port
(
nl
,
dmrs_ports
)
,
dmrs_port
,
symbol
,
ulsch_id
,
bwp_start_subcarrier
,
...
...
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
View file @
94188666
...
...
@@ -722,12 +722,13 @@ 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
))
>
40
)
{
/*
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_ue.c
View file @
94188666
...
...
@@ -467,6 +467,7 @@ void nr_ue_ulsch_procedures(PHY_VARS_NR_UE *UE,
#endif
int
dmrs_port
=
get_dmrs_port
(
nl
,
pscch_pssch_pdu
?
nl
:
pusch_pdu
->
dmrs_ports
);
if
(
dmrs_port
<
0
)
return
;
// DMRS params for this dmrs port
get_Wt
(
Wt
,
dmrs_port
,
dmrs_type
);
get_Wf
(
Wf
,
dmrs_port
,
dmrs_type
);
...
...
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