From owner-freebsd-current@FreeBSD.ORG Fri Jun 15 13:11:19 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AB6F1065672; Fri, 15 Jun 2012 13:11:19 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id D34A78FC12; Fri, 15 Jun 2012 13:11:18 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so459996wib.13 for ; Fri, 15 Jun 2012 06:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RnfeCWNaiI/tWvc6XrUNlKWPv3hLrVrayBufEb9Oq4U=; b=gBYOb4bhTQAf14LB+EtO3T2cHzOrWQh0OijZ6N/DRQkyw6XXeliBCtt8YnNUJzinUG SZp/QPgXFXU5LmztvC9fSsYe+JbR8AvE/1A5VLokUBXLZpAb8gw4CEj0A44wZs4VPcax fsM8FUgNCevUuN+WCut9pcAU8G5JGCE/gfiGWN7J1fPzl2bgydRo/JzmjSl8+hETciQ5 X8p+ufEXYpk+PJ9/vF5Mi/bBCXCBIQ0guFw3mUwJ4FT+5Nl8UqapefeP+Fr/DdU2FD2n K58bQAvqU6bR0XG+YZsYQ040YDT7AdVIDb/aAJ42d78yDN4VwDZXAclvP9sIswyX0pYK TW8Q== MIME-Version: 1.0 Received: by 10.180.102.36 with SMTP id fl4mr4202748wib.2.1339763028015; Fri, 15 Jun 2012 05:23:48 -0700 (PDT) Received: by 10.223.158.207 with HTTP; Fri, 15 Jun 2012 05:23:47 -0700 (PDT) In-Reply-To: References: Date: Fri, 15 Jun 2012 14:23:47 +0200 Message-ID: From: Monthadar Al Jaberi To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, freebsd-wireless@freebsd.org Subject: Re: ath(4) now defaults to 802.11n on GENERIC/i386 and GENERIC/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 13:11:19 -0000 On Fri, Jun 15, 2012 at 11:00 AM, Adrian Chadd wrote: > On 15 June 2012 01:17, Adrian Chadd wrote: >> Hi, >> >> I've flipped on ATH_ENABLE_11N and the interrupt mitigation in i386 >> and amd64 GENERIC. > > [snip] > >> If you have problems, please read the wiki article: >> http://wiki.freebsd.org/dev/ath(4) - specifically the bits where I >> tell you to compile with the debugging and diagnostic stuff in your >> -HEAD kernel, including the HAL/driver diagnostic APIs and tools. > > I've also just created a wiki page which provides a very basic > overview of the debugging tools for the driver: > > http://wiki.freebsd.org/dev/ath(4)/Debugging > > I'll write one for net80211 tomorrow. It turns out 'wlanstats' is > really damned helpful. Thank you for the wiki! :) But I am having a problem with athsurvey which is just reporting: min avg max tx% rx% bc% ec% tx% rx% bc% ec% tx% rx% bc% ec% (100.0 100.0 100.0 100.0) ( 0.0 0.0 0.0 0.0) ( 0.0 0.0 0.0 0.0) (100.0 100.0 100.0 100.0) ( 0.0 0.0 0.0 0.0) ( 0.0 0.0 0.0 0.0) athdebug is returning with: athdebug: sysctl-get(dev.ath.0.debug): Cannot allocate memory This is in my kernel config: ... # Atheros wireless NICs device ath # Atheros interface support device ath_pci # Atheros PCI/Cardbus bus options ATH_DEBUG options ATH_DIAGAPI options ATH_ENABLE_11N options AH_DEBUG options AH_DEBUG_ALQ options ALQ device ath_hal option AH_SUPPORT_AR5416 device ath_rate_sample option AH_RXCFG_SDMAMW_4BYTES option AH_AR5416_INTERRUPT_MITIGATION # There's no DFS radar detection support yet so this won't actually # detect radars. It however does enable the rest of the channel change # machinery so DFS can be debugged. option ATH_ENABLE_DFS pciconf -lbvc gives: ath0@pci0:0:17:0: class=0x020000 card=0x30020777 chip=0x001b168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5413 802.11abg NIC' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0x10000000, size 65536, enabled cap 01[44] = powerspec 2 supports D0 D3 current D0 I am running head@235822 > > > > adrian > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" -- Monthadar Al Jaberi