On Mon, Nov 9, 2009 at 5:50 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: >> sband = tx->local->hw.wiphy->bands[tx->channel->band]; >> >> @@ -979,6 +984,25 @@ >> tx->flags |= IEEE80211_TX_FRAGMENTED; >> break; >> >> + case IEEE80211_RADIOTAP_RATE: >> + rates = sband->bitrates; >> + for (i = 0; i < sband->n_bitrates; i++) { >> + if (rates[i].bitrate/5 == *iterator.this_arg) { >> + info->control.rates[0].idx = i; >> + break; >> + } >> + } >> + info->control.rates[0].flags = 0; > > This leaves the number of retries at ... 0. That makes no sense. What > driver are you using that this actually works with?! Oh no, the retries are set in the IEEE80211_RADIOTAP_DATA_RETRIES case, parsed from the radiotap header -- 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