]> git.karo-electronics.de Git - linux-beck.git/commit
wl12xx: use 2 spare TX blocks for GEM cipher
authorGuy Eilam <guy@wizery.com>
Tue, 16 Aug 2011 16:49:12 +0000 (19:49 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 25 Aug 2011 07:10:41 +0000 (10:10 +0300)
commite9eb8cbe77139470651c858b8b7a3d20d332cf47
tree28b83a2cf3365db633608c3baf32c9a7741a862a
parent04b4d69c89593d907d81a4aa33e4e42a632fe436
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>
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/tx.c
drivers/net/wireless/wl12xx/tx.h
drivers/net/wireless/wl12xx/wl12xx.h