linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: Patrick McHardy <kaber@trash.net>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	linux-wireless@vger.kernel.org
Subject: Re: RFC: mac80211: add ethtool support
Date: Wed, 25 Nov 2009 11:43:13 -0500	[thread overview]
Message-ID: <20091125164313.GE7800@tuxdriver.com> (raw)
In-Reply-To: <4B0D5E8D.2070408@trash.net>

On Wed, Nov 25, 2009 at 05:42:53PM +0100, Patrick McHardy wrote:
> Johannes Berg wrote:
> > On Wed, 2009-11-25 at 17:34 +0100, Patrick McHardy wrote:
> >> Johannes Berg wrote:
> >>> On Wed, 2009-11-25 at 17:18 +0100, Patrick McHardy wrote:
> >>>>     mac80211: add ethtool support
> >>>>     
> >>>>     Add ethtool support and add a drvname field to struct ieee80211_ops, which is
> >>>>     used for ethtool driver information. This is useful with multiple different
> >>>>     wireless cards to find out which device is using which driver.
> >>>>     
> >>> I thought we _had_ ethtool support via cfg80211?!
> >> Mhh good point :) For some reason it didn't show any information, but
> >> that might have been a mistake on my part. I'll give it another shot :)
> > 
> > It probably won't show the driver name because we haven't pushed that
> > through in any way?
> 
> Its actually showing:
> 
> # ethtool -i wlan0
> Cannot get driver information: Operation not supported
> 
> which shouldn't happen, since the callback is defined. I'll
> have a closer look at this.

What kernel are you using?

[linville-t400.local]:> ethtool -i wlan0
driver: iwlagn
version: 2.6.32-rc8-wl
firmware-version: 8.24.2.12
bus-info: 0000:03:00.0

-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

  reply	other threads:[~2009-11-25 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25 16:18 RFC: mac80211: add ethtool support Patrick McHardy
2009-11-25 16:31 ` Johannes Berg
2009-11-25 16:34   ` Patrick McHardy
2009-11-25 16:36     ` Johannes Berg
2009-11-25 16:42       ` Patrick McHardy
2009-11-25 16:43         ` John W. Linville [this message]
2009-11-25 16:47           ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091125164313.GE7800@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=johannes@sipsolutions.net \
    --cc=kaber@trash.net \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).