On Thu, 2008-12-11 at 14:00 +0200, Rami Rosen wrote: > - rx->sta = ieee80211_ibss_add_sta(sdata, rx->skb, > - bssid, hdr->addr2, > - BIT(rx->status->rate_idx)); > + rx->sta = ieee80211_ibss_add_sta(sdata, bssid, hdr->addr2, > + BIT(rx->status->rate_idx)); Unrelated to this patch (it's good), shouldn't we take into account the mandatory rate set here? If, for instance, we're receiving an 11MBit frame then we can be sure the sender supports 1 and 11, and if we're receiving a 48 MBit frame then we know already it supports [1, 2, 5.5, 11 if 2.4 GHz], 6, 12, 24 and 48. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part