Fix warnings after merge with develop
This commit is contained in:
@@ -11,7 +11,7 @@ gNBs =
|
|||||||
# cell_type = "CELL_MACRO_GNB";
|
# cell_type = "CELL_MACRO_GNB";
|
||||||
|
|
||||||
gNB_name = "gNB-OAI";
|
gNB_name = "gNB-OAI";
|
||||||
min_rxtxtime_pdsch = 6;
|
min_rxtxtime = 6;
|
||||||
|
|
||||||
// Tracking area code, 0x0000 and 0xfffe are reserved values
|
// Tracking area code, 0x0000 and 0xfffe are reserved values
|
||||||
tracking_area_code = 1;
|
tracking_area_code = 1;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ gNBs =
|
|||||||
# cell_type = "CELL_MACRO_GNB";
|
# cell_type = "CELL_MACRO_GNB";
|
||||||
|
|
||||||
gNB_name = "gNB-OAI";
|
gNB_name = "gNB-OAI";
|
||||||
min_rxtxtime_pdsch = 6;
|
min_rxtxtime = 6;
|
||||||
|
|
||||||
// Tracking area code, 0x0000 and 0xfffe are reserved values
|
// Tracking area code, 0x0000 and 0xfffe are reserved values
|
||||||
tracking_area_code = 1;
|
tracking_area_code = 1;
|
||||||
|
|||||||
@@ -20,23 +20,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "phy_init.h"
|
#include "phy_init.h"
|
||||||
#include "SCHED_UE/sched_UE.h"
|
|
||||||
#include "PHY/phy_extern_nr_ue.h"
|
#include "PHY/phy_extern_nr_ue.h"
|
||||||
//#include "SIMULATION/TOOLS/sim.h"
|
|
||||||
/*#include "RadioResourceConfigCommonSIB.h"
|
|
||||||
#include "RadioResourceConfigDedicated.h"
|
|
||||||
#include "TDD-Config.h"
|
|
||||||
#include "MBSFN-SubframeConfigList.h"*/
|
|
||||||
#include "openair1/PHY/defs_RU.h"
|
#include "openair1/PHY/defs_RU.h"
|
||||||
#include "openair1/PHY/impl_defs_nr.h"
|
#include "openair1/PHY/impl_defs_nr.h"
|
||||||
#include "common/utils/LOG/vcd_signal_dumper.h"
|
#include "common/utils/LOG/vcd_signal_dumper.h"
|
||||||
#include "assertions.h"
|
#include "assertions.h"
|
||||||
#include <math.h>
|
#include "PHY/MODULATION/nr_modulation.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 "PHY/LTE_REFSIG/lte_refsig.h"
|
|
||||||
#include "PHY/CODING/nrPolar_tools/nr_polar_pbch_defs.h"
|
|
||||||
#include "PHY/INIT/phy_init.h"
|
|
||||||
#include "PHY/NR_REFSIG/pss_nr.h"
|
#include "PHY/NR_REFSIG/pss_nr.h"
|
||||||
#include "PHY/NR_REFSIG/ul_ref_seq_nr.h"
|
#include "PHY/NR_REFSIG/ul_ref_seq_nr.h"
|
||||||
#include "PHY/NR_REFSIG/refsig_defs_ue.h"
|
#include "PHY/NR_REFSIG/refsig_defs_ue.h"
|
||||||
|
|||||||
@@ -44,15 +44,14 @@ void pcfich_unscrambling(LTE_DL_FRAME_PARMS *frame_parms,
|
|||||||
int16_t *d)
|
int16_t *d)
|
||||||
{
|
{
|
||||||
|
|
||||||
uint32_t i;
|
uint8_t reset = 1;
|
||||||
uint8_t reset;
|
uint32_t x1 = 0;
|
||||||
uint32_t x1, x2, s=0;
|
uint32_t s = 0;
|
||||||
|
|
||||||
reset = 1;
|
|
||||||
// x1 is set in lte_gold_generic
|
// x1 is set in lte_gold_generic
|
||||||
x2 = ((((2*frame_parms->Nid_cell)+1)*(1+subframe))<<9) + frame_parms->Nid_cell; //this is c_init in 36.211 Sec 6.7.1
|
uint32_t x2 = ((((2*frame_parms->Nid_cell)+1)*(1+subframe))<<9) + frame_parms->Nid_cell; //this is c_init in 36.211 Sec 6.7.1
|
||||||
|
|
||||||
for (i=0; i<32; i++) {
|
for (uint32_t i=0; i<32; i++) {
|
||||||
if ((i&0x1f)==0) {
|
if ((i&0x1f)==0) {
|
||||||
s = lte_gold_generic(&x1, &x2, reset);
|
s = lte_gold_generic(&x1, &x2, reset);
|
||||||
//printf("lte_gold[%d]=%x\n",i,s);
|
//printf("lte_gold[%d]=%x\n",i,s);
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ gNBs =
|
|||||||
pusch_AntennaPorts = 1;
|
pusch_AntennaPorts = 1;
|
||||||
min_rxtxtime = 6;
|
min_rxtxtime = 6;
|
||||||
sib1_tda = 0;
|
sib1_tda = 0;
|
||||||
do_SRS = 1;
|
|
||||||
|
|
||||||
pdcch_ConfigSIB1 = (
|
pdcch_ConfigSIB1 = (
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user