diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/decl.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/decl.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/decl.h b/drivers/net/wireless/mwifiex/decl.h index be5fd1652e53..f918f66e5e27 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 |
@@ -53,12 +53,19 @@ | |||
53 | #define MWIFIEX_RATE_BITMAP_MCS127 159 | 53 | #define MWIFIEX_RATE_BITMAP_MCS127 159 |
54 | 54 | ||
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) | ||
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) | ||
56 | 62 | ||
57 | #define MWIFIEX_RTS_MIN_VALUE (0) | 63 | #define MWIFIEX_RTS_MIN_VALUE (0) |
58 | #define MWIFIEX_RTS_MAX_VALUE (2347) | 64 | #define MWIFIEX_RTS_MAX_VALUE (2347) |
59 | #define MWIFIEX_FRAG_MIN_VALUE (256) | 65 | #define MWIFIEX_FRAG_MIN_VALUE (256) |
60 | #define MWIFIEX_FRAG_MAX_VALUE (2346) | 66 | #define MWIFIEX_FRAG_MAX_VALUE (2346) |
61 | 67 | ||
68 | #define MWIFIEX_RETRY_LIMIT 14 | ||
62 | #define MWIFIEX_SDIO_BLOCK_SIZE 256 | 69 | #define MWIFIEX_SDIO_BLOCK_SIZE 256 |
63 | 70 | ||
64 | #define MWIFIEX_BUF_FLAG_REQUEUED_PKT BIT(0) | 71 | #define MWIFIEX_BUF_FLAG_REQUEUED_PKT BIT(0) |
@@ -91,6 +98,11 @@ struct mwifiex_fw_image { | |||
91 | u32 fw_len; | 98 | u32 fw_len; |
92 | }; | 99 | }; |
93 | 100 | ||
101 | struct mwifiex_802_11_ssid { | ||
102 | u32 ssid_len; | ||
103 | u8 ssid[IEEE80211_MAX_SSID_LEN]; | ||
104 | }; | ||
105 | |||
94 | struct mwifiex_wait_queue { | 106 | struct mwifiex_wait_queue { |
95 | wait_queue_head_t wait; | 107 | wait_queue_head_t wait; |
96 | int status; | 108 | int status; |