Remove dependency of init_codebook_gNB on mac parameters

This commit is contained in:
sfn
2021-12-09 10:36:01 +01:00
parent 2242c6a8a9
commit a778f69a76
6 changed files with 438 additions and 445 deletions
+1 -2
View File
@@ -505,10 +505,9 @@ void init_eNB_afterRU(void) {
for (inst=0; inst<RC.nb_nr_inst; inst++) {
LOG_I(PHY,"RC.nb_nr_CC[inst:%d]:%p\n", inst, RC.gNB[inst]);
gNB = RC.gNB[inst];
mac = RC.nrmac[gNB->UL_INFO.module_id];
phy_init_nr_gNB(gNB,0,0);
init_codebook_gNB(gNB,mac);
init_codebook_gNB(gNB);
// map antennas and PRACH signals to gNB RX
if (0) AssertFatal(gNB->num_RU>0,"Number of RU attached to gNB %d is zero\n",gNB->Mod_id);