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
canghaiwuhen
OpenXG-RAN
Commits
a7a44c2f
Commit
a7a44c2f
authored
Jun 25, 2013
by
villa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4002
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
762dfbe3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
29 deletions
+22
-29
openair1/SIMULATION/LTE_FEMTO/femtosim.c
openair1/SIMULATION/LTE_FEMTO/femtosim.c
+22
-29
No files found.
openair1/SIMULATION/LTE_FEMTO/femtosim.c
View file @
a7a44c2f
...
@@ -948,40 +948,29 @@ u32 _allocRBs(options_t *opts,int ind)
...
@@ -948,40 +948,29 @@ u32 _allocRBs(options_t *opts,int ind)
else
else
allocRB
=
0x1e00
;
allocRB
=
0x1e00
;
break
;
break
;
case
91
:
//
17/8
case
91
:
//
2/23 force the 2nd round with QPSK
if
(
ind
==
0
)
{
if
(
ind
==
0
)
{
allocRB
=
0x1fe1
;
allocRB
=
0x1000
;
opts
->
mcs
=
3
;}
opts
->
mcs
=
4
;}
else
else
{
allocRB
=
0x1e
;
allocRB
=
0xfff
;
break
;
opts
->
mcs
=
2
;}
case
92
:
// 17/8
if
(
ind
==
0
)
{
allocRB
=
0xff1
;
opts
->
mcs
=
3
;}
else
allocRB
=
0x100e
;
break
;
case
93
:
// 17/8
if
(
ind
==
0
)
{
allocRB
=
0x7f9
;
opts
->
mcs
=
3
;}
else
allocRB
=
0x1806
;
break
;
break
;
case
9
4
:
// 17/8
case
9
2
:
// 6/19 force the 2nd round with QPSK
if
(
ind
==
0
)
{
if
(
ind
==
0
)
{
allocRB
=
0x199f
;
allocRB
=
0x1c00
;
opts
->
mcs
=
3
;}
opts
->
mcs
=
11
;}
else
else
{
allocRB
=
0x660
;
allocRB
=
0x3ff
;
opts
->
mcs
=
2
;}
break
;
break
;
case
9
5
:
// 17/8
case
9
3
:
// 4/21 force the 2nd round with QPSK
if
(
ind
==
0
)
{
if
(
ind
==
0
)
{
allocRB
=
0x1e1f
;
allocRB
=
0x1800
;
opts
->
mcs
=
3
;}
opts
->
mcs
=
14
;}
else
else
{
allocRB
=
0x1e0
;
allocRB
=
0x7ff
;
opts
->
mcs
=
2
;}
break
;
break
;
case
10
:
// 19/6
case
10
:
// 19/6
if
(
ind
==
0
)
{
if
(
ind
==
0
)
{
...
@@ -996,6 +985,10 @@ u32 _allocRBs(options_t *opts,int ind)
...
@@ -996,6 +985,10 @@ u32 _allocRBs(options_t *opts,int ind)
opts
->
mcs
=
2
;}
opts
->
mcs
=
2
;}
else
else
allocRB
=
0x1800
;
allocRB
=
0x1800
;
break
;
default:
allocRB
=
0x1fff
;
opts
->
mcs
=
0
;
break
;}
break
;}
break
;
break
;
case
50
:
case
50
:
...
...
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