initialization of dfts for RU. moved init_dfts out from lte_init_top into lte_init_RU() and lte_init_ue_signal()
This commit is contained in:
@@ -59,11 +59,9 @@ void generate_qpsk_table(void) {
|
||||
}
|
||||
}
|
||||
|
||||
void init_7_5KHz(void);
|
||||
void init_lte_top(LTE_DL_FRAME_PARMS *frame_parms) {
|
||||
ccodelte_init();
|
||||
ccodelte_init_inv();
|
||||
init_dfts();
|
||||
phy_generate_viterbi_tables_lte();
|
||||
load_codinglib();
|
||||
lte_sync_time_init(frame_parms);
|
||||
@@ -76,7 +74,6 @@ void init_lte_top(LTE_DL_FRAME_PARMS *frame_parms) {
|
||||
init_unscrambling_lut();
|
||||
init_scrambling_lut();
|
||||
//set_taus_seed(1328);
|
||||
// init_7_5KHz();
|
||||
init_sss();
|
||||
}
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@ int phy_init_RU(RU_t *ru) {
|
||||
|
||||
}
|
||||
if (ru->function != NGFI_RRU_IF5) { // we need to do RX/TX RU processing
|
||||
init_dfts();
|
||||
init_7_5KHz();
|
||||
LOG_I(PHY,"nb_tx %d\n",ru->nb_tx);
|
||||
ru->common.rxdata_7_5kHz = (int32_t**)malloc16(ru->nb_rx*sizeof(int32_t*) );
|
||||
|
||||
@@ -665,6 +665,7 @@ int init_lte_ue_signal(PHY_VARS_UE *ue,
|
||||
init_frame_parms(&ue->frame_parms,1);
|
||||
init_lte_top(&ue->frame_parms);
|
||||
init_7_5KHz();
|
||||
init_dfts();
|
||||
init_ul_hopping(&ue->frame_parms);
|
||||
|
||||
|
||||
|
||||
@@ -2272,8 +2272,7 @@ uint8_t get_tmode(module_id_t module_idP, int CC_idP, int UE_idP)
|
||||
eNB_MAC_INST *eNB = RC.mac[module_idP];
|
||||
COMMON_channels_t *cc = &eNB->common_channels[CC_idP];
|
||||
|
||||
struct LTE_PhysicalConfigDedicated *physicalConfigDedicated =
|
||||
eNB->UE_list.physicalConfigDedicated[CC_idP][UE_idP];
|
||||
LTE_PhysicalConfigDedicated_t *physicalConfigDedicated = eNB->UE_list.physicalConfigDedicated[CC_idP][UE_idP];
|
||||
|
||||
if (physicalConfigDedicated == NULL) { // RRCConnectionSetup not received by UE yet
|
||||
AssertFatal(cc->p_eNB <= 2, "p_eNB is %d, should be <2\n",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
@@ -1070,8 +1070,7 @@ typedef struct {
|
||||
/*! \brief UE list used by eNB to order UEs/CC for scheduling*/
|
||||
typedef struct {
|
||||
/// Dedicated information for UEs
|
||||
struct PhysicalConfigDedicated
|
||||
*physicalConfigDedicated[NFAPI_CC_MAX][MAX_MOBILES_PER_ENB];
|
||||
LTE_PhysicalConfigDedicated_t *physicalConfigDedicated[NFAPI_CC_MAX][MAX_MOBILES_PER_ENB];
|
||||
/// DLSCH pdu
|
||||
DLSCH_PDU DLSCH_pdu[NFAPI_CC_MAX][2][MAX_MOBILES_PER_ENB];
|
||||
/// DCI template and MAC connection parameters for UEs
|
||||
|
||||
Reference in New Issue
Block a user