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
e4767dbd
Commit
e4767dbd
authored
Jan 27, 2022
by
Sagar Parsawar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compilation error on OAI UE
parent
c846f16e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
+6
-6
No files found.
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
View file @
e4767dbd
...
...
@@ -81,7 +81,7 @@ int nr_prs_channel_estimation(PHY_VARS_NR_UE *ue,
//re_offset
k
=
re_offset
=
(
prs_cfg
->
REOffset
+
k_prime
)
%
prs_cfg
->
CombSize
+
frame_params
->
first_carrier_offset
;
LOG_D
(
"PRS config l %d k_prime %d, re_offset %d :
\n
prs_cfg->SymbolStart %d
\n
prs_cfg->NumPRSSymbols %d
\n
prs_cfg->NumRB %d
\n
prs_cfg->CombSize %d
\n
"
,
l
,
k_prime
,
re_offset
,
prs_cfg
->
SymbolStart
,
prs_cfg
->
NumPRSSymbols
,
prs_cfg
->
NumRB
,
prs_cfg
->
CombSize
);
LOG_D
(
PHY
,
"PRS config l %d k_prime %d, re_offset %d :
\n
prs_cfg->SymbolStart %d
\n
prs_cfg->NumPRSSymbols %d
\n
prs_cfg->NumRB %d
\n
prs_cfg->CombSize %d
\n
"
,
l
,
k_prime
,
re_offset
,
prs_cfg
->
SymbolStart
,
prs_cfg
->
NumPRSSymbols
,
prs_cfg
->
NumRB
,
prs_cfg
->
CombSize
);
// Pilots generation and modulation
for
(
int
m
=
0
;
m
<
(
12
/
prs_cfg
->
CombSize
)
*
prs_cfg
->
NumRB
;
m
++
)
...
...
@@ -121,7 +121,7 @@ int nr_prs_channel_estimation(PHY_VARS_NR_UE *ue,
break
;
default:
LOG_I
(
"nr=prs channel_estimation: k_prime=%d -> ERROR
\n
"
,
k_prime
);
LOG_I
(
PHY
,
"nr=prs channel_estimation: k_prime=%d -> ERROR
\n
"
,
k_prime
);
return
(
-
1
);
break
;
}
...
...
@@ -236,7 +236,7 @@ int nr_prs_channel_estimation(PHY_VARS_NR_UE *ue,
break
;
default:
LOG_I
(
"nr=prs channel_estimation: k_prime=%d -> ERROR
\n
"
,
k_prime
);
LOG_I
(
PHY
,
"nr=prs channel_estimation: k_prime=%d -> ERROR
\n
"
,
k_prime
);
return
(
-
1
);
break
;
}
...
...
@@ -307,7 +307,7 @@ int nr_prs_channel_estimation(PHY_VARS_NR_UE *ue,
}
else
{
LOG_I
(
"NR_PRS UE Channel EStimation: CombSize other than 2 and 4 are NOT supported currently! Returning"
);
LOG_I
(
PHY
,
"NR_PRS UE Channel EStimation: CombSize other than 2 and 4 are NOT supported currently! Returning"
);
return
(
0
);
}
...
...
@@ -316,7 +316,7 @@ int nr_prs_channel_estimation(PHY_VARS_NR_UE *ue,
{
prs_chest
[
re_offset
]
=
ch_intrp
[
re
<<
1
];
prs_chest
[
re_offset
+
1
]
=
ch_intrp
[(
re
<<
1
)
+
1
];
LOG_D
(
"prs_ch[%d] %d %d
\n
"
,
re_offset
,
ch_intrp
[
re
<<
1
],
ch_intrp
[(
re
<<
1
)
+
1
]);
LOG_D
(
PHY
,
"prs_ch[%d] %d %d
\n
"
,
re_offset
,
ch_intrp
[
re
<<
1
],
ch_intrp
[(
re
<<
1
)
+
1
]);
re_offset
=
(
re_offset
+
1
)
%
frame_params
->
ofdm_symbol_size
;
}
...
...
@@ -357,7 +357,7 @@ int nr_prs_channel_estimation(PHY_VARS_NR_UE *ue,
break
;
default:
LOG_I
(
"unsupported ofdm symbol size
\n
"
);
LOG_I
(
PHY
,
"unsupported ofdm symbol size
\n
"
);
assert
(
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