summaryrefslogtreecommitdiffstats
path: root/include/net/cfg802154.h
diff options
context:
space:
mode:
authorVarka Bhadram <varkabhadram@gmail.com>2015-06-24 05:36:35 -0400
committerMarcel Holtmann <marcel@holtmann.org>2015-07-23 11:10:49 -0400
commita6cb869b3b7c16fd7c3ee766dd9f9a4fdda7edf9 (patch)
treea62ccbcbd43f12ffd7025f897134fd37e3d7b0b3 /include/net/cfg802154.h
parentc4227c8a6246b30793bd7360113ddc7b66d526dc (diff)
cfg802154: add PM hooks
This patch help to implement suspend/resume in mac802154, these hooks will be run before the device is suspended and after it resumes. Signed-off-by: Varka Bhadram <varkab@cdac.in> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/cfg802154.h')
-rw-r--r--include/net/cfg802154.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h
index 290a9a69af07..382f94b59f2f 100644
--- a/include/net/cfg802154.h
+++ b/include/net/cfg802154.h
@@ -34,6 +34,8 @@ struct cfg802154_ops {
34 int type); 34 int type);
35 void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy, 35 void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy,
36 struct net_device *dev); 36 struct net_device *dev);
37 int (*suspend)(struct wpan_phy *wpan_phy);
38 int (*resume)(struct wpan_phy *wpan_phy);
37 int (*add_virtual_intf)(struct wpan_phy *wpan_phy, 39 int (*add_virtual_intf)(struct wpan_phy *wpan_phy,
38 const char *name, 40 const char *name,
39 unsigned char name_assign_type, 41 unsigned char name_assign_type,