From: Christian Lamparter Date: Sun, 16 Jan 2011 00:07:39 +0000 (+0100) Subject: carl9170 firmware: update headers for WOL X-Git-Tag: 1.9.3~19 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=7b5eda181245312c9b4f444d5cb2ed997ec5b6c3;p=carl9170fw.git carl9170 firmware: update headers for WOL This patch adds a few definitions for wake up on LAN. Signed-off-by: Christian Lamparter --- diff --git a/include/shared/fwcmd.h b/include/shared/fwcmd.h index 3680dfc..30449d2 100644 --- a/include/shared/fwcmd.h +++ b/include/shared/fwcmd.h @@ -167,6 +167,7 @@ struct carl9170_rx_filter_cmd { #define CARL9170_RX_FILTER_CTL_BACKR 0x20 #define CARL9170_RX_FILTER_MGMT 0x40 #define CARL9170_RX_FILTER_DATA 0x80 +#define CARL9170_RX_FILTER_EVERYTHING (~0) struct carl9170_bcn_ctrl_cmd { __le32 vif_id; diff --git a/include/shared/fwdesc.h b/include/shared/fwdesc.h index b5428d6..59c7213 100644 --- a/include/shared/fwdesc.h +++ b/include/shared/fwdesc.h @@ -69,6 +69,9 @@ enum carl9170fw_feature_list { /* Firmware RX filter | CARL9170_CMD_RX_FILTER */ CARL9170FW_RX_FILTER, + /* Wake up on WLAN */ + CARL9170FW_WOL, + /* KEEP LAST */ __CARL9170FW_FEATURE_NUM }; diff --git a/include/shared/hw.h b/include/shared/hw.h index 90c84a6..4e30762 100644 --- a/include/shared/hw.h +++ b/include/shared/hw.h @@ -602,6 +602,10 @@ #define AR9170_USB_REG_MAX_AGG_UPLOAD (AR9170_USB_REG_BASE + 0x110) #define AR9170_USB_REG_UPLOAD_TIME_CTL (AR9170_USB_REG_BASE + 0x114) + +#define AR9170_USB_REG_WAKE_UP (AR9170_USB_REG_BASE + 0x120) +#define AR9170_USB_WAKE_UP_WAKE BIT(0) + #define AR9170_USB_REG_CBUS_CTRL (AR9170_USB_REG_BASE + 0x1f0) #define AR9170_USB_CBUS_CTRL_BUFFER_END (BIT(1)) diff --git a/include/shared/version.h b/include/shared/version.h index 0fbca33..043454a 100644 --- a/include/shared/version.h +++ b/include/shared/version.h @@ -1,7 +1,7 @@ #ifndef __CARL9170_SHARED_VERSION_H #define __CARL9170_SHARED_VERSION_H -#define CARL9170FW_VERSION_YEAR 10 -#define CARL9170FW_VERSION_MONTH 12 -#define CARL9170FW_VERSION_DAY 25 +#define CARL9170FW_VERSION_YEAR 11 +#define CARL9170FW_VERSION_MONTH 1 +#define CARL9170FW_VERSION_DAY 15 #define CARL9170FW_VERSION_GIT "1.9.2" #endif /* __CARL9170_SHARED_VERSION_H */