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
8dc51127
Commit
8dc51127
authored
Mar 03, 2017
by
Xiwen JIANG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
card can be initialized in octave
parent
b28ae819
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
+10
-5
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+2
-3
No files found.
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
View file @
8dc51127
...
...
@@ -797,7 +797,16 @@ int openair0_config(openair0_config_t *openair0_cfg, int UE_flag)
if
(
!
openair0_cfg
)
{
printf
(
"Error, openair0_cfg is null!!
\n
"
);
return
(
-
1
);
}
else
if
(
openair0_cfg
[
0
].
tdd_recip_calib
==
1
)
{
}
/* device specific */
for
(
card
=
0
;
card
<
openair0_num_detected_cards
;
card
++
)
{
openair0_cfg
[
card
].
iq_txshift
=
4
;
//shift
openair0_cfg
[
card
].
iq_rxrescale
=
15
;
//rescale iqs
}
if
(
openair0_cfg
[
0
].
tdd_recip_calib
==
1
)
{
printf
(
"Warning, doing TDD reciprocity calibration, configuration has been done in Octave!!
\n
"
);
return
(
-
1
);
}
...
...
@@ -820,10 +829,6 @@ int openair0_config(openair0_config_t *openair0_cfg, int UE_flag)
else
p_exmimo_config
->
framing
.
multicard_syncmode
=
SYNCMODE_SLAVE
;
/* device specific */
openair0_cfg
[
card
].
iq_txshift
=
4
;
//shift
openair0_cfg
[
card
].
iq_rxrescale
=
15
;
//rescale iqs
if
(
openair0_cfg
[
card
].
sample_rate
==
30.72e6
)
{
resampling_factor
=
0
;
...
...
targets/RT/USER/lte-enb.c
View file @
8dc51127
...
...
@@ -573,10 +573,9 @@ static inline int rxtx(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc, char *thread_nam
start_meas
(
&
softmodem_stats_rxtx_sf
);
// ****************************************
// TDD workaround
//if ((eNB->rfdevice.type == EXMIMO_DEV) && (eNB->frame_parms.frame_type == TDD) && subframe_select(&eNB->frame_parms,proc->subframe_rx)==SF_UL) {
// TDD workaround for EXMIMO card
if
((
eNB
->
rfdevice
.
openair0_cfg
->
duplex_mode
==
duplex_mode_TDD_workaround
)
&&
(
eNB
->
frame_parms
.
frame_type
==
TDD
)
&&
subframe_select
(
&
eNB
->
frame_parms
,
proc
->
subframe_rx
)
==
SF_UL
)
{
remove_1_4_fs
(
eNB
,
proc
->
subframe_rx
<<
1
);
// TDD workaround for EXMIMO2 card
remove_1_4_fs
(
eNB
,
proc
->
subframe_rx
<<
1
);
remove_1_4_fs
(
eNB
,
1
+
(
proc
->
subframe_rx
<<
1
));
}
...
...
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