Return-path: Received: from mail.atheros.com ([12.19.149.2]:35956 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750696Ab1D2EKu (ORCPT ); Fri, 29 Apr 2011 00:10:50 -0400 Received: from mail.atheros.com ([10.10.20.108]) by sidewinder.atheros.com for ; Thu, 28 Apr 2011 21:10:22 -0700 Date: Fri, 29 Apr 2011 09:40:18 +0530 From: Vasanthakumar Thiagarajan To: Mohammed Shafi Shajakhan CC: "linux-wireless@vger.kernel.org" , "linville@tuxdriver.com" , Luis Rodriguez , Senthilkumar Balasubramanian , Mohammed Shajakhan Subject: Re: [RFC/RFT 1/9] ath9k_hw: make antenna diversity modules chip specific Message-ID: <20110429041018.GA26690@vasanth-laptop> (sfid-20110429_061053_540990_76A1EE35) References: <1304000579-5784-1-git-send-email-mshajakhan@atheros.com> <1304000579-5784-2-git-send-email-mshajakhan@atheros.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <1304000579-5784-2-git-send-email-mshajakhan@atheros.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Apr 28, 2011 at 07:52:51PM +0530, Mohammed Shafi Shajakhan wrote: > From: Mohammed Shafi Shajakhan > > this is necessary to support Antenna diversity and combining in new chip > sets such as AR9485, previously Antenna diversity support is available > only in AR9285 > > Signed-off-by: Mohammed Shafi Shajakhan > --- > drivers/net/wireless/ath/ath9k/ar9002_mac.c | 2 ++ > drivers/net/wireless/ath/ath9k/ar9002_phy.c | 8 ++++---- > drivers/net/wireless/ath/ath9k/hw-ops.h | 12 ++++++++++++ > drivers/net/wireless/ath/ath9k/hw.h | 15 +++++++++++---- > 4 files changed, 29 insertions(+), 8 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath9k/ar9002_mac.c b/drivers/net/wireless/ath/ath9k/ar9002_mac.c > index c338efb..106714d 100644 > --- a/drivers/net/wireless/ath/ath9k/ar9002_mac.c > +++ b/drivers/net/wireless/ath/ath9k/ar9002_mac.c > @@ -458,4 +458,6 @@ void ar9002_hw_attach_mac_ops(struct ath_hw *ah) > ops->clr11n_aggr = ar9002_hw_clr11n_aggr; > ops->set11n_burstduration = ar9002_hw_set11n_burstduration; > ops->set_clrdmask = ar9002_hw_set_clrdmask; > + ops->antdiv_comb_conf_get = ar9002_hw_antdiv_comb_conf_get; > + ops->antdiv_comb_conf_set = ar9002_hw_antdiv_comb_conf_set; This should be part of phy_ops. Vasanth