Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patricio Latini
openairinterface5G
Commits
2b61863a
Commit
2b61863a
authored
9 years ago
by
Florian Kaltenberger
Browse files
Options
Downloads
Patches
Plain Diff
TX/RX Calibration procedures (lighter than full LMS procedures)
parent
d30eeea8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake_targets/CMakeLists.txt
+3
-3
3 additions, 3 deletions
cmake_targets/CMakeLists.txt
targets/RT/USER/lte-softmodem.c
+10
-2
10 additions, 2 deletions
targets/RT/USER/lte-softmodem.c
with
13 additions
and
5 deletions
cmake_targets/CMakeLists.txt
+
3
−
3
View file @
2b61863a
...
...
@@ -441,14 +441,14 @@ elseif (${RF_BOARD} STREQUAL "OAI_LMSSDR")
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB"
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/lmsSDR"
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/lms7002m"
)
#
include_directories("${OPENAIR_TARGETS}/ARCH/LMSSDR/USERSPACE/LIB/Si5351C")
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/LMS_StreamBoard"
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/Si5351C"
)
include_directories
(
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/
lmsSDR/
LMS_StreamBoard"
)
set
(
HW_SOURCE
${
HW_SOURCE
}
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
)
LINK_DIRECTORIES
(
"/usr/lib/x86_64-linux-gnu"
)
set
(
HW_SOURCE
${
HW_SOURCE
}
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
)
set
(
LIB_LMS_LIBRARIES
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/lmsSDR/build/libLMS_SDR.so"
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/lms7002m/build/libLMS7002M.a"
)
set
(
LIB_LMS_LIBRARIES
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/lmsSDR/build/libLMS_SDR.so"
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/lms7002m/build/libLMS7002M.a"
"
${
OPENAIR_TARGETS
}
/ARCH/LMSSDR/USERSPACE/LIB/Si5351C/build/libSi5351C.a"
)
set
(
LOWLATENCY False
)
elseif
(
${
RF_BOARD
}
STREQUAL
"ETHERNET"
)
...
...
This diff is collapsed.
Click to expand it.
targets/RT/USER/lte-softmodem.c
+
10
−
2
View file @
2b61863a
...
...
@@ -941,10 +941,17 @@ void do_OFDM_mod_rt(int subframe,PHY_VARS_eNB *phy_vars_eNB)
len
=
phy_vars_eNB
->
lte_frame_parms
.
samples_per_tti
>>
1
;
else
len
=
phy_vars_eNB
->
lte_frame_parms
.
samples_per_tti
;
for
(
i
=
0
;
i
<
len
;
i
++
)
{
for
(
i
=
0
;
i
<
len
;
i
+=
4
)
{
dummy_tx_b
[
i
]
=
0x100
;
dummy_tx_b
[
i
+
1
]
=
0x01000000
;
dummy_tx_b
[
i
+
2
]
=
0xff00
;
dummy_tx_b
[
i
+
3
]
=
0xff000000
;
}
for
(
i
=
0
;
i
<
len
;
i
++
)
{
tx_offset
=
(
int
)
slot_offset
+
time_offset
[
aa
]
+
i
;
if
(
tx_offset
<
0
)
tx_offset
+=
LTE_NUMBER_OF_SUBFRAMES_PER_FRAME
*
phy_vars_eNB
->
lte_frame_parms
.
samples_per_tti
;
...
...
@@ -957,6 +964,7 @@ void do_OFDM_mod_rt(int subframe,PHY_VARS_eNB *phy_vars_eNB)
#elif OAI_BLADERF
((
short
*
)
dummy_tx_b
)[
2
*
i
];
#elif OAI_LMSSDR
//phy_vars_eNB->lte_eNB_common_vars.txdata[0][aa][tx_offset]=dummy_tx_b[i];
((
short
*
)
dummy_tx_b
)[
2
*
i
];
#else
((
short
*
)
dummy_tx_b
)[
2
*
i
]
<<
4
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment