From: Arend van Spriel <arend@broadcom.com>
To: Theodore Ts'o <tytso@mit.edu>, Jiri Kosina <jkosina@suse.cz>,
"Grumbach, Emmanuel" <emmanuel.grumbach@intel.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Borislav Petkov <bp@alien8.de>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"egrumbach@gmail.com" <egrumbach@gmail.com>,
"peter@hurleysoftware.com" <peter@hurleysoftware.com>,
"ilw@linux.intel.com" <ilw@linux.intel.com>,
"Berg, Johannes" <johannes.berg@intel.com>,
Larry Finger <Larry.Finger@lwfinger.net>
Subject: Re: [PATCH] Revert "cfg80211: make WEXT compatibility unselectable"
Date: Wed, 31 Dec 2014 23:30:11 +0100 [thread overview]
Message-ID: <54A478F3.4090602@broadcom.com> (raw)
In-Reply-To: <20141231214421.GA29273@thunk.org>
On 12/31/14 22:44, Theodore Ts'o wrote:
> On Wed, Dec 31, 2014 at 09:32:13PM +0100, Arend van Spriel wrote:
>>
>> Agree. I can't even recall using "ip" ever. iw help system does provide
>> command specific help. The phy keyword is both a command and a selector key,
>> which I realize is confusing to the user, eg. 'iw help info' does provide
>> help for the 'info' subcommand.
>
> Yeah, the confusing part is that "ip" tends to use "verb object"
> scheme, which is consistent with the Cisco IOS command set it was
> trying to emulate. So for ip, you do something like
>
> ip link info eth0
>
> Where as for "iw" it's almost exactly backwards, i.e.:
>
> iw wlan0 info
>
> It's actually rather unfortunate that there is no consistency between
> many of these tools, for example:
>
> ethtool --show-features eth0
>
> If we were going to create a new interface, wouldn't be nice if we
> could have some kind of consistency? Sigh; oh well, water under the
> bridge at this point.
And on that water there are different ships with different captains ;-)
>> Thanks. If there are still drivers, upstream or out-of-tree, providing only
>> WEXT API this will not work unless iwconfig/iwlist can distinguish those
>> from cfg80211-based drivers (which is possible) and fallback to WEXT ioctl
>> syscalls. Just not sure if it is worth the effort. As you stated below, it
>> does not seem "evil" to retain WEXT if that is providing users what they
>> need.
>
> Is it really that much effort? Unless there is some license
> incompatibility nonsense (i.e., GPLv2 vs GPLv3), the code's already
> there in the wireless-tools source. It would just be a matter of
> trying the new ioctls first, and then falling back to the WEXT ones if
> needed, right?
I don't think it is much effort. I think the nl80211 netlink api is not
an ioctl, but yeah it seems trivial. But if WEXT needs to stay for
people using WEXT-only drivers, it may be fine to keep cfg80211 wext
compatibility in place.
Regards,
Arend
> Cheers,
>
> - Ted
next prev parent reply other threads:[~2014-12-31 22:30 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-30 13:33 iwlwifi-driver card doesn't work with 3.19-rc2+ Jiri Kosina
2014-12-30 14:23 ` Emmanuel Grumbach
2014-12-30 14:34 ` Peter Hurley
2014-12-30 14:38 ` Grumbach, Emmanuel
2014-12-30 15:21 ` Jiri Kosina
2014-12-30 20:28 ` Grumbach, Emmanuel
2014-12-30 20:41 ` Jiri Kosina
2014-12-30 21:23 ` Borislav Petkov
2014-12-30 22:35 ` Larry Finger
2014-12-30 22:42 ` Jiri Kosina
2014-12-30 22:52 ` [PATCH] Revert "cfg80211: make WEXT compatibility unselectable" Jiri Kosina
2014-12-31 7:44 ` Grumbach, Emmanuel
2014-12-31 11:09 ` Arend van Spriel
2014-12-31 11:10 ` Grumbach, Emmanuel
2014-12-31 11:45 ` Arend van Spriel
2014-12-31 14:07 ` Jiri Kosina
2014-12-31 15:02 ` Arend van Spriel
2014-12-31 17:31 ` Theodore Ts'o
2014-12-31 17:44 ` Linus Torvalds
2014-12-31 20:32 ` Arend van Spriel
2014-12-31 21:44 ` Theodore Ts'o
2014-12-31 21:57 ` Linus Torvalds
2014-12-31 22:19 ` Theodore Ts'o
2014-12-31 22:41 ` Arend van Spriel
2015-01-01 0:22 ` David Lang
2015-01-01 11:32 ` Richard Weinberger
2015-01-01 19:44 ` Lennart Sorensen
2015-01-01 20:14 ` Linus Torvalds
2015-01-02 4:04 ` Lennart Sorensen
2015-01-05 7:26 ` Michal Kubecek
2014-12-31 22:30 ` Arend van Spriel [this message]
2014-12-31 15:14 ` Andreas Hartmann
2014-12-31 19:48 ` Arend van Spriel
2015-01-01 10:56 ` Andreas Hartmann
2015-01-01 12:25 ` Arend van Spriel
2014-12-31 13:10 ` Jiri Kosina
2014-12-31 13:26 ` Grumbach, Emmanuel
2014-12-31 13:49 ` Peter Hurley
2014-12-31 14:40 ` Julian Calaby
2014-12-31 14:46 ` Borislav Petkov
2014-12-31 14:56 ` Julian Calaby
2014-12-31 15:03 ` Jiri Kosina
2014-12-31 15:11 ` Borislav Petkov
2015-01-02 5:11 ` Pavel Machek
2014-12-31 16:43 ` Paul Bolle
2014-12-31 7:50 ` iwlwifi-driver card doesn't work with 3.19-rc2+ Grumbach, Emmanuel
2014-12-31 8:05 ` Sujith Manoharan
2014-12-31 13:54 ` Borislav Petkov
2014-12-30 15:03 ` Jiri Kosina
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=54A478F3.4090602@broadcom.com \
--to=arend@broadcom.com \
--cc=Larry.Finger@lwfinger.net \
--cc=bp@alien8.de \
--cc=egrumbach@gmail.com \
--cc=emmanuel.grumbach@intel.com \
--cc=ilw@linux.intel.com \
--cc=jkosina@suse.cz \
--cc=johannes.berg@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=peter@hurleysoftware.com \
--cc=torvalds@linux-foundation.org \
--cc=tytso@mit.edu \
/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).