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
wangjie
OpenXG-RAN
Commits
8a8fcf1b
Commit
8a8fcf1b
authored
Aug 11, 2014
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5702
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
feabf022
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+5
-3
No files found.
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
8a8fcf1b
...
...
@@ -744,6 +744,8 @@ int main(int argc, char **argv) {
if
(
ul_subframe2pdcch_alloc_subframe
(
&
PHY_vars_eNB
->
lte_frame_parms
,
subframe
)
>
subframe
)
// allocation was in previous frame
PHY_vars_eNB
->
proc
[
ul_subframe2pdcch_alloc_subframe
(
&
PHY_vars_eNB
->
lte_frame_parms
,
subframe
)].
frame_tx
=
(
PHY_vars_UE
->
frame
-
1
)
&
1023
;
// printf("UE frame %d, eNB frame %d (eNB frame_tx %d)\n",PHY_vars_UE->frame,PHY_vars_eNB->proc[subframe].frame_rx,PHY_vars_eNB->proc[ul_subframe2pdcch_alloc_subframe(&PHY_vars_eNB->lte_frame_parms,subframe)].frame_tx);
PHY_vars_UE
->
frame
=
(
PHY_vars_UE
->
frame
-
1
)
&
1023
;
generate_ue_ulsch_params_from_dci
((
void
*
)
&
UL_alloc_pdu
,
14
,
...
...
@@ -773,7 +775,7 @@ int main(int argc, char **argv) {
PHY_vars_UE
->
frame
=
(
PHY_vars_UE
->
frame
+
1
)
&
1023
;
for
(
ch_realization
=
0
;
ch_realization
<
n_ch_rlz
;
ch_realization
++
){
...
...
@@ -791,8 +793,8 @@ int main(int argc, char **argv) {
}
if
((
subframe
>
5
)
||
(
subframe
<
4
))
PHY_vars_UE
->
frame
++
;
//
if ((subframe>5) || (subframe < 4))
//
PHY_vars_UE->frame++;
for
(
SNR
=
snr0
;
SNR
<
snr1
;
SNR
+=
input_snr_step
)
{
errs
[
0
]
=
0
;
...
...
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