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
3a8f8fe0
Commit
3a8f8fe0
authored
Feb 01, 2024
by
lfq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes in ue
parent
2a1ece67
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
executables/nr-ue.c
executables/nr-ue.c
+1
-1
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
+7
-2
No files found.
executables/nr-ue.c
View file @
3a8f8fe0
...
@@ -446,7 +446,7 @@ static void UE_synch(void *arg) {
...
@@ -446,7 +446,7 @@ static void UE_synch(void *arg) {
nr_get_carrier_frequencies
(
UE
,
&
dl_carrier
,
&
ul_carrier
);
nr_get_carrier_frequencies
(
UE
,
&
dl_carrier
,
&
ul_carrier
);
if
(
nr_initial_sync
(
&
syncD
->
proc
,
UE
,
2
,
get_softmodem_params
()
->
sa
)
==
0
)
{
if
(
nr_initial_sync
(
&
syncD
->
proc
,
UE
,
2
,
get_softmodem_params
()
->
sa
)
==
0
)
{
freq_offset
=
UE
->
common_vars
.
freq_offset
;
// frequency offset computed with pss in initial sync
freq_offset
+
=
UE
->
common_vars
.
freq_offset
;
// frequency offset computed with pss in initial sync
hw_slot_offset
=
((
UE
->
rx_offset
<<
1
)
/
UE
->
frame_parms
.
samples_per_subframe
*
UE
->
frame_parms
.
slots_per_subframe
)
+
hw_slot_offset
=
((
UE
->
rx_offset
<<
1
)
/
UE
->
frame_parms
.
samples_per_subframe
*
UE
->
frame_parms
.
slots_per_subframe
)
+
round
((
float
)((
UE
->
rx_offset
<<
1
)
%
UE
->
frame_parms
.
samples_per_subframe
)
/
UE
->
frame_parms
.
samples_per_slot0
);
round
((
float
)((
UE
->
rx_offset
<<
1
)
%
UE
->
frame_parms
.
samples_per_subframe
)
/
UE
->
frame_parms
.
samples_per_slot0
);
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
View file @
3a8f8fe0
...
@@ -420,11 +420,16 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
...
@@ -420,11 +420,16 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
frame_parms
,
frame_parms
,
dlsch
[
0
].
dlsch_config
.
dlDmrsSymbPos
,
dlsch
[
0
].
dlsch_config
.
dlDmrsSymbPos
,
ue
->
chest_time
);
ue
->
chest_time
);
if
((
pilots
==
0
)
&
((
symbol
==
(
startSymbIdx
+
nbSymb
-
1
))))
if
((
pilots
==
0
)
&&
(
first_symbol_flag
==
1
))
{
static
int
cnt
=
0
;
if
((
cnt
%
1024
)
==
0
)
{
{
unsigned
int
pdsch_amp
;
unsigned
int
pdsch_amp
;
pdsch_amp
=
cal_amp
((
int16_t
*
)
&
rxdataF_ext
[
0
][
0
],
nb_rb_pdsch
*
12
);
pdsch_amp
=
cal_amp
((
int16_t
*
)
&
rxdataF_ext
[
0
][
0
],
nb_rb_pdsch
*
12
);
LOG_I
(
PHY
,
"frame %d %d, symbol %d pdsch_amp %d, rb %d
\n
"
,
frame
,
nr_slot_rx
,
symbol
,
pdsch_amp
,
nb_rb_pdsch
);
LOG_I
(
PHY
,
"frame %d %d, symbol %d pdsch_amp %d, rb %d, rnti %d
\n
"
,
frame
,
nr_slot_rx
,
symbol
,
pdsch_amp
,
nb_rb_pdsch
,
dlsch
[
0
].
rnti
);
}
cnt
++
;
}
}
if
(
meas_enabled
)
{
if
(
meas_enabled
)
{
stop_meas
(
&
meas
);
stop_meas
(
&
meas
);
...
...
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