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
zzha zzha
OpenXG-RAN
Commits
0ba158b6
Commit
0ba158b6
authored
Aug 23, 2017
by
gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct error for 20 MHz execution
parent
d723fb0d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
openair1/PHY/INIT/lte_parms.c
openair1/PHY/INIT/lte_parms.c
+4
-2
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
+2
-2
No files found.
openair1/PHY/INIT/lte_parms.c
View file @
0ba158b6
...
...
@@ -56,13 +56,15 @@ int init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms,uint8_t osf)
frame_parms
->
symbols_per_tti
=
12
;
// Only numerology 2 is supported for Extended Cyclic Prefix
frame_parms
->
numerology_index
=
2
;
frame_parms
->
ttis_per_subframe
=
4
;
frame_parms
->
ttis_per_subframe
=
1
;
frame_parms
->
slots_per_tti
=
2
;
//only slot config 1 is supported
}
else
{
frame_parms
->
nb_prefix_samples0
=
160
;
frame_parms
->
nb_prefix_samples
=
144
;
frame_parms
->
symbols_per_tti
=
14
;
frame_parms
->
numerology_index
=
0
;
frame_parms
->
ttis_per_subframe
=
1
;
frame_parms
->
slots_per_tti
=
2
;
//only slot config 1 is supported
}
...
...
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
View file @
0ba158b6
...
...
@@ -665,9 +665,9 @@ int lte_dl_channel_estimation(PHY_VARS_UE *ue,
uint8_t
previous_tti
;
if
(
Ns
>>
1
==
0
)
previous_tti
=
10
*
ue
->
frame_parms
.
ttis_per_subframe
-
1
;
previous_tti
=
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
*
ue
->
frame_parms
.
ttis_per_subframe
-
1
;
else
previous_tti
=
((
Ns
>>
1
)
-
1
)
%
(
ue
->
frame_parms
.
ttis_per_subframe
-
1
);
previous_tti
=
((
Ns
>>
1
)
-
1
)
%
(
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
*
ue
->
frame_parms
.
ttis_per_subframe
-
1
);
if
((
subframe_select
(
&
ue
->
frame_parms
,
previous_tti
)
==
SF_UL
))
{
...
...
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