Return-path: Received: from nbd.name ([88.198.39.176]:46422 "EHLO ds10.nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965803Ab0COXxJ (ORCPT ); Mon, 15 Mar 2010 19:53:09 -0400 Message-ID: <4B9EC85B.8070800@openwrt.org> Date: Tue, 16 Mar 2010 00:52:59 +0100 From: Felix Fietkau MIME-Version: 1.0 To: "Luis R. Rodriguez" CC: "linville@tuxdriver.com" , Vivek Natarajan , Sujith Manoharan , "linux-wireless@vger.kernel.org" Subject: Re: [PATCH v3 00/12] ath9k_hw: complete support for AR9271 References: <1268459216-22372-1-git-send-email-lrodriguez@atheros.com> <20100315214338.GB4000@tux> <43e72e891003151625t795b8ecdr2ce2e6927e8632a4@mail.gmail.com> <20100315234909.GA2662@tux> In-Reply-To: <20100315234909.GA2662@tux> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 2010-03-16 12:49 AM, Luis R. Rodriguez wrote: > diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c > index 00570fb..867cfaf 100644 > --- a/drivers/net/wireless/ath/ath9k/hw.c > +++ b/drivers/net/wireless/ath/ath9k/hw.c > @@ -807,6 +804,10 @@ void ath9k_hw_init_global_settings(struct ath_hw *ah) > acktimeout += 64 - sifstime - ah->slottime; > > ath9k_hw_setslottime(ah, slottime); > + > + if (AR_SREV_9271(ah)) > + return; > + > ath9k_hw_set_ack_timeout(ah, acktimeout); > ath9k_hw_set_cts_timeout(ah, acktimeout); > if (ah->globaltxtimeout != (u32) -1) Why leave out the ACK/CTS timeout setting? How does the hw handle ACK and CTS timeouts? - Felix