All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Farina <sidhayn@gmail.com>
To: Jouni Malinen <j@w1.fi>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	Michael Renzmann <mrenzmann@madwifi-project.org>,
	wireless <linux-wireless@vger.kernel.org>
Subject: Re: [Fwd: please don't regress ath5k.h]
Date: Mon, 24 Nov 2008 13:39:40 -0500	[thread overview]
Message-ID: <492AF4EC.4060705@gmail.com> (raw)
In-Reply-To: <20081124182943.GA9790@jm.kir.nu>

Jouni Malinen wrote:
> On Mon, Nov 24, 2008 at 10:29:52AM -0500, Richard Farina wrote:
>
>   
>> I actually don't have a problem with removing chan_debug, I was merely  
>> requesting that the size hack it enables not be removed.
>>
>> More specifically in base.h I believe the code I specifically require is:
>>
>> #if CHAN_DEBUG
>> #define ATH_CHAN_MAX    (26+26+26+200+200)
>> #else
>> #define ATH_CHAN_MAX    (14+14+14+252+20)
>> #endif
>>
>>
>> When removing chan_debug just please leave the higher max.
>>     
>
> I would actually prefer to reduce this number _way_ down to something
> reasonable in the upstream kernel. ath5k should not really register more
> than channels 1-14 in 2.4 GHz and 5 GHz channels that are really used
> (i.e., only every fourth and only at ISM bands). The maximum number
> would be somewhere closer to 40 than 500..
>
> If you have a license to use other frequencies, you can take care of
> that with your own private patches, but the upstream kernel should not
> do that. Channels in 2.3 GHz or 2.5 GHz or many of the 5 GHz areas that
> are currently registered do not really belong here in the upstream
> kernel no matter what the hardware might be capable of doing.
>
>   
Your response to my request seems a bit flawed in my eyes.  Drivers are 
supposed to run the hardware, we have crda to handle limiting the device 
back to to what is legal in your area.  I'm sure there are places where 
it is legal to use 2192MHz and even if not, look at the driver, it has a 
max of 2732MHz set in the driver (for the .11b/g radio), clearly the 
person who wrote that agrees that drivers should support the hardware.

Honestly if you want to argue the legality I purposely posted an RFC for 
that, this change (and this email thread) is to stop a regression that 
would cause the hardware to no longer be fully and properly supported.

Yes, I can maintain my own personal patches to all of the drivers in the 
kernel (as a matter of fact I likely do) but this kind of thing belongs 
in the kernel, we are discussing hardware support, nothing more.  
Limiting the driver to enforce some random regulatory domain is 
pointless and against kernel policy as reg domain enforcement is 
supposed to be handled by crda or oldreg.

Thanks,
Rick

  reply	other threads:[~2008-11-24 18:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-24  2:42 [Fwd: please don't regress ath5k.h] Richard Farina
2008-11-24  5:44 ` Michael Renzmann
2008-11-24  6:16   ` Johannes Berg
2008-11-24 15:29     ` Richard Farina
2008-11-24 18:29       ` Jouni Malinen
2008-11-24 18:39         ` Richard Farina [this message]
2008-11-24 21:35           ` Luis R. Rodriguez
2008-11-24 22:21             ` Richard Farina
2008-11-24 23:01               ` Luis R. Rodriguez
2008-11-24 20:25       ` Nick Kossifidis
2008-11-24 20:51         ` Richard Farina
2008-11-24 20:52         ` Nick Kossifidis

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=492AF4EC.4060705@gmail.com \
    --to=sidhayn@gmail.com \
    --cc=j@w1.fi \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mrenzmann@madwifi-project.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 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.