summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wl18xx/acx.c
diff options
context:
space:
mode:
authorArik Nemtsov2012-05-18 06:46:40 +0200
committerLuciano Coelho2012-06-06 18:28:05 +0200
commita1c597f2b22cdc228de3c58784b00e80b9b53e03 (patch)
treeeac1d01f867fd3f8df77fae3b050dba94c95e5b9 /drivers/net/wireless/ti/wl18xx/acx.c
parentwlcore: stop queues on Tx flush (diff)
downloadkernel-qcow2-linux-a1c597f2b22cdc228de3c58784b00e80b9b53e03.tar.gz
kernel-qcow2-linux-a1c597f2b22cdc228de3c58784b00e80b9b53e03.tar.xz
kernel-qcow2-linux-a1c597f2b22cdc228de3c58784b00e80b9b53e03.zip
wlcore/wl12xx/wl18xx: implement op_set_key per HW arch
The 12xx set_key just calls the common wlcore_set_key function, in order to program the keys into the FW. The 18xx variant changes the spare block count when a GEM or TKIP key is set. Also modify the get_spare_blocks HW op for 18xx to return the correct numbers of spare blocks, according to what is currently set in FW. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/acx.c')
-rw-r--r--drivers/net/wireless/ti/wl18xx/acx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/acx.c b/drivers/net/wireless/ti/wl18xx/acx.c
index 3379db23a165..01ba40321435 100644
--- a/drivers/net/wireless/ti/wl18xx/acx.c
+++ b/drivers/net/wireless/ti/wl18xx/acx.c
@@ -32,6 +32,10 @@ int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap,
struct wl18xx_acx_host_config_bitmap *bitmap_conf;
int ret;
+ wl1271_debug(DEBUG_ACX, "acx cfg bitmap %d blk %d spare %d field %d",
+ host_cfg_bitmap, sdio_blk_size, extra_mem_blks,
+ len_field_size);
+
bitmap_conf = kzalloc(sizeof(*bitmap_conf), GFP_KERNEL);
if (!bitmap_conf) {
ret = -ENOMEM;