[PATCH 1/3] wireless: add support for ethtool_ops->{get,set}_ringparam

Johannes Berg johannes at sipsolutions.net
Wed Mar 9 11:46:51 EST 2011


On Wed, 2011-03-09 at 11:21 -0500, John W. Linville wrote:
> Signed-off-by: John W. Linville <linville at tuxdriver.com>
> ---
>  include/net/cfg80211.h |    4 ++++
>  net/wireless/ethtool.c |   33 +++++++++++++++++++++++++++++++++
>  2 files changed, 37 insertions(+), 0 deletions(-)
> 
> diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
> index 1ac5786..25f546f 100644
> --- a/include/net/cfg80211.h
> +++ b/include/net/cfg80211.h
> @@ -1364,6 +1364,10 @@ struct cfg80211_ops {
>  
>  	int	(*set_antenna)(struct wiphy *wiphy, u32 tx_ant, u32 rx_ant);
>  	int	(*get_antenna)(struct wiphy *wiphy, u32 *tx_ant, u32 *rx_ant);
> +
> +	int	(*set_ringparam)(struct wiphy *wiphy, u32 tx, u32 rx);
> +	void	(*get_ringparam)(struct wiphy *wiphy,
> +				 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max);

Can you add docs here and in mac80211 please?

johannes




More information about the Bloat-devel mailing list