Search Linux Wireless

Re: Question about rate control

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

 



On 01/23/2011 09:45 PM, Larry Finger wrote:
> I'm trying to use a special rate-control algorithm. ATM, this is necessary
> because I don't know how to get the retry info from the firmware. This setup
> worked fine with rtl8192ce using a fixed name compiled in the rate_control_ops
> struct. The problem is that this code is also used by a new USB driver named
> rtl8192cu that shares the rtlwifi module with the PCIe driver. When both are
> loaded, the second gets a duplicate name warhing. To fix this, I have set up
> code that generates a unique name, but it doesn't work. To help debug, I added a
> printk to dump the name used in every call to ieee80211_rate_control_register().
> The result of that printk is shown below. The 3rd value listed is my new one and
> all looks OK; however, the selected rate control is "minstrel_ht", not my
> special one.
> 
> ops->name: minstrel
> ops->name: minstrel_ht
> --snip--
> ops->name: rtl-rc-0
> ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> 
> Any thoughts on what might be wrong, or what values should be dumped for debugging?

I figured out my problem - I was not setting the rate_control_algorithm entry in
struct ieee80211_hw correctly. All is fine 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