initialization of 7.5 kHz tables moved to RU initialization so that IF4p5 RRU doesn't crash anymore.

This commit is contained in:
Raymond Knopp
2018-09-29 11:23:40 +02:00
parent 7d602d5cc2
commit d8e9a80f51
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ void init_lte_top(LTE_DL_FRAME_PARMS *frame_parms) {
init_unscrambling_lut();
init_scrambling_lut();
//set_taus_seed(1328);
init_7_5KHz();
// init_7_5KHz();
init_sss();
}
+3
View File
@@ -31,6 +31,8 @@
#include "assertions.h"
#include <math.h>
void init_7_5KHz();
int phy_init_RU(RU_t *ru) {
LTE_DL_FRAME_PARMS *fp = &ru->frame_parms;
@@ -65,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_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*) );
for (i=0;i<ru->nb_rx;i++) {