#17582: poor WiFi performance / ath9k / TP-LINK TL-WR1043ND v1
------------------------+------------------------
  Reporter:  bittorf@…  |      Owner:  developers
      Type:  defect     |     Status:  reopened
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+------------------------

Comment (by bittorf@…):

 i can see it again today with r43589 - configured mode adhoc+ap on TP-LINK
 TL-WR1043ND:

 {{{
 root@box:~ cat
 
/sys/kernel/debug/ieee80211/phy0/netdev:wlan0-1/stations/00:21:6a:32:7c:1c/rc_stats
  type           rate      tpt eprob *prob ret  *ok(*cum)        ok(
 cum)
  CCK/LP          1.0M     0.0   7.0   0.0   0    0(   0)        15(
 283)
  CCK/SP          2.0M     1.5 100.0 100.0   0    0(   0)         1(
 1)
  CCK/SP          5.5M     2.1  51.6 100.0   0    0(   0)         3(
 6)
  CCK/SP         11.0M     6.1 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI       MCS0      0.0   9.3   0.0   2    0(   1)        59(
 170)
  HT20/LGI       MCS1      1.5  14.0   0.0   0    0(   0)         1(
 6)
  HT20/LGI       MCS2      3.6  23.0   0.0   5    0(   0)        60(
 180)
  HT20/LGI  B    MCS3      6.8  33.4   0.0   5    0(   0)        17(
 64)
  HT20/LGI   C   MCS4      6.7  24.1   0.0   5    0(   0)       179(
 614)
  HT20/LGI    D  MCS5      6.2  18.8   0.0   5    0(   0)        75(
 278)
  HT20/LGI       MCS6      6.2  17.4   0.0   5    0(   5)      1116(
 2338)
  HT20/LGI A   P MCS7     10.9  28.4   0.0   5    0(   3)       120(
 352)
  HT20/LGI       MCS8      1.8  16.4   0.0   0    0(   0)         2(
 7)
  HT20/LGI       MCS9      2.1  10.5   0.0   0    0(   0)         1(
 5)
  HT20/LGI       MCS10     0.0   7.9   0.0   0    0(   0)         1(
 7)
  HT20/LGI       MCS11     4.4  13.3   0.0   5    0(   0)       214(
 719)
  HT20/LGI       MCS12     5.6  13.3   0.0   5    0(   0)       839(
 2591)
  HT20/LGI       MCS13     5.7  12.0   0.0   5    0(   0)       292(
 900)
  HT20/LGI       MCS14     0.0   0.0   0.0   0    0(   0)         0(
 6)
  HT20/LGI       MCS15     0.0   5.7   0.0   5    0(   0)        44(
 212)

 Total packet count::    ideal 2982      lookaround 94
 Average A-MPDU length: 1.8
 }}}

 {{{
 root@box:~ for W in reset interrupt queues;do for F in
 /sys/kernel/debug/ieee80211/phy*/ath9k/$W
 /sys/kernel/debug/ieee80211/phy*/queues; do echo "### $F"; cat $F; done;
 done
 ### /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:  0
      Stuck Beacon:  0
         MCI Reset:  0
 Calibration error:  0
 ### /sys/kernel/debug/ieee80211/phy0/queues
 00: 0x00000000/0
 01: 0x00000000/0
 02: 0x00000000/0
 03: 0x00000000/0
 ### /sys/kernel/debug/ieee80211/phy0/ath9k/interrupt
                    RX:    1641621
                 RXEOL:          0
                 RXORN:          0
                    TX:     344603
                 TXURN:          0
                   MIB:          0
                 RXPHY:          0
                 RXKCM:          0
                  SWBA:    2108843
                 BMISS:          0
                   BNR:          0
                   CST:      13816
                   GTT:          0
                   TIM:          0
                CABEND:          0
              DTIMSYNC:          0
                  DTIM:          0
                TSFOOR:          0
                   MCI:          0
              GENTIMER:          0
                 TOTAL:    3966122
 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
 ### /sys/kernel/debug/ieee80211/phy0/queues
 00: 0x00000000/0
 01: 0x00000000/0
 02: 0x00000000/0
 03: 0x00000000/0
 ### /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:  4 ampdu-depth:  2 pending:  13 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
 ### /sys/kernel/debug/ieee80211/phy0/queues
 00: 0x00000000/0
 01: 0x00000000/0
 02: 0x00000000/0
 03: 0x00000000/0
 }}}

 {{{
 root@box:~ cat /sys/kernel/debug/ieee80211/phy0/ath9k/dump_nfcal
 Channel Noise Floor : -91
 Chain | privNF | # Readings | NF Readings
  0       -80     5               -87 -80 -80 -80 -80
  1       -89     5               -90 -89 -80 -89 -90
  2       -80     5               -89 -80 -80 -80 -80
 }}}

 it does not recover automatically, i observed for 15 minutes and
 after executing 'wifi' everything is fine again:

 {{{
 root@box:~ cat
 
/sys/kernel/debug/ieee80211/phy0/netdev:wlan0-1/stations/00:21:6a:32:7c:1c/rc_stats
  type           rate      tpt eprob *prob ret  *ok(*cum)        ok(
 cum)
  CCK/LP          1.0M     0.7  96.0 100.0   0    0(   0)         8(
 9)
  CCK/SP          2.0M     1.5 100.0 100.0   0    0(   0)         1(
 1)
  CCK/SP          5.5M     3.8 100.0 100.0   0    0(   0)         1(
 1)
  CCK/SP         11.0M     6.1 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI       MCS0      5.6 100.0 100.0   3    0(   0)         2(
 2)
  HT20/LGI       MCS1     10.5 100.0 100.0   4    0(   0)         3(
 3)
  HT20/LGI       MCS2     14.8 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI       MCS3     18.6 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI       MCS4     25.1 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI       MCS5     30.3 100.0 100.0   5    0(   0)         1(
 1)
  HT20/LGI       MCS6     32.5 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI    DP MCS7     35.0 100.0 100.0   5    0(   0)         1(
 1)
  HT20/LGI       MCS8     10.5 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI       MCS9     18.6 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI       MCS10    25.1 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI       MCS11    30.3 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI   C   MCS12    38.7 100.0 100.0   0    0(   0)         1(
 1)
  HT20/LGI  B    MCS13    43.7  89.4 100.0   6    0(   0)       122(
 133)
  HT20/LGI A     MCS14    46.8  98.7 100.0   6    1(   1)      2472(
 2641)
  HT20/LGI       MCS15    27.4  50.7   0.0   6    0(   0)        29(
 60)

 Total packet count::    ideal 2625      lookaround 31
 Average A-MPDU length: 1.0
 }}}

 {{{
 root@Dbox:~ cat /sys/kernel/debug/ieee80211/phy0/ath9k/dump_nfcal
 Channel Noise Floor : -95
 Chain | privNF | # Readings | NF Readings
  0       -89     5               -89 -90 -90 -86 -87
  1       -85     5               -84 -86 -86 -85 -84
  2       -88     5               -85 -88 -88 -88 -85
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/17582#comment:22>
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