diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-04-15 17:38:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:43:21 -0400 |
commit | ceb2644576bcb9fe7b79614512c1efe2bf3c307c (patch) | |
tree | dd67989e05ddd06e54391a07157ac58badb8c474 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 1adf02ffad449ea955e21393e05b0e45ef2c16a4 (diff) |
ath9k_hw: Fill few hw cap for edma
HP & LP queue depth and rx status length.
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index d89af6ef8b26..6bd87bf17ad4 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "reg.h" | 28 | #include "reg.h" |
29 | #include "phy.h" | 29 | #include "phy.h" |
30 | #include "btcoex.h" | 30 | #include "btcoex.h" |
31 | #include "ar9003_mac.h" | ||
31 | 32 | ||
32 | #include "../regd.h" | 33 | #include "../regd.h" |
33 | #include "../debug.h" | 34 | #include "../debug.h" |
@@ -135,6 +136,9 @@ | |||
135 | 136 | ||
136 | #define TU_TO_USEC(_tu) ((_tu) << 10) | 137 | #define TU_TO_USEC(_tu) ((_tu) << 10) |
137 | 138 | ||
139 | #define ATH9K_HW_RX_HP_QDEPTH 16 | ||
140 | #define ATH9K_HW_RX_LP_QDEPTH 128 | ||
141 | |||
138 | enum wireless_mode { | 142 | enum wireless_mode { |
139 | ATH9K_MODE_11A = 0, | 143 | ATH9K_MODE_11A = 0, |
140 | ATH9K_MODE_11G, | 144 | ATH9K_MODE_11G, |
@@ -192,6 +196,9 @@ struct ath9k_hw_capabilities { | |||
192 | u8 num_gpio_pins; | 196 | u8 num_gpio_pins; |
193 | u8 num_antcfg_2ghz; | 197 | u8 num_antcfg_2ghz; |
194 | u8 num_antcfg_5ghz; | 198 | u8 num_antcfg_5ghz; |
199 | u8 rx_hp_qdepth; | ||
200 | u8 rx_lp_qdepth; | ||
201 | u8 rx_status_len; | ||
195 | }; | 202 | }; |
196 | 203 | ||
197 | struct ath9k_ops_config { | 204 | struct ath9k_ops_config { |