diff options
author | Ivo van Doorn <IvDoorn@gmail.com> | 2011-04-18 09:34:41 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-19 15:40:04 -0400 |
commit | e7dee444263a103a9a2ac5fd5d0b5e9dc177d57c (patch) | |
tree | 928178a52ac28e79263b6c61838ffd47a365a089 /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | 8d0a2dcfb6f965781cde6d9dfbd4540ab22a0eb9 (diff) |
rt2x00: Implement get_ringparam callback function
With the get_ringparam callback function we can export ring parameters
to ethtool through the mac80211 interface.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index dcdc50d27ea0..f1d8f55d3ca8 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -1254,6 +1254,8 @@ int rt2x00mac_conf_tx(struct ieee80211_hw *hw, u16 queue, | |||
1254 | const struct ieee80211_tx_queue_params *params); | 1254 | const struct ieee80211_tx_queue_params *params); |
1255 | void rt2x00mac_rfkill_poll(struct ieee80211_hw *hw); | 1255 | void rt2x00mac_rfkill_poll(struct ieee80211_hw *hw); |
1256 | void rt2x00mac_flush(struct ieee80211_hw *hw, bool drop); | 1256 | void rt2x00mac_flush(struct ieee80211_hw *hw, bool drop); |
1257 | void rt2x00mac_get_ringparam(struct ieee80211_hw *hw, | ||
1258 | u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max); | ||
1257 | 1259 | ||
1258 | /* | 1260 | /* |
1259 | * Driver allocation handlers. | 1261 | * Driver allocation handlers. |