#1790: AR5418 connections freeze  on heavy transfers
---------------------------------------------------+------------------------
 Reporter:  [EMAIL PROTECTED]                 |             Type:  defect
   Status:  new                                    |         Priority:  major 
Component:  madwifi: other                         |          Version:  trunk 
 Keywords:  AR5418 heavy freeze transfer download  |   Patch_attached:  0     
---------------------------------------------------+------------------------
 Hello,

 I'm using last madwifi trunk version on a fresh new  Zepto Z-Pro card,
 AR5418.
 WEP and WPA connections works fine. But on heavy downloads/uploads, taking
 all bandwith (aprox 1Mb/s), the wifi connection freeze. I Wait about 1 to
 5 minutes, and it goes up again.

 Here is my config

 {{{
 Linux 2.6.22-14-generic #1 SMP Thu Jan 31 23:33:13 UTC 2008 x86_64
 GNU/Linux

 lspci:
 02:00.0 Network controller: Atheros Communications, Inc. AR5418
 802.11a/b/g/n Wireless PCI Express Adapter (rev 01)
         Subsystem: Atheros Communications, Inc. Unknown device 3072
         Flags: bus master, fast devsel, latency 0, IRQ 16
         Memory at f0000000 (64-bit, non-prefetchable) [size=64K]
         Capabilities: [40] Power Management version 2
         Capabilities: [50] Message Signalled Interrupts: Mask- 64bit-
 Queue=0/0 Enable-
         Capabilities: [60] Express Legacy Endpoint IRQ 0
         Capabilities: [90] MSI-X: Enable- Mask- TabSize=1


 modprobe ath_pci:
 [ 1555.757723] ath_pci: svn r3349
 [ 1555.757963] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low)
 -> IRQ 16
 [ 1555.757988] PCI: Setting latency timer of device 0000:02:00.0 to 64
 [ 1555.899417] MadWifi: ath_attach: Switching rfkill capability off
 [ 1555.899489] MadWifi: ath_attach: Switching per-packet transmit power
 control off
 [ 1555.899828] wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps
 48Mbps 54Mbps
 [ 1555.899834] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 [ 1555.899837] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps
 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
 [ 1555.899843] wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps
 36Mbps 48Mbps 54Mbps
 [ 1555.899848] wifi0: turboG rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps
 36Mbps 48Mbps 54Mbps
 [ 1555.899853] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
 [ 1555.899858] wifi0: ath_announce: Use hw queue 1 for WME_AC_BE traffic
 [ 1555.899860] wifi0: ath_announce: Use hw queue 0 for WME_AC_BK traffic
 [ 1555.899861] wifi0: ath_announce: Use hw queue 2 for WME_AC_VI traffic
 [ 1555.899863] wifi0: ath_announce: Use hw queue 3 for WME_AC_VO traffic
 [ 1555.899865] wifi0: ath_announce: Use hw queue 8 for CAB traffic
 [ 1555.899867] wifi0: ath_announce: Use hw queue 9 for beacons
 [ 1555.900035] ath_pci: wifi0: Atheros 5418: mem=0xf0000000, irq=16
 }}}

 I get some errors using athdebug 0xFFFFFFFF
 this one very ofen:
 {{{
 Feb 14 21:04:18 bifidus kernel: [ 2628.081000] wifi0:
 ath_uapsd_processtriggers: TSF error: bf_tsf=  ca828509 sc_last_tsf=
 ca837fda
 }}}

 And this, just before connection goes up again :
 {{{
 Feb 14 21:04:34 bifidus kernel: [ 2637.148634] wifi0: ath_draintxq: Beacon
 queue txbuf is 0x0.
 Feb 14 21:04:34 bifidus kernel: [ 2637.148648] wifi0: ath_tx_stopdma: TX
 queue [0] 0x0, link 0000000000000000
 Feb 14 21:04:34 bifidus kernel: [ 2637.148663] wifi0: ath_tx_stopdma: TX
 queue [1] 0x751a06c0, link ffff8100751a2d00
 Feb 14 21:04:34 bifidus kernel: [ 2637.148677] wifi0: ath_tx_stopdma: TX
 queue [2] 0x0, link 0000000000000000
 Feb 14 21:04:34 bifidus kernel: [ 2637.148691] wifi0: ath_tx_stopdma: TX
 queue [3] 0x0, link 0000000000000000
 Feb 14 21:04:34 bifidus kernel: [ 2637.148706] wifi0: ath_tx_stopdma: TX
 queue [4] 0x0, link 0000000000000000
 Feb 14 21:04:34 bifidus kernel: [ 2637.148720] wifi0: ath_tx_stopdma: TX
 queue [7] 0x0, link 0000000000000000
 Feb 14 21:04:34 bifidus kernel: [ 2637.148734] wifi0: ath_tx_stopdma: TX
 queue [8] 0x0, link 0000000000000000
 Feb 14 21:04:34 bifidus kernel: [ 2637.148896] wifi0:
 ath_return_txbuf_locked_debug: Restarting queue.
 Feb 14 21:04:34 bifidus kernel: [ 2637.152456] wifi0: ath_stoprecv:
 receive queue buffer 0x4731b480, link ffff81004731b420
 Feb 14 21:04:34 bifidus kernel: [ 2637.155589] wifi0: ath_tx_processq: TX
 queue: 1 (0x751a2dc0), link: ffff8100751a2e80
 Feb 14 21:04:34 bifidus kernel: [ 2637.156413] wifi0: ath_tx_processq: TX
 queue: 1 (0x751a2e80), link: ffff8100751a2e80

 }}}

 athstats :
 doing a simple loop ping :
 {{{
    input   output altrate   short    long xretry crcerr  crypt  phyerr
 rssi rate
   113672     3814       0       0     108      1   2293      0       0
 53   0M
       93        2       0       0       0      0      2      0       0
 53   0M
       91        2       0       0       0      0      2      0       0
 53   0M
       88        2       0       0       0      0      3      0       0
 54   0M
       71        2       0       0       0      0      2      0       0
 54   0M
       78        2       0       0       0      0      2      0       0
 55   0M
       86        2       0       0       0      0      2      0       0
 55   0M
       86        2       0       0       0      0      4      0       0
 54   0M
       80        2       0       0       0      0      6      0       0
 54   0M
       88        2       0       0       0      0      2      0       0
 54   0M

 }}}

 athstats on heavy download:
 {{{
    input   output altrate   short    long xretry crcerr  crypt  phyerr
 rssi rate
   118207     3915       0       0     111      1   2425      0       0
 51   0M
       89        2       0       0       0      0      2      0       0
 52   0M
       96        2       0       0       0      0      6      0       0
 53   0M
       94        2       0       0       0      0      2      0       0
 53   0M
 start 95        2       0       0       0      0      0      0       0
 52   0M
      400      189       0       0      11      0      6      0       0
 54   0M
      113       13       0       0       0      0      4      0       0
 54   0M
 freeze
       93        1       0       0       0      0      3      0       0
 54   0M
       95        0       0       0       0      0      4      0       0
 54   0M
       96        1       0       0       0      0      0      0       0
 54   0M


 }}}

 Is there any other thing i can test do be more precise?
 I use "wicd" to managed networks, but gnome-network-manager works
 identically.
 Using "iwpriv ath0 bgscan 0", doesn't change anything .
 I wonder why there is  about 100 packets input/s at anytime, when ath0 is
 up  (associated or not)? Is it normal ? Network Monitor report 10K/s...
 This is visible on my  athstats.

-- 
Ticket URL: <http://madwifi.org/ticket/1790>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to