From owner-freebsd-net@FreeBSD.ORG Sun Oct 16 04:38:22 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10C2E106564A; Sun, 16 Oct 2011 04:38:22 +0000 (UTC) (envelope-from steven@pyro.eu.org) Received: from falkenstein-1.sn.de.cluster.ok24.net (maidenhead-1.wnm.uk.cluster.ok24.net [IPv6:2002:4e2f:2f89:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B45D38FC08; Sun, 16 Oct 2011 04:38:21 +0000 (UTC) Received: from maidenhead-1.wnm.uk.cluster.ok24.net ([10.1.0.1] helo=falkenstein-1.sn.de.cluster.ok24.net) by falkenstein-1.sn.de.cluster.ok24.net with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1RFIUO-0007TD-9D; Sun, 16 Oct 2011 05:38:20 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=pyro.eu.org; s=10.2011; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=nDneZdgHOH2IkU8LycZKVkBWWMCzDYOT3pOrV275q5U=; b=NLW1ta0AyCncCjHqj8Q84MpZ9SkRSSHVtHuUUIKtH3ngTGz+62OPPTWP+FledLcGIOt1iK/mPe4mGlEWSALnAWcml51gmNtdt7WVdtQSp/qbSvb7JCIDCs+Dl/92A5RfOZ5a/cVTVIarFC8tpXVpkMDqK4Y0J/k5hgBJpTrW99k=; Received: from 188-220-33-66.zone11.bethere.co.uk ([188.220.33.66] helo=guisborough-1.rcc.uk.cluster.ok24.net) by falkenstein-1.sn.de.cluster.ok24.net with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1RFIUO-0007TA-4D; Sun, 16 Oct 2011 05:38:20 +0100 X-Spam-Status: No, score=-4.4 required=2.0 tests=ALL_TRUSTED, AWL, BAYES_00, DKIM_POLICY_SIGNALL Received: from [192.168.0.110] (helo=[192.168.0.9]) by guisborough-1.rcc.uk.cluster.ok24.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RFIUI-0000U2-Gz; Sun, 16 Oct 2011 05:38:19 +0100 Message-ID: <4E9A5FB6.7040904@pyro.eu.org> Date: Sun, 16 Oct 2011 05:38:14 +0100 From: Steven Chamberlain User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20111006 Icedove/3.0.11 MIME-Version: 1.0 To: Adrian Chadd References: <201110152200.p9FM0QUO044812@freefall.freebsd.org> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: kern/149643: [rum] device not sending proper beacon frames in ap mode X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2011 04:38:22 -0000 Hi Adrian, On 16/10/11 02:15, Adrian Chadd wrote: > Just look at what the mgmtrate is set to? It should be set to 1mbit > for both 11b and 11g. I've just managed to test this, but it seems everything was as it should be. An mgmtrate of 2 is chosen (1Mbit), and I've checked from another device that this is how the frame is really transmitted. I notice the malformed beacon frames have some extra junk bytes at the end, too. So the length *and* offset of the beacon header and payload would seem to be wrong. I'll keep adding debug statements until I find out what is changing when 11g mode is enabled. I guess to do with the extra supported rates. Thanks. Regards, -- Steven Chamberlain steven@pyro.eu.org