From owner-freebsd-wireless@FreeBSD.ORG Tue Nov 12 12:24:36 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A68DCC20 for ; Tue, 12 Nov 2013 12:24:36 +0000 (UTC) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4529627E3 for ; Tue, 12 Nov 2013 12:24:36 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id hm11so3541211wib.2 for ; Tue, 12 Nov 2013 04:24:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=lJvDmnHQ6J2cMf7cnzDf3einWQQPWWP4jKSd6DXW3g8=; b=RYnOIwpNY2d5rimvPucki0inu+7cLY2w3cWrzz5wvHExAoTOX+3sI9K+3x0u6l43XI OkgZBHCX0Em/JK7P6eBhVl+jf48YceDEyGD2Q5q1AusM1/R11CM1rhh2/veAwA9tO50s 2/0SPOwZVm0YZnsJVWMS25sQQu4BfgS2KXqwHmk8a0ibDdy/ZcNRSjdrKmewTI/w1hhp 1NNHML8ibPYy17qBx6h0b5lRxaQl2aIKg2+lACzOnyj+Ww8c6Q4SDqnHvFIDZpqh+R1c rPJOKyV/E9ZYnr0/PwypTX3eDug0jGF7jnvrHL+0VTUohqMiZXgAm3vPFaK6FFzXAVF7 oAZg== X-Received: by 10.194.104.42 with SMTP id gb10mr26698447wjb.16.1384259074819; Tue, 12 Nov 2013 04:24:34 -0800 (PST) Received: from [172.16.54.174] ([157.83.97.1]) by mx.google.com with ESMTPSA id gm2sm10317597wib.4.2013.11.12.04.24.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Nov 2013 04:24:33 -0800 (PST) Message-ID: <52821DFC.60203@gmail.com> Date: Tue, 12 Nov 2013 12:24:28 +0000 From: Nick Kossifidis User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Sergey Ryazanov Subject: Re: [ath5k-devel] Atheros AR5xxx DSSS-OFDM mode support References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: ath5k-devel@lists.ath5k.org, freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Tue, 12 Nov 2013 12:24:36 -0000 On Tue 12 Nov 2013 11:55:43 AM GMT, Sergey Ryazanov wrote: > Hi list, > > we test pretty old hardware based on AR5414 chip with pretty old > madwifi driver, which even use binary hal. Our spectral analyzer shows > that in 2.4GHz band this chip transmits OFDM-preamble with any of the > OFDM rates (6-54 mbps), instead of .11b-compatable DSSS-preamble. Does > anybody could provide some clue: is this chip supports DSSS-OFDM mode > according to section 19.7 of IEEE 802.11-2012? > > When I digging the ath5k code I faced the AR_PHY_MODE (0xa200) > register, which seems to controls the behavior of chip. This register > contains two interesting bit: > AR_PHY_MODE_MOD_CCK bit 0 (0x00000001) > AR_PHY_MODE_MOD_DYN bit 3 (0x00000004) > > If I am correctly understand, _MOD_DYN just enables the CCK (DSSS) > block. But what the purpose of the AR_PHY_MODE_MOD_CCK bit? > >From what I know: MOD_DYN = CCK + OFDM (for g) MOD_CCK = CCK only (for b)