diff options
Diffstat (limited to 'drivers/net/wireless/libertas/defs.h')
-rw-r--r-- | drivers/net/wireless/libertas/defs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h index 2d4666f26808..c364e4c01d1b 100644 --- a/drivers/net/wireless/libertas/defs.h +++ b/drivers/net/wireless/libertas/defs.h | |||
@@ -149,6 +149,18 @@ static inline void lbs_deb_hex(unsigned int grp, const char *prompt, u8 *buf, in | |||
149 | #define EHS_WAKE_ON_MAC_EVENT 0x0004 | 149 | #define EHS_WAKE_ON_MAC_EVENT 0x0004 |
150 | #define EHS_WAKE_ON_MULTICAST_DATA 0x0008 | 150 | #define EHS_WAKE_ON_MULTICAST_DATA 0x0008 |
151 | #define EHS_REMOVE_WAKEUP 0xFFFFFFFF | 151 | #define EHS_REMOVE_WAKEUP 0xFFFFFFFF |
152 | /* Wake rules for Host_Sleep_CFG command */ | ||
153 | #define WOL_RULE_NET_TYPE_INFRA_OR_IBSS 0x00 | ||
154 | #define WOL_RULE_NET_TYPE_MESH 0x10 | ||
155 | #define WOL_RULE_ADDR_TYPE_BCAST 0x01 | ||
156 | #define WOL_RULE_ADDR_TYPE_MCAST 0x08 | ||
157 | #define WOL_RULE_ADDR_TYPE_UCAST 0x02 | ||
158 | #define WOL_RULE_OP_AND 0x01 | ||
159 | #define WOL_RULE_OP_OR 0x02 | ||
160 | #define WOL_RULE_OP_INVALID 0xFF | ||
161 | #define WOL_RESULT_VALID_CMD 0 | ||
162 | #define WOL_RESULT_NOSPC_ERR 1 | ||
163 | #define WOL_RESULT_EEXIST_ERR 2 | ||
152 | 164 | ||
153 | /** Misc constants */ | 165 | /** Misc constants */ |
154 | /* This section defines 802.11 specific contants */ | 166 | /* This section defines 802.11 specific contants */ |