Search Linux Wireless

Re: [PATCH V2] mac80211: Implementation of SIOCSIWRATE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Wu wrote:
On Thursday 07 June 2007 17:43, Larry Finger wrote:

+			sta->supp_rates = supp;
This is definitely wrong. What rates we support has nothing to do with what rates the AP supports.

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;
                }
        }


Larry
-
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux