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
dc59ed65
Commit
dc59ed65
authored
Nov 10, 2021
by
rmagueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Creating the empty functions required for the NR-SRS
parent
f91017e2
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
49 deletions
+26
-49
openair1/PHY/NR_UE_TRANSPORT/srs_modulation_nr.c
openair1/PHY/NR_UE_TRANSPORT/srs_modulation_nr.c
+3
-3
openair1/PHY/NR_UE_TRANSPORT/srs_modulation_nr.h
openair1/PHY/NR_UE_TRANSPORT/srs_modulation_nr.h
+3
-2
openair1/SCHED_NR/phy_procedures_nr_common.c
openair1/SCHED_NR/phy_procedures_nr_common.c
+4
-12
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+8
-16
openair1/SCHED_NR/sched_nr.h
openair1/SCHED_NR/sched_nr.h
+1
-0
openair1/SCHED_NR_UE/defs.h
openair1/SCHED_NR_UE/defs.h
+2
-9
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
+4
-6
openair1/SIMULATION/NR_UE_PHY/unit_tests/src/srs_test.c
openair1/SIMULATION/NR_UE_PHY/unit_tests/src/srs_test.c
+1
-1
No files found.
openair1/PHY/NR_UE_TRANSPORT/srs_modulation_nr.c
View file @
dc59ed65
...
@@ -410,7 +410,7 @@ int is_srs_period_nr(SRS_Resource_t *p_SRS_Resource, NR_DL_FRAME_PARMS *frame_pa
...
@@ -410,7 +410,7 @@ int is_srs_period_nr(SRS_Resource_t *p_SRS_Resource, NR_DL_FRAME_PARMS *frame_pa
/*******************************************************************
/*******************************************************************
*
*
* NAME : ue_srs_procedure_nr
* NAME : ue_srs_procedure
s
_nr
*
*
* PARAMETERS : pointer to ue context
* PARAMETERS : pointer to ue context
* pointer to rxtx context*
* pointer to rxtx context*
...
@@ -422,7 +422,7 @@ int is_srs_period_nr(SRS_Resource_t *p_SRS_Resource, NR_DL_FRAME_PARMS *frame_pa
...
@@ -422,7 +422,7 @@ int is_srs_period_nr(SRS_Resource_t *p_SRS_Resource, NR_DL_FRAME_PARMS *frame_pa
* send srs according to current configuration
* send srs according to current configuration
*
*
*********************************************************************/
*********************************************************************/
int
ue_srs_procedure
_nr
(
PHY_VARS_NR_UE
*
ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
e
NB_id
)
int
ue_srs_procedure
s_nr
(
PHY_VARS_NR_UE
*
ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
g
NB_id
)
{
{
NR_DL_FRAME_PARMS
*
frame_parms
=
&
(
ue
->
frame_parms
);
NR_DL_FRAME_PARMS
*
frame_parms
=
&
(
ue
->
frame_parms
);
SRS_NR
*
p_srs_nr
=
&
(
ue
->
frame_parms
.
srs_nr
);
SRS_NR
*
p_srs_nr
=
&
(
ue
->
frame_parms
.
srs_nr
);
...
@@ -460,7 +460,7 @@ int ue_srs_procedure_nr(PHY_VARS_NR_UE *ue, UE_nr_rxtx_proc_t *proc, uint8_t eNB
...
@@ -460,7 +460,7 @@ int ue_srs_procedure_nr(PHY_VARS_NR_UE *ue, UE_nr_rxtx_proc_t *proc, uint8_t eNB
int16_t
txptr
=
AMP
;
int16_t
txptr
=
AMP
;
uint16_t
nsymb
=
(
ue
->
frame_parms
.
Ncp
==
0
)
?
14
:
12
;
uint16_t
nsymb
=
(
ue
->
frame_parms
.
Ncp
==
0
)
?
14
:
12
;
uint16_t
symbol_offset
=
(
int
)
ue
->
frame_parms
.
ofdm_symbol_size
*
((
proc
->
nr_slot_tx
*
nsymb
)
+
(
nsymb
-
1
));
uint16_t
symbol_offset
=
(
int
)
ue
->
frame_parms
.
ofdm_symbol_size
*
((
proc
->
nr_slot_tx
*
nsymb
)
+
(
nsymb
-
1
));
if
(
generate_srs_nr
(
p_srs_resource_set
,
frame_parms
,
&
ue
->
common_vars
.
txdataF
[
e
NB_id
][
symbol_offset
],
txptr
,
proc
)
==
0
)
{
if
(
generate_srs_nr
(
p_srs_resource_set
,
frame_parms
,
&
ue
->
common_vars
.
txdataF
[
g
NB_id
][
symbol_offset
],
txptr
,
proc
)
==
0
)
{
return
0
;
return
0
;
}
}
else
else
...
...
openair1/PHY/NR_UE_TRANSPORT/srs_modulation_nr.h
View file @
dc59ed65
...
@@ -155,13 +155,14 @@ int32_t generate_srs_nr(SRS_ResourceSet_t *p_srs_resource_set,
...
@@ -155,13 +155,14 @@ int32_t generate_srs_nr(SRS_ResourceSet_t *p_srs_resource_set,
int
is_srs_period_nr
(
SRS_Resource_t
*
p_SRS_Resource
,
int
is_srs_period_nr
(
SRS_Resource_t
*
p_SRS_Resource
,
NR_DL_FRAME_PARMS
*
frame_parms
,
NR_DL_FRAME_PARMS
*
frame_parms
,
int
frame_tx
,
int
slot_tx
);
int
frame_tx
,
int
slot_tx
);
/** \brief This function processes srs configuration
/** \brief This function processes srs configuration
* @param ue context
* @param ue context
@param rxtx context
@param rxtx context
@param current
eNB
identifier
@param current
gNB_id
identifier
@returns 0 if srs is transmitted -1 otherwise */
@returns 0 if srs is transmitted -1 otherwise */
int
ue_srs_procedure
_nr
(
PHY_VARS_NR_UE
*
ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
e
NB_id
);
int
ue_srs_procedure
s_nr
(
PHY_VARS_NR_UE
*
ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
g
NB_id
);
#undef EXTERN
#undef EXTERN
#undef INIT_VARIABLES_SRS_MODULATION_NR_H
#undef INIT_VARIABLES_SRS_MODULATION_NR_H
...
...
openair1/SCHED_NR/phy_procedures_nr_common.c
View file @
dc59ed65
...
@@ -19,17 +19,9 @@
...
@@ -19,17 +19,9 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file phy_procedures_lte_eNB.c
#include "PHY/defs_gNB.h"
* \brief Implementation of common utilities for eNB/UE procedures from 36.213 LTE specifications
* \author R. Knopp, F. Kaltenberger
* \date 2011
* \version 0.1
* \company Eurecom
* \email: knopp@eurecom.fr,florian.kaltenberger@eurecom.fr
* \note
* \warning
*/
#include "sched_nr.h"
bool
is_srs_occasion_nr
(
NR_DL_FRAME_PARMS
frame_parms
,
int
frame_rx
,
int
slot_rx
)
{
#include "PHY/INIT/phy_init.h"
return
false
;
}
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
dc59ed65
...
@@ -19,19 +19,13 @@
...
@@ -19,19 +19,13 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
#include "PHY/phy_extern.h"
#include "PHY/defs_gNB.h"
#include "PHY/defs_gNB.h"
#include "sched_nr.h"
#include "sched_nr.h"
#include "PHY/NR_REFSIG/dmrs_nr.h"
#include "PHY/NR_TRANSPORT/nr_transport_proto.h"
#include "PHY/NR_TRANSPORT/nr_transport_proto.h"
#include "PHY/NR_TRANSPORT/nr_dlsch.h"
#include "PHY/NR_TRANSPORT/nr_dlsch.h"
#include "PHY/NR_TRANSPORT/nr_ulsch.h"
#include "PHY/NR_TRANSPORT/nr_ulsch.h"
#include "PHY/NR_TRANSPORT/nr_dci.h"
#include "PHY/NR_TRANSPORT/nr_dci.h"
#include "PHY/NR_ESTIMATION/nr_ul_estimation.h"
#include "PHY/NR_ESTIMATION/nr_ul_estimation.h"
#include "PHY/NR_UE_TRANSPORT/pucch_nr.h"
#include "SCHED/sched_eNB.h"
#include "sched_nr.h"
#include "SCHED/sched_common_extern.h"
#include "nfapi/open-nFAPI/nfapi/public_inc/nfapi_interface.h"
#include "nfapi/open-nFAPI/nfapi/public_inc/nfapi_interface.h"
#include "nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface.h"
#include "nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface.h"
#include "fapi_nr_l1.h"
#include "fapi_nr_l1.h"
...
@@ -40,7 +34,6 @@
...
@@ -40,7 +34,6 @@
#include "PHY/INIT/phy_init.h"
#include "PHY/INIT/phy_init.h"
#include "PHY/MODULATION/nr_modulation.h"
#include "PHY/MODULATION/nr_modulation.h"
#include "T.h"
#include "T.h"
#include "executables/nr-softmodem.h"
#include "executables/softmodem-common.h"
#include "executables/softmodem-common.h"
#include "assertions.h"
#include "assertions.h"
...
@@ -186,7 +179,7 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx,
...
@@ -186,7 +179,7 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx,
for
(
int
i
=
0
;
i
<
NUMBER_OF_NR_CSIRS_MAX
;
i
++
){
for
(
int
i
=
0
;
i
<
NUMBER_OF_NR_CSIRS_MAX
;
i
++
){
NR_gNB_CSIRS_t
*
csirs
=
&
msgTx
->
csirs_pdu
[
i
];
NR_gNB_CSIRS_t
*
csirs
=
&
msgTx
->
csirs_pdu
[
i
];
if
(
(
csirs
->
active
==
1
)
)
{
if
(
csirs
->
active
==
1
)
{
LOG_D
(
PHY
,
"CSI-RS generation started in frame %d.%d
\n
"
,
frame
,
slot
);
LOG_D
(
PHY
,
"CSI-RS generation started in frame %d.%d
\n
"
,
frame
,
slot
);
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
csi_params
=
csirs
->
csirs_pdu
.
csi_rs_pdu_rel15
;
nfapi_nr_dl_tti_csi_rs_pdu_rel15_t
csi_params
=
csirs
->
csirs_pdu
.
csi_rs_pdu_rel15
;
nr_generate_csi_rs
(
gNB
,
AMP
,
csi_params
,
gNB
->
gNB_config
.
cell_config
.
phy_cell_id
.
value
,
slot
);
nr_generate_csi_rs
(
gNB
,
AMP
,
csi_params
,
gNB
->
gNB_config
.
cell_config
.
phy_cell_id
.
value
,
slot
);
...
@@ -206,16 +199,13 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx,
...
@@ -206,16 +199,13 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx,
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_gNB_TX
+
offset
,
0
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_gNB_TX
+
offset
,
0
);
}
}
void
srs_procedures_nr
(
PHY_VARS_gNB
*
gNB
,
int
frame_rx
,
int
slot_rx
)
{
if
(
is_srs_occasion_nr
(
gNB
->
frame_parms
,
frame_rx
,
slot_rx
))
{
LOG_W
(
NR_PHY
,
"SRS procedures are not implemented yet!"
);
}
/*
}
if ((cfg->subframe_config.duplex_mode.value == TDD) &&
((nr_slot_select(fp,frame,slot)&NR_DOWNLINK_SLOT)==SF_DL)) return;
// VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_ENB_RX,1);
*/
void
nr_postDecode
(
PHY_VARS_gNB
*
gNB
,
notifiedFIFO_elt_t
*
req
)
{
void
nr_postDecode
(
PHY_VARS_gNB
*
gNB
,
notifiedFIFO_elt_t
*
req
)
{
ldpcDecode_t
*
rdata
=
(
ldpcDecode_t
*
)
NotifiedFifoData
(
req
);
ldpcDecode_t
*
rdata
=
(
ldpcDecode_t
*
)
NotifiedFifoData
(
req
);
...
@@ -648,6 +638,8 @@ int phy_procedures_gNB_uespec_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx) {
...
@@ -648,6 +638,8 @@ int phy_procedures_gNB_uespec_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx) {
}
}
}
}
else
num_symb
=
NR_NUMBER_OF_SYMBOLS_PER_SLOT
;
else
num_symb
=
NR_NUMBER_OF_SYMBOLS_PER_SLOT
;
srs_procedures_nr
(
gNB
,
frame_rx
,
slot_rx
);
gNB_I0_measurements
(
gNB
,
slot_rx
,
first_symb
,
num_symb
);
gNB_I0_measurements
(
gNB
,
slot_rx
,
first_symb
,
num_symb
);
int
offset
=
10
*
gNB
->
frame_parms
.
ofdm_symbol_size
+
gNB
->
frame_parms
.
first_carrier_offset
;
int
offset
=
10
*
gNB
->
frame_parms
.
ofdm_symbol_size
+
gNB
->
frame_parms
.
first_carrier_offset
;
...
...
openair1/SCHED_NR/sched_nr.h
View file @
dc59ed65
...
@@ -54,5 +54,6 @@ void nr_fep_full(RU_t *ru, int slot);
...
@@ -54,5 +54,6 @@ void nr_fep_full(RU_t *ru, int slot);
void
nr_fep_full_2thread
(
RU_t
*
ru
,
int
slot
);
void
nr_fep_full_2thread
(
RU_t
*
ru
,
int
slot
);
void
feptx_prec
(
RU_t
*
ru
,
int
frame_tx
,
int
tti_tx
);
void
feptx_prec
(
RU_t
*
ru
,
int
frame_tx
,
int
tti_tx
);
int
nr_phy_init_RU
(
RU_t
*
ru
);
int
nr_phy_init_RU
(
RU_t
*
ru
);
bool
is_srs_occasion_nr
(
NR_DL_FRAME_PARMS
frame_parms
,
int
frame_rx
,
int
slot_rx
);
#endif
#endif
openair1/SCHED_NR_UE/defs.h
View file @
dc59ed65
...
@@ -369,19 +369,12 @@ void nr_srs_power_cntl(PHY_VARS_NR_UE *ue,UE_nr_rxtx_proc_t *proc,uint8_t eNB_id
...
@@ -369,19 +369,12 @@ void nr_srs_power_cntl(PHY_VARS_NR_UE *ue,UE_nr_rxtx_proc_t *proc,uint8_t eNB_id
void
nr_get_cqipmiri_params
(
PHY_VARS_NR_UE
*
ue
,
uint8_t
eNB_id
);
void
nr_get_cqipmiri_params
(
PHY_VARS_NR_UE
*
ue
,
uint8_t
eNB_id
);
void
nr_dump_dlsch
(
PHY_VARS_NR_UE
*
phy_vars_ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
eNB_id
,
uint8_t
subframe
,
uint8_t
harq_pid
);
void
nr_dump_dlsch
(
PHY_VARS_NR_UE
*
phy_vars_ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
eNB_id
,
uint8_t
subframe
,
uint8_t
harq_pid
);
void
nr_dump_dlsch_SI
(
PHY_VARS_NR_UE
*
phy_vars_ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
eNB_id
,
uint8_t
subframe
);
void
nr_dump_dlsch_SI
(
PHY_VARS_NR_UE
*
phy_vars_ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
eNB_id
,
uint8_t
subframe
);
void
nr_dump_dlsch_ra
(
PHY_VARS_NR_UE
*
phy_vars_ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
eNB_id
,
uint8_t
subframe
);
void
nr_dump_dlsch_ra
(
PHY_VARS_NR_UE
*
phy_vars_ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
eNB_id
,
uint8_t
subframe
);
bool
is_srs_occasion_nr
(
NR_DL_FRAME_PARMS
frame_parms
,
int
frame_rx
,
int
slot_rx
);
int
nr_is_srs_occasion_common
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int
frame_tx
,
int
subframe_tx
);
void
compute_srs_pos_nr
(
lte_frame_type_t
frameType
,
uint16_t
isrs
,
uint16_t
*
psrsPeriodicity
,
uint16_t
*
psrsOffset
);
void
nr_compute_srs_pos
(
lte_frame_type_t
frameType
,
uint16_t
isrs
,
uint16_t
*
psrsPeriodicity
,
uint16_t
*
psrsOffset
);
void
set_tx_harq_id
(
NR_UE_ULSCH_t
*
ulsch
,
int
harq_pid
,
int
slot_tx
);
void
set_tx_harq_id
(
NR_UE_ULSCH_t
*
ulsch
,
int
harq_pid
,
int
slot_tx
);
int
get_tx_harq_id
(
NR_UE_ULSCH_t
*
ulsch
,
int
slot_tx
);
int
get_tx_harq_id
(
NR_UE_ULSCH_t
*
ulsch
,
int
slot_tx
);
...
...
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
View file @
dc59ed65
...
@@ -38,15 +38,12 @@
...
@@ -38,15 +38,12 @@
#include "PHY/defs_nr_UE.h"
#include "PHY/defs_nr_UE.h"
#include "PHY/phy_extern_nr_ue.h"
#include "PHY/phy_extern_nr_ue.h"
#include "PHY/MODULATION/modulation_UE.h"
#include "PHY/MODULATION/modulation_UE.h"
#include "PHY/NR_REFSIG/refsig_defs_ue.h"
#include "PHY/NR_UE_TRANSPORT/nr_transport_ue.h"
#include "PHY/NR_UE_TRANSPORT/nr_transport_ue.h"
#include "PHY/NR_UE_TRANSPORT/nr_transport_proto_ue.h"
#include "PHY/NR_UE_TRANSPORT/nr_transport_proto_ue.h"
#include "SCHED_NR_UE/defs.h"
#include "PHY/NR_UE_TRANSPORT/srs_modulation_nr.h"
#include "SCHED_NR_UE/pucch_uci_ue_nr.h"
#include "SCHED_NR/extern.h"
#include "SCHED_NR/extern.h"
#include "SCHED_NR_UE/phy_sch_processing_time.h"
#include "SCHED_NR_UE/phy_sch_processing_time.h"
#include "PHY/NR_UE_ESTIMATION/nr_estimation.h"
#include "PHY/NR_UE_ESTIMATION/nr_estimation.h"
#include "PHY/NR_TRANSPORT/nr_dci.h"
#ifdef EMOS
#ifdef EMOS
#include "SCHED/phy_procedures_emos.h"
#include "SCHED/phy_procedures_emos.h"
#endif
#endif
...
@@ -276,16 +273,17 @@ void phy_procedures_nrUE_TX(PHY_VARS_NR_UE *ue,
...
@@ -276,16 +273,17 @@ void phy_procedures_nrUE_TX(PHY_VARS_NR_UE *ue,
LOG_D
(
PHY
,
"****** start TX-Chain for AbsSubframe %d.%d ******
\n
"
,
frame_tx
,
slot_tx
);
LOG_D
(
PHY
,
"****** start TX-Chain for AbsSubframe %d.%d ******
\n
"
,
frame_tx
,
slot_tx
);
start_meas
(
&
ue
->
phy_proc_tx
);
start_meas
(
&
ue
->
phy_proc_tx
);
if
(
ue
->
UE_mode
[
gNB_id
]
<=
PUSCH
){
if
(
ue
->
UE_mode
[
gNB_id
]
<=
PUSCH
){
for
(
uint8_t
harq_pid
=
0
;
harq_pid
<
ue
->
ulsch
[
proc
->
thread_id
][
gNB_id
][
0
]
->
number_harq_processes_for_pusch
;
harq_pid
++
)
{
for
(
uint8_t
harq_pid
=
0
;
harq_pid
<
ue
->
ulsch
[
proc
->
thread_id
][
gNB_id
][
0
]
->
number_harq_processes_for_pusch
;
harq_pid
++
)
{
if
(
ue
->
ulsch
[
proc
->
thread_id
][
gNB_id
][
0
]
->
harq_processes
[
harq_pid
]
->
status
==
ACTIVE
)
if
(
ue
->
ulsch
[
proc
->
thread_id
][
gNB_id
][
0
]
->
harq_processes
[
harq_pid
]
->
status
==
ACTIVE
)
nr_ue_ulsch_procedures
(
ue
,
harq_pid
,
frame_tx
,
slot_tx
,
proc
->
thread_id
,
gNB_id
);
nr_ue_ulsch_procedures
(
ue
,
harq_pid
,
frame_tx
,
slot_tx
,
proc
->
thread_id
,
gNB_id
);
}
}
}
if
(
ue
->
UE_mode
[
gNB_id
]
==
PUSCH
&&
is_srs_occasion_nr
(
ue
->
frame_parms
,
frame_tx
,
slot_tx
))
{
ue_srs_procedures_nr
(
ue
,
proc
,
gNB_id
);
}
}
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_UE_TX
,
VCD_FUNCTION_OUT
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_UE_TX
,
VCD_FUNCTION_OUT
);
...
...
openair1/SIMULATION/NR_UE_PHY/unit_tests/src/srs_test.c
View file @
dc59ed65
...
@@ -229,7 +229,7 @@ int test_srs_periodicity(PHY_VARS_NR_UE *ue, UE_nr_rxtx_proc_t *proc)
...
@@ -229,7 +229,7 @@ int test_srs_periodicity(PHY_VARS_NR_UE *ue, UE_nr_rxtx_proc_t *proc)
for
(
int
slot_tx
=
0
;
slot_tx
<
frame_parms
->
slots_per_frame
;
slot_tx
++
)
{
for
(
int
slot_tx
=
0
;
slot_tx
<
frame_parms
->
slots_per_frame
;
slot_tx
++
)
{
proc
->
frame_tx
=
frame_tx
;
proc
->
frame_tx
=
frame_tx
;
proc
->
nr_slot_tx
=
slot_tx
;
proc
->
nr_slot_tx
=
slot_tx
;
if
(
ue_srs_procedure_nr
(
ue
,
proc
,
0
)
==
0
)
{
if
(
ue_srs_procedure
s
_nr
(
ue
,
proc
,
0
)
==
0
)
{
printf
(
"test_srs_periodicity srs at frame %d slot %d
\n
"
,
frame_tx
,
slot_tx
);
printf
(
"test_srs_periodicity srs at frame %d slot %d
\n
"
,
frame_tx
,
slot_tx
);
}
}
}
}
...
...
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