Return-path: Received: from mail-wi0-f170.google.com ([209.85.212.170]:64483 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757618Ab3FFIHt (ORCPT ); Thu, 6 Jun 2013 04:07:49 -0400 Received: by mail-wi0-f170.google.com with SMTP id ey16so74982wid.1 for ; Thu, 06 Jun 2013 01:07:47 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <201306052335.25953.chunkeey@googlemail.com> Date: Thu, 6 Jun 2013 16:07:46 +0800 Message-ID: (sfid-20130606_100756_802834_05722285) Subject: Re: carl9170:5/10 MHz Channel Support on carl9170 From: "C.B. Wang" To: Adrian Chadd Cc: Christian Lamparter , linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Spectral analysis isn't supported by any Atheros USB chipsets,is it? The 802.11j standard defines 10mhz operation.I think it is mandatory. You can get a copy here http://www.it.iitb.ac.in/~mukesh/dokuwiki/lib/exe/fetch.php?cache=cache&media=mtp:802.11j-2004.pdf No,I don't know any.Most devices that use ZyDaS chipset are b/g soloution. It's rare even to see an a/b/g ZyDaS device. Channel 183(4815mhz),185(4925mhz),187(4935mhz),189(4945mhz) should also be added to the channel list of carl9170 driver. On 6/6/13, Adrian Chadd wrote: > Oh cool! I'm glad they included a half/quarter rate clock change bit. > > Just make sure you test it with adjacent channel interference; it may > underclock the MAC/PHY but that doesn't necessarily mean that the > analog filter is being changed. > > > Adrian > > On 5 June 2013 14:35, Christian Lamparter wrote: >> Hello Adrian >> >> On Wednesday, June 05, 2013 08:08:14 PM Adrian Chadd wrote: >>> I think that the zydas mac doesn't officially support 5/10mhz operation. >> Just checked, it looks like the bandwidth control is very similar to >> ath9k. >> >> The settings is controlled by Bit 3 and 2 in AR9170_PWR_REG_CLOCK_SEL >> (0x1d4008) >> 00 <-- default >> 01 <-- half >> >> There's a new firmware branch for this new feature: >> >> >> The patch for the carl9170 driver will come later... Once mac/nl/cfg80211 >> and userspace have support for the 5/10 MHz channel bandwidth. >> >> So, if you [(Mr.?) Wang] is interested, please help us testing >> and integrating the stack patchset into the kernel - NOW -: >> "Add support for 5 and 10 MHz channels" >> >> >>> > I've read the "otus" vendor driver and found that in the source file >>> > /HalPlus/OTUS_FB50/hpreg.h on >>> > line 1915,the comment says "Temporary discard channel that BW < 20MHz >>> > (5 or 10MHz) */ >>> > /* Our architecture does not implemnt >>> > it" >>> > I think either the driver does not implement the 5/10 channels or >>> > worse,the ar9170 chip does not support 5/10 mhz channel at all. >> I think "architecture" could be just the software. At least an >> ath9k spectral analyzer confirmed that at least the PHY can operate >> on 10 MHz channels in the 5GHz band. >> >>> > But 802.11j has 10mhz channel support.To comply with the 802.11j >>> > standard,the chip should support 10mhz channel width. >> Oh, I don't have a 802.11j copy handy, is it a mandatory or optional >> feature? >> >>> > Also the ar9170 MAC was indeed designed by ZyDaS berfore >>> > the company was taken over by Atheros. >> Do you know any 5 GHz solution from ZyDaS that sold as 802.11j >> compliant? >> >>> > It has some problems with long distance links. >> True, but again look at the vendor driver. I think it should >> be very easy to implement "set coverage class". The slot time >> can be set by "AR9170_MAC_REG_SLOT_TIME" register and the ack >> timeout should be in "AR9170_MAC_REG_ACK_EXTENSION". That's >> all the information I have. So what are you waiting for ;) >> >> Regards, >> Chr >