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
alex037yang
OpenXG-RAN
Commits
880d7687
Commit
880d7687
authored
Apr 12, 2018
by
Florian Kaltenberger
Committed by
Cedric Roux
May 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing the 4 bit left shift of TX signal as already done in driver
parent
52cf61de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/prach.c
+5
-5
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+4
-4
No files found.
openair1/PHY/LTE_TRANSPORT/prach.c
View file @
880d7687
...
@@ -1042,19 +1042,19 @@ int32_t generate_prach( PHY_VARS_UE *ue, uint8_t eNB_id, uint8_t subframe, uint1
...
@@ -1042,19 +1042,19 @@ int32_t generate_prach( PHY_VARS_UE *ue, uint8_t eNB_id, uint8_t subframe, uint1
AssertFatal
(
prach_fmt
<
4
,
AssertFatal
(
prach_fmt
<
4
,
"prach_fmt4 not fully implemented"
);
"prach_fmt4 not fully implemented"
);
#if defined(EXMIMO) || defined(OAI_USRP)
#if defined(EXMIMO) || defined(OAI_USRP)
|| defined(OAI_BLADERF) || defined(OAI_LMSSDR)
int
j
;
int
j
;
int
overflow
=
prach_start
+
prach_len
-
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
*
ue
->
frame_parms
.
samples_per_tti
;
int
overflow
=
prach_start
+
prach_len
-
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
*
ue
->
frame_parms
.
samples_per_tti
;
LOG_I
(
PHY
,
"prach_start=%d, overflow=%d
\n
"
,
prach_start
,
overflow
);
LOG_I
(
PHY
,
"prach_start=%d, overflow=%d
\n
"
,
prach_start
,
overflow
);
for
(
i
=
prach_start
,
j
=
0
;
i
<
min
(
ue
->
frame_parms
.
samples_per_tti
*
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
,
prach_start
+
prach_len
);
i
++
,
j
++
)
{
for
(
i
=
prach_start
,
j
=
0
;
i
<
min
(
ue
->
frame_parms
.
samples_per_tti
*
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
,
prach_start
+
prach_len
);
i
++
,
j
++
)
{
((
int16_t
*
)
ue
->
common_vars
.
txdata
[
0
])[
2
*
i
]
=
prach
[
2
*
j
]
<<
4
;
((
int16_t
*
)
ue
->
common_vars
.
txdata
[
0
])[
2
*
i
]
=
prach
[
2
*
j
];
((
int16_t
*
)
ue
->
common_vars
.
txdata
[
0
])[
2
*
i
+
1
]
=
prach
[
2
*
j
+
1
]
<<
4
;
((
int16_t
*
)
ue
->
common_vars
.
txdata
[
0
])[
2
*
i
+
1
]
=
prach
[
2
*
j
+
1
];
}
}
for
(
i
=
0
;
i
<
overflow
;
i
++
,
j
++
)
{
for
(
i
=
0
;
i
<
overflow
;
i
++
,
j
++
)
{
((
int16_t
*
)
ue
->
common_vars
.
txdata
[
0
])[
2
*
i
]
=
prach
[
2
*
j
]
<<
4
;
((
int16_t
*
)
ue
->
common_vars
.
txdata
[
0
])[
2
*
i
]
=
prach
[
2
*
j
];
((
int16_t
*
)
ue
->
common_vars
.
txdata
[
0
])[
2
*
i
+
1
]
=
prach
[
2
*
j
+
1
]
<<
4
;
((
int16_t
*
)
ue
->
common_vars
.
txdata
[
0
])[
2
*
i
+
1
]
=
prach
[
2
*
j
+
1
];
}
}
#if defined(EXMIMO)
#if defined(EXMIMO)
// handle switch before 1st TX subframe, guarantee that the slot prior to transmission is switch on
// handle switch before 1st TX subframe, guarantee that the slot prior to transmission is switch on
...
...
openair1/SCHED/phy_procedures_lte_ue.c
View file @
880d7687
...
@@ -1322,13 +1322,13 @@ void ulsch_common_procedures(PHY_VARS_UE *ue, UE_rxtx_proc_t *proc, uint8_t empt
...
@@ -1322,13 +1322,13 @@ void ulsch_common_procedures(PHY_VARS_UE *ue, UE_rxtx_proc_t *proc, uint8_t empt
for
(
k
=
ulsch_start
,
l
=
0
;
k
<
cmin
(
frame_parms
->
samples_per_tti
*
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
,
ulsch_start
+
frame_parms
->
samples_per_tti
);
k
++
,
l
++
)
{
for
(
k
=
ulsch_start
,
l
=
0
;
k
<
cmin
(
frame_parms
->
samples_per_tti
*
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
,
ulsch_start
+
frame_parms
->
samples_per_tti
);
k
++
,
l
++
)
{
((
short
*
)
ue
->
common_vars
.
txdata
[
aa
])[
2
*
k
]
=
((
short
*
)
dummy_tx_buffer
)[
2
*
l
]
<<
4
;
((
short
*
)
ue
->
common_vars
.
txdata
[
aa
])[
2
*
k
]
=
((
short
*
)
dummy_tx_buffer
)[
2
*
l
];
((
short
*
)
ue
->
common_vars
.
txdata
[
aa
])[
2
*
k
+
1
]
=
((
short
*
)
dummy_tx_buffer
)[
2
*
l
+
1
]
<<
4
;
((
short
*
)
ue
->
common_vars
.
txdata
[
aa
])[
2
*
k
+
1
]
=
((
short
*
)
dummy_tx_buffer
)[
2
*
l
+
1
];
}
}
for
(
k
=
0
;
k
<
overflow
;
k
++
,
l
++
)
{
for
(
k
=
0
;
k
<
overflow
;
k
++
,
l
++
)
{
((
short
*
)
ue
->
common_vars
.
txdata
[
aa
])[
2
*
k
]
=
((
short
*
)
dummy_tx_buffer
)[
2
*
l
]
<<
4
;
((
short
*
)
ue
->
common_vars
.
txdata
[
aa
])[
2
*
k
]
=
((
short
*
)
dummy_tx_buffer
)[
2
*
l
];
((
short
*
)
ue
->
common_vars
.
txdata
[
aa
])[
2
*
k
+
1
]
=
((
short
*
)
dummy_tx_buffer
)[
2
*
l
+
1
]
<<
4
;
((
short
*
)
ue
->
common_vars
.
txdata
[
aa
])[
2
*
k
+
1
]
=
((
short
*
)
dummy_tx_buffer
)[
2
*
l
+
1
];
}
}
#if defined(EXMIMO)
#if defined(EXMIMO)
// handle switch before 1st TX subframe, guarantee that the slot prior to transmission is switch on
// handle switch before 1st TX subframe, guarantee that the slot prior to transmission is switch on
...
...
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