cfg802154.h (7fe9a3882bb37195c41ab125a0f2852398d2646a) | cfg802154.h (ba2a9506a76450568cbc0d51626d94cf8528c0c7) |
---|---|
1/* 2 * Copyright (C) 2007, 2008, 2009 Siemens AG 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 6 * as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 11 unchanged lines hidden (view full) --- 20#include <linux/ieee802154.h> 21#include <linux/netdevice.h> 22#include <linux/mutex.h> 23#include <linux/bug.h> 24 25#include <net/nl802154.h> 26 27struct wpan_phy; | 1/* 2 * Copyright (C) 2007, 2008, 2009 Siemens AG 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 6 * as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 11 unchanged lines hidden (view full) --- 20#include <linux/ieee802154.h> 21#include <linux/netdevice.h> 22#include <linux/mutex.h> 23#include <linux/bug.h> 24 25#include <net/nl802154.h> 26 27struct wpan_phy; |
28struct wpan_phy_cca; |
|
28 29struct cfg802154_ops { 30 struct net_device * (*add_virtual_intf_deprecated)(struct wpan_phy *wpan_phy, 31 const char *name, 32 int type); 33 void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy, 34 struct net_device *dev); 35 int (*add_virtual_intf)(struct wpan_phy *wpan_phy, 36 const char *name, 37 enum nl802154_iftype type, 38 __le64 extended_addr); 39 int (*del_virtual_intf)(struct wpan_phy *wpan_phy, 40 struct wpan_dev *wpan_dev); 41 int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel); | 29 30struct cfg802154_ops { 31 struct net_device * (*add_virtual_intf_deprecated)(struct wpan_phy *wpan_phy, 32 const char *name, 33 int type); 34 void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy, 35 struct net_device *dev); 36 int (*add_virtual_intf)(struct wpan_phy *wpan_phy, 37 const char *name, 38 enum nl802154_iftype type, 39 __le64 extended_addr); 40 int (*del_virtual_intf)(struct wpan_phy *wpan_phy, 41 struct wpan_dev *wpan_dev); 42 int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel); |
43 int (*set_cca_mode)(struct wpan_phy *wpan_phy, 44 const struct wpan_phy_cca *cca); |
|
42 int (*set_pan_id)(struct wpan_phy *wpan_phy, 43 struct wpan_dev *wpan_dev, __le16 pan_id); 44 int (*set_short_addr)(struct wpan_phy *wpan_phy, 45 struct wpan_dev *wpan_dev, __le16 short_addr); 46 int (*set_backoff_exponent)(struct wpan_phy *wpan_phy, 47 struct wpan_dev *wpan_dev, u8 min_be, 48 u8 max_be); 49 int (*set_max_csma_backoffs)(struct wpan_phy *wpan_phy, --- 117 unchanged lines hidden --- | 45 int (*set_pan_id)(struct wpan_phy *wpan_phy, 46 struct wpan_dev *wpan_dev, __le16 pan_id); 47 int (*set_short_addr)(struct wpan_phy *wpan_phy, 48 struct wpan_dev *wpan_dev, __le16 short_addr); 49 int (*set_backoff_exponent)(struct wpan_phy *wpan_phy, 50 struct wpan_dev *wpan_dev, u8 min_be, 51 u8 max_be); 52 int (*set_max_csma_backoffs)(struct wpan_phy *wpan_phy, --- 117 unchanged lines hidden --- |