On Fri, Jun 15, 2012 at 11:00 AM, Adrian Chadd <adr...@freebsd.org> wrote:
> On 15 June 2012 01:17, Adrian Chadd <adr...@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-wirel...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"



-- 
Monthadar Al Jaberi
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to