diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/decl.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/decl.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/decl.h b/drivers/net/wireless/mwifiex/decl.h index d04aba4131d..f918f66e5e2 100644 --- a/drivers/net/wireless/mwifiex/decl.h +++ b/drivers/net/wireless/mwifiex/decl.h | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/ieee80211.h> | 28 | #include <linux/ieee80211.h> |
29 | 29 | ||
30 | 30 | ||
31 | #define MWIFIEX_MAX_BSS_NUM (1) | 31 | #define MWIFIEX_MAX_BSS_NUM (2) |
32 | 32 | ||
33 | #define MWIFIEX_MIN_DATA_HEADER_LEN 36 /* sizeof(mwifiex_txpd) | 33 | #define MWIFIEX_MIN_DATA_HEADER_LEN 36 /* sizeof(mwifiex_txpd) |
34 | * + 4 byte alignment | 34 | * + 4 byte alignment |
@@ -55,11 +55,17 @@ | |||
55 | #define MWIFIEX_RX_DATA_BUF_SIZE (4 * 1024) | 55 | #define MWIFIEX_RX_DATA_BUF_SIZE (4 * 1024) |
56 | #define MWIFIEX_RX_CMD_BUF_SIZE (2 * 1024) | 56 | #define MWIFIEX_RX_CMD_BUF_SIZE (2 * 1024) |
57 | 57 | ||
58 | #define MAX_BEACON_PERIOD (4000) | ||
59 | #define MIN_BEACON_PERIOD (50) | ||
60 | #define MAX_DTIM_PERIOD (100) | ||
61 | #define MIN_DTIM_PERIOD (1) | ||
62 | |||
58 | #define MWIFIEX_RTS_MIN_VALUE (0) | 63 | #define MWIFIEX_RTS_MIN_VALUE (0) |
59 | #define MWIFIEX_RTS_MAX_VALUE (2347) | 64 | #define MWIFIEX_RTS_MAX_VALUE (2347) |
60 | #define MWIFIEX_FRAG_MIN_VALUE (256) | 65 | #define MWIFIEX_FRAG_MIN_VALUE (256) |
61 | #define MWIFIEX_FRAG_MAX_VALUE (2346) | 66 | #define MWIFIEX_FRAG_MAX_VALUE (2346) |
62 | 67 | ||
68 | #define MWIFIEX_RETRY_LIMIT 14 | ||
63 | #define MWIFIEX_SDIO_BLOCK_SIZE 256 | 69 | #define MWIFIEX_SDIO_BLOCK_SIZE 256 |
64 | 70 | ||
65 | #define MWIFIEX_BUF_FLAG_REQUEUED_PKT BIT(0) | 71 | #define MWIFIEX_BUF_FLAG_REQUEUED_PKT BIT(0) |
@@ -92,6 +98,11 @@ struct mwifiex_fw_image { | |||
92 | u32 fw_len; | 98 | u32 fw_len; |
93 | }; | 99 | }; |
94 | 100 | ||
101 | struct mwifiex_802_11_ssid { | ||
102 | u32 ssid_len; | ||
103 | u8 ssid[IEEE80211_MAX_SSID_LEN]; | ||
104 | }; | ||
105 | |||
95 | struct mwifiex_wait_queue { | 106 | struct mwifiex_wait_queue { |
96 | wait_queue_head_t wait; | 107 | wait_queue_head_t wait; |
97 | int status; | 108 | int status; |