linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Andy Green <andy@warmcat.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mac80211: move PHY things to debugfs
Date: Thu, 01 Mar 2007 20:04:26 +0100	[thread overview]
Message-ID: <1172775866.3381.7.camel@johannes.berg> (raw)
In-Reply-To: <45E72174.9060104@warmcat.com>

[-- Attachment #1: Type: text/plain, Size: 695 bytes --]

On Thu, 2007-03-01 at 18:54 +0000, Andy Green wrote:

> Gah I was using /sys/class/ieee80211/phy<n>/device/net:<ifname> to 
> discover which physical device owns which interfaces... if there isn't a 
> better/official way from userspace can this maybe stay in /sys?

That's already gone anyway in recent kernels anyway and the net: stuff
is broken currently.

When Greg fixes sysfs, the real way would be to follow the symlink
in /sys/class/net/ieee80211/ which links to (for
example) /sys/devices/pci0001:10/0001:10:12.0/ssb06:01/phy6, then go
back up one level and enumerate all net: objects in it.

Or, if you start from a netdev, you can see the phy80211 symlink.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

  reply	other threads:[~2007-03-01 19:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-01 18:34 [PATCH] mac80211: move PHY things to debugfs Johannes Berg
2007-03-01 18:54 ` Andy Green
2007-03-01 19:04   ` Johannes Berg [this message]
2007-03-01 19:07     ` Johannes Berg
2007-03-02  8:24       ` Andy Green
2007-03-02 10:16         ` Johannes Berg
2007-03-02 10:45           ` Andy Green
2007-03-02 10:57             ` Johannes Berg
2007-03-01 23:40 ` Johannes Berg

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=1172775866.3381.7.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=andy@warmcat.com \
    --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).