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
wangjie
OpenXG-RAN
Commits
67ad7732
Commit
67ad7732
authored
Jun 26, 2013
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4003
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
a7a44c2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
7 deletions
+28
-7
targets/RTAI/USER/lte-softmodem.c
targets/RTAI/USER/lte-softmodem.c
+28
-7
No files found.
targets/RTAI/USER/lte-softmodem.c
View file @
67ad7732
...
...
@@ -1352,10 +1352,6 @@ int main(int argc, char **argv) {
}
openair0_dump_config
(
card
);
for
(
ant
=
0
;
ant
<
4
;
ant
++
)
p_exmimo_config
->
rf
.
do_autocal
[
ant
]
=
0
;
dump_frame_parms
(
frame_parms
);
...
...
@@ -1405,7 +1401,8 @@ int main(int argc, char **argv) {
for
(
i
=
0
;
i
<
frame_parms
->
samples_per_tti
*
10
;
i
++
)
for
(
aa
=
0
;
aa
<
frame_parms
->
nb_antennas_tx
;
aa
++
)
PHY_vars_UE_g
[
0
]
->
lte_ue_common_vars
.
txdata
[
aa
][
i
]
=
0x00010001
;
p_exmimo_config
->
framing
.
tdd_config
=
TXRXSWITCH_TESTRX
;
}
else
{
setup_eNB_buffers
(
PHY_vars_eNB_g
[
0
],
frame_parms
,
0
);
...
...
@@ -1441,8 +1438,32 @@ int main(int argc, char **argv) {
((
short
*
)
PHY_vars_eNB_g
[
0
]
->
lte_eNB_common_vars
.
txdata
[
0
][
aa
])[
2
*
j
+
4
]
=
amp
;
((
short
*
)
PHY_vars_eNB_g
[
0
]
->
lte_eNB_common_vars
.
txdata
[
0
][
aa
])[
2
*
j
+
6
]
=
0
;
}
}
}
}
}
openair0_dump_config
(
card
);
printf
(
"EXMIMO_CONFIG: rf_mode 0x %x %x %x %x, [0]: TXRXEn %d, TXLPFEn %d, TXLPF %d, RXLPFEn %d, RXLPF %d, RFBB %d, LNA %d, LNAGain %d, RXLPFMode %d, SWITCH %d, rf_rxdc %d, rf_local %d, rf_vcocal %d
\n
"
,
p_exmimo_config
->
rf
.
rf_mode
[
0
],
p_exmimo_config
->
rf
.
rf_mode
[
1
],
p_exmimo_config
->
rf
.
rf_mode
[
2
],
p_exmimo_config
->
rf
.
rf_mode
[
3
],
(
p_exmimo_config
->
rf
.
rf_mode
[
0
]
&
3
),
// RXen+TXen
(
p_exmimo_config
->
rf
.
rf_mode
[
0
]
&
4
)
>>
2
,
//TXLPFen
(
p_exmimo_config
->
rf
.
rf_mode
[
0
]
&
TXLPFMASK
)
>>
3
,
//TXLPF
(
p_exmimo_config
->
rf
.
rf_mode
[
0
]
&
128
)
>>
7
,
//RXLPFen
(
p_exmimo_config
->
rf
.
rf_mode
[
0
]
&
RXLPFMASK
)
>>
8
,
//TXLPF
(
p_exmimo_config
->
rf
.
rf_mode
[
0
]
&
RFBBMASK
)
>>
16
,
// RFBB mode
(
p_exmimo_config
->
rf
.
rf_mode
[
0
]
&
LNAMASK
)
>>
12
,
// RFBB mode
(
p_exmimo_config
->
rf
.
rf_mode
[
0
]
&
LNAGAINMASK
)
>>
14
,
// RFBB mode
(
p_exmimo_config
->
rf
.
rf_mode
[
0
]
&
RXLPFMODEMASK
)
>>
19
,
// RXLPF mode
(
p_exmimo_config
->
framing
.
tdd_config
&
TXRXSWITCH_MASK
)
>>
1
,
// Switch mode
p_exmimo_config
->
rf
.
rf_rxdc
[
0
],
p_exmimo_config
->
rf
.
rf_local
[
0
],
p_exmimo_config
->
rf
.
rf_vcocal
[
0
]);
for
(
ant
=
0
;
ant
<
4
;
ant
++
)
p_exmimo_config
->
rf
.
do_autocal
[
ant
]
=
0
;
#ifdef EMOS
error_code
=
rtf_create
(
CHANSOUNDER_FIFO_MINOR
,
CHANSOUNDER_FIFO_SIZE
);
...
...
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