Last active
August 29, 2015 14:04
-
-
Save dominicgs/eb43859f4239a8afdc78 to your computer and use it in GitHub Desktop.
USB packet format for dot11 device
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct dot11_packet { | |
int32_t tv_sec; | |
int32_t tv_usec; | |
int dlt; | |
/* Channel we captured on, if available in packet headers, or channel we | |
* will tx on */ | |
int channel; | |
/* Length of components */ | |
int length; | |
int length_capheader; | |
int length_data; | |
}; | |
Followed by the header data, then the payload (using the lengths given above). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment