removed hard-coded 1024 amplitude in dlsim
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4773 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -1448,7 +1448,7 @@ int main(int argc, char **argv) {
|
|||||||
num_common_dci,
|
num_common_dci,
|
||||||
dci_alloc,
|
dci_alloc,
|
||||||
0,
|
0,
|
||||||
1024,
|
AMP,
|
||||||
&PHY_vars_eNB->lte_frame_parms,
|
&PHY_vars_eNB->lte_frame_parms,
|
||||||
PHY_vars_eNB->lte_eNB_common_vars.txdataF[eNB_id],
|
PHY_vars_eNB->lte_eNB_common_vars.txdataF[eNB_id],
|
||||||
subframe);
|
subframe);
|
||||||
@@ -1549,7 +1549,7 @@ int main(int argc, char **argv) {
|
|||||||
*/
|
*/
|
||||||
if (num_layers>1)
|
if (num_layers>1)
|
||||||
re_allocated = dlsch_modulation(PHY_vars_eNB->lte_eNB_common_vars.txdataF[eNB_id],
|
re_allocated = dlsch_modulation(PHY_vars_eNB->lte_eNB_common_vars.txdataF[eNB_id],
|
||||||
1024,
|
AMP,
|
||||||
subframe,
|
subframe,
|
||||||
&PHY_vars_eNB->lte_frame_parms,
|
&PHY_vars_eNB->lte_frame_parms,
|
||||||
num_pdcch_symbols,
|
num_pdcch_symbols,
|
||||||
@@ -1559,7 +1559,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
generate_pilots(PHY_vars_eNB,
|
generate_pilots(PHY_vars_eNB,
|
||||||
PHY_vars_eNB->lte_eNB_common_vars.txdataF[eNB_id],
|
PHY_vars_eNB->lte_eNB_common_vars.txdataF[eNB_id],
|
||||||
1024,
|
AMP,
|
||||||
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME);
|
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME);
|
||||||
|
|
||||||
start_meas(&PHY_vars_eNB->ofdm_mod_stats);
|
start_meas(&PHY_vars_eNB->ofdm_mod_stats);
|
||||||
@@ -2300,15 +2300,15 @@ int main(int argc, char **argv) {
|
|||||||
errs[0],
|
errs[0],
|
||||||
round_trials[0],
|
round_trials[0],
|
||||||
errs[1],
|
errs[1],
|
||||||
round_trials[1],
|
round_trials[0],
|
||||||
errs[2],
|
errs[2],
|
||||||
round_trials[2],
|
round_trials[0],
|
||||||
errs[3],
|
errs[3],
|
||||||
round_trials[3],
|
round_trials[0],
|
||||||
(double)errs[0]/(round_trials[0]),
|
(double)errs[0]/(round_trials[0]),
|
||||||
(double)errs[1]/(round_trials[1]),
|
(double)errs[1]/(round_trials[0]),
|
||||||
(double)errs[2]/(round_trials[2]),
|
(double)errs[2]/(round_trials[0]),
|
||||||
(double)errs[3]/(round_trials[3]),
|
(double)errs[3]/(round_trials[0]),
|
||||||
dci_errors,
|
dci_errors,
|
||||||
round_trials[0],
|
round_trials[0],
|
||||||
(double)dci_errors/(round_trials[0]),
|
(double)dci_errors/(round_trials[0]),
|
||||||
|
|||||||
Reference in New Issue
Block a user