Search Linux Wireless

Re: [PATCH] mac80211: Implementation of SIOCSIWRATE

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

 



Michael Wu wrote:
On Tuesday 29 May 2007 10:54, Larry Finger wrote:
From: Mohamed Abbas <mabbas@xxxxxxxxxxxxxxx>

So.. how much of this is still from mabbas now?

Only a small fraction of his original patch is left, but he contributed about half of what is left. I think he still needs credit.

+	/* value = -1, rate->fixed = 0 means auto only, so use all rates
+	 * value = X, rate->fixed = 1 means only rate X
+	 * value = X, rate->fixed = 0 means all rates <= X */
Only the second case actually works with this code.

When a frame is being transmitted, the rate control runs this little bit of code (rc80211_simple.c, line 255):

        if (sdata->bss && sdata->bss->force_unicast_rateidx > -1)
                sta->txrate = sdata->bss->force_unicast_rateidx;

This means:
1. If force_unicast_rateidx is set to 0 or higher, the tx rate will be fixed to just that one rate, and..
2. sta->txrate is automatically set from force_unicast_rateidx as necessary.

I'm testing a revised version now.

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