all: I have catched the error info when rx error with: echo 0xffffffff > /sys/kernel/debug/ieee80211/phy0/ath9k/debug error info: [ 524.921114] ath: phy0: enable IER [ 524.924315] ath: phy0: AR_IMR 0x81840175 IER 0x1 [ 525.000052] ath: phy0: listenTime=183359 OFDM:2 errs=46/s CCK:7 errs=308/s ofdm_turn=1 [ 525.006532] ath: phy0: Calibration @22499 finished: ani, caldone: true [ 525.021461] ath: phy0: disable IER [ 525.023486] ath: phy0: enable IER [ 525.026712] ath: phy0: AR_IMR 0x81840175 IER 0x1 [ 525.123859] ath: phy0: disable IER [ 525.125887] ath: phy0: enable IER [ 525.129115] ath: phy0: AR_IMR 0x81840175 IER 0x1 [ 525.226269] ath: phy0: disable IER [ 525.228315] ath: phy0: enable IER [ 525.231562] ath: phy0: AR_IMR 0x81840175 IER 0x1 [ 525.310052] ath: phy0: listenTime=183613 OFDM:2 errs=46/s CCK:7 errs=308/s ofdm_turn=1 [ 525.316533] ath: phy0: Calibration @22530 finished: ani, caldone: true [ 525.328660] ath: phy0: disable IER [ 525.330732] ath: phy0: enable IER [ 525.333910] ath: phy0: AR_IMR 0x81840175 IER 0x1 [ 525.431133] ath: phy0: disable IER [ 525.433165] ath: phy0: enable IER [ 525.436392] ath: phy0: AR_IMR 0x81840175 IER 0x1 [ 525.533664] ath: phy0: disable IER [ 525.535690] ath: phy0: enable IER [ 525.538918] ath: phy0: AR_IMR 0x81840175 IER 0x1 [ 525.620053] ath: phy0: listenTime=183874 OFDM:2 errs=46/s CCK:7 errs=308/s ofdm_tu On Tue, Jun 13, 2017 at 3:38 PM, 孙建希 <ycsunjane@xxxxxxxxx> wrote: > Ath9k in 4addr wds mode. After a while the station will break off. > Station connectivity remains. But `ifconfig` cannot see any recv > packet. > > wlan0 Link encap:Ethernet HWaddr C8:EE:A6:2E:60:D8 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:17402577 errors:0 dropped:0 overruns:0 frame:0 > TX packets:33065526 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:1165838023 (1.0 GiB) TX bytes:51166664044 (47.6 GiB) > > RX packets count stop increase. > > > /sys/kernel/debug/ieee80211/phy0/ath9k/recv > PKTS-ALL : 21445223 > BYTES-ALL : 2458906640 > > > PKTS-ALL still increase.