AR9380 frequent disconnect and stucks in AP mode.
Quoted 7 lines · Bhavesh Kamani
Hi Team,
I captured the packets in the locked state.
It looks like the AP is sending packets to client and client also sends ACK in the locked state.
Quoted 6 lines
In the locked state client also sends null data frames. In the null data frame I observed PM bit set to 0 and sometimes it is set to 1.
Is there any way to make sure that packet is decrypted successfully on client? OR Is there any mechanism which confirm the successful decryption on client side?
If you run tcpdump on the client, do you see any packets received from the AP?
If you have debugfs enabled in your kernel, 'ethtool -S wlan0' might show some useful stats (on a recent kernel)...
You could also cat out the 'xmit' debugfs file, perhaps at:
cat /debug/ieee80211/phy0/ath9k/xmit on both AP and client and see if the xmit queues have any backlog that will not clear?
Thanks,
Ben
Quoted 53 lines
Thanks,
Bhavesh.-----Original Message-----
From: Bhavesh Kamani [mailto:bhavesh.kamani at elitecore.com]
Sent: Wednesday, May 08, 2013 6:15 PM
To: 'Felix Fietkau'
Cc: 'Ben Greear'; 'ath9k-devel at venema.h4ckr.net'; 'nishit.shah at elitecore.com'
Subject: RE: [ath9k-devel] AR9380 frequent disconnect and stucks in AP mode.Hi Flex,
I tested this using hostapd-2.0 and compat-drivers-3.8.3-2-snp, but still facing the same issue.
Thanks,
Bhavesh.-----Original Message-----
From: Felix Fietkau [mailto:nbd at openwrt.org]
Sent: Tuesday, May 07, 2013 5:47 PM
To: Bhavesh Kamani
Cc: 'Ben Greear'; nishit.shah at elitecore.com; ath9k-devel at venema.h4ckr.net; 'Jimit Mahadevia'
Subject: Re: [ath9k-devel] AR9380 frequent disconnect and stucks in AP mode.Quoted 11 lines · Bhavesh Kamani
Hi Ben,
I tried compat-drivers-3.9-rc4-2-su, then also same problem I faced. I also tried compat-wireless-2.6.39-1 and compat-wireless-3.6.8-1, but facing the same issue.
In a day more than one clients are facing the same issue.
In the locked state, ping from client to AP not working and tcpdump on AP shows the echo response sent on wlan interface. Only few clients are
facing
Quoted 1 line
this issue frequently, but those clients don't have identical WiFi
hardware.
Quoted 4 lines
Is it possible for hardware/firmware to drop the tx packets for particular client? For me look like only data packets are getting dropped. My environment is noisy, will it affect this situation?
You should also upgrade hostapd to something recent. It's relevant for AP mode stability as well.
- Felix
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
Hi Ben,
Thanks for the suggestion.
On windows client I run wireshark and not seeing any packets.
Thanks,
Bhavesh.
Quoted 98 lines · Bhavesh Kamani
Quoted 8 lines
Hi Team,
I captured the packets in the locked state.
It looks like the AP is sending packets to client and client also sends ACK
in the locked state.Quoted 7 lines
In the locked state client also sends null data frames. In the null data frame I observed PM bit set to 0 and sometimes it is set to 1.
Is there any way to make sure that packet is decrypted successfully on client? OR Is there any mechanism which confirm the successful decryption on
client side?If you run tcpdump on the client, do you see any packets received from the AP?
If you have debugfs enabled in your kernel, 'ethtool -S wlan0' might show some
useful stats (on a recent kernel)...You could also cat out the 'xmit' debugfs file, perhaps at:
cat /debug/ieee80211/phy0/ath9k/xmit on both AP and client and see if the xmit queues have any backlog that will not clear?Thanks,
BenQuoted 50 lines
Thanks,
Bhavesh.-----Original Message-----
From: Bhavesh Kamani [mailto:bhavesh.kamani at elitecore.com]
Sent: Wednesday, May 08, 2013 6:15 PM
To: 'Felix Fietkau'
Cc: 'Ben Greear'; 'ath9k-devel at venema.h4ckr.net'; 'nishit.shah at elitecore.com'
Subject: RE: [ath9k-devel] AR9380 frequent disconnect and stucks in AP mode.Hi Flex,
I tested this using hostapd-2.0 and compat-drivers-3.8.3-2-snp, but still
facing the same issue.Thanks,
Bhavesh.-----Original Message-----
From: Felix Fietkau [mailto:nbd at openwrt.org]
Sent: Tuesday, May 07, 2013 5:47 PM
To: Bhavesh Kamani
Cc: 'Ben Greear'; nishit.shah at elitecore.com;
ath9k-devel at venema.h4ckr.net;
'Jimit Mahadevia'
Subject: Re: [ath9k-devel] AR9380 frequent disconnect and stucks in AP mode.Quoted 7 lines · Bhavesh Kamani
Hi Ben,
I tried compat-drivers-3.9-rc4-2-su, then also same problem I faced. I also tried compat-wireless-2.6.39-1 and compat-wireless-3.6.8-1, but facing the same issue.
Quoted 5 lines
In a day more than one clients are facing the same issue.
In the locked state, ping from client to AP not working and tcpdump on AP
shows the echo response sent on wlan interface. Only few clients arefacing
Quoted 1 line
this issue frequently, but those clients don't have identical WiFi
hardware.
Quoted 1 line
Quoted 9 lines
Quoted 4 lines
Is it possible for hardware/firmware to drop the tx packets for particular
client? For me look like only data packets are getting dropped. My environment is noisy, will it affect this situation?You should also upgrade hostapd to something recent. It's relevant for AP mode stability as well.
- Felix
--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com
Hi Ben,
Thanks for the suggestion.
On windows client I run wireshark and not seeing any packets.
Thanks,
Bhavesh.
Quoted 98 lines · Bhavesh Kamani
Quoted 8 lines
Hi Team,
I captured the packets in the locked state.
It looks like the AP is sending packets to client and client also sends ACK
in the locked state.Quoted 7 lines
In the locked state client also sends null data frames. In the null data frame I observed PM bit set to 0 and sometimes it is set to 1.
Is there any way to make sure that packet is decrypted successfully on client? OR Is there any mechanism which confirm the successful decryption on
client side?If you run tcpdump on the client, do you see any packets received from the AP?
If you have debugfs enabled in your kernel, 'ethtool -S wlan0' might show some
useful stats (on a recent kernel)...You could also cat out the 'xmit' debugfs file, perhaps at:
cat /debug/ieee80211/phy0/ath9k/xmit on both AP and client and see if the xmit queues have any backlog that will not clear?Thanks,
BenQuoted 50 lines
Thanks,
Bhavesh.-----Original Message-----
From: Bhavesh Kamani [mailto:bhavesh.kamani at elitecore.com]
Sent: Wednesday, May 08, 2013 6:15 PM
To: 'Felix Fietkau'
Cc: 'Ben Greear'; 'ath9k-devel at venema.h4ckr.net'; 'nishit.shah at elitecore.com'
Subject: RE: [ath9k-devel] AR9380 frequent disconnect and stucks in AP mode.Hi Flex,
I tested this using hostapd-2.0 and compat-drivers-3.8.3-2-snp, but still
facing the same issue.Thanks,
Bhavesh.-----Original Message-----
From: Felix Fietkau [mailto:nbd at openwrt.org]
Sent: Tuesday, May 07, 2013 5:47 PM
To: Bhavesh Kamani
Cc: 'Ben Greear'; nishit.shah at elitecore.com;
ath9k-devel at venema.h4ckr.net;
'Jimit Mahadevia'
Subject: Re: [ath9k-devel] AR9380 frequent disconnect and stucks in AP mode.Quoted 7 lines · Bhavesh Kamani
Hi Ben,
I tried compat-drivers-3.9-rc4-2-su, then also same problem I faced. I also tried compat-wireless-2.6.39-1 and compat-wireless-3.6.8-1, but facing the same issue.
Quoted 5 lines
In a day more than one clients are facing the same issue.
In the locked state, ping from client to AP not working and tcpdump on AP
shows the echo response sent on wlan interface. Only few clients arefacing
Quoted 1 line
this issue frequently, but those clients don't have identical WiFi
hardware.
Quoted 1 line
Quoted 9 lines
Quoted 4 lines
Is it possible for hardware/firmware to drop the tx packets for particular
client? For me look like only data packets are getting dropped. My environment is noisy, will it affect this situation?You should also upgrade hostapd to something recent. It's relevant for AP mode stability as well.
- Felix
--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com
Quoted 6 lines · bhavesh.kamani at elitecore.com
Hi Ben,
Thanks for the suggestion.
On windows client I run wireshark and not seeing any packets.
What about results from:
cat /debug/ieee80211/phy0/ath9k/xmit
cat /debug/ieee80211/phy0/ath9k/queues
ethtool -S vap0
Please run each several times with a few seconds between runs and send the results.
Thanks,
Ben
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
Hi Ben,
My encryption settings on AP is Auto(TKIP/AES) and wireless mode is 802.11 b/g/n. Whenever client with TKIP encryption connects to AP, at that time I have observed this behavior for that particular client. Client with AES not facing this issue. I have confirmed this by changing encryption on two clients.
When client with TKIP encryption connects after some time it goes in the locked state and not able to pass any traffic. I have air capture during this locked state. In the locked state I started ping from client to AP. Please find the capture in the attachment.
In the air packet capture I am able to see the packets from AP to client, so driver is not dropping the packet. Do you still require the debugfs info, which you requested in the last email?
Thanks,
Bhavesh.
-----Original Message-----
From: Ben Greear [mailto:greearb at candelatech.com]
Sent: Friday, May 10, 2013 8:07 PM
To: bhavesh.kamani at elitecore.com
Cc: 'Felix Fietkau'; ath9k-devel at venema.h4ckr.net; nishit.shah at elitecore.com
Subject: Re: [ath9k-devel] AR9380 frequent disconnect and stucks in AP mode.
Quoted 6 lines · bhavesh.kamani at elitecore.com
Hi Ben,
Thanks for the suggestion.
On windows client I run wireshark and not seeing any packets.
What about results from:
cat /debug/ieee80211/phy0/ath9k/xmit
cat /debug/ieee80211/phy0/ath9k/queues
ethtool -S vap0
Please run each several times with a few seconds between runs and send the results.
Thanks,
Ben
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com