]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/wireless/ti/wlcore/wlcore.h
wlcore/wl18xx: add hw op for setting Tx HW checksum
[mirror_ubuntu-bionic-kernel.git] / drivers / net / wireless / ti / wlcore / wlcore.h
index 39f9fadfebd90d7d7687314610b73ca2bf1df4fe..c062d304ab0d760c6f377875f9fa968e7760ad6e 100644 (file)
@@ -61,6 +61,9 @@ struct wlcore_ops {
                                    struct wl12xx_vif *wlvif);
        s8 (*get_pg_ver)(struct wl1271 *wl);
        void (*get_mac)(struct wl1271 *wl);
+       void (*set_tx_desc_csum)(struct wl1271 *wl,
+                                struct wl1271_tx_hw_descr *desc,
+                                struct sk_buff *skb);
 };
 
 enum wlcore_partitions {
@@ -243,6 +246,9 @@ struct wl1271 {
        struct wl1271_scan scan;
        struct delayed_work scan_complete_work;
 
+       /* Connection loss work */
+       struct delayed_work connection_loss_work;
+
        bool sched_scanning;
 
        /* The current band */
@@ -349,6 +355,9 @@ struct wl1271 {
 
        /* size of the private FW status data */
        size_t fw_status_priv_len;
+
+       /* RX Data filter rule state - enabled/disabled */
+       bool rx_filter_enabled[WL1271_MAX_RX_FILTERS];
 };
 
 int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev);