linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Wu <flamingice@sourmilk.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [RFC] cfg80211 API for channels/bitrates, mac80211 and driver conversion
Date: Mon, 7 Jan 2008 22:27:20 -0500	[thread overview]
Message-ID: <200801072227.27222.flamingice@sourmilk.net> (raw)
In-Reply-To: <1199484080.4172.173.camel@johannes.berg>

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

On Friday 04 January 2008 17:01:20 Johannes Berg wrote:
> > > + * @IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE:
> > > + *	Hardware is not capable of receiving frames with short preamble on
> > > + *	the 2.4 GHz band.
> >
> > Let's add it when we actually find hardware that needs it.
>
> I disagree. It's literally two lines of code (one defining it and one
> using it) and makes things more easy to discover when writing a driver.
>
Yeah but it's never ever going to get used. Bet you 10 us pesos on it. So 
what's the point? If you feel this makes mac80211 better fit the theory, 
well.. whatever..

> > > +	strcpy(name, "mac80211");
> > >
> > >  	return 0;
> > >  }
> >
> > It's simple, sure, but no. Let's not change userspace facing behavior if
> > we can. If you really need to, use "IEEE 802.11".
>
> It's pretty dumb to indicate the mode that way, but I changed it to just
> "IEEE 802.11" now.
>
I'm not even sure what the intention of this ioctl is suppose to be (verify 
presence of WE? there are WE implemented ioctls that can be used for that 
trick..) but it does indicate it's not for saying what the name of the driver 
is and I don't think driver subsystem names count either. 

Indicating mode this way is dumb for sure but it fits with the examples given 
for the ioctl. Doubt anyone is counting on that though since this ioctl has 
been abused already (eg. association status in ipw2200) so "IEEE 802.11" 
should be fine.

Thanks,
-Michael Wu

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

      parent reply	other threads:[~2008-01-08  3:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-23 22:15 [RFC] cfg80211 API for channels/bitrates, mac80211 and driver conversion Johannes Berg
2007-12-23 23:50 ` Michael Wu
2008-01-04 22:01   ` Johannes Berg
2008-01-07 23:27     ` Luis R. Rodriguez
2008-01-08 17:17       ` Johannes Berg
2008-01-08  3:27     ` Michael Wu [this message]

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=200801072227.27222.flamingice@sourmilk.net \
    --to=flamingice@sourmilk.net \
    --cc=johannes@sipsolutions.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).