#17582: poor WiFi performance / ath9k / TP-LINK TL-WR1043ND v1
--------------------------+------------------------
Reporter: bittorf@… | Owner: developers
Type: defect | Status: closed
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: no_response | Keywords:
--------------------------+------------------------
Comment (by bittorf@…):
here an interesting log-output from r43102:
minstrel:
{{{
root@DG-Fries36-Wohnzimmer:~ _wifi minstrel 00:21:6a:32:7c:1c debug
lq=;nlq=;cost=;Nov 05 19:48:12 ' [up 55597s 5898240 bytes free] TERM:xterm
-ash [daemon.debug] minstrel_out() output of
/sys/kernel/debug/ieee80211/phy0/netdev:wlan0-1/stations/00:21:6a:32:7c:1c/rc_stats
type rate throughput ewma prob this prob retry this
succ/attempt success attempts
CCK/LP 1.0M 0.1 18.6 0.0 0
0( 0) 120 1279
CCK/SP 2.0M 0.7 41.8 100.0 0
0( 0) 32 114
CCK/SP 5.5M 3.8 100.0 100.0 0
0( 0) 1 1
CCK/SP 11.0M 1.6 25.8 100.0 0
0( 0) 33 118
HT20/LGI MCS0 1.2 20.6 0.0 3
0( 0) 433 739
HT20/LGI P MCS1 8.8 75.3 50.0 4
0( 0) 680 1321
HT20/LGI D MCS2 9.0 54.6 21.4 4
0( 0) 592 1377
HT20/LGI MCS3 7.7 37.4 100.0 5
0( 0) 354 1016
HT20/LGI MCS4 0.0 6.3 0.0 5
0( 0) 335 1137
HT20/LGI MCS5 0.0 6.1 0.0 5
0( 0) 1280 3956
HT20/LGI MCS6 6.4 17.9 0.0 5
0( 0) 1529 4353
HT20/LGI MCS7 0.0 4.4 0.0 5
0( 0) 3060 8801
HT20/LGI MCS8 4.7 40.2 100.0 4
0( 0) 132 273
HT20/LGI MCS9 8.0 39.2 100.0 5
0( 0) 137 515
HT20/LGI MCS10 6.4 22.9 0.0 5
0( 0) 766 2473
HT20/LGI MCS11 5.4 16.4 0.0 5
0( 0) 1134 3369
HT20/LGI B MCS12 11.7 27.4 0.0 6
0( 0) 3992 12343
HT20/LGI C MCS13 9.1 18.7 0.0 5
0( 0) 6653 17676
HT20/LGI A MCS14 18.9 36.3 33.3 6
2( 6) 11401 33077
HT20/LGI MCS15 5.6 10.4 0.0 5
0( 0) 11577 32961
Total packet count:: ideal 42348 lookaround 1930
Average A-MPDU length: 1.2
}}}
here some ath9k-debug-log during beeing "very slow":
{{{
root@DG-Fries36-Wohnzimmer:~ echo 0x4409 >
/sys/kernel/debug/ieee80211/phy0/ath9k/debug
root@DG-Fries36-Wohnzimmer:~
root@DG-Fries36-Wohnzimmer:~ lr -f
Wed Nov 5 19:49:05 2014 kern.debug kernel: [55650.690000] ath: phy0:
missed 1 consecutive beacons
Wed Nov 5 19:49:06 2014 kern.debug kernel: [55650.760000] ath: phy0:
resume beacon xmit after 1 misses
Wed Nov 5 19:49:07 2014 kern.debug kernel: [55651.900000] ath: phy0:
missed 1 consecutive beacons
Wed Nov 5 19:49:07 2014 kern.debug kernel: [55651.990000] ath: phy0:
resume beacon xmit after 1 misses
Wed Nov 5 19:49:21 2014 kern.debug kernel: [55666.280000] ath: phy0: NF
calibrated [ctl] [chain 0] is -90
Wed Nov 5 19:49:21 2014 kern.debug kernel: [55666.280000] ath: phy0: NF
calibrated [ctl] [chain 1] is -88
Wed Nov 5 19:49:21 2014 kern.debug kernel: [55666.280000] ath: phy0: NF
calibrated [ctl] [chain 2] is -88
Wed Nov 5 19:49:26 2014 kern.debug kernel: [55671.680000] ath: phy0:
missed 1 consecutive beacons
Wed Nov 5 19:49:27 2014 kern.debug kernel: [55671.760000] ath: phy0:
resume beacon xmit after 1 misses
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.090000] ath: phy0:
missed 1 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.110000] ath: phy0:
missed 2 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.120000] ath: phy0:
missed 3 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.180000] ath: phy0:
resume beacon xmit after 3 misses
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.200000] ath: phy0:
missed 1 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.210000] ath: phy0:
missed 2 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.290000] ath: phy0:
resume beacon xmit after 2 misses
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.410000] ath: phy0:
missed 1 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.430000] ath: phy0:
missed 2 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.440000] ath: phy0:
missed 3 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.450000] ath: phy0:
missed 4 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.450000] ath: phy0: NF
calibrated [ctl] [chain 0] is -86
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.450000] ath: phy0: NF
calibrated [ctl] [chain 1] is -79
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.450000] ath: phy0:
NF[1] (-79) > MAX (-80), correcting to MAX
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.450000] ath: phy0: NF
calibrated [ctl] [chain 2] is -85
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.460000] ath: phy0:
missed 5 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.480000] ath: phy0:
missed 6 consecutive beacons
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.490000] ath: phy0:
resume beacon xmit after 6 misses
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.680000] ath: phy0: NF
calibrated [ctl] [chain 0] is -73
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.680000] ath: phy0:
NF[0] (-73) > MAX (-80), correcting to MAX
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.680000] ath: phy0: NF
calibrated [ctl] [chain 1] is -74
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.680000] ath: phy0:
NF[1] (-74) > MAX (-80), correcting to MAX
Wed Nov 5 19:49:32 2014 kern.debug kernel: [55677.680000] ath: phy0: NF
calibrated [ctl] [chain 2] is -85
iWed Nov 5 19:49:45 2014 kern.debug kernel: [55690.610000] ath: phy0:
missed 1 consecutive beacons
Wed Nov 5 19:49:45 2014 kern.debug kernel: [55690.700000] ath: phy0:
resume beacon xmit after 1 misses
Wed Nov 5 19:49:52 2014 daemon.notice hostapd: wlan0-1: STA
00:eb:2d:d4:6d:cd IEEE 802.11: did not acknowledge authentication response
Wed Nov 5 19:49:55 2014 daemon.notice hostapd: wlan0-1: STA
00:1d:0d:b3:e3:13 IEEE 802.11: did not acknowledge authentication response
Wed Nov 5 19:50:01 2014 user.notice root: debug: phy: phy0 interval: 60
avg: 4 avg_overall: 3 change: -25%
Wed Nov 5 19:50:02 2014 daemon.notice odhcp6c[2060]: Send INFOREQ message
(elapsed 13795870ms, rc 235)
Wed Nov 5 19:50:02 2014 kern.debug kernel: [55707.680000] ath: phy0: NF
calibrated [ctl] [chain 0] is -74
Wed Nov 5 19:50:02 2014 kern.debug kernel: [55707.680000] ath: phy0:
NF[0] (-74) > MAX (-80), correcting to MAX
Wed Nov 5 19:50:02 2014 kern.debug kernel: [55707.680000] ath: phy0: NF
calibrated [ctl] [chain 1] is -87
Wed Nov 5 19:50:02 2014 kern.debug kernel: [55707.680000] ath: phy0: NF
calibrated [ctl] [chain 2] is -88
Wed Nov 5 19:50:04 2014 daemon.info dnsmasq-dhcp[2475]:
DHCPDISCOVER(wlan0-1) 00:1d:0d:b3:e3:13
Wed Nov 5 19:50:04 2014 daemon.info dnsmasq-dhcp[2475]:
DHCPOFFER(wlan0-1) 10.63.22.76 00:1d:0d:b3:e3:13
Wed Nov 5 19:50:09 2014 kern.debug kernel: [55714.480000] ath: phy0:
missed 1 consecutive beacons
Wed Nov 5 19:50:09 2014 kern.debug kernel: [55714.560000] ath: phy0:
resume beacon xmit after 1 misses
Wed Nov 5 19:50:32 2014 kern.debug kernel: [55737.680000] ath: phy0: NF
calibrated [ctl] [chain 0] is -80
Wed Nov 5 19:50:32 2014 kern.debug kernel: [55737.680000] ath: phy0: NF
calibrated [ctl] [chain 1] is -89
Wed Nov 5 19:50:32 2014 kern.debug kernel: [55737.680000] ath: phy0: NF
calibrated [ctl] [chain 2] is -89
Wed Nov 5 19:50:32 2014 daemon.info dnsmasq-dhcp[2475]:
DHCPREQUEST(wlan0-1) 10.63.22.76 00:1d:0d:b3:e3:13
Wed Nov 5 19:50:32 2014 daemon.info dnsmasq-dhcp[2475]: DHCPACK(wlan0-1)
10.63.22.76 00:1d:0d:b3:e3:13
}}}
'wifi up' fixes it...
--
Ticket URL: <https://dev.openwrt.org/ticket/17582#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