On Thursday 07 June 2007 21:02, Larry Finger wrote: > If sta->supp_rates is not changed, how do you lock in a single rate as > would be expected from an 'iwconfig ethX rate 11M'? Won't the following > code in the rate_control_rate_dec routine of rc80211_simple just decrease > the rate if it wants to? > > while (i > 0) { > i--; > if (sta->supp_rates & BIT(i) && > mode->rates[i].flags & IEEE80211_RATE_SUPPORTED) { > sta->txrate = i; > break; > } > } > No, because the code right above it checks for force_unicast_rateidx and exits if it's set. -Michael Wu
Attachment:
pgpqk4uRiZ5bB.pgp
Description: PGP signature