#21594: Atheros WNDR3800 - WiFi regression
-------------------------------------+-------------------------------------
 Reporter:  raz123                   |      Owner:  developers
     Type:  defect                   |     Status:  new
 Priority:  normal                   |  Milestone:  Designated Driver
Component:  packages                 |  (Trunk)
 Keywords:  dma mac beacon r48234    |    Version:  Trunk
  dd wifi                            |
-------------------------------------+-------------------------------------
 CC on r48225 is fairly stable.

 DD on r48234 is unstable. In fact, WiFi on DD branch has been mostly
 unstable for me. Here are the relevant logs that I captured on DD r48234.
 Let me know if more is needed. PS: I am unable to build, so testing on my
 side is done with the daily builds and/or community releases.


 {{{
 root@OpenWrt:~# cat /tmp/sysinfo/model
 NETGEAR WNDR3800
 }}}


 {{{
 root@OpenWrt:~# uname -a
 Linux OpenWrt 4.1.15 #2 Thu Jan 14 14:38:46 EET 2016 mips GNU/Linux
 }}}


 {{{
 root@OpenWrt:~# uptime
  13:31:13 up 12 min,  load average: 0.16, 0.19, 0.15
 }}}


 {{{
 root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/reset
     Baseband Hang:  0
 Baseband Watchdog:  0
    Fatal HW Error:  0
       TX HW error:  0
  Transmit timeout:  0
      TX Path Hang:  0
       PLL RX Hang:  0
          MAC Hang: 1599
      Stuck Beacon:  0
         MCI Reset:  0
 Calibration error:  0
 Tx DMA stop error: 1594
 Rx DMA stop error:  0
 }}}


 {{{
 root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/queues
 (VO):  qnum: 3 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
 (VI):  qnum: 2 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
 (BE):  qnum: 1 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
 (BK):  qnum: 0 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
 (CAB): qnum: 8 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
 }}}



 {{{
 root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/interrupt
                    RX:      58081
                 RXEOL:          0
                 RXORN:          0
                    TX:      53526
                 TXURN:          0
                   MIB:          0
                 RXPHY:          0
                 RXKCM:          0
                  SWBA:      45583
                 BMISS:          0
                   BNR:          0
                   CST:          9
                   GTT:          0
                   TIM:          0
                CABEND:          0
              DTIMSYNC:          0
                  DTIM:          0
                TSFOOR:          0
                   MCI:          0
              GENTIMER:          0
                 TOTAL:     154048
 SYNC_CAUSE stats:
              Sync-All:          0
               RTC-IRQ:          0
               MAC-IRQ:          0
 EEPROM-Illegal-Access:          0
           APB-Timeout:          0
     PCI-Mode-Conflict:          0
           HOST1-Fatal:          0
            HOST1-Perr:          0
        TRCV-FIFO-Perr:          0
           RADM-CPL-EP:          0
   RADM-CPL-DLLP-Abort:          0
    RADM-CPL-TLP-Abort:          0
     RADM-CPL-ECRC-Err:          0
      RADM-CPL-Timeout:          0
     Local-Bus-Timeout:          0
             PM-Access:          0
             MAC-Awake:          0
            MAC-Asleep:          0
      MAC-Sleep-Access:          0
 }}}

 Waited 10 seconds and tried again:

 {{{
 root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/interrupt
                    RX:      58972
                 RXEOL:          0
                 RXORN:          0
                    TX:      54039
                 TXURN:          0
                   MIB:          0
                 RXPHY:          0
                 RXKCM:          0
                  SWBA:      46433
                 BMISS:          0
                   BNR:          0
                   CST:          9
                   GTT:          0
                   TIM:          0
                CABEND:          0
              DTIMSYNC:          0
                  DTIM:          0
                TSFOOR:          0
                   MCI:          0
              GENTIMER:          0
                 TOTAL:     156271
 SYNC_CAUSE stats:
              Sync-All:          0
               RTC-IRQ:          0
               MAC-IRQ:          0
 EEPROM-Illegal-Access:          0
           APB-Timeout:          0
     PCI-Mode-Conflict:          0
           HOST1-Fatal:          0
            HOST1-Perr:          0
        TRCV-FIFO-Perr:          0
           RADM-CPL-EP:          0
   RADM-CPL-DLLP-Abort:          0
    RADM-CPL-TLP-Abort:          0
     RADM-CPL-ECRC-Err:          0
      RADM-CPL-Timeout:          0
     Local-Bus-Timeout:          0
             PM-Access:          0
             MAC-Awake:          0
            MAC-Asleep:          0
      MAC-Sleep-Access:          0
 }}}


 {{{
 root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/xmit
                             BE         BK        VI        VO

 MPDUs Queued:               40          0         2      1063
 MPDUs Completed:           595          0       118      1234
 MPDUs XRetried:             32          0         1        16
 Aggregates:              11009          0        27         0
 AMPDUs Queued HW:            0          0         0         0
 AMPDUs Queued SW:        74908          0      1067       187
 AMPDUs Completed:        74280          0       949         0
 AMPDUs Retried:           2271          0         5         0
 AMPDUs XRetried:            41          0         1         0
 TXERR Filtered:              0          0         0         0
 FIFO Underrun:               0          0         0         0
 TXOP Exceeded:               0          0         0         0
 TXTIMER Expiry:              0          0         0         0
 DESC CFG Error:              0          0         0         0
 DATA Underrun:               0          0         0         0
 DELIM Underrun:              0          0         0         0
 TX-Pkts-All:             74948          0      1069      1250
 TX-Bytes-All:         94440907          0    308488    100754
 HW-put-tx-buf:            1369          0       132       308
 HW-tx-start:             35033          0      1047      1250
 HW-tx-proc-desc:         32783          0      1007      1079
 TX-Failed:                   0          0         0         0
 }}}

 Nothing seems particularly relevant in dmesg.

--
Ticket URL: <https://dev.openwrt.org/ticket/21594>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to