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
zzha zzha
OpenXG-RAN
Commits
4d4c4b45
Commit
4d4c4b45
authored
Sep 11, 2014
by
ghaddab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5781
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
b27a5532
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
+4
-4
No files found.
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
View file @
4d4c4b45
...
...
@@ -247,7 +247,7 @@ int openair0_stop_without_reset(int card)
}
#define MY_RF_MODE (RXEN + TXEN + TXLPFNORM + TXLPFEN + TXLPF25 + RXLPFNORM + RXLPFEN + RXLPF25 + LNA1ON +LNAMax + RFBBNORM + DMAMODE_RX + DMAMODE_TX)
#define RF_MODE_BASE (LNA1ON +
LNAMax +
RFBBNORM)
#define RF_MODE_BASE (LNA1ON + RFBBNORM)
int
openair0_device_init
(
openair0_device
*
device
,
openair0_config_t
*
openair0_cfg
)
{
...
...
@@ -368,13 +368,13 @@ int openair0_dump_config(openair0_config_t *openair0_cfg, int UE_flag)
switch
(
openair0_cfg
[
card
].
rxg_mode
[
ant
])
{
default:
case
max_gain
:
p_exmimo_config
[
card
].
rf
.
rf_mode
[
ant
]
=
(
p_exmimo_config
->
rf
.
rf_mode
[
ant
]
&
(
~
LNAGAINMASK
))
|
LNAMax
;
p_exmimo_config
->
rf
.
rf_mode
[
ant
]
+=
LNAMax
;
break
;
case
med_gain
:
p_exmimo_config
[
card
].
rf
.
rf_mode
[
ant
]
=
(
p_exmimo_config
->
rf
.
rf_mode
[
ant
]
&
(
~
LNAGAINMASK
))
|
LNAMed
;
p_exmimo_config
->
rf
.
rf_mode
[
ant
]
+=
LNAMed
;
break
;
case
byp_gain
:
p_exmimo_config
[
card
].
rf
.
rf_mode
[
ant
]
=
(
p_exmimo_config
->
rf
.
rf_mode
[
ant
]
&
(
~
LNAGAINMASK
))
|
LNAByp
;
p_exmimo_config
->
rf
.
rf_mode
[
ant
]
+=
LNAByp
;
break
;
}
}
...
...
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