Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | examples/util: Fix example compilation on 32-bit hosts | Marc | 2023-01-15 | 1 | -1/+2 |
| | | | | Fixes #10 | ||||
* | core/parse: Better handling of Radiotap information | Marc | 2022-09-10 | 1 | -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) | Marc | 2022-08-20 | 2 | -1/+4 |
| | | | Add macOS build support | ||||
* | utils: Fixup generation utility to use new function prototypes | Marc | 2022-01-28 | 1 | -12/+12 |
| | |||||
* | gen: Add ability to set different BSSID than Transmitter for Beacons | Marc | 2022-01-15 | 1 | -4/+7 |
| | |||||
* | parse: Check frame minimum length when parsing Radiotap header | Marc | 2022-01-12 | 1 | -11/+11 |
| | |||||
* | utils: Use parse_radiotap_header when getting frame | Marc | 2022-01-09 | 1 | -1/+1 |
| | |||||
* | test: Add beacon parser test | Marc | 2022-01-09 | 1 | -5/+0 |
| | |||||
* | util: Move pcaps out of test directory, into utils | Marc | 2021-12-17 | 11 | -0/+0 |
| | |||||
* | test: Add ctests for generation functions. | Marc | 2021-12-17 | 7 | -0/+1681 |
This commit also enforces error code checking on functions inside of the generation functions, such as for `libwifi_quick_add_tag`. |