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
Michael Black
OpenXG-RAN
Commits
222a5de1
Commit
222a5de1
authored
Dec 13, 2013
by
ghaddab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4708
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
79eb2e30
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
+10
-1
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.h
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.h
+6
-1
No files found.
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.c
View file @
222a5de1
...
...
@@ -88,6 +88,11 @@ int openair0_open(void)
printf("card%d, openair0_exmimo_pci.exmimo_id_ptr (%p) = bigshm_top(%p) + exmimo_pci_kvirt.exmimo_id_ptr (%p) - bigshm_top_kvirtptr(%x)\n",
card, openair0_exmimo_pci[card].exmimo_id_ptr, bigshm_top[card], exmimo_pci_kvirt[card].exmimo_id_ptr, bigshm_top_kvirtptr[card]);
*/
//if (openair0_exmimo_pci[card].exmimo_id_ptr->board_swrev != BOARD_SWREV_CNTL2)
// {
// error("Software revision %d and firmware revision %d do not match, Please update either Software or Firmware",BOARD_SWREV_CNTL2,openair0_exmimo_pci[card].exmimo_id_ptr->board_swrev);
// return -5;
// }
if
(
openair0_exmimo_pci
[
card
].
exmimo_id_ptr
->
board_exmimoversion
==
1
)
openair0_num_antennas
[
card
]
=
2
;
...
...
@@ -176,3 +181,7 @@ int openair0_stop(int card)
return
ioctl
(
openair0_fd
,
openair_STOP
,
card
);
}
int
openair0_stop_without_reset
(
int
card
)
{
return
ioctl
(
openair0_fd
,
openair_STOP_WITHOUT_RESET
,
card
);
}
targets/ARCH/EXMIMO/USERSPACE/LIB/openair0_lib.h
View file @
222a5de1
...
...
@@ -45,8 +45,13 @@ int openair0_get_frame(int card);
// return 0 on success
int
openair0_start_rt_acquisition
(
int
card
);
// stops continuous acquitision/transmission
// stops continuous acquitision/transmission
and reset the RF chips
// return 0 on success
int
openair0_stop
(
int
card
);
// stops continuous acquitision/transmission without resetting the RF chips
// return 0 on success
int
openair0_stop_without_reset
(
int
card
);
#endif
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