Search Linux Wireless

Re: [PATCH 4/9] [cfg80211] add preliminary radar processing code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 1, 2011 at 11:32 PM, Bernhard Schmidt
<bernhard.schmidt@xxxxxxxxx> wrote:
> On Tuesday, March 01, 2011 22:58:56 Luis R. Rodriguez wrote:
>> On Mon, Feb 28, 2011 at 08:48:49AM -0800, Bernhard Schmidt wrote:
>> > --- /dev/null
>> > +++ b/net/wireless/radar.c
>> > @@ -0,0 +1,86 @@
>> > +/*
>> > + * Radar handling
>> > + *
>> > + * Copyright 2011 Bernhard Schmidt <bernhard.schmidt@xxxxxxxxx>
>> > + *
>> > + * This program is free software; you can redistribute it and/or modify
>> > + * it under the terms of the GNU General Public License version 2 as
>> > + * published by the Free Software Foundation.
>> > + */
>> > +
>> > +#include <linux/ieee80211.h>
>> > +#include <net/cfg80211.h>
>> > +#include "radar.h"
>> > +
>> > +static struct radar_parameters regdomain_params[] = {
>> > + Â { 60, 1800, 1000 }, Â Â /* FCC, correct? */
>> > + Â { 60, 1800, 1000 }, Â Â /* ETSI */
>> > + Â { 60, 1800, 1000 }, Â Â /* JP, correct? */
>> > +};
>>
>> If FCC or JP are not supported, I rather code not be present for it, or some
>> sort of flag for now to allow the radar enablement thingy to fail all the
>> time. In fact if FCC / JP regions are not supported you should not even
>> be able to operate in the mode of operation desired if your target channel
>> is a DFS one. If you do enter into an allowed non-DFS channel for that region
>> and you later try to switch to a DFS chanel then we'd hit another failure.
>
> That just means that I hadn't yet looked up the correct values, those
> are not available on the wiki either.

Either way, disable them if not supported yet.

  Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux