|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
CR_TOTAL_TX_FRM register-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hello, I'm currently trying to understand the Zydas chip (I found out that all my machine / servers are using it). I'm trying to learn mac80211 as well (I have some experience with ath5k & rt2x00). Anyway, I tried to read the CR_TOTAL_TX_FRM (see zd_chip.h) and this register is always 0, except few times where it is 1. Apparently, this register is reset when it is read. However, I need to transfer several MB before getting a 1. Is that normal? How I can debug further? Regards, Benoit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrJAUgACgkQOR6EySwP7oLPwQCg7i2frZy9pUl7Yw7VFf3YnslD DYwAnj2Zdm2HEQVziuVcE+RupIUq4yIc =T/4d -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs |
|
|
Re: CR_TOTAL_TX_FRM register-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Benoit PAPILLAULT a écrit : > Hello, > > I'm currently trying to understand the Zydas chip (I found out that all > my machine / servers are using it). I'm trying to learn mac80211 as well > (I have some experience with ath5k & rt2x00). > > Anyway, I tried to read the CR_TOTAL_TX_FRM (see zd_chip.h) and this > register is always 0, except few times where it is 1. Apparently, this > register is reset when it is read. However, I need to transfer several > MB before getting a 1. > > Is that normal? How I can debug further? > > Regards, > Benoit Hello, I've tried the vendor driver ZD1211LnxDrv_2_22_0_0 and the TotalTxFrm register IS updated (using a 2.6.18 kernel this time). So it seems the zd1211rw driver is missing something. How I can help debugging this? Regards, Benoit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrKYWEACgkQOR6EySwP7oIo5QCfXX54ggr5zp3pXuZGGm/MTd+o d0MAn2ASPRdO3ByYOWHrpIlCO2iK2tAF =vc1J -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs |
|
|
Re: CR_TOTAL_TX_FRM register-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Benoit PAPILLAULT a écrit : > Hello, > > I've tried the vendor driver ZD1211LnxDrv_2_22_0_0 and the TotalTxFrm > register IS updated (using a 2.6.18 kernel this time). So it seems the > zd1211rw driver is missing something. > > How I can help debugging this? > > Regards, > Benoit Hello, I found out what's wrong. Each 32 bits register is read using 2 16 bits read request over the USB bus and since the ZD_RetryCnt is a read-and-clear register, if we read the wrong 16 bits part first, the other part is reset. This explain why I was getting always 0. I'll try to do a patch in the next couple of days for zd_ioread32v_locked. Regards, Benoit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrQN6MACgkQOR6EySwP7oIcxACgxK0nzuvso+F2ditw7zRan/Eb xuEAnj4CUSkoCVci+MZb0gvuX/C3Njkg =l6cG -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs |
| Free embeddable forum powered by Nabble | Forum Help |