On Fri, Mar 22, 2013 at 01:24:54PM +0100, Johannes Berg wrote: > On Mon, 2013-03-18 at 20:54 +0100, Karl Beldan wrote: > > > > No, older wpa_supplicant/hostapd still use monitor interfaces for > > > management frame transmissions, and require rate control. > > > > > > > Since they require rate control, I guess they don't pass any radiotap > > IEEE80211_RADIOTAP_{RATE,MCS} ? In that case that wouldn't disturb them. > > Yeah, indeed, I wasn't looking right ... > > > And, oops typo, I meant : > > > > + !(info->flags & IEEE80211_TX_CTL_INJECTED && info->control.rates[0] != -1)) > > 1) > > with info->control.rates[0] properly set in the radiotap header parsing, > > instead of : > > > > > > + !(info->flags & IEEE80211_TX_CTL_INJECTED && info->control.rates[i])) > > > > If that changes anything to what you guessed. > > Well actually this won't work anyway because control.rates[] isn't > initialized to -1. > Of course we would set info->control.rates[0] to -1 by default in ieee80211_parse_tx_radiotap and set it to something else if we parse a IEEE80211_RADIOTAP_{RATE,MCS} (i.e what I was referring to in 1b). Karl -- 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