summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl12xx/wl12xx.h
diff options
context:
space:
mode:
authorIgal Chernobelsky <igalc@ti.com>2012-07-31 15:48:46 +0400
committerLuciano Coelho <luca@coelho.fi>2012-09-27 13:13:51 +0400
commitf1c434df6727ebb3068b67b06eae945a80f07ad3 (patch)
tree2e1b08b862859bdae002d65ff327f1f94ac68903 /drivers/net/wireless/ti/wl12xx/wl12xx.h
parentf83e54134a6d38437ddee0fda96692a6b0c33b0e (diff)
downloadlinux-f1c434df6727ebb3068b67b06eae945a80f07ad3.tar.xz
wl18xx/wl12xx: defines for Tx/Rx descriptors num
Use defines for number of Tx/Rx descriptors. Signed-off-by: Igal Chernobelsky <igalc@ti.com> Signed-off-by: Luciano Coelho <luca@coelho.fi>
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx/wl12xx.h')
-rw-r--r--drivers/net/wireless/ti/wl12xx/wl12xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/wl12xx.h b/drivers/net/wireless/ti/wl12xx/wl12xx.h
index 26990fb4edea..c8ff7ec9fd41 100644
--- a/drivers/net/wireless/ti/wl12xx/wl12xx.h
+++ b/drivers/net/wireless/ti/wl12xx/wl12xx.h
@@ -38,6 +38,9 @@
#define WL128X_SUBTYPE_VER 2
#define WL128X_MINOR_VER 115
+#define WL12XX_NUM_TX_DESCRIPTORS 16
+#define WL12XX_NUM_RX_DESCRIPTORS 8
+
struct wl127x_rx_mem_pool_addr {
u32 addr;
u32 addr_extra;