Commit 2aaca349 authored by Theoni Magounaki's avatar Theoni Magounaki

init ue spec pilots

parent 4f535eec
...@@ -1638,6 +1638,9 @@ int phy_init_lte_eNB(PHY_VARS_eNB *eNB, ...@@ -1638,6 +1638,9 @@ int phy_init_lte_eNB(PHY_VARS_eNB *eNB,
init_prach_tables(839); init_prach_tables(839);
} // node_function != NGFI_RRU_IF4p5 } // node_function != NGFI_RRU_IF4p5
/*init the ue spec reference sequence for TM8/9*/
lte_gold_ue_spec(fp, eNB->lte_gold_uespec_table,eNB->frame_parms.Nid_cell, NULL);
return (0); return (0);
} }
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
* \note * \note
* \warning * \warning
*/ */
//#include "PHY/defs.h" #include "PHY/defs.h"
#include "PHY/extern.h" #include "PHY/extern.h"
#include "SCHED/defs.h" #include "SCHED/defs.h"
#include "defs.h" #include "defs.h"
......
...@@ -1669,12 +1669,13 @@ int main(int argc, char **argv) ...@@ -1669,12 +1669,13 @@ int main(int argc, char **argv)
(transmission_mode!=4) && (transmission_mode!=4) &&
(transmission_mode!=5) && (transmission_mode!=5) &&
(transmission_mode!=6) && (transmission_mode!=6) &&
(transmission_mode!=7)) { (transmission_mode!=7) &&
(transmission_mode!=8)) {
msg("Unsupported transmission mode %d\n",transmission_mode); msg("Unsupported transmission mode %d\n",transmission_mode);
exit(-1); exit(-1);
} }
if (transmission_mode>1 && transmission_mode<7) { if (transmission_mode>1 && transmission_mode<8) {
n_tx_port = 2; n_tx_port = 2;
} }
...@@ -1684,7 +1685,7 @@ int main(int argc, char **argv) ...@@ -1684,7 +1685,7 @@ int main(int argc, char **argv)
n_tx_phy=atoi(optarg); n_tx_phy=atoi(optarg);
if (n_tx_phy < n_tx_port) { if (n_tx_phy < n_tx_port) {
msg("n_tx_phy mush not be smaller than n_tx_port"); msg("n_tx_phy must not be smaller than n_tx_port");
exit(-1); exit(-1);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment