Staging: rspiusb: remove the driver
[safe/jmp/linux-2.6] / drivers / staging / rt3090 / ap_mbss.h
1 /*
2  *************************************************************************
3  * Ralink Tech Inc.
4  * 5F., No.36, Taiyuan St., Jhubei City,
5  * Hsinchu County 302,
6  * Taiwan, R.O.C.
7  *
8  * (c) Copyright 2002-2007, Ralink Technology, Inc.
9  *
10  * This program is free software; you can redistribute it and/or modify  *
11  * it under the terms of the GNU General Public License as published by  *
12  * the Free Software Foundation; either version 2 of the License, or     *
13  * (at your option) any later version.                                   *
14  *                                                                       *
15  * This program is distributed in the hope that it will be useful,       *
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of        *
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
18  * GNU General Public License for more details.                          *
19  *                                                                       *
20  * You should have received a copy of the GNU General Public License     *
21  * along with this program; if not, write to the                         *
22  * Free Software Foundation, Inc.,                                       *
23  * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
24  *                                                                       *
25  *************************************************************************
26
27     Module Name:
28     ap_mbss.h
29
30     Abstract:
31     Miniport generic portion header file
32
33     Revision History:
34     Who         When          What
35     --------    ----------    ----------------------------------------------
36 */
37
38 #ifndef MODULE_MBSS
39
40 #define MBSS_EXTERN    extern
41
42 #else
43
44 #define MBSS_EXTERN
45
46 #endif // MODULE_MBSS //
47
48
49 /* Public function list */
50 MBSS_EXTERN VOID RT28xx_MBSS_Init(
51         IN PRTMP_ADAPTER ad_p,
52         IN PNET_DEV main_dev_p);
53
54 MBSS_EXTERN VOID RT28xx_MBSS_Close(
55         IN PRTMP_ADAPTER ad_p);
56
57 MBSS_EXTERN VOID RT28xx_MBSS_Remove(
58         IN PRTMP_ADAPTER ad_p);
59
60 INT MBSS_VirtualIF_Open(
61         IN      PNET_DEV                        dev_p);
62 INT MBSS_VirtualIF_Close(
63         IN      PNET_DEV                        dev_p);
64 INT MBSS_VirtualIF_PacketSend(
65         IN PNDIS_PACKET                 skb_p,
66         IN PNET_DEV                             dev_p);
67 INT MBSS_VirtualIF_Ioctl(
68         IN PNET_DEV                             dev_p,
69         IN OUT struct ifreq     *rq_p,
70         IN INT cmd);
71
72 /* End of ap_mbss.h */