On Sat, 2007-12-08 at 12:33 +0100, Mattias Nissler wrote: > On Sat, 2007-12-08 at 12:29 +0100, Johannes Berg wrote: > > > + /* Send management frames and broadcast/multicast data using lowest > > > + * rate. */ > > > + fc = le16_to_cpu(hdr->frame_control); > > > + if ((fc & IEEE80211_FCTL_FTYPE) != IEEE80211_FTYPE_DATA || > > > + (hdr->addr1[0] & 0x01)) > > > + sel->rate = rate_lowest(local, mode, sta); > > > > I'm not sure but I don't think we want this. And you should use > > is_multicast_addr() or whatever it's called. > > This piece comes directly from the old "simple" algo. You're right about > is_multicast_addr. I agree this is something we might to get rid of, but > I leave that decision to you. Right, but I guess that Intel's algorithms do something different and this would break it. IMHO that decision should stay in the algorithm itself. > Yes. It's after the get_rate() call so the algorithm can override it. > But if it doesn't we compute it ourselves. Hmm. Then the algorithm can't specify "no fallback rate", can it? Well, this will have to be reviewed anyway when the API is changed to support minstrel. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part