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
5ace9230
Commit
5ace9230
authored
8 years ago
by
rdoost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated gain calibration values for other freqs, comment for iq_txshift
parent
79336239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
targets/ARCH/IRIS/USERSPACE/LIB/iris_lib.cpp
targets/ARCH/IRIS/USERSPACE/LIB/iris_lib.cpp
+6
-6
No files found.
targets/ARCH/IRIS/USERSPACE/LIB/iris_lib.cpp
View file @
5ace9230
...
...
@@ -327,11 +327,11 @@ int trx_iris_stop(openair0_device* device) {
/*! \brief Iris RX calibration table */
rx_gain_calib_table_t
calib_table_iris
[]
=
{
{
3500000000.0
,
24
},
{
2660000000.0
,
70
},
{
2300000000.0
,
8
},
{
1880000000.0
,
11
},
{
816000000.0
,
4
},
{
3500000000.0
,
83
},
{
2660000000.0
,
83
},
{
2300000000.0
,
8
3
},
{
1880000000.0
,
83
},
{
816000000.0
,
83
},
{
-
1
,
0
}};
...
...
@@ -425,6 +425,7 @@ extern "C" {
char
*
remote_addr
=
device
->
openair0_cfg
->
remote_addr
;
LOG_I
(
HW
,
"Attempting to open Iris device: %s
\n
"
,
remote_addr
);
std
::
string
args
=
"driver=remote,serial="
+
std
::
string
(
remote_addr
)
+
",remote:format=CS16"
;
openair0_cfg
[
0
].
iq_txshift
=
4
;
//if radio needs OAI to shift left the tx samples for preserving bit precision
s
->
iris
=
SoapySDR
::
Device
::
make
(
args
);
device
->
type
=
IRIS_DEV
;
...
...
@@ -468,7 +469,6 @@ extern "C" {
break
;
}
openair0_cfg
[
0
].
iq_txshift
=
4
;
//shift
for
(
i
=
0
;
i
<
s
->
iris
->
getNumChannels
(
SOAPY_SDR_RX
);
i
++
)
{
if
(
i
<
openair0_cfg
[
0
].
rx_num_channels
)
{
...
...
This diff is collapsed.
Click to expand it.
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