extraction of RU control functions from lte-ru.c. Removal of mobipass fronthaul.
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
#include "RRC/LTE/rrc_extern.h"
|
||||
#include "PHY_INTERFACE/phy_interface.h"
|
||||
|
||||
// Note: this is for prototype of generate_drs_pusch (OTA synchronization of RRUs)
|
||||
#include "PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
|
||||
|
||||
int* sync_corr_ue0 = NULL;
|
||||
int* sync_corr_ue1 = NULL;
|
||||
|
||||
@@ -107,9 +107,6 @@ void rx_prach0(PHY_VARS_eNB *eNB,
|
||||
#if (RRC_VERSION >= MAKE_VERSION(14, 0, 0))
|
||||
int prach_ifft_cnt=0;
|
||||
#endif
|
||||
#ifdef PRACH_DEBUG
|
||||
int en0=0;
|
||||
#endif
|
||||
|
||||
if (ru) {
|
||||
fp = &ru->frame_parms;
|
||||
@@ -470,7 +467,7 @@ void rx_prach0(PHY_VARS_eNB *eNB,
|
||||
} else if (eNB!=NULL) {
|
||||
|
||||
#ifdef PRACH_DEBUG
|
||||
int en = dB_fixed(signal_energy((int32_t*)&rxsigF[0][0],840));
|
||||
en = dB_fixed(signal_energy((int32_t*)&rxsigF[0][0],840));
|
||||
if ((en > 60)&&(br_flag==1)) LOG_I(PHY,"PRACH (br_flag %d,ce_level %d, n_ra_prb %d, k %d): Frame %d, Subframe %d => %d dB\n",br_flag,ce_level,n_ra_prb,k,eNB->proc.frame_rx,eNB->proc.subframe_rx,en);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -706,7 +706,7 @@ void uci_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
|
||||
int i;
|
||||
LTE_eNB_UCI *uci;
|
||||
uint16_t tdd_multiplexing_mask=0;
|
||||
int res;
|
||||
|
||||
|
||||
for (i=0;i<NUMBER_OF_UE_MAX;i++) {
|
||||
|
||||
@@ -855,13 +855,13 @@ void uci_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
|
||||
uci->rnti,
|
||||
frame,subframe,
|
||||
uci->num_pucch_resources,
|
||||
uci->n_pucch_1[res][0],
|
||||
uci->n_pucch_1[res][1],
|
||||
uci->n_pucch_1[res][2],
|
||||
uci->n_pucch_1[res][3],
|
||||
uci->n_pucch_1[0][0],
|
||||
uci->n_pucch_1[0][1],
|
||||
uci->n_pucch_1[0][2],
|
||||
uci->n_pucch_1[0][3],
|
||||
uci->pucch_fmt);
|
||||
|
||||
for (res=0;res<uci->num_pucch_resources;res++)
|
||||
for (int res=0;res<uci->num_pucch_resources;res++)
|
||||
metric[res] = rx_pucch(eNB,
|
||||
uci->pucch_fmt,
|
||||
i,
|
||||
|
||||
@@ -51,6 +51,8 @@
|
||||
|
||||
#include "targets/RT/USER/rt_wrapper.h"
|
||||
|
||||
// Note: this is needed for prototype of generate_drs_pusch, which is used as a reference signal for OTA synchronization
|
||||
#include "PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
|
||||
// RU OFDM Modulator, used in IF4p5 RRU, RCC/RAU with IF5, eNodeB
|
||||
|
||||
extern openair0_config_t openair0_cfg[MAX_CARDS];
|
||||
@@ -58,6 +60,7 @@ extern openair0_config_t openair0_cfg[MAX_CARDS];
|
||||
extern int oai_exit;
|
||||
|
||||
|
||||
|
||||
void feptx0(RU_t *ru,int slot) {
|
||||
|
||||
LTE_DL_FRAME_PARMS *fp = &ru->frame_parms;
|
||||
|
||||
Reference in New Issue
Block a user