Search Linux Wireless

Re: [RFC/RFT 1/9] ath9k_hw: make antenna diversity modules chip specific

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 28, 2011 at 07:52:51PM +0530, Mohammed Shafi Shajakhan wrote:
> From: Mohammed Shafi Shajakhan <mshajakhan@xxxxxxxxxxx>
> 
> 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 <mshajakhan@xxxxxxxxxxx>
> ---
>  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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux