|
@@ -74,8 +74,12 @@ static inline int mac_cb_type(struct sk_buff *skb)
|
|
#define IEEE802154_MAC_SCAN_PASSIVE 2
|
|
#define IEEE802154_MAC_SCAN_PASSIVE 2
|
|
#define IEEE802154_MAC_SCAN_ORPHAN 3
|
|
#define IEEE802154_MAC_SCAN_ORPHAN 3
|
|
|
|
|
|
|
|
+struct wpan_phy;
|
|
/*
|
|
/*
|
|
* This should be located at net_device->ml_priv
|
|
* This should be located at net_device->ml_priv
|
|
|
|
+ *
|
|
|
|
+ * get_phy should increment the reference counting on returned phy.
|
|
|
|
+ * Use wpan_wpy_put to put that reference.
|
|
*/
|
|
*/
|
|
struct ieee802154_mlme_ops {
|
|
struct ieee802154_mlme_ops {
|
|
int (*assoc_req)(struct net_device *dev,
|
|
int (*assoc_req)(struct net_device *dev,
|
|
@@ -94,6 +98,8 @@ struct ieee802154_mlme_ops {
|
|
int (*scan_req)(struct net_device *dev,
|
|
int (*scan_req)(struct net_device *dev,
|
|
u8 type, u32 channels, u8 page, u8 duration);
|
|
u8 type, u32 channels, u8 page, u8 duration);
|
|
|
|
|
|
|
|
+ struct wpan_phy *(*get_phy)(const struct net_device *dev);
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* FIXME: these should become the part of PIB/MIB interface.
|
|
* FIXME: these should become the part of PIB/MIB interface.
|
|
* However we still don't have IB interface of any kind
|
|
* However we still don't have IB interface of any kind
|