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
lizhongxiao
OpenXG-RAN
Commits
18751905
Commit
18751905
authored
Jun 17, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repair rftest
- needs forms library, so link it - fix warnings
parent
387f5e41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
13 deletions
+3
-13
CMakeLists.txt
CMakeLists.txt
+1
-1
openair1/PHY/TOOLS/calibration_test.c
openair1/PHY/TOOLS/calibration_test.c
+2
-12
No files found.
CMakeLists.txt
View file @
18751905
...
@@ -2279,7 +2279,7 @@ add_executable(rftest
...
@@ -2279,7 +2279,7 @@ add_executable(rftest
${
OPENAIR_DIR
}
/radio/COMMON/common_lib.c
${
OPENAIR_DIR
}
/radio/COMMON/common_lib.c
${
OPENAIR_DIR
}
/executables/softmodem-common.c
${
OPENAIR_DIR
}
/executables/softmodem-common.c
)
)
target_link_libraries
(
rftest PRIVATE minimal_lib CONFIG_LIB PHY_NR_COMMON UTIL pthread dl m
${
T_LIB
}
shlib_loader
)
target_link_libraries
(
rftest PRIVATE minimal_lib CONFIG_LIB PHY_NR_COMMON UTIL
forms
pthread dl m
${
T_LIB
}
shlib_loader
)
target_link_libraries
(
rftest PRIVATE asn1_lte_rrc_hdrs asn1_nr_rrc_hdrs
)
target_link_libraries
(
rftest PRIVATE asn1_lte_rrc_hdrs asn1_nr_rrc_hdrs
)
add_executable
(
polartest
add_executable
(
polartest
...
...
openair1/PHY/TOOLS/calibration_test.c
View file @
18751905
...
@@ -50,7 +50,6 @@ int main(int argc, char **argv) {
...
@@ -50,7 +50,6 @@ int main(int argc, char **argv) {
int
N_RB
=
50
;
int
N_RB
=
50
;
int
subCarrierFreq
=
30e3
;
int
sampling_rate
=
30.72e6
;
int
sampling_rate
=
30.72e6
;
int
DFT
=
2048
;
int
DFT
=
2048
;
int
TxAdvanceInDFTSize
=
12
;
int
TxAdvanceInDFTSize
=
12
;
...
@@ -325,17 +324,8 @@ int main(int argc, char **argv) {
...
@@ -325,17 +324,8 @@ int main(int argc, char **argv) {
while
(
!
oai_exit
)
{
while
(
!
oai_exit
)
{
for
(
int
i
=
0
;
i
<
antennas
;
i
++
)
for
(
int
i
=
0
;
i
<
antennas
;
i
++
)
read
(
fd
,
samplesTx
[
i
],
DFT
*
sizeof
(
c16_t
));
read
(
fd
,
samplesTx
[
i
],
DFT
*
sizeof
(
c16_t
));
int
readBlockSize
=
rfdevice
.
trx_read_func
(
&
rfdevice
,
rfdevice
.
trx_read_func
(
&
rfdevice
,
&
timestamp
,
samplesRx
,
DFT
,
antennas
);
&
timestamp
,
rfdevice
.
trx_write_func
(
&
rfdevice
,
timestamp
+
TxAdvanceInDFTSize
*
DFT
,
samplesTx
,
DFT
,
antennas
,
0
);
samplesRx
,
DFT
,
antennas
);
int
txs
=
rfdevice
.
trx_write_func
(
&
rfdevice
,
timestamp
+
TxAdvanceInDFTSize
*
DFT
,
samplesTx
,
DFT
,
antennas
,
0
);
}
}
return
0
;
return
0
;
...
...
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