diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-02 09:40:18 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-07-02 09:40:18 -0400 |
commit | cb831b537d50d21f6afb5dffbde4cf6523627461 (patch) | |
tree | 7d9b48f51264335f8338d786cbe211bda320a92e /include | |
parent | ba0afa2f22e1e3f332e45460f99328025d44564e (diff) |
mac80211: remove tx_frags driver callback
The implementation of tx_frags is buggy due to
not handling queue stop, and there's no driver
implementing it so remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/mac80211.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index b5da094468f1..dc2a97af95e7 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1896,19 +1896,6 @@ enum ieee80211_rate_control_changed { | |||
1896 | * The low-level driver should send the frame out based on | 1896 | * The low-level driver should send the frame out based on |
1897 | * configuration in the TX control data. This handler should, | 1897 | * configuration in the TX control data. This handler should, |
1898 | * preferably, never fail and stop queues appropriately. | 1898 | * preferably, never fail and stop queues appropriately. |
1899 | * This must be implemented if @tx_frags is not. | ||
1900 | * Must be atomic. | ||
1901 | * | ||
1902 | * @tx_frags: Called to transmit multiple fragments of a single MSDU. | ||
1903 | * This handler must consume all fragments, sending out some of | ||
1904 | * them only is useless and it can't ask for some of them to be | ||
1905 | * queued again. If the frame is not fragmented the queue has a | ||
1906 | * single SKB only. To avoid issues with the networking stack | ||
1907 | * when TX status is reported the frames should be removed from | ||
1908 | * the skb queue. | ||
1909 | * If this is used, the tx_info @vif and @sta pointers will be | ||
1910 | * invalid -- you must not use them in that case. | ||
1911 | * This must be implemented if @tx isn't. | ||
1912 | * Must be atomic. | 1899 | * Must be atomic. |
1913 | * | 1900 | * |
1914 | * @start: Called before the first netdevice attached to the hardware | 1901 | * @start: Called before the first netdevice attached to the hardware |
@@ -2260,8 +2247,6 @@ enum ieee80211_rate_control_changed { | |||
2260 | */ | 2247 | */ |
2261 | struct ieee80211_ops { | 2248 | struct ieee80211_ops { |
2262 | void (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); | 2249 | void (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); |
2263 | void (*tx_frags)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, | ||
2264 | struct ieee80211_sta *sta, struct sk_buff_head *skbs); | ||
2265 | int (*start)(struct ieee80211_hw *hw); | 2250 | int (*start)(struct ieee80211_hw *hw); |
2266 | void (*stop)(struct ieee80211_hw *hw); | 2251 | void (*stop)(struct ieee80211_hw *hw); |
2267 | #ifdef CONFIG_PM | 2252 | #ifdef CONFIG_PM |