tcpdump mailing list archives
Re: USB support in libpcap
From: "Jon Smirl" <jonsmirl () gmail com>
Date: Mon, 26 Mar 2007 17:12:44 -0400
On 3/26/07, Michael Richardson <mcr () sandelman ottawa on ca> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Jon" == Jon Smirl <jonsmirl () gmail com> writes:
Jon> For example wifi adapters are all built using proprietary USB
Jon> messages, to decode these messages you need to know the USB device ID
Jon> of the adapter. This device id is not normally in the capture stream
Jon> of the adapter. The attached code will force this data into the stream
Jon> when capture is first started so that an app like Wireshark has the
Jon> needed data to full decode the stream.
Okay, so if the point is to do a network capture from a USB attached
wifi, why not just capture the 802.11 frames themselves into the already
standardized frame formats we have?
I'm aware of the radio tap formats. But capturing at that level doesn't help debug a USB device driver for the wifi adapter. To debug the driver you need to capture the private protocol of register writes to the device in addition to the WiFi traffic. The device driver bugs are in the register write traffic.
- -- ] Bear: "Me, I'm just the shape of a bear." | firewalls [ ] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[ ] mcr () xelerance com http://www.sandelman.ottawa.on.ca/mcr/ |device driver[ ] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Finger me for keys iQEVAwUBRggkH4CLcPvd0N1lAQI3nggAwY9HAY3Dr5wHC7SXaArnQi+rHL453k07 3Zk2drhcLahUyVYBlC9+lw+FEAiFMHjBMl2M9cL6uANweBHONyg7Sly3XiXjLWFu ZQNyo8gnfqO3kkHm0qQ0bHVdYp309kOyV4M/mhsfHHr+mbpEoNjeObT1pqyCK4Ur sCJ9tzaQGgYhStaKJ460lXrcGs8by/A9JKHi5mpQqaHr7gfnvqhx6tjoZaGzWLL0 9hagKiaTYN+l6ass0DXf+BFuhvsv3so/pinwO89J9dt2S+8p+ma3BGxbnnD+EQMI hlfZCYWELLHcEw8jTLF0EHkhwt4RG+LIRS26tMnpBdU7rs+QS63vIA== =Jnj+ -----END PGP SIGNATURE----- - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
-- Jon Smirl jonsmirl () gmail com - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- USB support in libpcap Jon Smirl (Mar 25)
- Re: USB support in libpcap Michael Richardson (Mar 26)
- Re: USB support in libpcap Bruce M Simpson (Mar 26)
- Re: USB support in libpcap Gianluca Varenni (Mar 26)
- Re: USB support in libpcap Jon Smirl (Mar 26)
- Re: USB support in libpcap Jon Smirl (Mar 26)
- Re: USB support in libpcap Michael Richardson (Mar 26)
