Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
17cdc733
Commit
17cdc733
authored
Jan 11, 2015
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6346
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
60ed85a9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
29 deletions
+25
-29
openair1/PHY/LTE_TRANSPORT/dci.c
openair1/PHY/LTE_TRANSPORT/dci.c
+14
-12
openair1/PHY/LTE_TRANSPORT/defs.h
openair1/PHY/LTE_TRANSPORT/defs.h
+1
-1
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
+8
-6
openair1/PHY/LTE_TRANSPORT/sss.c
openair1/PHY/LTE_TRANSPORT/sss.c
+2
-10
No files found.
openair1/PHY/LTE_TRANSPORT/dci.c
View file @
17cdc733
...
@@ -1934,12 +1934,13 @@ uint8_t generate_dci_top(uint8_t num_ue_spec_dci,
...
@@ -1934,12 +1934,13 @@ uint8_t generate_dci_top(uint8_t num_ue_spec_dci,
LOG_I
(
PHY
,
"Generating common DCI %d/%d (nCCE %d) of length %d, aggregation %d (%x)
\n
"
,
i
,
num_common_dci
,
dci_alloc
[
i
].
nCCE
,
dci_alloc
[
i
].
dci_length
,
1
<<
dci_alloc
[
i
].
L
,
*
(
unsigned
int
*
)
dci_alloc
[
i
].
dci_pdu
);
LOG_I
(
PHY
,
"Generating common DCI %d/%d (nCCE %d) of length %d, aggregation %d (%x)
\n
"
,
i
,
num_common_dci
,
dci_alloc
[
i
].
nCCE
,
dci_alloc
[
i
].
dci_length
,
1
<<
dci_alloc
[
i
].
L
,
*
(
unsigned
int
*
)
dci_alloc
[
i
].
dci_pdu
);
dump_dci
(
frame_parms
,
&
dci_alloc
[
i
]);
dump_dci
(
frame_parms
,
&
dci_alloc
[
i
]);
#endif
#endif
if
(
dci_alloc
[
i
].
nCCE
>=
0
)
{
e_ptr
=
generate_dci0
(
dci_alloc
[
i
].
dci_pdu
,
e_ptr
=
generate_dci0
(
dci_alloc
[
i
].
dci_pdu
,
e
+
(
72
*
dci_alloc
[
i
].
nCCE
),
e
+
(
72
*
dci_alloc
[
i
].
nCCE
),
dci_alloc
[
i
].
dci_length
,
dci_alloc
[
i
].
dci_length
,
dci_alloc
[
i
].
L
,
dci_alloc
[
i
].
L
,
dci_alloc
[
i
].
rnti
);
dci_alloc
[
i
].
rnti
);
}
}
}
}
}
for
(;
i
<
num_ue_spec_dci
+
num_common_dci
;
i
++
)
{
for
(;
i
<
num_ue_spec_dci
+
num_common_dci
;
i
++
)
{
...
@@ -1950,12 +1951,13 @@ uint8_t generate_dci_top(uint8_t num_ue_spec_dci,
...
@@ -1950,12 +1951,13 @@ uint8_t generate_dci_top(uint8_t num_ue_spec_dci,
LOG_I
(
PHY
,
" Generating UE (rnti %x) specific DCI %d of length %d, aggregation %d, format %d (%x)
\n
"
,
dci_alloc
[
i
].
rnti
,
i
,
dci_alloc
[
i
].
dci_length
,
1
<<
dci_alloc
[
i
].
L
,
dci_alloc
[
i
].
format
,
dci_alloc
[
i
].
dci_pdu
);
LOG_I
(
PHY
,
" Generating UE (rnti %x) specific DCI %d of length %d, aggregation %d, format %d (%x)
\n
"
,
dci_alloc
[
i
].
rnti
,
i
,
dci_alloc
[
i
].
dci_length
,
1
<<
dci_alloc
[
i
].
L
,
dci_alloc
[
i
].
format
,
dci_alloc
[
i
].
dci_pdu
);
dump_dci
(
frame_parms
,
&
dci_alloc
[
i
]);
dump_dci
(
frame_parms
,
&
dci_alloc
[
i
]);
#endif
#endif
if
(
dci_alloc
[
i
].
nCCE
>=
0
)
{
e_ptr
=
generate_dci0
(
dci_alloc
[
i
].
dci_pdu
,
e_ptr
=
generate_dci0
(
dci_alloc
[
i
].
dci_pdu
,
e
+
(
72
*
dci_alloc
[
i
].
nCCE
),
e
+
(
72
*
dci_alloc
[
i
].
nCCE
),
dci_alloc
[
i
].
dci_length
,
dci_alloc
[
i
].
dci_length
,
dci_alloc
[
i
].
L
,
dci_alloc
[
i
].
L
,
dci_alloc
[
i
].
rnti
);
dci_alloc
[
i
].
rnti
);
}
}
}
}
}
}
}
...
...
openair1/PHY/LTE_TRANSPORT/defs.h
View file @
17cdc733
...
@@ -700,7 +700,7 @@ typedef struct {
...
@@ -700,7 +700,7 @@ typedef struct {
/// Aggregation level
/// Aggregation level
uint8_t
L
;
uint8_t
L
;
/// Position of first CCE of the dci
/// Position of first CCE of the dci
unsigned
int
nCCE
;
int
nCCE
;
/// flag to indicate that this is a RA response
/// flag to indicate that this is a RA response
boolean_t
ra_flag
;
boolean_t
ra_flag
;
/// rnti
/// rnti
...
...
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
View file @
17cdc733
...
@@ -157,10 +157,11 @@ int allocate_REs_in_RB(LTE_DL_FRAME_PARMS *frame_parms,
...
@@ -157,10 +157,11 @@ int allocate_REs_in_RB(LTE_DL_FRAME_PARMS *frame_parms,
uint8_t
mod_order0
=
get_Qm
(
dlsch0_harq
->
mcs
);
uint8_t
mod_order0
=
get_Qm
(
dlsch0_harq
->
mcs
);
uint8_t
*
x1
;
uint8_t
*
x1
=
NULL
;
int
Nlayers1
;
uint8_t
mod_order1
=
2
;
int
first_layer1
;
// Fill these in later for TM8-10
uint8_t
mod_order1
;
// int Nlayers1;
// int first_layer1;
int
use2ndpilots
=
(
frame_parms
->
mode1_flag
==
1
)
?
1
:
0
;
int
use2ndpilots
=
(
frame_parms
->
mode1_flag
==
1
)
?
1
:
0
;
...
@@ -196,8 +197,9 @@ int allocate_REs_in_RB(LTE_DL_FRAME_PARMS *frame_parms,
...
@@ -196,8 +197,9 @@ int allocate_REs_in_RB(LTE_DL_FRAME_PARMS *frame_parms,
if
(
dlsch1_harq
)
{
if
(
dlsch1_harq
)
{
x1
=
dlsch1_harq
->
e
;
x1
=
dlsch1_harq
->
e
;
Nlayers1
=
dlsch1_harq
->
Nlayers
;
// Fill these in later for TM8-10
first_layer1
=
dlsch1_harq
->
first_layer
;
// Nlayers1 = dlsch1_harq->Nlayers;
// first_layer1 = dlsch1_harq->first_layer;
mod_order1
=
get_Qm
(
dlsch1_harq
->
mcs
);
mod_order1
=
get_Qm
(
dlsch1_harq
->
mcs
);
}
}
...
...
openair1/PHY/LTE_TRANSPORT/sss.c
View file @
17cdc733
...
@@ -70,20 +70,12 @@ int generate_sss(mod_sym_t **txdataF,
...
@@ -70,20 +70,12 @@ int generate_sss(mod_sym_t **txdataF,
for
(
i
=
0
;
i
<
62
;
i
++
)
{
for
(
i
=
0
;
i
<
62
;
i
++
)
{
for
(
aa
=
0
;
aa
<
frame_parms
->
nb_antennas_tx
;
aa
++
)
{
for
(
aa
=
0
;
aa
<
frame_parms
->
nb_antennas_tx
;
aa
++
)
{
//aa=0;
((
int16_t
*
)
txdataF
[
aa
])[
2
*
(
slot_offset
*
Nsymb
/
2
*
frame_parms
->
ofdm_symbol_size
+
((
int16_t
*
)
txdataF
[
aa
])[
2
*
(
slot_offset
*
Nsymb
/
2
*
frame_parms
->
ofdm_symbol_size
+
symbol
*
frame_parms
->
ofdm_symbol_size
+
k
)]
=
symbol
*
frame_parms
->
ofdm_symbol_size
+
k
)]
=
(
a
mp
*
d
[
i
]);
(
a
*
d
[
i
]);
((
int16_t
*
)
txdataF
[
aa
])[
2
*
(
slot_offset
*
Nsymb
/
2
*
frame_parms
->
ofdm_symbol_size
+
((
int16_t
*
)
txdataF
[
aa
])[
2
*
(
slot_offset
*
Nsymb
/
2
*
frame_parms
->
ofdm_symbol_size
+
symbol
*
frame_parms
->
ofdm_symbol_size
+
k
)
+
1
]
=
0
;
symbol
*
frame_parms
->
ofdm_symbol_size
+
k
)
+
1
]
=
0
;
/*
if (aa==0)
printf("sss (slot %d, symbol %d): txdataF[%d] => (%d,%d)\n",slot_offset,symbol,
slot_offset*Nsymb/2*frame_parms->ofdm_symbol_size +
symbol*frame_parms->ofdm_symbol_size + k,
(amp * d[i]),0);
*/
}
}
k
+=
1
;
k
+=
1
;
if
(
k
>=
frame_parms
->
ofdm_symbol_size
)
{
if
(
k
>=
frame_parms
->
ofdm_symbol_size
)
{
...
...
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