diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/fw.h | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h index 2b938115b26a..6d1c4545eda6 100644 --- a/drivers/net/wireless/mwifiex/fw.h +++ b/drivers/net/wireless/mwifiex/fw.h | |||
@@ -72,33 +72,12 @@ enum KEY_TYPE_ID { | |||
72 | KEY_TYPE_ID_AES, | 72 | KEY_TYPE_ID_AES, |
73 | KEY_TYPE_ID_WAPI, | 73 | KEY_TYPE_ID_WAPI, |
74 | }; | 74 | }; |
75 | 75 | #define KEY_MCAST BIT(0) | |
76 | enum KEY_INFO_WEP { | 76 | #define KEY_UNICAST BIT(1) |
77 | KEY_INFO_WEP_MCAST = 0x01, | 77 | #define KEY_ENABLED BIT(2) |
78 | KEY_INFO_WEP_UNICAST = 0x02, | ||
79 | KEY_INFO_WEP_ENABLED = 0x04 | ||
80 | }; | ||
81 | |||
82 | enum KEY_INFO_TKIP { | ||
83 | KEY_INFO_TKIP_MCAST = 0x01, | ||
84 | KEY_INFO_TKIP_UNICAST = 0x02, | ||
85 | KEY_INFO_TKIP_ENABLED = 0x04 | ||
86 | }; | ||
87 | |||
88 | enum KEY_INFO_AES { | ||
89 | KEY_INFO_AES_MCAST = 0x01, | ||
90 | KEY_INFO_AES_UNICAST = 0x02, | ||
91 | KEY_INFO_AES_ENABLED = 0x04 | ||
92 | }; | ||
93 | 78 | ||
94 | #define WAPI_KEY_LEN 50 | 79 | #define WAPI_KEY_LEN 50 |
95 | 80 | ||
96 | enum KEY_INFO_WAPI { | ||
97 | KEY_INFO_WAPI_MCAST = 0x01, | ||
98 | KEY_INFO_WAPI_UNICAST = 0x02, | ||
99 | KEY_INFO_WAPI_ENABLED = 0x04 | ||
100 | }; | ||
101 | |||
102 | #define MAX_POLL_TRIES 100 | 81 | #define MAX_POLL_TRIES 100 |
103 | 82 | ||
104 | #define MAX_MULTI_INTERFACE_POLL_TRIES 1000 | 83 | #define MAX_MULTI_INTERFACE_POLL_TRIES 1000 |
@@ -155,7 +134,6 @@ enum MWIFIEX_802_11_WEP_STATUS { | |||
155 | 134 | ||
156 | #define MWIFIEX_TX_DATA_BUF_SIZE_4K 4096 | 135 | #define MWIFIEX_TX_DATA_BUF_SIZE_4K 4096 |
157 | #define MWIFIEX_TX_DATA_BUF_SIZE_8K 8192 | 136 | #define MWIFIEX_TX_DATA_BUF_SIZE_8K 8192 |
158 | #define NON_GREENFIELD_STAS 0x04 | ||
159 | 137 | ||
160 | #define ISSUPP_11NENABLED(FwCapInfo) (FwCapInfo & BIT(11)) | 138 | #define ISSUPP_11NENABLED(FwCapInfo) (FwCapInfo & BIT(11)) |
161 | 139 | ||
@@ -180,7 +158,6 @@ enum MWIFIEX_802_11_WEP_STATUS { | |||
180 | #define ISSUPP_GREENFIELD(Dot11nDevCap) (Dot11nDevCap & BIT(29)) | 158 | #define ISSUPP_GREENFIELD(Dot11nDevCap) (Dot11nDevCap & BIT(29)) |
181 | 159 | ||
182 | #define GET_RXMCSSUPP(DevMCSSupported) (DevMCSSupported & 0x0f) | 160 | #define GET_RXMCSSUPP(DevMCSSupported) (DevMCSSupported & 0x0f) |
183 | #define RESETHT_EXTCAP_RDG(HTExtCap) (HTExtCap &= ~BIT(11)) | ||
184 | #define SETHT_MCS32(x) (x[4] |= 1) | 161 | #define SETHT_MCS32(x) (x[4] |= 1) |
185 | 162 | ||
186 | #define SET_SECONDARYCHAN(RadioType, SECCHAN) (RadioType |= (SECCHAN << 4)) | 163 | #define SET_SECONDARYCHAN(RadioType, SECCHAN) (RadioType |= (SECCHAN << 4)) |