Search Linux Wireless

Re: [PATCH 2/5] mac80211: fix CTS protection handling

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

 



On Sun, 2013-04-14 at 00:03 +0200, Felix Fietkau wrote:

> @@ -655,7 +655,9 @@ struct ieee80211_tx_info {
>  					struct ieee80211_tx_rate rates[
>  						IEEE80211_TX_MAX_RATES];
>  					s8 rts_cts_rate_idx;
> -					/* 3 bytes free */
> +					u8 use_rts:1;
> +					u8 use_cts_prot:1;

hmm, why here?

> --- a/net/mac80211/tx.c
> +++ b/net/mac80211/tx.c
> @@ -656,6 +656,9 @@ ieee80211_tx_h_rate_ctrl(struct ieee80211_tx_data *tx)
>  		txrc.rts = rts = true;
>  	}
>  
> +	info->control.use_rts = rts;

evidently, txrc already has an "rts" field?

johannes

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