diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 2c6f976831b5..a593bedcfeda 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1575,6 +1575,20 @@ void ieee80211_unregister_hw(struct ieee80211_hw *hw); | |||
1575 | */ | 1575 | */ |
1576 | void ieee80211_free_hw(struct ieee80211_hw *hw); | 1576 | void ieee80211_free_hw(struct ieee80211_hw *hw); |
1577 | 1577 | ||
1578 | /** | ||
1579 | * ieee80211_restart_hw - restart hardware completely | ||
1580 | * | ||
1581 | * Call this function when the hardware was restarted for some reason | ||
1582 | * (hardware error, ...) and the driver is unable to restore its state | ||
1583 | * by itself. mac80211 assumes that at this point the driver/hardware | ||
1584 | * is completely uninitialised and stopped, it starts the process by | ||
1585 | * calling the ->start() operation. The driver will need to reset all | ||
1586 | * internal state that it has prior to calling this function. | ||
1587 | * | ||
1588 | * @hw: the hardware to restart | ||
1589 | */ | ||
1590 | void ieee80211_restart_hw(struct ieee80211_hw *hw); | ||
1591 | |||
1578 | /* trick to avoid symbol clashes with the ieee80211 subsystem */ | 1592 | /* trick to avoid symbol clashes with the ieee80211 subsystem */ |
1579 | void __ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb, | 1593 | void __ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb, |
1580 | struct ieee80211_rx_status *status); | 1594 | struct ieee80211_rx_status *status); |