Skip to content

Commit

Permalink
mwifiex: remove unused macros in decl.h and main.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bing Zhao authored and John W. Linville committed Apr 4, 2011
1 parent 7327890 commit 8120347
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
24 changes: 0 additions & 24 deletions drivers/net/wireless/mwifiex/decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
#define MWIFIEX_RATE_BITMAP_MCS127 159

#define MWIFIEX_RX_DATA_BUF_SIZE (4 * 1024)
#define MWIFIEX_RX_CMD_BUF_SIZE (2 * 1024)

#define MWIFIEX_RTS_MIN_VALUE (0)
#define MWIFIEX_RTS_MAX_VALUE (2347)
Expand Down Expand Up @@ -141,36 +140,13 @@ struct mwifiex_bss_attr {
u32 bss_num;
};

enum mwifiex_cmd_result_e {
MWIFIEX_CMD_RESULT_SUCCESS = 0,
MWIFIEX_CMD_RESULT_FAILURE = 1,
MWIFIEX_CMD_RESULT_TIMEOUT = 2,
MWIFIEX_CMD_RESULT_INVALID_DATA = 3
} __packed;

enum mwifiex_wmm_ac_e {
WMM_AC_BK,
WMM_AC_BE,
WMM_AC_VI,
WMM_AC_VO
} __packed;

enum mwifiex_wmm_queue_config_action_e {
MWIFIEX_WMM_QUEUE_CONFIG_ACTION_GET = 0,
MWIFIEX_WMM_QUEUE_CONFIG_ACTION_SET = 1,
MWIFIEX_WMM_QUEUE_CONFIG_ACTION_DEFAULT = 2,
MWIFIEX_WMM_QUEUE_CONFIG_ACTION_MAX
} __packed;

enum mwifiex_wmm_queue_stats_action_e {
MWIFIEX_WMM_STATS_ACTION_START = 0,
MWIFIEX_WMM_STATS_ACTION_STOP = 1,
MWIFIEX_WMM_STATS_ACTION_GET_CLR = 2,
MWIFIEX_WMM_STATS_ACTION_SET_CFG = 3, /* Not currently used */
MWIFIEX_WMM_STATS_ACTION_GET_CFG = 4, /* Not currently used */
MWIFIEX_WMM_STATS_ACTION_MAX
} __packed;

struct mwifiex_device {
struct mwifiex_bss_attr bss_attr[MWIFIEX_MAX_BSS_NUM];
};
Expand Down
7 changes: 0 additions & 7 deletions drivers/net/wireless/mwifiex/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ enum {
};

#define DRV_MODE_STA 0x1
#define DRV_MODE_UAP 0x2
#define DRV_MODE_UAP_STA 0x3

#define SD8787_W0 0x30
#define SD8787_W1 0x31
Expand All @@ -74,13 +72,8 @@ struct mwifiex_drv_mode {
#define MWIFIEX_TIMER_10S 10000
#define MWIFIEX_TIMER_1S 1000

#define NL_MAX_PAYLOAD 1024
#define NL_MULTICAST_GROUP 1

#define MAX_TX_PENDING 60

#define HEADER_ALIGNMENT 8

#define MWIFIEX_UPLD_SIZE (2312)

#define MAX_EVENT_SIZE 1024
Expand Down

0 comments on commit 8120347

Please sign in to comment.