On Fri, 2011-05-20 at 01:13 +0200, Matteo Croce wrote: > Report correct MCS information in tx status info > > Signed-off-by: Matteo Croce <matteo@xxxxxxxxxxx> > > --- a/net/mac80211/status.c 2011-05-20 00:22:56.220640264 +0200 > +++ b/net/mac80211/status.c 2011-05-20 00:24:14.010640270 +0200 > @@ -405,6 +405,20 @@ > !(info->status.rates[0].flags & IEEE80211_TX_RC_MCS)) > rthdr->rate = sband->bitrates[ > info->status.rates[0].idx].bitrate / 5; > + /* HT rates */ > + if (info->status.rates[0].flags & IEEE80211_TX_RC_MCS) { > + rthdr->hdr.it_present |= > + cpu_to_le32(1 << IEEE80211_RADIOTAP_MCS); This means the part that I just commented on from the other patch is wrong. Think about this again, about how radiotap works etc. You're creating an invalid radiotap header that's too long if MCS rates aren't used. 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