-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 22 Oct 2002 17:08, Vaibhav Madan wrote:
> Hi
>       In the function parse_ethernet_functional_descriptor
>
>       if (ether_dev->wNumberMCFilters & (1 << 15)) {
>                 ether_dev->properties |= PERFECT_FILTERING;
>                 dbg("Perfect filtering support");
>       } else {
>                 dbg("Imperfect filtering support - need sw hashing");
>       }
>
> If the check (ether_dev->wNumberMCFilters & (1 << 15)) succeeds, then it
> should be Imperfect Filtering Support as the bit is set for IMPERFECT
> FILTERING and is 0 for PERFECT_FILTERING.
Good catch. Thanks.

> Also
>
>         if (0 == (ether_dev->wNumberMCFilters & (0x7f))) {
>                 ether_dev->properties |= NO_SET_MULTICAST;
>                 dbg("Can't use SetEthernetMulticastFilters request");
>         }
>
> It should be 0x7fff as the wNumberMCFilters is 16 bit.
Also verified against CDC spec table 41. Thanks also.

Brad

- -- 
http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9tQ39W6pHgIdAuOMRAr+5AKDFlk60P1x1QqVreH8wnnIYZgVi3QCeN5a9
OMPKmXHxFYJZ8qp70ZYFYXU=
=BM8R
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future of 
Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) 
program now. http://ad.doubleclick.net/clk;4699841;7576301;v?
http://www.sun.com/javavote
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to