All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch to allow specification of interface name prefix
@ 2007-02-25  4:06 Alex Davis
  2007-02-25  4:30 ` Pavel Roskin
  0 siblings, 1 reply; 19+ messages in thread
From: Alex Davis @ 2007-02-25  4:06 UTC (permalink / raw)
  To: larry.finger; +Cc: linux-wireless, bcm43xx-dev

This patch will allow you to specify the interface name prefix of wireless devices.

On my machine, the wireless devices under the bcm43xx driver are named 'ethx'; I 
would really rather have them called 'wlanx', like bcm43xx-d80211 does.

I have this as an option to bcm43xx in modprobe.conf.

Usage: modprobe bcm43xx ifprefix=wlan
Your wireless devices will now be called 'wlan0', 'wlan1', etc.

This patch is against Larry's combined-2.6.20.1.patch

Signed-off by: Alex Davis <alex14641 at yahoo dot com>

--- drivers/net/wireless/bcm43xx/bcm43xx_main.c	2007-02-24 22:22:48.000000000 -0500
+++ ../linux-2.6.20.1-lwf/drivers/net/wireless/bcm43xx/bcm43xx_main.c	2007-02-24
22:44:46.000000000 -0500
@@ -103,6 +103,9 @@
 # define modparam_fwpostfix  ""
 #endif /* CONFIG_BCM43XX_DEBUG*/
 
+static char modparam_ifprefix[IFNAMSIZ - 4];
+module_param_string(ifprefix, modparam_ifprefix, IFNAMSIZ - 4, 0444);
+MODULE_PARM_DESC(ifprefix, "Prefix for interface names (e.g; wlan).");
 
 /* If you want to debug with just a single device, enable this,
  * where the string is the pci device ID (as given by the kernel's
@@ -4123,6 +4126,10 @@
 		goto out;
 	}
 	/* initialize the net_device struct */
+	if ( strlen(modparam_ifprefix) > 0 ) {
+		strcpy(net_dev->name, modparam_ifprefix);
+		strcat(net_dev->name, "%d");
+	}
 	SET_MODULE_OWNER(net_dev);
 	SET_NETDEV_DEV(net_dev, &pdev->dev);
 

I code, therefore I am


 
____________________________________________________________________________________
Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.

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

* Re: Patch to allow specification of interface name prefix
  2007-02-25  4:06 Patch to allow specification of interface name prefix Alex Davis
@ 2007-02-25  4:30 ` Pavel Roskin
  2007-02-25  4:39   ` Larry Finger
  0 siblings, 1 reply; 19+ messages in thread
From: Pavel Roskin @ 2007-02-25  4:30 UTC (permalink / raw)
  To: Alex Davis; +Cc: larry.finger, linux-wireless, bcm43xx-dev

Quoting Alex Davis <alex14641@yahoo.com>:

> This patch will allow you to specify the interface name prefix of wireless
> devices.
>
> On my machine, the wireless devices under the bcm43xx driver are named
> 'ethx'; I
> would really rather have them called 'wlanx', like bcm43xx-d80211 does.

You can use ifrename from wireless tools.  Use the option that checks the
ethtool information.

Jean has just released Wireless Tools 29-pre12, which can read symlinks in
sysfs.  That would allow renaming d80211 based network devices by checking the
"driver" symlinks in sysfs.  I asked Jean to do that with bcm43xx_d80211 in
mind.

It's not that I'm against your patch.  I'm rather ambivalent.  But I think using
ifrename could reduce the need in kernel support for interface renaming.

--
Regards,
Pavel Roskin

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

* Re: Patch to allow specification of interface name prefix
  2007-02-25  4:30 ` Pavel Roskin
@ 2007-02-25  4:39   ` Larry Finger
  2007-02-26 23:02     ` Stephen Hemminger
  0 siblings, 1 reply; 19+ messages in thread
From: Larry Finger @ 2007-02-25  4:39 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: Alex Davis, linux-wireless, bcm43xx-dev

Pavel Roskin wrote:
> Quoting Alex Davis <alex14641@yahoo.com>:
> 
>> This patch will allow you to specify the interface name prefix of wireless
>> devices.
>>
>> On my machine, the wireless devices under the bcm43xx driver are named
>> 'ethx'; I
>> would really rather have them called 'wlanx', like bcm43xx-d80211 does.
> 
> You can use ifrename from wireless tools.  Use the option that checks the
> ethtool information.
> 
> Jean has just released Wireless Tools 29-pre12, which can read symlinks in
> sysfs.  That would allow renaming d80211 based network devices by checking the
> "driver" symlinks in sysfs.  I asked Jean to do that with bcm43xx_d80211 in
> mind.
> 
> It's not that I'm against your patch.  I'm rather ambivalent.  But I think using
> ifrename could reduce the need in kernel support for interface renaming.

NACK.

On my system (openSUSE 10.2), one sets the name in /etc/udev/rules.d/30-net_persistent_names.rule. I
feel that interface renaming is handled perfectly well in userland, and kernel support is not needed.

Larry

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

* Re: Patch to allow specification of interface name prefix
  2007-02-25  4:39   ` Larry Finger
@ 2007-02-26 23:02     ` Stephen Hemminger
  2007-02-27  1:33       ` John W. Linville
  2007-02-27 10:16       ` Jiri Benc
  0 siblings, 2 replies; 19+ messages in thread
From: Stephen Hemminger @ 2007-02-26 23:02 UTC (permalink / raw)
  To: Larry Finger; +Cc: Pavel Roskin, Alex Davis, linux-wireless, bcm43xx-dev

On Sat, 24 Feb 2007 22:39:19 -0600
Larry Finger <larry.finger@lwfinger.net> wrote:

> Pavel Roskin wrote:
> > Quoting Alex Davis <alex14641@yahoo.com>:
> > 
> >> This patch will allow you to specify the interface name prefix of wireless
> >> devices.
> >>
> >> On my machine, the wireless devices under the bcm43xx driver are named
> >> 'ethx'; I
> >> would really rather have them called 'wlanx', like bcm43xx-d80211 does.
> > 
> > You can use ifrename from wireless tools.  Use the option that checks the
> > ethtool information.
> > 
> > Jean has just released Wireless Tools 29-pre12, which can read symlinks in
> > sysfs.  That would allow renaming d80211 based network devices by checking the
> > "driver" symlinks in sysfs.  I asked Jean to do that with bcm43xx_d80211 in
> > mind.
> > 
> > It's not that I'm against your patch.  I'm rather ambivalent.  But I think using
> > ifrename could reduce the need in kernel support for interface renaming.
> 
> NACK.
> 
> On my system (openSUSE 10.2), one sets the name in /etc/udev/rules.d/30-net_persistent_names.rule. I
> feel that interface renaming is handled perfectly well in userland, and kernel support is not needed.
> 

This was hashed out on netdev 2+ years ago and decided that both ethernet
and wireless devices should show up as 'eth%d'. For inclusion d80211 needs to conform
to existing mainline kernel practice. If this means breaking the expectation of older
out of tree wireless support (ie madwifi), sorry.


-- 
Stephen Hemminger <shemminger@linux-foundation.org>

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

* Re: Patch to allow specification of interface name prefix
  2007-02-26 23:02     ` Stephen Hemminger
@ 2007-02-27  1:33       ` John W. Linville
  2007-02-27 10:16       ` Jiri Benc
  1 sibling, 0 replies; 19+ messages in thread
From: John W. Linville @ 2007-02-27  1:33 UTC (permalink / raw)
  To: Stephen Hemminger
  Cc: Larry Finger, Pavel Roskin, Alex Davis, linux-wireless, bcm43xx-dev

On Mon, Feb 26, 2007 at 03:02:41PM -0800, Stephen Hemminger wrote:

> This was hashed out on netdev 2+ years ago and decided that both ethernet
> and wireless devices should show up as 'eth%d'. For inclusion d80211 needs to conform
> to existing mainline kernel practice. If this means breaking the expectation of older
> out of tree wireless support (ie madwifi), sorry.

Any chance you could provide a pointer to that discussion in the archives?

John
-- 
John W. Linville
linville@tuxdriver.com

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

* Re: Patch to allow specification of interface name prefix
  2007-02-26 23:02     ` Stephen Hemminger
  2007-02-27  1:33       ` John W. Linville
@ 2007-02-27 10:16       ` Jiri Benc
  2007-02-27 17:41         ` Stephen Hemminger
  2007-02-27 18:55         ` Luis R. Rodriguez
  1 sibling, 2 replies; 19+ messages in thread
From: Jiri Benc @ 2007-02-27 10:16 UTC (permalink / raw)
  To: Stephen Hemminger
  Cc: Larry Finger, Pavel Roskin, Alex Davis, linux-wireless, John W. Linville

[removed bcm43xx-dev list]

On Mon, 26 Feb 2007 15:02:41 -0800, Stephen Hemminger wrote:
> This was hashed out on netdev 2+ years ago and decided that both ethernet
> and wireless devices should show up as 'eth%d'. For inclusion d80211 needs to conform
> to existing mainline kernel practice. If this means breaking the expectation of older
> out of tree wireless support (ie madwifi), sorry.

Decided? I remember just you and hch saying "all existing wireless drivers
do that, so everybody should". When pointing out that just two drivers do
that (I think ipw and prism) and everybody else use something different
(wlan%d most often) there was no reply. "ipw and one other driver do that
so everybody should" doesn't sound like a strong argument to me.

Wireless devices need different handling (setting SSID, etc.) than Ethernet
ones. I think it's not so bad idea to show that difference by using a
different default name. Everybody else who is in some kind different from
Ethernet use different name than eth%d. I think we should conform to
existing mainline practice by using something different than eth%d too.

 Jiri

-- 
Jiri Benc
SUSE Labs

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

* Re: Patch to allow specification of interface name prefix
  2007-02-27 10:16       ` Jiri Benc
@ 2007-02-27 17:41         ` Stephen Hemminger
  2007-02-27 18:21           ` Ben Greear
  2007-02-27 18:55         ` Luis R. Rodriguez
  1 sibling, 1 reply; 19+ messages in thread
From: Stephen Hemminger @ 2007-02-27 17:41 UTC (permalink / raw)
  To: Jiri Benc
  Cc: Larry Finger, Pavel Roskin, Alex Davis, linux-wireless, John W. Linville

On Tue, 27 Feb 2007 11:16:44 +0100
Jiri Benc <jbenc@suse.cz> wrote:

> [removed bcm43xx-dev list]
> 
> On Mon, 26 Feb 2007 15:02:41 -0800, Stephen Hemminger wrote:
> > This was hashed out on netdev 2+ years ago and decided that both ethernet
> > and wireless devices should show up as 'eth%d'. For inclusion d80211 needs to conform
> > to existing mainline kernel practice. If this means breaking the expectation of older
> > out of tree wireless support (ie madwifi), sorry.
> 
> Decided? I remember just you and hch saying "all existing wireless drivers
> do that, so everybody should". When pointing out that just two drivers do
> that (I think ipw and prism) and everybody else use something different
> (wlan%d most often) there was no reply. "ipw and one other driver do that
> so everybody should" doesn't sound like a strong argument to me.

Don't put too much stock in what I said. Really don't care about such
a trivial matter as naming.  Jeff and Christoph seem to care, I don't

> Wireless devices need different handling (setting SSID, etc.) than Ethernet
> ones. I think it's not so bad idea to show that difference by using a
> different default name. Everybody else who is in some kind different from
> Ethernet use different name than eth%d. I think we should conform to
> existing mainline practice by using something different than eth%d too.

As long as the tools work it shouldn't matter. There are some tools like
irqbalance that seem to have in bred assumptions.

A bigger issue for me would be getting NAPI to work right for wireless.



-- 
Stephen Hemminger <shemminger@linux-foundation.org>

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

* Re: Patch to allow specification of interface name prefix
  2007-02-27 17:41         ` Stephen Hemminger
@ 2007-02-27 18:21           ` Ben Greear
  2007-02-27 18:52             ` Pavel Roskin
  0 siblings, 1 reply; 19+ messages in thread
From: Ben Greear @ 2007-02-27 18:21 UTC (permalink / raw)
  To: Stephen Hemminger
  Cc: Jiri Benc, Larry Finger, Pavel Roskin, Alex Davis,
	linux-wireless, John W. Linville

Stephen Hemminger wrote:
> On Tue, 27 Feb 2007 11:16:44 +0100
> Jiri Benc <jbenc@suse.cz> wrote:
> 
>> [removed bcm43xx-dev list]
>>
>> On Mon, 26 Feb 2007 15:02:41 -0800, Stephen Hemminger wrote:
>>> This was hashed out on netdev 2+ years ago and decided that both ethernet
>>> and wireless devices should show up as 'eth%d'. For inclusion d80211 needs to conform
>>> to existing mainline kernel practice. If this means breaking the expectation of older
>>> out of tree wireless support (ie madwifi), sorry.
>> Decided? I remember just you and hch saying "all existing wireless drivers
>> do that, so everybody should". When pointing out that just two drivers do
>> that (I think ipw and prism) and everybody else use something different
>> (wlan%d most often) there was no reply. "ipw and one other driver do that
>> so everybody should" doesn't sound like a strong argument to me.
> 
> Don't put too much stock in what I said. Really don't care about such
> a trivial matter as naming.  Jeff and Christoph seem to care, I don't

Regardless of the name, it would be nice to have some quick way to determine
if a network device is wireless or not.  This could be an IOCTL, something
in /proc/ or similar.  Even if you name them to be wlanX by default, folks
can rename them, so applications that care about the type of the network
device can't key off of names reliably...

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


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

* Re: Patch to allow specification of interface name prefix
  2007-02-27 18:21           ` Ben Greear
@ 2007-02-27 18:52             ` Pavel Roskin
  2007-02-27 19:15               ` Johannes Berg
  0 siblings, 1 reply; 19+ messages in thread
From: Pavel Roskin @ 2007-02-27 18:52 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-wireless

On Tue, 2007-02-27 at 10:21 -0800, Ben Greear wrote:

> Regardless of the name, it would be nice to have some quick way to
> determine
> if a network device is wireless or not.  This could be an IOCTL, something
> in /proc/ or similar.  Even if you name them to be wlanX by default, folks
> can rename them, so applications that care about the type of the network
> device can't key off of names reliably...

iwconfig can do it using ioctl.  Shell scripts can do it using
"wireless" directory in sysfs:

for i in /sys/class/net/*; do
  if test -d $i/wireless; then
    echo `basename $i`
  fi
done

-- 
Regards,
Pavel Roskin


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

* Re: Patch to allow specification of interface name prefix
  2007-02-27 10:16       ` Jiri Benc
  2007-02-27 17:41         ` Stephen Hemminger
@ 2007-02-27 18:55         ` Luis R. Rodriguez
  2007-02-28  1:25           ` John W. Linville
  1 sibling, 1 reply; 19+ messages in thread
From: Luis R. Rodriguez @ 2007-02-27 18:55 UTC (permalink / raw)
  To: Jiri Benc
  Cc: Stephen Hemminger, Larry Finger, Pavel Roskin, Alex Davis,
	linux-wireless, John W. Linville

On 2/27/07, Jiri Benc <jbenc@suse.cz> wrote:
> [removed bcm43xx-dev list]
>
> On Mon, 26 Feb 2007 15:02:41 -0800, Stephen Hemminger wrote:
> > This was hashed out on netdev 2+ years ago and decided that both ethernet
> > and wireless devices should show up as 'eth%d'. For inclusion d80211 needs to conform
> > to existing mainline kernel practice. If this means breaking the expectation of older
> > out of tree wireless support (ie madwifi), sorry.
>
> Decided? I remember just you and hch saying "all existing wireless drivers
> do that, so everybody should". When pointing out that just two drivers do
> that (I think ipw and prism) and everybody else use something different
> (wlan%d most often) there was no reply. "ipw and one other driver do that
> so everybody should" doesn't sound like a strong argument to me.
>
> Wireless devices need different handling (setting SSID, etc.) than Ethernet
> ones. I think it's not so bad idea to show that difference by using a
> different default name. Everybody else who is in some kind different from
> Ethernet use different name than eth%d. I think we should conform to
> existing mainline practice by using something different than eth%d too.

FWIW I remember the discussion too and it wasn't something very
settling. One main reason to keep eth%d convention was the fact that
the wireless net devices at that time (FullMAC) handled and managed
raw ethernet frames and not wireless frames and as such its relfected
with eth%d convention. This was the main reasoning for prism54 to
adopt eth%d convention. With SoftMAC (mac80211) things are a bit
different -- wmaster handles 802.11 frames and wlan%d handles 802.3
frames. The name does not matter much but it does imply at least that
I think. As such perhaps mac80211 should change to use eth%d by
default.

  Luis

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

* Re: Patch to allow specification of interface name prefix
  2007-02-27 18:52             ` Pavel Roskin
@ 2007-02-27 19:15               ` Johannes Berg
  0 siblings, 0 replies; 19+ messages in thread
From: Johannes Berg @ 2007-02-27 19:15 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: Ben Greear, linux-wireless

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

On Tue, 2007-02-27 at 13:52 -0500, Pavel Roskin wrote:

> Shell scripts can do it using
> "wireless" directory in sysfs:

No, that's wrong. The 'wireless' directory there is bound to disappear
since it's created by d80211. The sysfs interface is still subject to
discussion.

I think (but also subject to discussion) the way we'll want to do is
take note of the 'wiphy' link. But to do that globally cfg80211 will
need to be taught to create that link instead of mac80211 which requires
knowledge about netdevs in cfg80211 and we still haven't quite figured
that out.

For legacy devices not using cfg80211, the only way will be to invoke
legacy wext calls on them.

johannes

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

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

* Re: Patch to allow specification of interface name prefix
  2007-02-27 18:55         ` Luis R. Rodriguez
@ 2007-02-28  1:25           ` John W. Linville
  2007-02-28  8:51             ` Johannes Berg
  2007-02-28 16:44             ` Jouni Malinen
  0 siblings, 2 replies; 19+ messages in thread
From: John W. Linville @ 2007-02-28  1:25 UTC (permalink / raw)
  To: Luis R. Rodriguez
  Cc: Jiri Benc, Stephen Hemminger, Larry Finger, Pavel Roskin,
	Alex Davis, linux-wireless

On Tue, Feb 27, 2007 at 01:55:07PM -0500, Luis R. Rodriguez wrote:

> adopt eth%d convention. With SoftMAC (mac80211) things are a bit
> different -- wmaster handles 802.11 frames and wlan%d handles 802.3
> frames. The name does not matter much but it does imply at least that
> I think. As such perhaps mac80211 should change to use eth%d by
> default.

Hopefully wmaster will fall off the user's radar soon.  Regarding the
current wlanX interfaces, most modes will be using ethernet framing,
so maybe ethX is fine.  What about monitor mode?

Doesn't airo use "wifiX" for its monitor interfaces?  For monitor
interfaces, should we adopt that convention as well?

John
-- 
John W. Linville
linville@tuxdriver.com

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

* Re: Patch to allow specification of interface name prefix
  2007-02-28  1:25           ` John W. Linville
@ 2007-02-28  8:51             ` Johannes Berg
  2007-02-28 16:44             ` Jouni Malinen
  1 sibling, 0 replies; 19+ messages in thread
From: Johannes Berg @ 2007-02-28  8:51 UTC (permalink / raw)
  To: John W. Linville
  Cc: Luis R. Rodriguez, Jiri Benc, Stephen Hemminger, Larry Finger,
	Pavel Roskin, Alex Davis, linux-wireless

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

On Tue, 2007-02-27 at 20:25 -0500, John W. Linville wrote:
> What about monitor mode?
> 
> Doesn't airo use "wifiX" for its monitor interfaces?  For monitor
> interfaces, should we adopt that convention as well?

We don't need a convention for monitor mode. Either the user sets an
existing interface to monitor mode (we don't touch the name) or the user
creates a new monitor interface (they get to choose the name up front)

johannes

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

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

* Re: Patch to allow specification of interface name prefix
  2007-02-28  1:25           ` John W. Linville
  2007-02-28  8:51             ` Johannes Berg
@ 2007-02-28 16:44             ` Jouni Malinen
  2007-02-28 16:50               ` Johannes Berg
  2007-02-28 18:35               ` John W. Linville
  1 sibling, 2 replies; 19+ messages in thread
From: Jouni Malinen @ 2007-02-28 16:44 UTC (permalink / raw)
  To: John W. Linville
  Cc: Luis R. Rodriguez, Jiri Benc, Stephen Hemminger, Larry Finger,
	Pavel Roskin, Alex Davis, linux-wireless

On Tue, Feb 27, 2007 at 08:25:00PM -0500, John W. Linville wrote:

> Hopefully wmaster will fall off the user's radar soon.  Regarding the
> current wlanX interfaces, most modes will be using ethernet framing,
> so maybe ethX is fine.

Why would we need to change anything now? What's wrong with wlan#?

-- 
Jouni Malinen                                            PGP id EFC895FA

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

* Re: Patch to allow specification of interface name prefix
  2007-02-28 16:44             ` Jouni Malinen
@ 2007-02-28 16:50               ` Johannes Berg
  2007-02-28 16:54                 ` Luis R. Rodriguez
  2007-02-28 16:55                 ` Jouni Malinen
  2007-02-28 18:35               ` John W. Linville
  1 sibling, 2 replies; 19+ messages in thread
From: Johannes Berg @ 2007-02-28 16:50 UTC (permalink / raw)
  To: Jouni Malinen
  Cc: John W. Linville, Luis R. Rodriguez, Jiri Benc,
	Stephen Hemminger, Larry Finger, Pavel Roskin, Alex Davis,
	linux-wireless

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

On Wed, 2007-02-28 at 08:44 -0800, Jouni Malinen wrote:

> What's wrong with wlan#?

Some people are anal about changing user-visible properties when one
driver replaces another.

johannes

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

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

* Re: Patch to allow specification of interface name prefix
  2007-02-28 16:50               ` Johannes Berg
@ 2007-02-28 16:54                 ` Luis R. Rodriguez
  2007-02-28 16:55                 ` Jouni Malinen
  1 sibling, 0 replies; 19+ messages in thread
From: Luis R. Rodriguez @ 2007-02-28 16:54 UTC (permalink / raw)
  To: Johannes Berg
  Cc: Jouni Malinen, John W. Linville, Jiri Benc, Stephen Hemminger,
	Larry Finger, Pavel Roskin, Alex Davis, linux-wireless

On 2/28/07, Johannes Berg <johannes@sipsolutions.net> wrote:
> On Wed, 2007-02-28 at 08:44 -0800, Jouni Malinen wrote:
>
> > What's wrong with wlan#?
>
> Some people are anal about changing user-visible properties when one
> driver replaces another.

Nothing is wrong with it, that's perfectly fine. This is just a matter
of adopting a default convention for all wireless devices and sticking
to it. Old drivers used eth%d as the drivers mangled ethernet frames
and not wireless frames. With mac80211 wmaster handles wireless frames
directly but wlan%d handles ethernet frames. If we care more about
announcing a device is a wireless device is WLAN then lets go with
wlan%d, if we care more about implying what type of frames are being
passed to the device then eth%d seems more appropriate.

  Luis

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

* Re: Patch to allow specification of interface name prefix
  2007-02-28 16:50               ` Johannes Berg
  2007-02-28 16:54                 ` Luis R. Rodriguez
@ 2007-02-28 16:55                 ` Jouni Malinen
  1 sibling, 0 replies; 19+ messages in thread
From: Jouni Malinen @ 2007-02-28 16:55 UTC (permalink / raw)
  To: Johannes Berg
  Cc: John W. Linville, Luis R. Rodriguez, Jiri Benc,
	Stephen Hemminger, Larry Finger, Pavel Roskin, Alex Davis,
	linux-wireless

On Wed, Feb 28, 2007 at 05:50:52PM +0100, Johannes Berg wrote:
> On Wed, 2007-02-28 at 08:44 -0800, Jouni Malinen wrote:
> > What's wrong with wlan#?
> 
> Some people are anal about changing user-visible properties when one
> driver replaces another.

So? Some drivers in the current mainline kernel are using wlan#.

-- 
Jouni Malinen                                            PGP id EFC895FA

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

* Re: Patch to allow specification of interface name prefix
  2007-02-28 16:44             ` Jouni Malinen
  2007-02-28 16:50               ` Johannes Berg
@ 2007-02-28 18:35               ` John W. Linville
  2007-02-28 19:21                 ` Jouni Malinen
  1 sibling, 1 reply; 19+ messages in thread
From: John W. Linville @ 2007-02-28 18:35 UTC (permalink / raw)
  To: Jouni Malinen
  Cc: Luis R. Rodriguez, Jiri Benc, Stephen Hemminger, Larry Finger,
	Pavel Roskin, Alex Davis, linux-wireless

On Wed, Feb 28, 2007 at 08:44:37AM -0800, Jouni Malinen wrote:
> On Tue, Feb 27, 2007 at 08:25:00PM -0500, John W. Linville wrote:
> 
> > Hopefully wmaster will fall off the user's radar soon.  Regarding the
> > current wlanX interfaces, most modes will be using ethernet framing,
> > so maybe ethX is fine.
> 
> Why would we need to change anything now? What's wrong with wlan#?

See the earlier parts of the thread... :-)

-- 
John W. Linville
linville@tuxdriver.com

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

* Re: Patch to allow specification of interface name prefix
  2007-02-28 18:35               ` John W. Linville
@ 2007-02-28 19:21                 ` Jouni Malinen
  0 siblings, 0 replies; 19+ messages in thread
From: Jouni Malinen @ 2007-02-28 19:21 UTC (permalink / raw)
  To: John W. Linville
  Cc: Luis R. Rodriguez, Jiri Benc, Stephen Hemminger, Larry Finger,
	Pavel Roskin, Alex Davis, linux-wireless

On Wed, Feb 28, 2007 at 01:35:35PM -0500, John W. Linville wrote:
> On Wed, Feb 28, 2007 at 08:44:37AM -0800, Jouni Malinen wrote:
> > Why would we need to change anything now? What's wrong with wlan#?
> 
> See the earlier parts of the thread... :-)

I've seen a somewhat vague comment about some sort of decision on this
front, but no one seems to be able to point to any level of details on
what was agreed on and if yes, when and by whom. I have seen number of
discussions on the topic of what the interfaces should be named, but
none of those seem to be going anywhere and I have not seen any
consensus on this topic. As such, the best thing to do seems to be not
to do anything, i.e., not rename wlan# to anything else. If someone
claims that d80211 is changing the existing behavior, I would just like
to point out that wlan# is already used in the current mainline kernel
and that argument does not sound reasonable.

-- 
Jouni Malinen                                            PGP id EFC895FA

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

end of thread, other threads:[~2007-02-28 19:22 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-25  4:06 Patch to allow specification of interface name prefix Alex Davis
2007-02-25  4:30 ` Pavel Roskin
2007-02-25  4:39   ` Larry Finger
2007-02-26 23:02     ` Stephen Hemminger
2007-02-27  1:33       ` John W. Linville
2007-02-27 10:16       ` Jiri Benc
2007-02-27 17:41         ` Stephen Hemminger
2007-02-27 18:21           ` Ben Greear
2007-02-27 18:52             ` Pavel Roskin
2007-02-27 19:15               ` Johannes Berg
2007-02-27 18:55         ` Luis R. Rodriguez
2007-02-28  1:25           ` John W. Linville
2007-02-28  8:51             ` Johannes Berg
2007-02-28 16:44             ` Jouni Malinen
2007-02-28 16:50               ` Johannes Berg
2007-02-28 16:54                 ` Luis R. Rodriguez
2007-02-28 16:55                 ` Jouni Malinen
2007-02-28 18:35               ` John W. Linville
2007-02-28 19:21                 ` Jouni Malinen

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.