On 2013-04-15 3:40 PM, Johannes Berg wrote: > 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? I need access to that field after txrc is already gone (when the driver calls ieee80211_get_tx_rates). - Felix -- 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