Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常顺宇
OpenXG-RAN
Commits
d8672fe0
Commit
d8672fe0
authored
Sep 02, 2013
by
villa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4134
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
f2223366
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
openair1/SIMULATION/LTE_FEMTO/femtosim.c
openair1/SIMULATION/LTE_FEMTO/femtosim.c
+5
-5
No files found.
openair1/SIMULATION/LTE_FEMTO/femtosim.c
View file @
d8672fe0
...
...
@@ -1072,7 +1072,7 @@ void _makeSimulation(data_t data,options_t opts,DCI_ALLOC_t *dci_alloc,DCI_ALLOC
//Index and counters
int
aa
;
//Antennas index
int
i
,
j
,
prb2
,
ind
,
mcsi
[
2
]
=
{
3
,
4
};
//General index for arrays
int
i
,
j
;
//
ind,mcsi[2]={3,4}; //General index for arrays
u32
round
;
double
SNR
;
u32
dci_errors
=
0
;
...
...
@@ -1137,9 +1137,9 @@ void _makeSimulation(data_t data,options_t opts,DCI_ALLOC_t *dci_alloc,DCI_ALLOC
_initErrsRoundsTrials
(
&
errs
,
&
round_trials
,
1
,
opts
);
for
(
ind
=
1
;
ind
<
3
;
ind
++
)
{
opts
.
mcs
=
mcsi
[
ind
-
1
];
//
for (ind=1; ind<3; ind++)
//
{
//
opts.mcs=mcsi[ind-1];
_get_nprb1
(
&
opts
);
opts
.
nprb2
=
PHY_vars_eNB
->
lte_frame_parms
.
N_RB_DL
;
for
(
SNR
=
opts
.
snr_init
;
SNR
<=
opts
.
snr_max
;
SNR
+=
opts
.
snr_step
)
...
...
@@ -1965,7 +1965,7 @@ void _makeSimulation(data_t data,options_t opts,DCI_ALLOC_t *dci_alloc,DCI_ALLOC
if
((
double
)
errs
[
0
]
/
round_trials
[
0
]
<
1e-2
)
//IF Pout1 > 1%
break
;
}
// SNR
}
//mcs
//
}//mcs
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment