All of lore.kernel.org
 help / color / mirror / Atom feed
* question: /sys/class/net/*/wireless
@ 2007-03-03 11:18 Johannes Berg
  2007-03-03 11:27 ` Johannes Berg
  0 siblings, 1 reply; 9+ messages in thread
From: Johannes Berg @ 2007-03-03 11:18 UTC (permalink / raw)
  To: linux-wireless

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

Hi,

It just occurred to me that /sys/class/net/*/wireless/ completely
depends on wireless extensions. Since we're attempting to kill wireless
extensions and hopefully will succeed in doing that some time soon, it
is possible that people will be running with mac80211 drivers w/o
CONFIG_WIRELESS_EXT.

This leaves us in a sticky situation. People with CONFIG_WIRELESS_EXT
will have /sys/class/net/*/wireless/ directories, but people without
won't, and CONFIG_WIRELESS_EXT will not be necessary for a lot of
people.

Thus, I think we'll need to offer a /sys/class/net/*/wireless/ directory
for cfg80211-only systems as well, since that'd also be the only way to
tell if a device is wireless from sysfs. However, I'd much rather have
that dir called ieee80211 in accordance with what we're doing elsewhere.
But pre-802.11 equipment also uses wireless ext. Hmm :)

We could create ieee80211 and create a symlink to it.

Another thing we could do is simply deprecate the wireless directory
there, but then wireless-ext users wouldn't have a way to tell if a
netdev is wireless from sysfs.... Kinda feels like a "caught between a
rock and a hard place" type of situation to me right now but I'm sure
someone can come up with something perfect :P

johannes

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-03-21 14:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-03 11:18 question: /sys/class/net/*/wireless Johannes Berg
2007-03-03 11:27 ` Johannes Berg
2007-03-03 17:40   ` Jouni Malinen
2007-03-03 19:53     ` Johannes Berg
2007-03-04  0:21   ` Johannes Berg
2007-03-16 14:03     ` Jiri Benc
2007-03-16 17:07       ` Johannes Berg
2007-03-21 14:12         ` Jiri Benc
2007-03-21 14:16           ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.