diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-12-20 04:52:42 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:58:34 -0500 |
commit | 7d7f19ccb777946df0a8fb7c83189ba2ae08b02e (patch) | |
tree | 38fcea85510a4945283cf23bc029261b3941fc74 /drivers/net/wireless/rt2x00/rt61pci.h | |
parent | 3ebbbb56a162b8f9b9a77bc7810b9d4e0868e039 (diff) |
rt2x00: Implement Powersaving
Listen to IEEE80211_CONF_PS to determine if the device
should drop into powersaving mode. This feature depends
on the dynamic power save functionality in mac80211.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.h b/drivers/net/wireless/rt2x00/rt61pci.h index 65fe3332364a..86590c6de0ef 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.h +++ b/drivers/net/wireless/rt2x00/rt61pci.h | |||
@@ -88,8 +88,10 @@ | |||
88 | 88 | ||
89 | /* | 89 | /* |
90 | * SOFT_RESET_CSR | 90 | * SOFT_RESET_CSR |
91 | * FORCE_CLOCK_ON: Host force MAC clock ON | ||
91 | */ | 92 | */ |
92 | #define SOFT_RESET_CSR 0x0010 | 93 | #define SOFT_RESET_CSR 0x0010 |
94 | #define SOFT_RESET_CSR_FORCE_CLOCK_ON FIELD32(0x00000002) | ||
93 | 95 | ||
94 | /* | 96 | /* |
95 | * MCU_INT_SOURCE_CSR: MCU interrupt source/mask register. | 97 | * MCU_INT_SOURCE_CSR: MCU interrupt source/mask register. |
@@ -1054,8 +1056,10 @@ struct hw_pairwise_ta_entry { | |||
1054 | 1056 | ||
1055 | /* | 1057 | /* |
1056 | * IO_CNTL_CSR | 1058 | * IO_CNTL_CSR |
1059 | * RF_PS: Set RF interface value to power save | ||
1057 | */ | 1060 | */ |
1058 | #define IO_CNTL_CSR 0x3498 | 1061 | #define IO_CNTL_CSR 0x3498 |
1062 | #define IO_CNTL_CSR_RF_PS FIELD32(0x00000004) | ||
1059 | 1063 | ||
1060 | /* | 1064 | /* |
1061 | * UART_INT_SOURCE_CSR | 1065 | * UART_INT_SOURCE_CSR |