carl9170 firmware: update headers for WOL
authorChristian Lamparter <chunkeey@googlemail.com>
Sun, 16 Jan 2011 00:07:39 +0000 (01:07 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Sun, 16 Jan 2011 00:07:39 +0000 (01:07 +0100)
This patch adds a few definitions for wake up on LAN.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/shared/fwcmd.h
include/shared/fwdesc.h
include/shared/hw.h
include/shared/version.h

index 3680dfc70f4659179977620a753dcfac05e987ce..30449d21b7624e9a356005830cea2cc80a60e396 100644 (file)
@@ -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;
index b5428d66feb232655d3405dd2907d80235c08202..59c721336121cd299f7df621c70f189d47599287 100644 (file)
@@ -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
 };
index 90c84a60b69894d0e825ab0da2e92b70a28174f4..4e30762dd903de04a704789ac823e53f28311f1d 100644 (file)
 
 #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))
 
index 0fbca33062cb87dcd2005170ec1c78c1be66d586..043454a9ad587c72cb514e0f5c29b213f2c794fe 100644 (file)
@@ -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 */