summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_tx.h
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-02-22 08:38:39 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-03-09 15:03:04 -0500
commit5c9417f1656b0f415f4be5a7cd7195ecadd7dd1a (patch)
treec512af2adfa5994cc024ff537630b74adff99521 /drivers/net/wireless/wl12xx/wl1271_tx.h
parentac5e1e39c1eeaaff7e6f03bf7cf7a444b42fbc23 (diff)
downloadblackbird-op-linux-5c9417f1656b0f415f4be5a7cd7195ecadd7dd1a.tar.gz
blackbird-op-linux-5c9417f1656b0f415f4be5a7cd7195ecadd7dd1a.zip
wl1271: Clean up firmware block allocation calculation
This patch simplifies the required block count calculation. Though it introduces a division operator, it greatly simplifies the formula. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_tx.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_tx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_tx.h b/drivers/net/wireless/wl12xx/wl1271_tx.h
index ca92bd811292..8b9f6b4f5652 100644
--- a/drivers/net/wireless/wl12xx/wl1271_tx.h
+++ b/drivers/net/wireless/wl12xx/wl1271_tx.h
@@ -26,7 +26,7 @@
#define __WL1271_TX_H__
#define TX_HW_BLOCK_SPARE 2
-#define TX_HW_BLOCK_SHIFT_DIV 8
+#define TX_HW_BLOCK_SIZE 252
#define TX_HW_MGMT_PKT_LIFETIME_TU 2000
/* The chipset reference driver states, that the "aid" value 1
OpenPOWER on IntegriCloud