Date: Fri, 15 Jun 2012 14:23:47 +0200 From: Monthadar Al Jaberi <monthadar@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-current@freebsd.org, freebsd-wireless@freebsd.org Subject: Re: ath(4) now defaults to 802.11n on GENERIC/i386 and GENERIC/amd64 Message-ID: <CA%2BsBSo%2BhFCvf%2BuE2FJ_0VsciUcrpa8tbrjcVu3_weU-QqWt-_Q@mail.gmail.com> In-Reply-To: <CAJ-VmokTXZJ41YO1Z2K7cRbLUspNFNyJh08=Nh%2BFoGxuWXKbvg@mail.gmail.com> References: <CAJ-Vmok=9RosrDPHveJWA_%2B2Av=%2BOnstHU7W=QmNpmUHiANR9w@mail.gmail.com> <CAJ-VmokTXZJ41YO1Z2K7cRbLUspNFNyJh08=Nh%2BFoGxuWXKbvg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 15, 2012 at 11:00 AM, Adrian Chadd <adrian@freebsd.org> wrote: > On 15 June 2012 01:17, Adrian Chadd <adrian@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BsBSo%2BhFCvf%2BuE2FJ_0VsciUcrpa8tbrjcVu3_weU-QqWt-_Q>