usb: gadget: NCM: Add transmit multi-frame.
[sfrench/cifs-2.6.git] / drivers / usb / gadget / u_ether.h
index 0f0290acea7e979eb2e5e0880eb1e4fc5ae73d5f..334b389479165b4bf3391ee39e086f18a777ca9e 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/if_ether.h>
 #include <linux/usb/composite.h>
 #include <linux/usb/cdc.h>
+#include <linux/netdevice.h>
 
 #include "gadget_chips.h"
 
@@ -74,6 +75,7 @@ struct gether {
        bool                            is_fixed;
        u32                             fixed_out_len;
        u32                             fixed_in_len;
+       bool                            supports_multi_frame;
        struct sk_buff                  *(*wrap)(struct gether *port,
                                                struct sk_buff *skb);
        int                             (*unwrap)(struct gether *port,