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
76a55fb6
Commit
76a55fb6
authored
Jan 15, 2024
by
francescomani
Committed by
Laurent THOMAS
Jan 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MR2477 avoid usage of ASN1 structure at PHY for SRS
parent
6f5e96de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+12
-15
No files found.
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
76a55fb6
...
...
@@ -37,10 +37,7 @@
#include "executables/nr-softmodem.h"
#include "executables/softmodem-common.h"
#include "nfapi/oai_integration/vendor_ext.h"
#include "NR_SRS-ResourceSet.h"
#include "assertions.h"
#include <time.h>
//#define DEBUG_RXDATA
...
...
@@ -1021,17 +1018,17 @@ int phy_procedures_gNB_uespec_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx)
case
0
:
LOG_W
(
NR_PHY
,
"SRS report was not requested by MAC
\n
"
);
return
0
;
case
1
<<
N
R_SRS_ResourceSet__usage_beamManagement
:
srs_indication
->
srs_usage
=
N
R_SRS_ResourceSet__usage_beamManagement
;
case
1
<<
N
FAPI_NR_SRS_BEAMMANAGEMENT
:
srs_indication
->
srs_usage
=
N
FAPI_NR_SRS_BEAMMANAGEMENT
;
break
;
case
1
<<
N
R_SRS_ResourceSet__usage_codebook
:
srs_indication
->
srs_usage
=
N
R_SRS_ResourceSet__usage_codebook
;
case
1
<<
N
FAPI_NR_SRS_CODEBOOK
:
srs_indication
->
srs_usage
=
N
FAPI_NR_SRS_CODEBOOK
;
break
;
case
1
<<
N
R_SRS_ResourceSet__usage_nonCodebook
:
srs_indication
->
srs_usage
=
N
R_SRS_ResourceSet__usage_nonCodebook
;
case
1
<<
N
FAPI_NR_SRS_NONCODEBOOK
:
srs_indication
->
srs_usage
=
N
FAPI_NR_SRS_NONCODEBOOK
;
break
;
case
1
<<
N
R_SRS_ResourceSet__usage_antennaSwitching
:
srs_indication
->
srs_usage
=
N
R_SRS_ResourceSet__usage_antennaSwitching
;
case
1
<<
N
FAPI_NR_SRS_ANTENNASWITCH
:
srs_indication
->
srs_usage
=
N
FAPI_NR_SRS_ANTENNASWITCH
;
break
;
default:
LOG_E
(
NR_PHY
,
"Invalid srs_pdu->srs_parameters_v4.usage %i
\n
"
,
srs_pdu
->
srs_parameters_v4
.
usage
);
...
...
@@ -1054,7 +1051,7 @@ int phy_procedures_gNB_uespec_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx)
start_meas
(
&
gNB
->
srs_report_tlv_stats
);
switch
(
srs_indication
->
srs_usage
)
{
case
N
R_SRS_ResourceSet__usage_beamManagement
:
{
case
N
FAPI_NR_SRS_BEAMMANAGEMENT
:
{
start_meas
(
&
gNB
->
srs_beam_report_stats
);
nfapi_nr_srs_beamforming_report_t
nr_srs_bf_report
;
nr_srs_bf_report
.
prg_size
=
srs_pdu
->
beamforming
.
prg_size
;
...
...
@@ -1083,7 +1080,7 @@ int phy_procedures_gNB_uespec_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx)
break
;
}
case
N
R_SRS_ResourceSet__usage_codebook
:
{
case
N
FAPI_NR_SRS_CODEBOOK
:
{
start_meas
(
&
gNB
->
srs_iq_matrix_stats
);
nfapi_nr_srs_normalized_channel_iq_matrix_t
nr_srs_channel_iq_matrix
;
nr_srs_channel_iq_matrix
.
normalized_iq_representation
=
srs_pdu
->
srs_parameters_v4
.
iq_representation
;
...
...
@@ -1132,8 +1129,8 @@ int phy_procedures_gNB_uespec_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx)
break
;
}
case
N
R_SRS_ResourceSet__usage_nonCodebook
:
case
N
R_SRS_ResourceSet__usage_antennaSwitching
:
case
N
FAPI_NR_SRS_NONCODEBOOK
:
case
N
FAPI_NR_SRS_ANTENNASWITCH
:
LOG_W
(
NR_PHY
,
"PHY procedures for this SRS usage are not implemented yet!
\n
"
);
break
;
...
...
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