Return-path: Received: from mail2.candelatech.com ([208.74.158.173]:52823 "EHLO mail2.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752296AbaG1VRp (ORCPT ); Mon, 28 Jul 2014 17:17:45 -0400 Message-ID: <53D6BDF8.7080005@candelatech.com> (sfid-20140728_232425_773491_08074372) Date: Mon, 28 Jul 2014 14:17:44 -0700 From: Ben Greear MIME-Version: 1.0 To: Felix Fietkau CC: linux-wireless@vger.kernel.org, linville@tuxdriver.com, antonio@open-mesh.com Subject: Re: [PATCH] ath9k: fix aggregation session lockup References: <1406122854-60239-1-git-send-email-nbd@openwrt.org> <53D6B87D.6080007@candelatech.com> <53D6BC7F.2020002@openwrt.org> In-Reply-To: <53D6BC7F.2020002@openwrt.org> Content-Type: text/plain; charset=windows-1252 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 07/28/2014 02:11 PM, Felix Fietkau wrote: > On 2014-07-28 22:54, Ben Greear wrote: >> On 07/23/2014 06:40 AM, Felix Fietkau wrote: >>> If an aggregation session fails, frames still end up in the driver queue >>> with IEEE80211_TX_CTL_AMPDU set. >>> This causes tx for the affected station/tid to stall, since >>> ath_tx_get_tid_subframe returning packets to send. >>> >>> Fix this by clearing IEEE80211_TX_CTL_AMPDU as long as no aggregation >>> session is running. >> >> Did this and your previous patch about 'pending tx frames accounting' >> fix the issues reported? > Yes. > >> They at least do not fix the problems I see where tx appears to hang, >> but my setup is pretty 'special'.... > Interesting. Maybe you should ask Antonio for an updated version of the > patch that he used to debug this issue. If you give me the output of it > while it's locked up, I might be able to figure out what's going on in > your setup. Let me first try to reproduce with a recent, un-hacked-upon kernel... I would welcome the debug patch in the meantime. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com