diff options
Diffstat (limited to 'include/net/cfg802154.h')
-rw-r--r-- | include/net/cfg802154.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h index e5570e011116..369515231302 100644 --- a/include/net/cfg802154.h +++ b/include/net/cfg802154.h | |||
@@ -42,6 +42,14 @@ struct cfg802154_ops { | |||
42 | struct wpan_phy { | 42 | struct wpan_phy { |
43 | struct mutex pib_lock; | 43 | struct mutex pib_lock; |
44 | 44 | ||
45 | /* If multiple wpan_phys are registered and you're handed e.g. | ||
46 | * a regular netdev with assigned ieee802154_ptr, you won't | ||
47 | * know whether it points to a wpan_phy your driver has registered | ||
48 | * or not. Assign this to something global to your driver to | ||
49 | * help determine whether you own this wpan_phy or not. | ||
50 | */ | ||
51 | const void *privid; | ||
52 | |||
45 | /* | 53 | /* |
46 | * This is a PIB according to 802.15.4-2011. | 54 | * This is a PIB according to 802.15.4-2011. |
47 | * We do not provide timing-related variables, as they | 55 | * We do not provide timing-related variables, as they |