On Thursday 07 June 2007 17:47, Larry Finger wrote: > + (mode->rates[i].flags & IEEE80211_RATE_SUPPORTED)) { > + if (mode->rates[i].rate < min_rate) { > + min_rate = mode->rates[i].rate; > + sta->txrate = i; > + } You can just use the first supported rate you find. The rest of the rate control code makes the assumption that lower rate indices are more reliable than higher ones. -Michael Wu
Attachment:
pgpwmLB4nQoOC.pgp
Description: PGP signature