On Sat, 2008-04-12 at 19:54 +0200, Thomas Bächler wrote: > Ivo van Doorn schrieb: > >> Bad news again: > >> > >> With 2.6.25-rc8, rt2500pci is fast. When I apply this patch: > >> ftp://ftp.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.25-rc8-git8.bz2 > >> on top of rc8, then it is slow again. I can't make sense of it, maybe > >> you can. > > > > Not really, looking at that patchset neither rt2x00 or mac80211 had any patches > > that could influence packet flow.. :S > > > > Ivo > > I compiled half a dozen kernels and now figured it out. This is the > patch that causes rt2500pci to be slow. If I revert it, it is fast again: > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d43c7b37ad787173d08683f05eadeea0398fefdf > > I'd love to see this fixed before 2.6.25 is released, as it's a > regression compared to -rc8. That's odd. But that patch looks a bit fishy now that I look at it, care to try below change (manually, this isn't a patch)? johannes bool use_protection = (erp_value & WLAN_ERP_USE_PROTECTION) != 0; - bool use_short_preamble = (erp_value & WLAN_ERP_BARKER_PREAMBLE) == 0; + bool use_short_preamble = (erp_value & WLAN_ERP_BARKER_PREAMBLE) != 0; DECLARE_MAC_BUF(mac);
Attachment:
signature.asc
Description: This is a digitally signed message part