All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about rate control
@ 2011-01-24  3:45 Larry Finger
  2011-01-24  5:43 ` Larry Finger
  0 siblings, 1 reply; 2+ messages in thread
From: Larry Finger @ 2011-01-24  3:45 UTC (permalink / raw)
  To: Johannes Berg; +Cc: wireless

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?

Thanks,

Larry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-24  5:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-24  3:45 Question about rate control Larry Finger
2011-01-24  5:43 ` Larry Finger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.