diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-05-18 07:46:40 +0300 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-06 19:28:05 +0300 |
commit | a1c597f2b22cdc228de3c58784b00e80b9b53e03 (patch) | |
tree | eac1d01f867fd3f8df77fae3b050dba94c95e5b9 /drivers/net/wireless/ti/wl18xx/wl18xx.h | |
parent | 2c38849f4a247673c8203a569444042e32d82410 (diff) |
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/wl18xx.h')
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/wl18xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/wl18xx.h b/drivers/net/wireless/ti/wl18xx/wl18xx.h index 34e202bc2bb3..b9c43097d2f6 100644 --- a/drivers/net/wireless/ti/wl18xx/wl18xx.h +++ b/drivers/net/wireless/ti/wl18xx/wl18xx.h @@ -36,6 +36,9 @@ struct wl18xx_priv { u8 last_fw_rls_idx; u8 board_type; + + /* number of VIFs requiring extra spare mem-blocks */ + int extra_spare_vif_count; }; #define WL18XX_FW_MAX_TX_STATUS_DESC 33 |