about summary refs log tree commit diff stats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* core/parse: Better handling of Radiotap informationMarc2022-09-101-53/+31
| | | | | | | | | | | | | | | | | | | | | | Radiotap information is now stored in the `libwifi_frame` struct, and will be kept automatically in `libwifi_frame.radiotap_info` for the lifecycle of said frame, if it is present. A new flag has been added for the frame for use with `libwifi_frame.flags` to detect if the radiotap info is present: `LIBWIFI_FLAGS_RADIOTAP_PRESENT`. The frame parser will now automatically calculate the band and center channel from radiotap data, and will store them in `libwifi_radiotap_info.channel.center` and `libwifi_radiotap_info.channel.band`. Four new flags have been added for use with the new radiotap band field: - `LIBWIFI_RADIOTAP_BAND_2GHZ` - `LIBWIFI_RADIOTAP_BAND_5GHZ` - `LIBWIFI_RADIOTAP_BAND_6GHZ` - `LIBWIFI_RADIOTAP_BAND_900MHZ` These can be used with a binary AND: `if (rtap.channel.band & LIBWIFI_RADIOTAP_BAND_6GHZ) { }`
* Add macOS support (#8)Marc2022-08-202-1/+4
| | | Add macOS build support
* utils: Fixup generation utility to use new function prototypesMarc2022-01-281-12/+12
|
* gen: Add ability to set different BSSID than Transmitter for BeaconsMarc2022-01-151-4/+7
|
* parse: Check frame minimum length when parsing Radiotap headerMarc2022-01-121-11/+11
|
* utils: Use parse_radiotap_header when getting frameMarc2022-01-091-1/+1
|
* test: Add beacon parser testMarc2022-01-091-5/+0
|
* util: Move pcaps out of test directory, into utilsMarc2021-12-1711-0/+0
|
* test: Add ctests for generation functions.Marc2021-12-177-0/+1681
This commit also enforces error code checking on functions inside of the generation functions, such as for `libwifi_quick_add_tag`.