Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:33746 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753669Ab2BBEqe (ORCPT ); Wed, 1 Feb 2012 23:46:34 -0500 Date: Thu, 2 Feb 2012 10:16:49 +0530 From: Rajkumar Manoharan To: Sujith Manoharan CC: , , Paul Stewart Subject: Re: [PATCH 1/2] ath9k: recover the chip from tx/rx stuck Message-ID: <20120202044646.GA26377@vmraj-lnx.users.atheros.com> (sfid-20120202_054637_525564_5740E92D) References: <1328112335-19265-1-git-send-email-rmanohar@qca.qualcomm.com> <20265.65072.546108.448327@gargle.gargle.HOWL> <20120202035652.GB25988@vmraj-lnx.users.atheros.com> <20266.3200.403302.486325@gargle.gargle.HOWL> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <20266.3200.403302.486325@gargle.gargle.HOWL> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Feb 02, 2012 at 09:39:36AM +0530, Sujith Manoharan wrote: > Rajkumar Manoharan wrote: > > On Thu, Feb 02, 2012 at 08:38:32AM +0530, Sujith Manoharan wrote: > > > Rajkumar Manoharan wrote: > > > > +void ath_start_rx_poll(struct ath_softc *sc, const u32 msec) > > > > +{ > > > > + if (!AR_SREV_9300_20_OR_LATER(sc->sc_ah)) > > > > + return; > > > > > > I have not reviewed the patch, but to do such workarounds for an entire > > > family of chips is overkill. Has it been confirmed that the other > > > chips falling under this SREV check require this snafu ? > > > > > unfortunately this snafu is applicable for all ar9380 MAC based chips ;) > > and confirmed the same. > > Ok. But this stuff really needs to be verified for other chips. > These 'poll' workarounds are piling up. > Agree. But sometimes these 'poll' WARs are being inevitable. As this patch was verified in ar938x chips, i update the SREV to check only for 938x. -- Rajkumar