Search Linux Wireless

Re: zd1211 3.0.0.56 "vendor driver" - please help port to zd1211rw

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

 



On Tue, May 26, 2009 at 5:30 PM, Luis R. Rodriguez
<lrodriguez@xxxxxxxxxxx> wrote:
> On Mon, May 25, 2009 at 12:08:05AM -0700, Hin-Tak Leung wrote:
>> This is just a head-up that I have a series of diffs to port the
>> vendor driver forward to current kernels, if anybody wants to have a
>> look, for side-by-side scavenging to the rw driver. (I probably will
>> post them to the sourceforge zd1211-dev list after a little look at
>> that oops)
>
> That's great to hear, feel free to post them to linux-wireless as
> RFC/RFTs.

The patches are somewhat big so I have split them the git way and
uploaded to the sourceforge user area. Here is some extra description
beyond what the header says. I will probably upload a version of this
summary write-up when/if I get some feedback. The fix for the oops I
mentioned earlier is patch 0007. Caveate: The driver is known *not* to
work on 64-bit platform.

----------------------------------------------------------------
http://htl10.users.sourceforge.net/LinuxUSB_AR2524-3.0.0.56_2009May_pathset/

0001-wext-Emit-event-stream-entries-correctly-when-compa.patch
0002-Convert-direct-reference-of-netdev-priv-to-netdev_p.patch
0003-adding-Philip-USB-stick-vid-pid.patch
0004-forward-port-of-an-old-patch-from-the-internet.patch
0005-add-delay-for-firmware-loading-bug.patch
0006-fix-compile-error-when-HMAC_DEBUG-is-enbled.patch
0007-fix-NULL-pointer-deference-in-newly-introduced-in-3.patch
0008-removing-two-tedious-messages-which-prints-once-ever.patch
0009-commenting-out-two-informative-messages.patch

0001 - required from about 2.6.27 onwards
0002 - required from about 2.6.29 onwards
0003 - vid/pid of my hardware
0004 - this probably should be splitted up into a few patches; some of
it is just error-checking/recovery, the 'restart URB on timeout' code
path was needed in 2.0 and often triggered when the 2.0 driver was
under stress but seems to be never triggered in 3.0, so it probably
just covers an old bug elsewhere which has since been fixed. I do not
understand the purpose of the interrupt<->bulk transfer change; if
somebody else does, please tell me.
0005 - splitted out from 0004
0006 - it is a bug which is only encountered when HMAC_DEBUG is
enabled (which is not the default) so this patch is not important for
normal usage
0007 - important bug fix for a new bug in 3.0
0008, 0009 - I find these dmesg messages too frequent and not
imformative (0008 is regular every two minutes, 0009 is whenever AP
mode is under stress, but seems to be harmless). 0009 probably should
*not* be applied for debugging AP problems.

Patch set against the older driver - they are not very tidy, but
mostly for historical purposes:
http://htl10.users.sourceforge.net/ZD1211LnxDrv_2_22_0_0_2009May_pathset/

0001-first-working-version-without-usb-speed-override.patch
0002-remove-usb-speed-override.patch
0003-compiler-warnings.patch
0004-compiler-warnings.patch
0005-compiler-warnings.patch
0006-more-compiler-warnings.patch
0007-commit-ccc580571cf0799d0460a085a7632b77753f083e.patch
0008-Convert-direct-reference-of-netdev-priv-to-netdev_p.patch
0009-more-clean.patch
0010-removing-some-debug-messages.patch
0011-more-compiler-warnings.patch
0012-more-compiler-warnings.patch
0013-Possible-fix-for-NULL-pointer-dereference-in-getElem.patch

0001 is tidied up and split into 0003/0004/0005 in 3.0
0002 is something I decide - the driver shouldn't speed based on USB
host speed, but just throttle back on rate. (but seems to trigger the
'restart URB on timeout' code path quite often).
0007 is similiar to 3.0's 0001 ; 0008 is similiar to 3.0's 0002;
0013 is discovered via looking at the 2.0/3.0 difference. It seems to
be a bug fix in 3.0, which is therefore backported.
----------------------------------
--
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