Continue attempts to debug what's wrong with MESH mode. Excuse me for long message.
I compiled the qMp firmware (google drive), based on robimarko fork with branch CPE210-v2-unified as checked out and with patched file target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
219c219
< ath79_register_gpio_keys_polled(-1, CPE210_V2_KEYS_POLL_INTERVAL,
---
> ath79_register_gpio_keys_polled(-1, CPE510_KEYS_POLL_INTERVAL,
Wireless interface have no recieved packets from other nodes.
I have a debug information, but have no idea what can be useful from this listing, what is help in my problem.
root@qMp:~# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 70:4F:57:62:7D:98
inet addr:169.254.152.1 Bcast:169.254.152.7 Mask:255.255.255.248
inet6 addr: fe80::724f:57ff:fe62:7d98/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3265 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:369698 (361.0 KiB)
root@qMp:~# iw dev
phy#0
Interface wlan0
ifindex 7
wdev 0x2
addr 70:4f:57:62:7d:98
type mesh point
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
txpower 17.00 dBm
root@qMp:~# iw dev wlan0 scan | grep MESH
MESH ID: qMp
MESH ID: qMp
It's can't associate with other nodes (they is also on 6 channel):
root@qMp:~# iw dev wlan0 station dump
root@qMp:~#
Certainly, dmesg output:
[ 0.000000] Linux version 4.9.58 (ost@debian) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5253-b152a1b3a1) ) #0 Sun Nov 5 18:00:12 2017
[ 0.000000] MyLoader: sysp=9f4819be, boardp=f312c473, parts=6d918433
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] OF: fdt:No valid device tree found, continuing without
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 804d7894, node_mem_map 81000020
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=CPE210V2 mtdparts=spi0.0:128k(u-boot)ro,64k(pation-table)ro,64k(product-info)ro,1536k(kernel),6144k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware) console=ttyS0,115200 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 59376K/65536K available (3442K kernel code, 242K rwdata, 900K rodata, 336K init, 222K bss, 6160K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:650.000MHz, DDR:390.942MHz, AHB:216.666MHz, Ref:25.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[ 0.000009] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[ 0.008254] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[ 0.071122] pid_max: default: 32768 minimum: 301
[ 0.076133] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083114] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.093895] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.104329] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.111505] NET: Registered protocol family 16
[ 0.118086] MIPS: machine is TP-LINK CPE210 v2
[ 0.375020] clocksource: Switched to clocksource MIPS
[ 0.395125] NET: Registered protocol family 2
[ 0.400672] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.408110] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.414826] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.421679] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.427913] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.434867] NET: Registered protocol family 1
[ 0.439553] PCI: CLS 0 bytes, default 32
[ 0.444696] Crashlog allocated RAM at address 0x3f00000
[ 0.451557] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.465912] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.472063] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.493275] io scheduler noop registered
[ 0.497486] io scheduler deadline registered (default)
[ 0.503393] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.510650] console [ttyS0] disabled
[ 0.534596] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[ 0.543716] console [ttyS0] enabled
[ 0.551278] bootconsole [early0] disabled
[ 0.564515] m25p80 spi0.0: found gd25q64, expected m25p80
[ 0.572803] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[ 0.577692] 8 cmdlinepart partitions found on MTD device spi0.0
[ 0.583799] Creating 8 MTD partitions on "spi0.0":
[ 0.588783] 0x000000000000-0x000000020000 : "u-boot"
[ 0.595925] 0x000000020000-0x000000030000 : "pation-table"
[ 0.603587] 0x000000030000-0x000000040000 : "product-info"
[ 0.611302] 0x000000040000-0x0000001c0000 : "kernel"
[ 0.618459] 0x0000001c0000-0x0000007c0000 : "rootfs"
[ 0.625637] mtd: device 4 (rootfs) set to be root filesystem
[ 0.631552] 1 squashfs-split partitions found on MTD device rootfs
[ 0.637997] 0x000000560000-0x0000007c0000 : "rootfs_data"
[ 0.645635] 0x0000007c0000-0x0000007f0000 : "config"
[ 0.652741] 0x0000007f0000-0x000000800000 : "ART"
[ 0.659752] 0x000000040000-0x0000007c0000 : "firmware"
[ 0.668321] libphy: Fixed MDIO Bus: probed
[ 0.698609] libphy: ag71xx_mdio: probed
[ 1.327975] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[ 1.338291] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.346492] NET: Registered protocol family 10
[ 1.355354] NET: Registered protocol family 17
[ 1.360150] 8021q: 802.1Q VLAN Support v1.8
[ 1.372268] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.382518] Freeing unused kernel memory: 336K
[ 1.387157] This architecture does not have kernel memory protection.
[ 2.016676] init: Console is alive
[ 2.020481] init: - watchdog -
[ 2.445062] random: fast init done
[ 3.046763] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.149221] usbcore: registered new interface driver usbfs
[ 3.154984] usbcore: registered new interface driver hub
[ 3.160689] usbcore: registered new device driver usb
[ 3.172984] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.181909] ehci-platform: EHCI generic platform driver
[ 3.190926] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.199117] ohci-platform: OHCI generic platform driver
[ 3.205540] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.223604] init: - preinit -
[ 4.000808] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6.098548] eth0: link up (100Mbps/Full duplex)
[ 6.104613] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.393558] jffs2: notice: (382) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 7.411228] mount_root: switching to jffs2 overlay
[ 7.452206] urandom-seed: Seeding with /etc/urandom.seed
[ 7.686800] eth0: link down
[ 7.704526] procd: - early -
[ 7.707764] procd: - watchdog -
[ 8.333652] procd: - watchdog -
[ 8.337318] procd: - ubus -
[ 8.529519] procd: - init -
[ 8.981784] kmodloader: loading kernel modules from /etc/modules.d/*
[ 9.041019] tun: Universal TUN/TAP device driver, 1.6
[ 9.046336] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 9.124835] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.147007] Loading modules backported from Linux version wt-2017-10-06-0-ga7a22fbbd1f0
[ 9.155370] Backport generated by backports.git v4.14-rc2-1-6-gedfb595c
[ 9.166055] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.182235] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 9.344316] xt_time: kernel timezone is -0000
[ 9.462835] PPP generic driver version 2.4.2
[ 9.470496] NET: Registered protocol family 24
[ 9.532168] ath: EEPROM regdomain: 0x0
[ 9.532181] ath: EEPROM indicates default country code should be used
[ 9.532185] ath: doing EEPROM country->regdmn map search
[ 9.532205] ath: country maps to regdmn code: 0x3a
[ 9.532211] ath: Country alpha2 being used: US
[ 9.532214] ath: Regpair used: 0x3a
[ 9.544157] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 9.551971] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[ 9.652965] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 18.376602] br-lan: port 1(eth0) entered blocking state
[ 18.382022] br-lan: port 1(eth0) entered disabled state
[ 18.387977] device eth0 entered promiscuous mode
[ 18.435560] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 18.486888] IPv6: ADDRCONF(NETDEV_UP): eth0_12: link is not ready
[ 20.418675] eth0: link up (100Mbps/Full duplex)
[ 20.423441] br-lan: port 1(eth0) entered blocking state
[ 20.428898] br-lan: port 1(eth0) entered forwarding state
[ 20.565173] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 20.572199] IPv6: ADDRCONF(NETDEV_CHANGE): eth0_12: link becomes ready
[ 20.707645] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 20.840071] ------------[ cut here ]------------
[ 20.845083] WARNING: CPU: 0 PID: 1022 at backports-2017-10-06/net/mac80211/rx.c:629 ieee80211_rx_napi+0x254/0x924 [mac80211]
[ 20.856770] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ip6_tunnel tunnel6 tun ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 20.926082] CPU: 0 PID: 1022 Comm: qmpcontrol Not tainted 4.9.58 #0
[ 20.932549] Stack : 805378fa 00000037 00000000 00000001 83836c04 804a54c7 80450820 000003fe
[ 20.941257] 80533a40 00000275 00000004 83295018 00000000 800ad6e4 80456ae0 804a0000
[ 20.949966] 00000003 00000275 8045497c 83819d3c 00000000 800f9bdc 805378fa 00000070
[ 20.958674] 00000000 8024e700 00000000 00000000 00000000 00000000 00000000 00000000
[ 20.967383] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 20.976093] ...
[ 20.978630] Call Trace:
[ 20.981167] [<8006b6d8>] show_stack+0x54/0x88
[ 20.985692] [<80080f1c>] __warn+0xe8/0x11c
[ 20.989925] [<80080fe4>] warn_slowpath_null+0x1c/0x28
[ 20.995257] [<833294ac>] ieee80211_rx_napi+0x254/0x924 [mac80211]
[ 21.001621] [<833e7494>] ath_rx_tasklet+0xc98/0xce4 [ath9k]
[ 21.007425] [<833e49e0>] ath9k_tasklet+0x168/0x1ec [ath9k]
[ 21.013102] [<80084cc4>] tasklet_action+0x80/0xc8
[ 21.017987] [<80084598>] __do_softirq+0x26c/0x330
[ 21.022849] [<80215534>] plat_irq_dispatch+0xd4/0x110
[ 21.028106] [<800664b8>] handle_int+0x138/0x144
[ 21.032789] ---[ end trace d6e3ec57f4713118 ]---
[ 21.470732] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 22.497652] eth0: link down
[ 23.537826] br-lan: port 1(eth0) entered disabled state
[ 23.616638] IPv6: ADDRCONF(NETDEV_UP): eth0_12: link is not ready
[ 40.178605] eth0: link up (100Mbps/Full duplex)
[ 40.183429] br-lan: port 1(eth0) entered blocking state
[ 40.188912] br-lan: port 1(eth0) entered forwarding state
[ 40.201530] IPv6: ADDRCONF(NETDEV_CHANGE): eth0_12: link becomes ready
[ 58.065087] random: crng init done
From debugfs
root@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/airtime_flags
7
root@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/ani
ANI: ENABLED
ANI RESET: 155
OFDM LEVEL: 4
CCK LEVEL: 2
SPUR UP: 8
SPUR DOWN: 8
OFDM WS-DET ON: 0
OFDM WS-DET OFF: 0
MRC-CCK ON: 0
MRC-CCK OFF: 0
FIR-STEP UP: 7
FIR-STEP DOWN: 1
INV LISTENTIME: 0
OFDM ERRORS: 4017210
CCK ERRORS: 241949
root@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/base_eeprom
EEPROM Version : 2
RegDomain1 : 0
RegDomain2 : 31
TX Mask : 3
RX Mask : 3
Allow 5GHz : 0
Allow 2GHz : 1
Disable 2GHz HT20 : 0
Disable 2GHz HT40 : 0
Disable 5Ghz HT20 : 0
Disable 5Ghz HT40 : 0
Big Endian : 0
RF Silent : 0
BT option : 0
Device Cap : 0
Device Type : 4
Power Table Offset : 0
Tuning Caps1 : 80
Tuning Caps2 : 0
Enable Tx Temp Comp : 1
Enable Tx Volt Comp : 0
Enable fast clock : 1
Enable doubling : 1
Internal regulator : 0
Enable Paprd : 0
Driver Strength : 0
Quick Drop : 0
Chain mask Reduce : 0
Write enable Gpio : 3
WLAN Disable Gpio : 0
WLAN LED Gpio : 8
Rx Band Select Gpio : 255
Tx Gain : 0
Rx Gain : 0
SW Reg : 0
MacAddress : 00:02:03:04:05:06
root@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/dma
Raw DMA Debug values:
0: 88888888 1: 00000000 2: 12249249 3: 00000000
4: 00000000 5: 00000000 6: 00112400 7: 00028000
Num QCU: chain_st fsp_ok fsp_st DCU: chain_st
0 0 1 1 0
1 0 1 1 0
2 0 1 1 0
3 0 1 1 0
4 0 1 1 0
5 0 1 1 0
6 0 1 1 0
7 0 1 1 0
8 0 0 2 0
9 0 0 2 0
qcu_stitch state: 0 qcu_fetch state: 0
qcu_complete state: 0 dcu_complete state: 0
dcu_arb state: 0 dcu_fp state: 0
chan_idle_dur: 0 chan_idle_dur_valid: 1
txfifo_valid_0: 0 txfifo_valid_1: 0
txfifo_dcu_num_0: 9 txfifo_dcu_num_1: 8
pcu observe: 0x2880
AR_CR: 0xc
root@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/interrupt
RXLP: 201428
RXHP: 0
WATHDOG: 7
RXEOL: 156
RXORN: 0
TX: 26301
TXURN: 0
MIB: 0
RXPHY: 0
RXKCM: 0
SWBA: 174207
BMISS: 0
BNR: 0
CST: 1
GTT: 0
TIM: 0
CABEND: 0
DTIMSYNC: 0
DTIM: 0
TSFOOR: 0
MCI: 0
GENTIMER: 0
TOTAL: 399281
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@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/misc
BSSID: 00:00:00:00:00:00
BSSID-MASK: ff:ff:ff:ff:ff:ff
OPMODE: MESH
RXFILTER: 0x108417 UCAST MCAST BCAST BEACON COMP_BAR MCAST_BCAST_ALL
INTERRUPT-MASK: 0xf4010473 SWBA CST RX RXHP RXLP BB_WATCHDOG
VIFS: CTX 0(0) AP: 0 STA: 0 MESH: 1 WDS: 0 ADHOC: 0 OCB: 0 TOTAL: 1 BEACON-VIF: 1
root@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/modal_eeprom
2GHz modal Header :
Chain0 Ant. Control : 16
Chain1 Ant. Control : 16
Chain2 Ant. Control : 336
Ant. Common Control : 1048848
Ant. Common Control2 : 139810
Ant. Gain : 0
Switch Settle : 44
Chain0 xatten1DB : 31
Chain1 xatten1DB : 31
Chain2 xatten1DB : 0
Chain0 xatten1Margin : 9
Chain1 xatten1Margin : 9
Chain2 xatten1Margin : 0
Temp Slope : 18
Volt Slope : 0
spur Channels0 : 100
spur Channels1 : 164
spur Channels2 : 175
spur Channels3 : 0
spur Channels4 : 0
Chain0 NF Threshold : -1
Chain1 NF Threshold : 0
Chain2 NF Threshold : 0
Quick Drop : 0
txEndToXpaOff : 0
xPA Bias Level : 13
txFrameToDataStart : 14
txFrameToPaOn : 14
txFrameToXpaOn : 14
txClip : 3
ADC Desired size : -30
5GHz modal Header :
Chain0 Ant. Control : 0
Chain1 Ant. Control : 0
Chain2 Ant. Control : 0
Ant. Common Control : 272
Ant. Common Control2 : 139810
Ant. Gain : 0
Switch Settle : 45
Chain0 xatten1DB : 0
Chain1 xatten1DB : 0
Chain2 xatten1DB : 0
Chain0 xatten1Margin : 0
Chain1 xatten1Margin : 0
Chain2 xatten1Margin : 0
Temp Slope : 68
Volt Slope : 0
spur Channels0 : 0
spur Channels1 : 0
spur Channels2 : 0
spur Channels3 : 0
spur Channels4 : 0
Chain0 NF Threshold : -1
Chain1 NF Threshold : 0
Chain2 NF Threshold : 0
Quick Drop : 0
txEndToXpaOff : 0
xPA Bias Level : 0
txFrameToDataStart : 14
txFrameToPaOn : 14
txFrameToXpaOn : 14
txClip : 3
ADC Desired size : -30
root@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/queues
(VO): qnum: 3 qdepth: 0 ampdu-depth: 0 pending: 0
(VI): qnum: 2 qdepth: 0 ampdu-depth: 0 pending: 0
(BE): qnum: 1 qdepth: 0 ampdu-depth: 0 pending: 0
(BK): qnum: 0 qdepth: 0 ampdu-depth: 0 pending: 0
(CAB): qnum: 8 qdepth: 0 ampdu-depth: 0 pending: 0
root@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/recv
PKTS-ALL : 181177
BYTES-ALL : 30273362
BEACONS : 0
FRAGS : 257
SPECTRAL : 0
CRC ERR : 27995
DECRYPT CRC ERR : 0
PHY ERR : 25607
MIC ERR : 0
PRE-DELIM CRC ERR : 0
POST-DELIM CRC ERR : 215
DECRYPT BUSY ERR : 0
LENGTH-ERR : 0
OOM-ERR : 0
RATE-ERR : 0
TOO-MANY-FRAGS : 62
root@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/reset
Baseband Hang: 0
Baseband Watchdog: 8
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
root@qMp:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/xmit
BE BK VI VO
MPDUs Queued: 0 0 0 33
MPDUs Completed: 5328 0 0 33
MPDUs XRetried: 0 0 0 0
Aggregates: 0 0 0 0
AMPDUs Queued HW: 0 0 0 0
AMPDUs Completed: 0 0 0 0
AMPDUs Retried: 0 0 0 0
AMPDUs XRetried: 0 0 0 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: 5328 0 0 33
TX-Bytes-All: 619843 0 0 2409
HW-put-tx-buf: 5328 0 0 33
HW-tx-start: 0 0 0 0
HW-tx-proc-desc: 5328 0 0 33
TX-Failed: 0 0 0 0