Return-path: Received: from mail2.candelatech.com ([208.74.158.173]:57930 "EHLO mail2.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753447AbbBKWZF (ORCPT ); Wed, 11 Feb 2015 17:25:05 -0500 Message-ID: <54DBD6C0.5000106@candelatech.com> (sfid-20150211_232510_384327_11942F40) Date: Wed, 11 Feb 2015 14:25:04 -0800 From: Ben Greear MIME-Version: 1.0 To: Michal Kazior CC: "ath10k@lists.infradead.org" , linux-wireless , Matti Laakso Subject: Re: [RFT] ath10k: restart fw on tx-credit timeout References: <1423224354-24955-1-git-send-email-michal.kazior@tieto.com> <54D4E89A.7040602@candelatech.com> <54D8DA6F.7040805@candelatech.com> <54DA3957.10402@candelatech.com> In-Reply-To: <54DA3957.10402@candelatech.com> Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 02/10/2015 09:01 AM, Ben Greear wrote: > I've hacked CT firmware to do a flush of all vdevs itself when it detects WMI hang. > I don't have a good test bed to reproduce the problem reliably, but I should know > after a few days if the flush works at all. If not, then it's a moot point anyway. So, this appears to at least partially work. But, what we notice is that when using multiple station vdevs, the system pretty much becomes useless if we get any significant number of stuck or slow-to-transmit management buffers over WMI. Part of this is because WMI messages are sent when holding rtnl much of the time, I think. I would guess that an AP with lots of peers associated might have similar problems if peers are not ACKing packets reliably. Probably the only useful way to fix this is to make the firmware and driver able to send management frames over the normal transport like every other data packet? Any idea what it wasn't written like that to begin with? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com