diff options
author | Anna Neal <anna@cozybit.com> | 2008-10-20 19:46:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-21 11:06:03 -0500 |
commit | 582c1b538fb47a2d6a41dbdadb031086c49446c1 (patch) | |
tree | 04c84b61e6af5256e685c69bc195aee0b948adc5 /drivers/net/wireless/libertas/host.h | |
parent | 50da3ead624d46f1b9f1007a184691bbb841eba7 (diff) |
libertas: Fine grained configuration of wake-on-lan.
Based on a patch from Shailendra Govardhan <shailen@marvell.com>.
This patch allows implementation of more specific wake-on-lan rules than those
of ethtool.
Please note that only firmware 5.110.22.p20 and above supports this feature.
This patch only implements the driver/firmware interface, not the
userspace/driver interface.
Signed-off-by: Anna Neal <anna@cozybit.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/host.h')
-rw-r--r-- | drivers/net/wireless/libertas/host.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h index 5004d7679c02..a17b778c172c 100644 --- a/drivers/net/wireless/libertas/host.h +++ b/drivers/net/wireless/libertas/host.h | |||
@@ -220,6 +220,14 @@ enum cmd_fwt_access_opts { | |||
220 | CMD_ACT_FWT_ACCESS_TIME, | 220 | CMD_ACT_FWT_ACCESS_TIME, |
221 | }; | 221 | }; |
222 | 222 | ||
223 | /* Define action or option for CMD_802_11_HOST_SLEEP_CFG */ | ||
224 | enum cmd_wol_cfg_opts { | ||
225 | CMD_ACT_ACTION_NONE = 0, | ||
226 | CMD_ACT_SET_WOL_RULE, | ||
227 | CMD_ACT_GET_WOL_RULE, | ||
228 | CMD_ACT_RESET_WOL_RULE, | ||
229 | }; | ||
230 | |||
223 | /* Define action or option for CMD_MESH_ACCESS */ | 231 | /* Define action or option for CMD_MESH_ACCESS */ |
224 | enum cmd_mesh_access_opts { | 232 | enum cmd_mesh_access_opts { |
225 | CMD_ACT_MESH_GET_TTL = 1, | 233 | CMD_ACT_MESH_GET_TTL = 1, |