Search Linux Wireless

Re: [PATCH 1/2] ath9k_hw: toggle weak signal detection in AP mode on older chipsets

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

 



Felix Fietkau wrote:
> -	if (ah->opmode != NL80211_IFTYPE_AP &&
> -	    aniState->ofdmWeakSigDetect != weak_sig) {
> -		ath9k_hw_ani_control(ah,
> -				     ATH9K_ANI_OFDM_WEAK_SIGNAL_DETECTION,
> -				     entry_ofdm->ofdm_weak_signal_on);
> -	}
> +	else if (AR_SREV_9300_20_OR_LATER(ah) &&
> +		 ah->opmode != NL80211_IFTYPE_STATION)
> +		weak_sig = true;
> +
> +	if (aniState->ofdmWeakSigDetect != weak_sig)
> +		ath9k_hw_ani_control(ah, ATH9K_ANI_OFDM_WEAK_SIGNAL_DETECTION,
> +				     weak_sig);

Any reason why this has been changed to disregard the WS-DET parameter from
ofdm_level_table[] ?

Sujith
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux