From: Rasto Sramek Date: Tue, 27 Aug 2013 09:38:52 +0200 Subject: [ath9k-devel] Hostapd+WMM causes packet loss In-Reply-To: References: <20130825155709.GB13660@100acrewood.org> Message-ID: <20130827073852.GB8790@100acrewood.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Mon, Aug 26, 2013 at 06:46:05PM +0200, michael-dev wrote: > Hi, > > I'm seeing a kind of similar issue, though I'm having trouble > tracking it down and stopped when I thought it would be caused by > the STAs. So what I'm seeing is an STA that "receives" (that is the > packet is on air and there is a 802.11-ACK for it and wireshark can > decrypt it) and transmits packets in low-load situations but than > waits for ages to reply to them. It symptoms (websites load slowly) > has been reported by different client devices, but I've only done > packet inspection for one client so far. > > Would you mind to sniff the connection between AP and one STA using > the second STA in monitor mode with flags control and check whether > the lost packets actually get 802.11-ACKed by the STA? > That would be running > iw phy phyX interface add monX type monitor flags control > ifconfig monX up > wireshark -k -i monX > It likely helps the make wireshark decrypt the traffic, which it can > do for WPA-PSK encrypted unicast traffic [1]. You need to catch the > EAPOL frames with wireshark - I needed to stop wpa_supplicant on the > sniffing client for that. > It would then be interesting to know > - whether the packets get send out in a timely manner (i.e. with > ping you'll see the 1s distance or sniff on the ap interface for > that), > - if wireshark can decrypt it (without decryption the > source/destination mac is a good source to filter), > - whether the STA replies to the packet later on, > - if the STA sends other packets after it received the > un-replied-to/lately replied-to packets (i.e. if it thinks that it > cannot send). > > Regards, > M. Braun > > [1] http://wiki.wireshark.org/HowToDecrypt802.11 Thanks! I will try that and report back, might take a few days. Rasto