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
Michael Black
OpenXG-RAN
Commits
d664190f
Commit
d664190f
authored
Mar 20, 2023
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scope compilation fixes
parent
0d664103
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
16 deletions
+14
-16
openair1/PHY/TOOLS/nr_phy_qt_scope.cpp
openair1/PHY/TOOLS/nr_phy_qt_scope.cpp
+3
-3
openair1/PHY/TOOLS/nr_phy_scope.c
openair1/PHY/TOOLS/nr_phy_scope.c
+11
-13
No files found.
openair1/PHY/TOOLS/nr_phy_qt_scope.cpp
View file @
d664190f
...
...
@@ -697,7 +697,7 @@ void PainterWidgetGnb::makeConnections(int type)
break
;
}
case
PlotTypeGnb
:
:
CIR
:
{
newChart
=
new
CIRPlot
((
complex16
*
)
p
->
gNB
->
pusch_vars
[
0
]
->
ul_ch_estimates_time
[
0
],
frame_parms
->
ofdm_symbol_size
);
newChart
=
new
CIRPlot
((
complex16
*
)
p
->
gNB
->
pusch_vars
[
0
]
.
ul_ch_estimates_time
[
0
],
frame_parms
->
ofdm_symbol_size
);
break
;
}
...
...
@@ -705,12 +705,12 @@ void PainterWidgetGnb::makeConnections(int type)
int
num_re
=
frame_parms
->
N_RB_UL
*
12
*
frame_parms
->
symbols_per_slot
;
int
Qm
=
2
;
int
coded_bits_per_codeword
=
num_re
*
Qm
;
newChart
=
new
LLRPlot
((
int16_t
*
)
p
->
gNB
->
pusch_vars
[
0
]
->
llr
,
coded_bits_per_codeword
);
newChart
=
new
LLRPlot
((
int16_t
*
)
p
->
gNB
->
pusch_vars
[
0
]
.
llr
,
coded_bits_per_codeword
);
break
;
}
case
PlotTypeGnb
:
:
puschIQ
:
{
int
num_re
=
frame_parms
->
N_RB_UL
*
12
*
frame_parms
->
symbols_per_slot
;
newChart
=
new
IQPlot
((
complex16
*
)
p
->
gNB
->
pusch_vars
[
0
]
->
rxdataF_comp
[
0
],
num_re
);
newChart
=
new
IQPlot
((
complex16
*
)
p
->
gNB
->
pusch_vars
[
0
]
.
rxdataF_comp
[
0
],
num_re
);
break
;
}
case
PlotTypeGnb
:
:
puschSNR
:
{
...
...
openair1/PHY/TOOLS/nr_phy_scope.c
View file @
d664190f
...
...
@@ -473,10 +473,10 @@ static void timeResponse (OAIgraph_t *graph, scopeData_t *p, int nb_UEs) {
int
uestart
=
0
;
// xforms scope designed to display nb_UEs signals
#endif
for
(
int
ue
=
uestart
;
ue
<
nb_UEs
;
ue
++
)
{
if
(
p
->
gNB
->
pusch_vars
&&
p
->
gNB
->
pusch_vars
[
ue
]
&&
p
->
gNB
->
pusch_vars
[
ue
]
->
ul_ch_estimates_time
&&
p
->
gNB
->
pusch_vars
[
ue
]
->
ul_ch_estimates_time
[
ant
]
)
{
scopeSample_t
*
data
=
(
scopeSample_t
*
)
p
->
gNB
->
pusch_vars
[
ue
]
->
ul_ch_estimates_time
[
ant
];
if
(
p
->
gNB
->
pusch_vars
&&
p
->
gNB
->
pusch_vars
[
ue
].
ul_ch_estimates_time
&&
p
->
gNB
->
pusch_vars
[
ue
].
ul_ch_estimates_time
[
ant
]
)
{
scopeSample_t
*
data
=
(
scopeSample_t
*
)
p
->
gNB
->
pusch_vars
[
ue
]
.
ul_ch_estimates_time
[
ant
];
if
(
data
!=
NULL
)
{
for
(
int
i
=
0
;
i
<
len
;
i
++
)
{
...
...
@@ -527,10 +527,9 @@ static void puschLLR (OAIgraph_t *graph, scopeData_t *p, int nb_UEs) {
int
coded_bits_per_codeword
=
num_re
*
Qm
;
for
(
int
ue
=
uestart
;
ue
<
nb_UEs
;
ue
++
)
{
if
(
p
->
gNB
->
pusch_vars
&&
p
->
gNB
->
pusch_vars
[
ue
]
&&
p
->
gNB
->
pusch_vars
[
ue
]
->
llr
)
{
int16_t
*
pusch_llr
=
(
int16_t
*
)
p
->
gNB
->
pusch_vars
[
ue
]
->
llr
;
if
(
p
->
gNB
->
pusch_vars
&&
p
->
gNB
->
pusch_vars
[
ue
].
llr
)
{
int16_t
*
pusch_llr
=
(
int16_t
*
)
p
->
gNB
->
pusch_vars
[
ue
].
llr
;
float
*
llr
=
NULL
,
*
bit
=
NULL
;
int
nx
=
coded_bits_per_codeword
;
#ifdef WEBSRVSCOPE
...
...
@@ -557,11 +556,10 @@ static void puschIQ (OAIgraph_t *graph, scopeData_t *p, int nb_UEs) {
int
uestart
=
0
;
// xforms scope designed to display nb_UEs signals
#endif
for
(
int
ue
=
uestart
;
ue
<
nb_UEs
;
ue
++
)
{
if
(
p
->
gNB
->
pusch_vars
&&
p
->
gNB
->
pusch_vars
[
ue
]
&&
p
->
gNB
->
pusch_vars
[
ue
]
->
rxdataF_comp
&&
p
->
gNB
->
pusch_vars
[
ue
]
->
rxdataF_comp
[
0
]
)
{
scopeSample_t
*
pusch_comp
=
(
scopeSample_t
*
)
p
->
gNB
->
pusch_vars
[
ue
]
->
rxdataF_comp
[
0
];
if
(
p
->
gNB
->
pusch_vars
&&
p
->
gNB
->
pusch_vars
[
ue
].
rxdataF_comp
&&
p
->
gNB
->
pusch_vars
[
ue
].
rxdataF_comp
[
0
]
)
{
scopeSample_t
*
pusch_comp
=
(
scopeSample_t
*
)
p
->
gNB
->
pusch_vars
[
ue
].
rxdataF_comp
[
0
];
float
*
I
=
NULL
,
*
Q
=
NULL
;
#ifdef WEBSRVSCOPE
newsz
=
websrv_cpiqbuff_tomsg
(
graph
,
pusch_comp
,
sz
,
0
,
0
);
...
...
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