tcpdump mailing list archives

Re: Missing packet fields in big endian with ath9k


From: Guy Harris <guy () alum mit edu>
Date: Sun, 28 Apr 2013 19:33:55 -0700


On Apr 28, 2013, at 5:46 PM, Guy Harris <guy () alum mit edu> wrote:

Oops, that should be

              rssi = *(int8_t *)p;

so that the byte is sign-extended.

...but do *NOT* make that change to the RADIOTAP_DB_ANTENNA_SIGNAL case, as *that* value is *unsigned*.
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: