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
wangjie
OpenXG-RAN
Commits
6b391b32
Commit
6b391b32
authored
Mar 22, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
activating a log to print rsrp
parent
70a1556c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
openair1/PHY/NR_TRANSPORT/nr_csi_rs.c
openair1/PHY/NR_TRANSPORT/nr_csi_rs.c
+1
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+5
-2
No files found.
openair1/PHY/NR_TRANSPORT/nr_csi_rs.c
View file @
6b391b32
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include "PHY/MODULATION/nr_modulation.h"
#include "PHY/MODULATION/nr_modulation.h"
#include "PHY/NR_REFSIG/nr_refsig.h"
#include "PHY/NR_REFSIG/nr_refsig.h"
#define NR_CSIRS_DEBUG
//
#define NR_CSIRS_DEBUG
void
nr_generate_csi_rs
(
PHY_VARS_gNB
*
gNB
,
void
nr_generate_csi_rs
(
PHY_VARS_gNB
*
gNB
,
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
6b391b32
...
@@ -890,7 +890,7 @@ void extract_pucch_csi_report (NR_CSI_MeasConfig_t *csi_MeasConfig,
...
@@ -890,7 +890,7 @@ void extract_pucch_csi_report (NR_CSI_MeasConfig_t *csi_MeasConfig,
/*reportQuantity must be considered according to the current scheduled
/*reportQuantity must be considered according to the current scheduled
CSI-ReportConfig if multiple CSI-ReportConfigs present*/
CSI-ReportConfig if multiple CSI-ReportConfigs present*/
reportQuantity_type
=
UE_info
->
csi_report_template
[
UE_id
][
csi_report_id
].
reportQuantity_type
;
reportQuantity_type
=
UE_info
->
csi_report_template
[
UE_id
][
csi_report_id
].
reportQuantity_type
;
LOG_D
(
PHY
,
"SFN/SF:%d%d reportQuantity type = %d
\n
"
,
frame
,
slot
,
reportQuantity_type
);
LOG_D
(
PHY
,
"SFN/SF:%d
/
%d reportQuantity type = %d
\n
"
,
frame
,
slot
,
reportQuantity_type
);
if
(
NR_CSI_ReportConfig__reportQuantity_PR_ssb_Index_RSRP
==
reportQuantity_type
||
if
(
NR_CSI_ReportConfig__reportQuantity_PR_ssb_Index_RSRP
==
reportQuantity_type
||
NR_CSI_ReportConfig__reportQuantity_PR_cri_RSRP
==
reportQuantity_type
)
{
NR_CSI_ReportConfig__reportQuantity_PR_cri_RSRP
==
reportQuantity_type
)
{
...
@@ -944,7 +944,10 @@ void extract_pucch_csi_report (NR_CSI_MeasConfig_t *csi_MeasConfig,
...
@@ -944,7 +944,10 @@ void extract_pucch_csi_report (NR_CSI_MeasConfig_t *csi_MeasConfig,
*
payload
>>=
4
;
*
payload
>>=
4
;
}
}
UE_info
->
csi_report_template
[
UE_id
][
csi_report_id
].
nb_of_csi_ssb_report
++
;
UE_info
->
csi_report_template
[
UE_id
][
csi_report_id
].
nb_of_csi_ssb_report
++
;
LOG_D
(
MAC
,
"csi_payload size = %d, rsrp_id = %d
\n
"
,
payload_size
,
sched_ctrl
->
CSI_report
[
idx
].
choice
.
ssb_cri_report
.
RSRP
);
LOG_I
(
MAC
,
"csi_payload size = %d, rsrp_id = %d rsrp = %d
\n
"
,
payload_size
,
sched_ctrl
->
CSI_report
[
idx
].
choice
.
ssb_cri_report
.
RSRP
,
get_measured_rsrp
(
sched_ctrl
->
CSI_report
[
idx
].
choice
.
ssb_cri_report
.
RSRP
));
}
}
}
}
...
...
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