Initialize the Tx spare block counts for all operating modes in the 18xx
card.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
#include "conf.h"
#include "wl18xx.h"
+#define WL18XX_TX_HW_BLOCK_SPARE 1
+#define WL18XX_TX_HW_GEM_BLOCK_SPARE 2
+
static struct wl18xx_conf wl18xx_default_conf = {
.phy = {
.phy_standalone = 0x00,
wl->ptable = wl18xx_ptable;
wl->rtable = wl18xx_rtable;
wl->num_tx_desc = 32;
+ wl->normal_tx_spare = WL18XX_TX_HW_BLOCK_SPARE;
+ wl->gem_tx_spare = WL18XX_TX_HW_GEM_BLOCK_SPARE;
return wlcore_probe(wl, pdev);
}