diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 8f97548b6d80..f91fc331369b 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1537,6 +1537,12 @@ enum ieee80211_ampdu_mlme_action { | |||
1537 | * negative error code (which will be seen in userspace.) | 1537 | * negative error code (which will be seen in userspace.) |
1538 | * Must be implemented and can sleep. | 1538 | * Must be implemented and can sleep. |
1539 | * | 1539 | * |
1540 | * @change_interface: Called when a netdevice changes type. This callback | ||
1541 | * is optional, but only if it is supported can interface types be | ||
1542 | * switched while the interface is UP. The callback may sleep. | ||
1543 | * Note that while an interface is being switched, it will not be | ||
1544 | * found by the interface iteration callbacks. | ||
1545 | * | ||
1540 | * @remove_interface: Notifies a driver that an interface is going down. | 1546 | * @remove_interface: Notifies a driver that an interface is going down. |
1541 | * The @stop callback is called after this if it is the last interface | 1547 | * The @stop callback is called after this if it is the last interface |
1542 | * and no monitor interfaces are present. | 1548 | * and no monitor interfaces are present. |
@@ -1693,6 +1699,9 @@ struct ieee80211_ops { | |||
1693 | void (*stop)(struct ieee80211_hw *hw); | 1699 | void (*stop)(struct ieee80211_hw *hw); |
1694 | int (*add_interface)(struct ieee80211_hw *hw, | 1700 | int (*add_interface)(struct ieee80211_hw *hw, |
1695 | struct ieee80211_vif *vif); | 1701 | struct ieee80211_vif *vif); |
1702 | int (*change_interface)(struct ieee80211_hw *hw, | ||
1703 | struct ieee80211_vif *vif, | ||
1704 | enum nl80211_iftype new_type); | ||
1696 | void (*remove_interface)(struct ieee80211_hw *hw, | 1705 | void (*remove_interface)(struct ieee80211_hw *hw, |
1697 | struct ieee80211_vif *vif); | 1706 | struct ieee80211_vif *vif); |
1698 | int (*config)(struct ieee80211_hw *hw, u32 changed); | 1707 | int (*config)(struct ieee80211_hw *hw, u32 changed); |