Search Linux Wireless

[ath9k-devel] [PATCH] ath9k: Set IEEE80211_TX_CTL_RATE_CTRL_PROBE in rate control for probe rates

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

 



Vasanthakumar Thiagarajan wrote:
> ---
>  drivers/net/wireless/ath9k/rc.c |   13 ++++++++-----
>  1 files changed, 8 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/net/wireless/ath9k/rc.c b/drivers/net/wireless/ath9k/rc.c
> index 8327356..a35b525 100644
> --- a/drivers/net/wireless/ath9k/rc.c
> +++ b/drivers/net/wireless/ath9k/rc.c
> @@ -750,7 +750,8 @@ static u8 ath_rc_ratefind_ht(struct ath_softc *sc,
>  static void ath_rc_rate_set_series(struct ath_rate_table *rate_table,
>  				   struct ieee80211_tx_rate *rate,
>  				   struct ieee80211_tx_rate_control *txrc,
> -				   u8 tries, u8 rix, int rtsctsenable)
> +				   u8 tries, u8 rix, int rtsctsenable,
> +				   bool is_probe)
>  {
>  	rate->count = tries;
>  	rate->idx = rix;
> @@ -765,6 +766,8 @@ static void ath_rc_rate_set_series(struct ath_rate_table *rate_table,
>  		rate->flags |= IEEE80211_TX_RC_SHORT_GI;
>  	if (WLAN_RC_PHY_HT(rate_table->info[rix].phy))
>  		rate->flags |= IEEE80211_TX_RC_MCS;
> +	if (is_probe)
> +		rate->flags |= IEEE80211_TX_CTL_RATE_CTRL_PROBE;
>  }
>  

IEEE80211_TX_CTL_RATE_CTRL_PROBE is to be used with flags@ieee80211_tx_info
and is not a per-rate flag.

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 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