aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2011-03-31 22:50:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-04 16:20:06 -0400
commit8120347de30f98982b8c75243e3b17dd1ee75740 (patch)
tree240a6423156b94f586957e4eed6505b82079ca1c /drivers
parent7327890a1f42046c50030c8723bdbd9266d781bc (diff)
mwifiex: remove unused macros in decl.h and main.h
These macros are leftover of previous cleanup patches. Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/mwifiex/decl.h24
-rw-r--r--drivers/net/wireless/mwifiex/main.h7
2 files changed, 0 insertions, 31 deletions
diff --git a/drivers/net/wireless/mwifiex/decl.h b/drivers/net/wireless/mwifiex/decl.h
index 4e1f115d3ec3..c3c15f9e757e 100644
--- a/drivers/net/wireless/mwifiex/decl.h
+++ b/drivers/net/wireless/mwifiex/decl.h
@@ -51,7 +51,6 @@
51#define MWIFIEX_RATE_BITMAP_MCS127 159 51#define MWIFIEX_RATE_BITMAP_MCS127 159
52 52
53#define MWIFIEX_RX_DATA_BUF_SIZE (4 * 1024) 53#define MWIFIEX_RX_DATA_BUF_SIZE (4 * 1024)
54#define MWIFIEX_RX_CMD_BUF_SIZE (2 * 1024)
55 54
56#define MWIFIEX_RTS_MIN_VALUE (0) 55#define MWIFIEX_RTS_MIN_VALUE (0)
57#define MWIFIEX_RTS_MAX_VALUE (2347) 56#define MWIFIEX_RTS_MAX_VALUE (2347)
@@ -141,13 +140,6 @@ struct mwifiex_bss_attr {
141 u32 bss_num; 140 u32 bss_num;
142}; 141};
143 142
144enum mwifiex_cmd_result_e {
145 MWIFIEX_CMD_RESULT_SUCCESS = 0,
146 MWIFIEX_CMD_RESULT_FAILURE = 1,
147 MWIFIEX_CMD_RESULT_TIMEOUT = 2,
148 MWIFIEX_CMD_RESULT_INVALID_DATA = 3
149} __packed;
150
151enum mwifiex_wmm_ac_e { 143enum mwifiex_wmm_ac_e {
152 WMM_AC_BK, 144 WMM_AC_BK,
153 WMM_AC_BE, 145 WMM_AC_BE,
@@ -155,22 +147,6 @@ enum mwifiex_wmm_ac_e {
155 WMM_AC_VO 147 WMM_AC_VO
156} __packed; 148} __packed;
157 149
158enum mwifiex_wmm_queue_config_action_e {
159 MWIFIEX_WMM_QUEUE_CONFIG_ACTION_GET = 0,
160 MWIFIEX_WMM_QUEUE_CONFIG_ACTION_SET = 1,
161 MWIFIEX_WMM_QUEUE_CONFIG_ACTION_DEFAULT = 2,
162 MWIFIEX_WMM_QUEUE_CONFIG_ACTION_MAX
163} __packed;
164
165enum mwifiex_wmm_queue_stats_action_e {
166 MWIFIEX_WMM_STATS_ACTION_START = 0,
167 MWIFIEX_WMM_STATS_ACTION_STOP = 1,
168 MWIFIEX_WMM_STATS_ACTION_GET_CLR = 2,
169 MWIFIEX_WMM_STATS_ACTION_SET_CFG = 3, /* Not currently used */
170 MWIFIEX_WMM_STATS_ACTION_GET_CFG = 4, /* Not currently used */
171 MWIFIEX_WMM_STATS_ACTION_MAX
172} __packed;
173
174struct mwifiex_device { 150struct mwifiex_device {
175 struct mwifiex_bss_attr bss_attr[MWIFIEX_MAX_BSS_NUM]; 151 struct mwifiex_bss_attr bss_attr[MWIFIEX_MAX_BSS_NUM];
176}; 152};
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index c26f70441f83..43ff149de9db 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -50,8 +50,6 @@ enum {
50}; 50};
51 51
52#define DRV_MODE_STA 0x1 52#define DRV_MODE_STA 0x1
53#define DRV_MODE_UAP 0x2
54#define DRV_MODE_UAP_STA 0x3
55 53
56#define SD8787_W0 0x30 54#define SD8787_W0 0x30
57#define SD8787_W1 0x31 55#define SD8787_W1 0x31
@@ -74,13 +72,8 @@ struct mwifiex_drv_mode {
74#define MWIFIEX_TIMER_10S 10000 72#define MWIFIEX_TIMER_10S 10000
75#define MWIFIEX_TIMER_1S 1000 73#define MWIFIEX_TIMER_1S 1000
76 74
77#define NL_MAX_PAYLOAD 1024
78#define NL_MULTICAST_GROUP 1
79
80#define MAX_TX_PENDING 60 75#define MAX_TX_PENDING 60
81 76
82#define HEADER_ALIGNMENT 8
83
84#define MWIFIEX_UPLD_SIZE (2312) 77#define MWIFIEX_UPLD_SIZE (2312)
85 78
86#define MAX_EVENT_SIZE 1024 79#define MAX_EVENT_SIZE 1024