summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2010-04-15 17:38:25 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:21 -0400
commitceb2644576bcb9fe7b79614512c1efe2bf3c307c (patch)
treedd67989e05ddd06e54391a07157ac58badb8c474 /drivers/net/wireless/ath/ath9k/hw.h
parent1adf02ffad449ea955e21393e05b0e45ef2c16a4 (diff)
downloadlwn-ceb2644576bcb9fe7b79614512c1efe2bf3c307c.tar.gz
lwn-ceb2644576bcb9fe7b79614512c1efe2bf3c307c.zip
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.h7
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 @@
#include "reg.h"
#include "phy.h"
#include "btcoex.h"
+#include "ar9003_mac.h"
#include "../regd.h"
#include "../debug.h"
@@ -135,6 +136,9 @@
#define TU_TO_USEC(_tu) ((_tu) << 10)
+#define ATH9K_HW_RX_HP_QDEPTH 16
+#define ATH9K_HW_RX_LP_QDEPTH 128
+
enum wireless_mode {
ATH9K_MODE_11A = 0,
ATH9K_MODE_11G,
@@ -192,6 +196,9 @@ struct ath9k_hw_capabilities {
u8 num_gpio_pins;
u8 num_antcfg_2ghz;
u8 num_antcfg_5ghz;
+ u8 rx_hp_qdepth;
+ u8 rx_lp_qdepth;
+ u8 rx_status_len;
};
struct ath9k_ops_config {