diff options
author | Guy Eilam <guy@wizery.com> | 2011-08-16 18:49:12 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-08-25 09:10:41 +0200 |
commit | e9eb8cbe77139470651c858b8b7a3d20d332cf47 (patch) | |
tree | 28b83a2cf3365db633608c3baf32c9a7741a862a /drivers/net/wireless/wl12xx/tx.h | |
parent | wl12xx: fix tx_queue_count spurious increment (diff) | |
download | linux-e9eb8cbe77139470651c858b8b7a3d20d332cf47.tar.xz linux-e9eb8cbe77139470651c858b8b7a3d20d332cf47.zip |
wl12xx: use 2 spare TX blocks for GEM cipher
Add tx_spare_blocks member to the wl1271 struct
for more generic configuration of the amount
of spare TX blocks that should be used.
The default value is 1.
In case GEM cipher is used by the STA, we need
2 spare TX blocks instead of just 1.
Signed-off-by: Guy Eilam <guy@wizery.com>
Acked-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/tx.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/tx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/tx.h b/drivers/net/wireless/wl12xx/tx.h index 7da35c0e411b..6519be4b2c38 100644 --- a/drivers/net/wireless/wl12xx/tx.h +++ b/drivers/net/wireless/wl12xx/tx.h @@ -25,6 +25,7 @@ #ifndef __TX_H__ #define __TX_H__ +#define TX_HW_BLOCK_SPARE_DEFAULT 1 #define TX_HW_BLOCK_SIZE 252 #define TX_HW_MGMT_PKT_LIFETIME_TU 2000 |