diff options
| author | Kalle Valo <kalle.valo@iki.fi> | 2010-02-07 03:22:01 -0500 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2010-02-08 16:51:01 -0500 |
| commit | 349e6b7289f8a3d3d5d3b859e00b41f27d1211df (patch) | |
| tree | d80af4e7b9ece2b42e8093f44bfedd13d9653bd5 /include/net | |
| parent | 00a08eb62f790383bcc8ea309d4afb9ef346ef0b (diff) | |
mac80211: remove get_tx_stats() driver op
get_tx_stats() driver operation is not currently used anywhere in mac80211
and there are no plans to use it in the not-so-near future. So it can go
without anyone missing it.
Signed-off-by: Kalle Valo <kalle.valo@iki.fi>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/mac80211.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index a19fac35259a..414d774028ba 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
| @@ -117,19 +117,6 @@ struct ieee80211_tx_queue_params { | |||
| 117 | bool uapsd; | 117 | bool uapsd; |
| 118 | }; | 118 | }; |
| 119 | 119 | ||
| 120 | /** | ||
| 121 | * struct ieee80211_tx_queue_stats - transmit queue statistics | ||
| 122 | * | ||
| 123 | * @len: number of packets in queue | ||
| 124 | * @limit: queue length limit | ||
| 125 | * @count: number of frames sent | ||
| 126 | */ | ||
| 127 | struct ieee80211_tx_queue_stats { | ||
| 128 | unsigned int len; | ||
| 129 | unsigned int limit; | ||
| 130 | unsigned int count; | ||
| 131 | }; | ||
| 132 | |||
| 133 | struct ieee80211_low_level_stats { | 120 | struct ieee80211_low_level_stats { |
| 134 | unsigned int dot11ACKFailureCount; | 121 | unsigned int dot11ACKFailureCount; |
| 135 | unsigned int dot11RTSFailureCount; | 122 | unsigned int dot11RTSFailureCount; |
| @@ -1548,13 +1535,6 @@ enum ieee80211_ampdu_mlme_action { | |||
| 1548 | * Returns a negative error code on failure. | 1535 | * Returns a negative error code on failure. |
| 1549 | * The callback can sleep. | 1536 | * The callback can sleep. |
| 1550 | * | 1537 | * |
| 1551 | * @get_tx_stats: Get statistics of the current TX queue status. This is used | ||
| 1552 | * to get number of currently queued packets (queue length), maximum queue | ||
| 1553 | * size (limit), and total number of packets sent using each TX queue | ||
| 1554 | * (count). The 'stats' pointer points to an array that has hw->queues | ||
| 1555 | * items. | ||
| 1556 | * The callback must be atomic. | ||
| 1557 | * | ||
| 1558 | * @get_tsf: Get the current TSF timer value from firmware/hardware. Currently, | 1538 | * @get_tsf: Get the current TSF timer value from firmware/hardware. Currently, |
| 1559 | * this is only used for IBSS mode BSSID merging and debugging. Is not a | 1539 | * this is only used for IBSS mode BSSID merging and debugging. Is not a |
| 1560 | * required function. | 1540 | * required function. |
| @@ -1648,8 +1628,6 @@ struct ieee80211_ops { | |||
| 1648 | enum sta_notify_cmd, struct ieee80211_sta *sta); | 1628 | enum sta_notify_cmd, struct ieee80211_sta *sta); |
| 1649 | int (*conf_tx)(struct ieee80211_hw *hw, u16 queue, | 1629 | int (*conf_tx)(struct ieee80211_hw *hw, u16 queue, |
| 1650 | const struct ieee80211_tx_queue_params *params); | 1630 | const struct ieee80211_tx_queue_params *params); |
| 1651 | int (*get_tx_stats)(struct ieee80211_hw *hw, | ||
| 1652 | struct ieee80211_tx_queue_stats *stats); | ||
| 1653 | u64 (*get_tsf)(struct ieee80211_hw *hw); | 1631 | u64 (*get_tsf)(struct ieee80211_hw *hw); |
| 1654 | void (*set_tsf)(struct ieee80211_hw *hw, u64 tsf); | 1632 | void (*set_tsf)(struct ieee80211_hw *hw, u64 tsf); |
| 1655 | void (*reset_tsf)(struct ieee80211_hw *hw); | 1633 | void (*reset_tsf)(struct ieee80211_hw *hw); |
