RE: Linux 2.6.39

From: Tom Allebrandi
Date: Wed May 25 2011 - 13:28:27 EST



> >> > Read Local Version Information (0x04|0x0001) plen 0
> >> > > HCI Event: Command Complete (0x0e) plen 12
> >> >     Read Local Version Information (0x04|0x0001) ncmd 1
> >> >     HCI Version: 1.1 (0x1) HCI Revision: 0x20d
> >> >     LMP Version: 1.1 (0x1) LMP Subversion: 0x20d
> >> >     Manufacturer: Cambridge Silicon Radio (10) < HCI Command: Set
> >> > Event Mask (0x03|0x0001) plen 8
> >> >     Mask: 0xfffffbff00000000
>
> The HCI spec lists this as a 64-bit number but it must be sent in Little
Endian to
> the controller, hence the reverse order in Ville Tervo's patch earlier in
the
> email thread.

That I knew. I was just checking that 64 bit values are displayed left to
right since other little endian values (0x020d, 0x0001 above) are displayed
right to left.

Cheers!

--- tom
tom allebrandi
wyrles@xxxxxxxxx


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/