From owner-freebsd-wireless@FreeBSD.ORG Thu Sep 13 16:18:40 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D65C31065670 for ; Thu, 13 Sep 2012 16:18:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id AA8038FC1D for ; Thu, 13 Sep 2012 16:18:39 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so4580289pbb.13 for ; Thu, 13 Sep 2012 09:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=0iozw16m/Dgkpln+FOaS5YJ+tSHM5Bz/QRpZOrQRlyE=; b=KaHMZrQ/4o4aPLzB6EsuFiGh065O1Gt/+5AVY2Z/vVpomEBw98FzNcdG9Wchj0RKTQ LBxJy9ZtrEBraPMOh8HVb28LPB8DgvfkT3Lqi5xsG1SJST5xGONbrkZPJZVxLqFR129Y 5X0gwoAhUuRkJ3W9aTdS6nbxGB98nLqXZzugh5+d8xQdKQpFM/LXBIs2eHDQ5rOVw0LL inaWEGyV3cWiHZscda9xq/NinabX+xEJ0J7ebh3G/CvEzYe3usIaBm9EQypCNLpLx/MG bXcZcspyrXzlDbVrUp5lIux/5fID8+klX3D/ZMLH+/p9avYISHp9/jpZavOqTvjEKbhQ C+JA== MIME-Version: 1.0 Received: by 10.68.227.233 with SMTP id sd9mr287101pbc.48.1347553119169; Thu, 13 Sep 2012 09:18:39 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Thu, 13 Sep 2012 09:18:39 -0700 (PDT) In-Reply-To: <201209130724.q8D7OESX043864@svn.freebsd.org> References: <201209130724.q8D7OESX043864@svn.freebsd.org> Date: Thu, 13 Sep 2012 09:18:39 -0700 X-Google-Sender-Auth: x32qAGzSYopoHCWfiL32Ibo7kMg Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Fwd: svn commit: r240448 - head/sys/dev/ath/ath_hal/ar5416 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2012 16:18:40 -0000 .. so apparently half/quarter rate works on 4.9GHz channels on my AR9280 NICs. :-) It's totally odd to watch work. Just for the record, this half/quarter rate support is for GSM and PSB 11abg; it doesn't yet remotely look like it'll support 11n TX aggregation. There's a bunch of work that needs to happen with the driver and net80211 layer before we can treat half/quarter as a channel flag rather than an operational mode. There's a _lot_ of stuff to hack on here which is totally manageable without needing to know all the complicated, underlying stuff. This includes all the related stuff for long distance link support (which requires tweaking slot timing, ACK/CTS timing, etc.) Let me know if you'd like a mini-project to hack on. Adrian ---------- Forwarded message ---------- From: Adrian Chadd Date: 13 September 2012 00:24 Subject: svn commit: r240448 - head/sys/dev/ath/ath_hal/ar5416 To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Author: adrian Date: Thu Sep 13 07:24:14 2012 New Revision: 240448 URL: http://svn.freebsd.org/changeset/base/240448 Log: Flip on half/quarter rate support. No, this isn't HT/5 and HT/10 support. This is the 11a half/quarter rate support primarily used by the 4.9GHz and GSM band regulatory domains. This is definitely a work in progress. TODO: * everything in the last commit; * lots more interoperability testing with the AR5212 half/quarter rate support for the relevant chips; * Do some interop testing on half/quarter rate support between _all_ the 11n chips - AR5416, AR9160, AR9280 (and AR9285/AR9287 when 2GHz half/quarter rate support is coded up.) Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Thu Sep 13 07:22:40 2012 (r240447) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Thu Sep 13 07:24:14 2012 (r240448) @@ -911,9 +911,9 @@ ar5416FillCapabilityInfo(struct ath_hal else pCap->halKeyCacheSize = AR5416_KEYTABLE_SIZE; - /* XXX not needed */ - pCap->halChanHalfRate = AH_FALSE; /* XXX ? */ - pCap->halChanQuarterRate = AH_FALSE; /* XXX ? */ + /* XXX Which chips? */ + pCap->halChanHalfRate = AH_TRUE; + pCap->halChanQuarterRate = AH_TRUE; pCap->halTstampPrecision = 32; pCap->halHwPhyCounterSupport = AH_TRUE;