Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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 UE
Commits
0a6de619
Commit
0a6de619
authored
Mar 24, 2016
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused MAC_INTERFACE directory
parent
5165754c
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
1022 deletions
+0
-1022
openair1/MAC_INTERFACE/COPYING
openair1/MAC_INTERFACE/COPYING
+0
-674
openair1/MAC_INTERFACE/Makefile.inc
openair1/MAC_INTERFACE/Makefile.inc
+0
-2
openair1/MAC_INTERFACE/defs.h
openair1/MAC_INTERFACE/defs.h
+0
-42
openair1/MAC_INTERFACE/extern.h
openair1/MAC_INTERFACE/extern.h
+0
-55
openair1/MAC_INTERFACE/init.c
openair1/MAC_INTERFACE/init.c
+0
-76
openair1/MAC_INTERFACE/register.c
openair1/MAC_INTERFACE/register.c
+0
-121
openair1/MAC_INTERFACE/vars.h
openair1/MAC_INTERFACE/vars.h
+0
-52
No files found.
openair1/MAC_INTERFACE/COPYING
deleted
100644 → 0
View file @
5165754c
This diff is collapsed.
Click to expand it.
openair1/MAC_INTERFACE/Makefile.inc
deleted
100644 → 0
View file @
5165754c
#MAC_XFACE_OBJS = $(OPENAIR1_TOP)/MAC_INTERFACE/register.o
MAC_XFACE_OBJS
+=
$(OPENAIR1_TOP)
/MAC_INTERFACE/init.o
openair1/MAC_INTERFACE/defs.h
deleted
100755 → 0
View file @
5165754c
/*******************************************************************************
OpenAirInterface
Copyright(c) 1999 - 2014 Eurecom
OpenAirInterface is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenAirInterface is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OpenAirInterface.The full GNU General Public License is
included in this distribution in the file called "COPYING". If not,
see <http://www.gnu.org/licenses/>.
Contact Information
OpenAirInterface Admin: openair_admin@eurecom.fr
OpenAirInterface Tech : openair_tech@eurecom.fr
OpenAirInterface Dev : openair4g-devel@lists.eurecom.fr
Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06904 Biot Sophia Antipolis cedex, FRANCE
*******************************************************************************/
/*________________________mac_defs.h________________________
Authors : Hicham Anouar, Raymond Knopp
Company : EURECOM
Emails : anouar@eurecom.fr, knopp@eurecom.fr
________________________________________________________________*/
#ifndef __MAC_INTERFACE_DEFS_H__
#define __MAC_INTERFACE_DEFS_H__
#include "PHY_INTERFACE/defs.h"
#endif
openair1/MAC_INTERFACE/extern.h
deleted
100755 → 0
View file @
5165754c
/*******************************************************************************
OpenAirInterface
Copyright(c) 1999 - 2014 Eurecom
OpenAirInterface is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenAirInterface is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OpenAirInterface.The full GNU General Public License is
included in this distribution in the file called "COPYING". If not,
see <http://www.gnu.org/licenses/>.
Contact Information
OpenAirInterface Admin: openair_admin@eurecom.fr
OpenAirInterface Tech : openair_tech@eurecom.fr
OpenAirInterface Dev : openair4g-devel@lists.eurecom.fr
Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06904 Biot Sophia Antipolis cedex, FRANCE
*******************************************************************************/
/*________________________mac_extern.h________________________
Authors : Hicham Anouar, Raymond Knopp
Company : EURECOM
Emails : anouar@eurecom.fr, knopp@eurecom.fr
________________________________________________________________*/
/*! \file mac_extern.h
* \brief Generic mac interface external variable definitions
* \author R. Knopp
* \date March 2006
* \note
* \warning
* @ingroup macxface
*/
#ifndef __MAC_INTERFACE_EXTERN_H__
#define __MAC_INTERFACE_EXTERN_H__
#include "defs.h"
extern
MAC_xface
*
mac_xface
;
#endif
/*__MAC_INTERFACE_EXTERN_H__ */
openair1/MAC_INTERFACE/init.c
deleted
100644 → 0
View file @
5165754c
/*******************************************************************************
OpenAirInterface
Copyright(c) 1999 - 2014 Eurecom
OpenAirInterface is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenAirInterface is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OpenAirInterface.The full GNU General Public License is
included in this distribution in the file called "COPYING". If not,
see <http://www.gnu.org/licenses/>.
Contact Information
OpenAirInterface Admin: openair_admin@eurecom.fr
OpenAirInterface Tech : openair_tech@eurecom.fr
OpenAirInterface Dev : openair4g-devel@lists.eurecom.fr
Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06904 Biot Sophia Antipolis cedex, FRANCE
*******************************************************************************/
/*________________________mac_init.c________________________
Authors : Hicham Anouar, Raymond Knopp
Company : EURECOM
Emails : anouar@eurecom.fr, knopp@eurecom.fr
________________________________________________________________*/
/*!\brief Initilization and reconfiguration routines for generic MAC interface */
#include "defs.h"
#include "extern.h"
#include "SCHED/defs.h"
int
mac_init
(
void
)
{
int
i
;
#ifndef USER_MODE
// mac_xface->macphy_init();
mac_xface
->
macphy_exit
=
openair_sched_exit
;
#else
mac_xface
->
macphy_exit
=
(
void
(
*
)(
void
))
exit
;
#endif
/* this is done in cbmimo1_fileops
#ifdef OPENAIR2
mac_xface->macphy_init();
#endif //OPENAIR2
*/
return
(
1
);
}
void
mac_cleanup
(
void
)
{
}
void
mac_resynch
(
void
)
{
}
/*
#ifdef OPENAIR2
EXPORT_SYMBOL(frame);
#endif //OPENAIR2
*/
openair1/MAC_INTERFACE/register.c
deleted
100644 → 0
View file @
5165754c
/*******************************************************************************
OpenAirInterface
Copyright(c) 1999 - 2014 Eurecom
OpenAirInterface is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenAirInterface is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OpenAirInterface.The full GNU General Public License is
included in this distribution in the file called "COPYING". If not,
see <http://www.gnu.org/licenses/>.
Contact Information
OpenAirInterface Admin: openair_admin@eurecom.fr
OpenAirInterface Tech : openair_tech@eurecom.fr
OpenAirInterface Dev : openair4g-devel@lists.eurecom.fr
Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06904 Biot Sophia Antipolis cedex, FRANCE
*******************************************************************************/
/*________________________mac_register.c________________________
Authors : Hicham Anouar, Raymond Knopp
Company : EURECOM
Emails : anouar@eurecom.fr, knopp@eurecom.fr
________________________________________________________________*/
/*!\brief Registration routines for generic MAC interface. Register/unregister a MAC.
Upon registration, the MAC retrieves the transport channel (MAC_tch) data structure and provides the
pointer to the macphy_scheduler() routine*/
#define __NO_VERSION__
#undef __PHY_IMPLEMENTATION_DEFS_H__
#include "ARCH/CBMIMO1/DEVICE_DRIVER/defs.h"
#include "defs.h"
#include "extern.h"
#include "SCHED/extern.h"
#ifndef USER_MODE
void
dummy_macphy_scheduler
(
uint8_t
last_slot
)
{
//if (last_slot == 0)
// mac_xface->frame++;
msg
(
"[OPENAIR][MAC XFACE] in dummy_macphy_scheduler(): MAC no yet registered!
\n
"
);
//#ifdef EMOS
// phy_procedures(last_slot);
//#endif
}
void
dummy_macphy_setparams
(
void
*
params
)
{
msg
(
"[OPENAIR][MAC XFACE] dummy_macphy_setparams(): no MAC registered!
\n
"
);
}
void
dummy_macphy_init
(
void
)
{
msg
(
"[OPENAIR][MAC XFACE] dummy_macphy_init(): no MAC registered!
\n
"
);
}
MAC_xface
*
mac_register
(
void
macphy_scheduler
(
uint8_t
last_slot
),
void
macphy_setparams
(
void
*
),
void
macphy_init
(
void
),
void
mrbch_phy_sync_failure
(
unsigned
char
,
unsigned
char
),
void
chbch_phy_sync_success
(
unsigned
char
,
unsigned
char
))
{
if
(
openair_daq_vars
.
mac_registered
==
0
)
{
msg
(
"[OPENAIR][MAC XFACE] Registering new MAC interface at %p, scheduler %p, setparams at %p, init at %p
\n
"
,
mac_xface
,
macphy_scheduler
,
macphy_setparams
,
macphy_init
);
mac_xface
->
macphy_scheduler
=
macphy_scheduler
;
mac_xface
->
macphy_setparams
=
macphy_setparams
;
mac_xface
->
macphy_init
=
macphy_init
;
#ifndef PC_TARGET
// mac_xface->ublaze_mac_xface = ublaze_mac_xface;
#endif
openair_daq_vars
.
mac_registered
=
1
;
return
(
mac_xface
);
}
else
{
msg
(
"[OPENAIR][MAC XFACE] MAC interface already registered, aborting ...
\n
"
);
return
NULL
;
}
}
int
mac_unregister
(
MAC_xface
*
mac_xface_rx
)
{
if
(
mac_xface_rx
==
mac_xface
)
{
msg
(
"[OPENAIR][MAC XFACE] Unregistering MAC interface
\n
"
);
mac_xface
->
macphy_scheduler
=
dummy_macphy_scheduler
;
mac_xface
->
macphy_setparams
=
dummy_macphy_setparams
;
mac_xface
->
macphy_init
=
dummy_macphy_init
;
openair_daq_vars
.
mac_registered
=
0
;
return
(
0
);
}
else
{
msg
(
"[OPENAIR][MAC XFACE] Not the right interface descriptor pointer!!!, aborting ...
\n
"
);
return
(
-
1
);
}
}
EXPORT_SYMBOL
(
mac_register
);
EXPORT_SYMBOL
(
mac_unregister
);
#endif //USER_MODE
openair1/MAC_INTERFACE/vars.h
deleted
100755 → 0
View file @
5165754c
/*******************************************************************************
OpenAirInterface
Copyright(c) 1999 - 2014 Eurecom
OpenAirInterface is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenAirInterface is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OpenAirInterface.The full GNU General Public License is
included in this distribution in the file called "COPYING". If not,
see <http://www.gnu.org/licenses/>.
Contact Information
OpenAirInterface Admin: openair_admin@eurecom.fr
OpenAirInterface Tech : openair_tech@eurecom.fr
OpenAirInterface Dev : openair4g-devel@lists.eurecom.fr
Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06904 Biot Sophia Antipolis cedex, FRANCE
*******************************************************************************/
/*________________________mac_vars.h________________________
Authors : Hicham Anouar, Raymond Knopp
Company : EURECOM
Emails : anouar@eurecom.fr, knopp@eurecom.fr
________________________________________________________________*/
/*! \file mac_vars.h
* \brief generic mac interface variable definitions
* \author R. Knopp
* \version 1
* \date March 2006
* @ingroup macxface
*/
#ifndef __MAC_INTERFACE_VARS_H__
#define __MAC_INTERFACE_VARS_H__
#include "defs.h"
MAC_xface
*
mac_xface
;
#endif //__MAC_INTERFACE_VARS_H__
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