diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/cfg80211.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index c7da88fb15b7..f19c3e163663 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -472,6 +472,9 @@ struct ieee80211_channel; | |||
472 | * wireless extensions but this is subject to reevaluation as soon as this | 472 | * wireless extensions but this is subject to reevaluation as soon as this |
473 | * code is used more widely and we have a first user without wext. | 473 | * code is used more widely and we have a first user without wext. |
474 | * | 474 | * |
475 | * @suspend: wiphy device needs to be suspended | ||
476 | * @resume: wiphy device needs to be resumed | ||
477 | * | ||
475 | * @add_virtual_intf: create a new virtual interface with the given name, | 478 | * @add_virtual_intf: create a new virtual interface with the given name, |
476 | * must set the struct wireless_dev's iftype. | 479 | * must set the struct wireless_dev's iftype. |
477 | * | 480 | * |
@@ -525,6 +528,9 @@ struct ieee80211_channel; | |||
525 | * @set_mgmt_extra_ie: Set extra IE data for management frames | 528 | * @set_mgmt_extra_ie: Set extra IE data for management frames |
526 | */ | 529 | */ |
527 | struct cfg80211_ops { | 530 | struct cfg80211_ops { |
531 | int (*suspend)(struct wiphy *wiphy); | ||
532 | int (*resume)(struct wiphy *wiphy); | ||
533 | |||
528 | int (*add_virtual_intf)(struct wiphy *wiphy, char *name, | 534 | int (*add_virtual_intf)(struct wiphy *wiphy, char *name, |
529 | enum nl80211_iftype type, u32 *flags, | 535 | enum nl80211_iftype type, u32 *flags, |
530 | struct vif_params *params); | 536 | struct vif_params *params); |