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
32ec53ba
Commit
32ec53ba
authored
Jun 22, 2022
by
Roberto Louro Magueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get CSI-IM pdu at phy layer and add debug logs
parent
420ce608
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
+18
-0
No files found.
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
View file @
32ec53ba
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
//#define NR_CSIRS_DEBUG
//#define NR_CSIRS_DEBUG
//#define NR_CSIIM_DEBUG
bool
is_csi_rs_in_symbol
(
fapi_nr_dl_config_csirs_pdu_rel15_t
csirs_config_pdu
,
int
symbol
)
{
bool
is_csi_rs_in_symbol
(
fapi_nr_dl_config_csirs_pdu_rel15_t
csirs_config_pdu
,
int
symbol
)
{
...
@@ -600,6 +601,23 @@ int nr_csi_rs_cqi_estimation(uint32_t precoded_sinr,
...
@@ -600,6 +601,23 @@ int nr_csi_rs_cqi_estimation(uint32_t precoded_sinr,
}
}
int
nr_ue_csi_im_procedures
(
PHY_VARS_NR_UE
*
ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
gNB_id
)
{
int
nr_ue_csi_im_procedures
(
PHY_VARS_NR_UE
*
ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
gNB_id
)
{
if
(
!
ue
->
csiim_vars
[
gNB_id
]
->
active
)
{
return
-
1
;
}
fapi_nr_dl_config_csiim_pdu_rel15_t
*
csiim_config_pdu
=
(
fapi_nr_dl_config_csiim_pdu_rel15_t
*
)
&
ue
->
csiim_vars
[
gNB_id
]
->
csiim_config_pdu
;
#ifdef NR_CSIIM_DEBUG
LOG_I
(
NR_PHY
,
"csiim_config_pdu->bwp_size = %i
\n
"
,
csiim_config_pdu
->
bwp_size
);
LOG_I
(
NR_PHY
,
"csiim_config_pdu->bwp_start = %i
\n
"
,
csiim_config_pdu
->
bwp_start
);
LOG_I
(
NR_PHY
,
"csiim_config_pdu->subcarrier_spacing = %i
\n
"
,
csiim_config_pdu
->
subcarrier_spacing
);
LOG_I
(
NR_PHY
,
"csiim_config_pdu->start_rb = %i
\n
"
,
csiim_config_pdu
->
start_rb
);
LOG_I
(
NR_PHY
,
"csiim_config_pdu->nr_of_rbs = %i
\n
"
,
csiim_config_pdu
->
nr_of_rbs
);
LOG_I
(
NR_PHY
,
"csiim_config_pdu->k_csiim = %i.%i.%i.%i
\n
"
,
csiim_config_pdu
->
k_csiim
[
0
],
csiim_config_pdu
->
k_csiim
[
1
],
csiim_config_pdu
->
k_csiim
[
2
],
csiim_config_pdu
->
k_csiim
[
3
]);
LOG_I
(
NR_PHY
,
"csiim_config_pdu->l_csiim = %i.%i.%i.%i
\n
"
,
csiim_config_pdu
->
l_csiim
[
0
],
csiim_config_pdu
->
l_csiim
[
1
],
csiim_config_pdu
->
l_csiim
[
2
],
csiim_config_pdu
->
l_csiim
[
3
]);
#endif
return
0
;
return
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