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
7ca6a84e
Commit
7ca6a84e
authored
May 31, 2016
by
Xiwen JIANG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed for oarf_get_frame
parent
d621de7f
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/OCTAVE/oarf_get_frame.cc
targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_get_frame.cc
+4
-4
No files found.
targets/ARCH/EXMIMO/USERSPACE/OCTAVE/oarf_get_frame.cc
View file @
7ca6a84e
...
...
@@ -192,14 +192,14 @@ DEFUN_DLD (oarf_get_frame, args, nargout,"Get frame")
for
(
j
=
0
;
j
<
openair0_num_detected_cards
;
j
++
)
{
for
(
i
=
0
;
i
<
numant
;
i
++
)
for
(
i
=
0
;
i
<
MAX_ANTENNAS
;
i
++
)
{
//if ( numant == openair0_num_antennas[j] )
rx_sig
[
i
+
(
j
*
MAX_ANTENNAS
)]
=
(
short
*
)
openair0_exmimo_pci
[
j
].
adc_head
[
i
];
//else
// rx_sig[i+(j*MAX_ANTENNAS)] = (short*) openair0_exmimo_pci[ i / (int)openair0_num_antennas[0] ].adc_head[i % openair0_num_antennas[0]];
//
printf("Card %i adc_head[%i] = %p \n",j, i, rx_sig[i+(j*MAX_ANTENNAS)]);
//
printf("Card %i adc_head[%i] = %p \n",j, i, rx_sig[i+(j*MAX_ANTENNAS)]);
}
}
...
...
@@ -208,8 +208,8 @@ DEFUN_DLD (oarf_get_frame, args, nargout,"Get frame")
openair0_get_frame
(
card
);
for
(
j
=
0
;
j
<
openair0_num_detected_cards
;
j
++
)
for
(
i
=
0
;
i
<
frame_length_samples
[
j
];
i
++
)
for
(
aa
=
0
;
aa
<
numant
;
aa
++
)
for
(
i
=
0
;
i
<
frame_length_samples
[
j
];
i
++
)
for
(
aa
=
0
;
aa
<
MAX_ANTENNAS
;
aa
++
)
dx
(
i
,
aa
+
j
*
MAX_ANTENNAS
)
=
Complex
(
rx_sig
[
aa
+
j
*
MAX_ANTENNAS
][
i
*
2
],
rx_sig
[
aa
+
j
*
MAX_ANTENNAS
][
i
*
2
+
1
]
);
openair0_close
();
...
...
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