Return-path: Received: from mail.candelatech.com ([208.74.158.172]:49837 "EHLO ns3.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756353Ab3BVMzQ (ORCPT ); Fri, 22 Feb 2013 07:55:16 -0500 Message-ID: <51276AA6.4000805@candelatech.com> (sfid-20130222_135522_106859_7AAFDC4A) Date: Fri, 22 Feb 2013 04:55:02 -0800 From: Ben Greear MIME-Version: 1.0 To: Felix Fietkau CC: Sujith Manoharan , ath9k-devel@venema.h4ckr.net, linux-wireless@vger.kernel.org Subject: Re: [ath9k-devel] [RFC] ath9k: Detect and work-around tx-queue hang. References: <1361498797-14361-1-git-send-email-greearb@candelatech.com> <20774.62475.588131.344540@gargle.gargle.HOWL> <5126F732.6040007@candelatech.com> <20774.63702.208829.602903@gargle.gargle.HOWL> <51270186.6070003@candelatech.com> <51275837.4020708@openwrt.org> <20775.25545.671357.512930@gargle.gargle.HOWL> <512766B8.3030008@openwrt.org> In-Reply-To: <512766B8.3030008@openwrt.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 02/22/2013 04:38 AM, Felix Fietkau wrote: > On 2013-02-22 1:25 PM, Sujith Manoharan wrote: >> Felix Fietkau wrote: >>> Please also check if the station(s) that the frames are queued for are >>> in powersave state for some reason. That would prevent the tx path from >>> throwing them in the hw queue, yet they'd still take up pending-frame >>> slots. I was planning on fixing this eventually by expiring frames that >>> stay in the queue for too long, but haven't decided on the exact >>> approach yet. >> >> PS is disabled for multi-VIF. > What about off-channel PS due to scans, etc. Scan is always locked to the same channel in this setup (once a single station is associated). The stations stay associated while this problem happens (the high-priority queue seems to work just fine, which may be the reason they stay associated just fine.) In some cases, I see packets delivered around 30 seconds late... aside from PS and off-channel..any idea what could make a packet stick around that long in the tx queues? Thanks, Ben > > - Felix > -- Ben Greear Candela Technologies Inc http://www.candelatech.com