wlcore/wl12xx/wl18xx: handle spare blocks spacial cases per arch
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / net / wireless / ti / wlcore / wlcore.h
index 16c28bb..5274ace 100644 (file)
@@ -75,6 +75,7 @@ struct wlcore_ops {
        int (*debugfs_init)(struct wl1271 *wl, struct dentry *rootdir);
        int (*handle_static_data)(struct wl1271 *wl,
                                  struct wl1271_static_data *static_data);
+       int (*get_spare_blocks)(struct wl1271 *wl, bool is_gem);
 };
 
 enum wlcore_partitions {
@@ -354,10 +355,6 @@ struct wl1271 {
        /* number of RX descriptors the HW supports. */
        u32 num_rx_desc;
 
-       /* spare Tx blocks for normal/GEM operating modes */
-       u32 normal_tx_spare;
-       u32 gem_tx_spare;
-
        /* translate HW Tx rates to standard rate-indices */
        const u8 **band_rate_to_idx;