#21594: Atheros WNDR3800 - WiFi regression
-----------------------+-------------------------------------------
Reporter: raz123 | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Designated Driver (Trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: dma mac beacon r48234 dd wifi
-----------------------+-------------------------------------------
Comment (by raz123):
nbd, (some) clients appear to experience turtle-slow internet. Is there a
particular log that might reflect this behavior?
Fresh logs below. This is from DD r48259. Notice the DMA errors.
{{{
root@OpenWrt:~# uptime
19:33:26 up 16:42, load average: 0.17, 0.24, 0.13
root@OpenWrt:~# 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: 2806
Stuck Beacon: 68
MCI Reset: 0
Calibration error: 4
Tx DMA stop error: 2644
Rx DMA stop error: 2
### /sys/kernel/debug/ieee80211/phy1/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
Tx DMA stop error: 0
Rx DMA stop error: 0
### /sys/kernel/debug/ieee80211/phy0/queues
00: 0x00000000/0
01: 0x00000000/0
02: 0x00000000/0
03: 0x00000000/0
### /sys/kernel/debug/ieee80211/phy1/queues
00: 0x00000000/0
01: 0x00000000/0
02: 0x00000000/0
03: 0x00000000/0
### /sys/kernel/debug/ieee80211/phy0/ath9k/interrupt
RX: 11998713
RXEOL: 0
RXORN: 0
TX: 18524571
TXURN: 0
MIB: 0
RXPHY: 0
RXKCM: 0
SWBA: 4664178
BMISS: 0
BNR: 0
CST: 7716
GTT: 0
TIM: 0
CABEND: 0
DTIMSYNC: 0
DTIM: 0
TSFOOR: 0
MCI: 0
GENTIMER: 0
TOTAL: 34017505
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/phy1/ath9k/interrupt
RX: 0
RXEOL: 0
RXORN: 0
TX: 0
TXURN: 0
MIB: 0
RXPHY: 0
RXKCM: 0
SWBA: 0
BMISS: 0
BNR: 0
CST: 0
GTT: 0
TIM: 0
CABEND: 0
DTIMSYNC: 0
DTIM: 0
TSFOOR: 0
MCI: 0
GENTIMER: 0
TOTAL: 0
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/phy1/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: 2 ampdu-depth: 2 pending: 11 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/phy1/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
### /sys/kernel/debug/ieee80211/phy0/queues
00: 0x00000000/0
01: 0x00000000/0
02: 0x00000000/0
03: 0x00000000/0
### /sys/kernel/debug/ieee80211/phy1/queues
00: 0x00000000/0
01: 0x00000000/0
02: 0x00000000/0
03: 0x00000000/0
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/dump_nfcal
Channel Noise Floor : -95
Chain | privNF | # Readings | NF Readings
0 -108 5 -108 -108 -108 -109 -108
1 -112 5 -112 -112 -112 -112 -112
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/21594#comment:7>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets