Search Linux Wireless

Re: [PATCH V2] ieee80211: Output frequency rather than channel in scan results

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

 



On Sat, 2007-04-21 at 15:42 +0200, Joerg Mayer wrote:
> On Fri, Apr 20, 2007 at 11:25:40PM -0500, Larry Finger wrote:
> > +	if (network->channel < 15)
> > +		iwe.u.freq.m = 2407 + 5 * network->channel;
> > +	else
> > +		iwe.u.freq.m = 5000 + 5 * network->channel;
> > +	if (network->channel == 14)
> > +		iwe.u.freq.m = 2484;    /* special case for Japan */
> 
> As you are taking japanese channels into account: How about handling the
>  >= 4.9 GHz case for Japan as well?
> See 802.11j-2004.pdf 17.3.8.3.2, 17.3.8.3.3 and table J.3 for details.

How about just adding some sort of table in other common code and using
that. Then you can submit a patch for that table :P

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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