]> bbs.cooldavid.org Git - net-next-2.6.git/blob - drivers/staging/rt3090/ap_cfg.h
Staging: rt2860: add RT3090 chipset support
[net-next-2.6.git] / drivers / staging / rt3090 / ap_cfg.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_cfg.h
29
30     Abstract:
31     Miniport generic portion header file
32
33     Revision History:
34     Who         When          What
35     --------    ----------    ----------------------------------------------
36 */
37 #ifndef __AP_CFG_H__
38 #define __AP_CFG_H__
39
40
41 #include "rt_config.h"
42
43 INT RTMPAPPrivIoctlSet(
44         IN RTMP_ADAPTER *pAd,
45         IN struct iwreq *pIoctlCmdStr);
46
47 INT RTMPAPPrivIoctlShow(
48         IN RTMP_ADAPTER *pAd,
49         IN struct iwreq *pIoctlCmdStr);
50
51 INT RTMPAPSetInformation(
52         IN      PRTMP_ADAPTER   pAd,
53         IN      OUT     struct iwreq    *rq,
54         IN      INT                             cmd);
55
56 INT RTMPAPQueryInformation(
57         IN      PRTMP_ADAPTER       pAd,
58         IN      OUT     struct iwreq    *rq,
59         IN      INT                 cmd);
60
61 VOID RTMPIoctlStatistics(
62         IN PRTMP_ADAPTER pAd,
63         IN struct iwreq *wrq);
64
65 VOID RTMPIoctlGetMacTable(
66         IN PRTMP_ADAPTER pAd,
67         IN struct iwreq *wrq);
68
69 #ifdef DBG
70 VOID RTMPAPIoctlBBP(
71     IN  PRTMP_ADAPTER   pAdapter,
72     IN  struct iwreq    *wrq);
73
74 VOID RTMPAPIoctlMAC(
75     IN  PRTMP_ADAPTER   pAdapter,
76     IN  struct iwreq    *wrq);
77
78 VOID RTMPAPIoctlE2PROM(
79     IN  PRTMP_ADAPTER   pAdapter,
80     IN  struct iwreq    *wrq);
81
82 #ifdef RTMP_RF_RW_SUPPORT
83 VOID RTMPAPIoctlRF(
84         IN      PRTMP_ADAPTER   pAdapter,
85         IN      struct iwreq    *wrq);
86 #endif // RTMP_RF_RW_SUPPORT //
87
88 #endif // DBG //
89
90 VOID RT28XX_IOCTL_MaxRateGet(
91         IN      RTMP_ADAPTER                    *pAd,
92         IN      PHTTRANSMIT_SETTING     pHtPhyMode,
93         OUT     UINT32                                  *pRate);
94
95
96 #ifdef DOT11_N_SUPPORT
97 VOID RTMPIoctlQueryBaTable(
98         IN      PRTMP_ADAPTER   pAd,
99         IN      struct iwreq    *wrq);
100 #endif // DOT11_N_SUPPORT //
101
102 VOID RTMPIoctlStaticWepCopy(
103         IN      PRTMP_ADAPTER   pAd,
104         IN      struct iwreq    *wrq);
105
106 VOID RTMPIoctlRadiusData(
107         IN PRTMP_ADAPTER        pAd,
108         IN struct iwreq         *wrq);
109
110 VOID RTMPIoctlAddWPAKey(
111         IN      PRTMP_ADAPTER   pAd,
112         IN      struct iwreq    *wrq);
113
114 VOID RTMPIoctlAddPMKIDCache(
115         IN      PRTMP_ADAPTER   pAd,
116         IN      struct iwreq    *wrq);
117
118 #endif // __AP_CFG_H__ //