ieee802154: add support for creation/removal of logic interfaces
[firefly-linux-kernel-4.4.55.git] / include / net / wpan-phy.h
index a65e98509fbcebcd3ae7e7abacc79684705dcc44..85926231c07a519f8a14e4c7d1668fb1f80391e2 100644 (file)
@@ -41,6 +41,10 @@ struct wpan_phy {
        struct device dev;
        int idx;
 
+       struct net_device *(*add_iface)(struct wpan_phy *phy,
+                       const char *name);
+       void (*del_iface)(struct wpan_phy *phy, struct net_device *dev);
+
        char priv[0] __attribute__((__aligned__(NETDEV_ALIGN)));
 };