From: Stephen Gutknecht (hilltx) Date: Tue, 3 Feb 2009 15:08:14 -0800 Subject: [ath9k-devel] ar9102 client mode unstable, ping times climb and climb Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Howdy. This is talking to a WDNR3300 second interface, which is a G only broadcom chip, using wpa2 encryption. I have seem similar problems with an Atheros AP too... but wanted to document the AP in question. I do not believe the encryption is a factor, I've seen similar problems with no encryption. These tests were performed using a serial port console, none of the ethernet cabled ports of the router were populated. Basically the signal seems to retrain rate a lot, going down to 1Mbps rate pretty quickly. Plus then I find ping times keep climbing until it either retrains again or I have to rmmod and insmod the ath9k driver. Using the latest OpenWRT trunk with kernel 2.6.28.2 and compat-wireless ath9k 2009-02-02. This is a real time session log, from cold boot of the hardware with wireless off, then starting a ping and enabling the driver. see here: http://pastebin.com/d5334f384 I know some prefer not to visit website logs, so I'm posting excerpt here. Pay attention to the ping sequence numbers, note how the unloading of the driver and reloading temporarily helped. But then started to climb again. I again encourage you to view the full session at the pastebin site. ***************** 64 bytes from 192.168.2.1: seq=92 ttl=64 time=13305.570 ms 64 bytes from 192.168.2.1: seq=93 ttl=64 time=13269.615 ms 64 bytes from 192.168.2.1: seq=94 ttl=64 time=12894.204 ms 64 bytes from 192.168.2.1: seq=95 ttl=64 time=12600.285 ms 64 bytes from 192.168.2.1: seq=96 ttl=64 time=12592.624 ms 64 bytes from 192.168.2.1: seq=97 ttl=64 time=12443.262 ms 64 bytes from 192.168.2.1: seq=98 ttl=64 time=12263.204 ms 64 bytes from 192.168.2.1: seq=103 ttl=64 time=13871.598 ms 64 bytes from 192.168.2.1: seq=104 ttl=64 time=12883.335 ms 64 bytes from 192.168.2.1: seq=105 ttl=64 time=13100.105 ms root at OpenWrt:/# root at OpenWrt:/# root at OpenWrt:/# rmmod ath9k && insmod ath9k debug=0x00002000 && wifi up && sleep 4 && iwconfig wlan0 && sleep 3 && iwconfig wlan0 && sleep 5 && iwconfig wlan0 & & sleep 5 & iwconfig wlan0 64 bytes from 192.168.2.1: seq=106 ttl=64 time=14704.042 ms br-lan: port 2(wlan0) entering disabled state device wlan0 left promiscuous mode br-lan: port 2(wlan0) entering disabled state ath9k: Driver unloaded wlan0 No such device root at OpenWrt:/# cfg80211: Calling CRDA for country: US phy2: Atheros AR9100 MAC/BB Rev:0, AR2122 RF Rev:a1, mem=0xb80c0000, irq=2 device wlan0 entered promiscuous mode br-lan: topology change detected, propagating br-lan: port 2(wlan0) entering forwarding state wlan0 IEEE 802.11bgn ESSID:"IPC-Stock-NETGEAR-2.4-G" Mode:Managed Frequency:2.412 GHz Access Point: 00:1E:2A:6C:9E:89 Bit Rate=5.5 Mb/s Tx-Power=20 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Encryption key:E46F-D424-180B-0FCB-6D3B-75A5-3891-44E0 [2] Security mode:open Power Management:off Link Quality=97/100 Signal level:-47 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 wlan0 IEEE 802.11bgn ESSID:"IPC-Stock-NETGEAR-2.4-G" Mode:Managed Frequency:2.412 GHz Access Point: 00:1E:2A:6C:9E:89 Bit Rate=1 Mb/s Tx-Power=20 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Encryption key:E46F-D424-180B-0FCB-6D3B-75A5-3891-44E0 [2] Security mode:open Power Management:off Link Quality=97/100 Signal level:-47 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 br-lan: port 2(wlan0) entering disabled state br-lan: topology change detected, propagating br-lan: port 2(wlan0) entering forwarding state wlan0 IEEE 802.11bgn ESSID:"IPC-Stock-NETGEAR-2.4-G" Mode:Managed Frequency:2.412 GHz Access Point: 00:1E:2A:6C:9E:89 Bit Rate=1 Mb/s Tx-Power=20 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Encryption key:off Power Management:off Link Quality=100/100 Signal level:-36 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 64 bytes from 192.168.2.1: seq=140 ttl=64 time=1150.495 ms 64 bytes from 192.168.2.1: seq=141 ttl=64 time=311.064 ms 64 bytes from 192.168.2.1: seq=142 ttl=64 time=4.246 ms 64 bytes from 192.168.2.1: seq=143 ttl=64 time=4.287 ms 64 bytes from 192.168.2.1: seq=144 ttl=64 time=4.717 ms 64 bytes from 192.168.2.1: seq=145 ttl=64 time=126.177 ms 64 bytes from 192.168.2.1: seq=146 ttl=64 time=177.116 ms 64 bytes from 192.168.2.1: seq=147 ttl=64 time=200.735 ms 64 bytes from 192.168.2.1: seq=148 ttl=64 time=429.594 ms 64 bytes from 192.168.2.1: seq=149 ttl=64 time=244.758 ms 64 bytes from 192.168.2.1: seq=150 ttl=64 time=214.435 ms 64 bytes from 192.168.2.1: seq=151 ttl=64 time=250.878 ms 64 bytes from 192.168.2.1: seq=152 ttl=64 time=282.593 ms 64 bytes from 192.168.2.1: seq=153 ttl=64 time=547.478 ms 64 bytes from 192.168.2.1: seq=154 ttl=64 time=663.129 ms 64 bytes from 192.168.2.1: seq=155 ttl=64 time=755.421 ms 64 bytes from 192.168.2.1: seq=156 ttl=64 time=793.606 ms 64 bytes from 192.168.2.1: seq=157 ttl=64 time=1008.357 ms 64 bytes from 192.168.2.1: seq=158 ttl=64 time=734.861 ms 64 bytes from 192.168.2.1: seq=159 ttl=64 time=383.581 ms 64 bytes from 192.168.2.1: seq=160 ttl=64 time=425.629 ms 64 bytes from 192.168.2.1: seq=161 ttl=64 time=299.488 ms 64 bytes from 192.168.2.1: seq=162 ttl=64 time=218.053 ms 64 bytes from 192.168.2.1: seq=163 ttl=64 time=331.606 ms 64 bytes from 192.168.2.1: seq=164 ttl=64 time=508.171 ms 64 bytes from 192.168.2.1: seq=165 ttl=64 time=218.615 ms 64 bytes from 192.168.2.1: seq=166 ttl=64 time=140.144 ms 64 bytes from 192.168.2.1: seq=167 ttl=64 time=4.155 ms 64 bytes from 192.168.2.1: seq=168 ttl=64 time=53.280 ms 64 bytes from 192.168.2.1: seq=169 ttl=64 time=1439.498 ms 64 bytes from 192.168.2.1: seq=170 ttl=64 time=1624.040 ms 64 bytes from 192.168.2.1: seq=171 ttl=64 time=1850.329 ms 64 bytes from 192.168.2.1: seq=172 ttl=64 time=1876.449 ms 64 bytes from 192.168.2.1: seq=173 ttl=64 time=1912.648 ms 64 bytes from 192.168.2.1: seq=174 ttl=64 time=2026.347 ms 64 bytes from 192.168.2.1: seq=175 ttl=64 time=2196.713 ms 64 bytes from 192.168.2.1: seq=176 ttl=64 time=2292.335 ms 64 bytes from 192.168.2.1: seq=177 ttl=64 time=2383.363 ms 64 bytes from 192.168.2.1: seq=178 ttl=64 time=2428.318 ms 64 bytes from 192.168.2.1: seq=179 ttl=64 time=3782.700 ms 64 bytes from 192.168.2.1: seq=180 ttl=64 time=4728.032 ms 64 bytes from 192.168.2.1: seq=181 ttl=64 time=6938.147 ms