Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump version to 0.0.10 | Marc | 2023-07-22 | 1 | -1/+1 |
| | |||||
* | parse: Swap operands for data frame memcpy | Marc | 2023-07-22 | 1 | -1/+1 |
| | |||||
* | build: Bump version to 0.0.9 | Marc | 2023-04-22 | 1 | -1/+1 |
| | |||||
* | Add support for ESP32 (#17) | Zduniusz | 2023-04-15 | 5 | -1/+35 |
| | | | | | | | | | | | | | | | | | | | | * Add support for ESP32 * core: Check length of body before allocating Frames with no body may be worth parsing, but should avoid the allocation of zero-length bodies. Instead, we'll check if the body exists in the parsed data and if that length is zero, return early with success. Fixes #16 * misc: Run GitHub build actions on pull requests * Add support for ESP32 --------- Co-authored-by: Zduniusz <Zduniusz@thisemaildoesnotexist.com> Co-authored-by: Marc <marc@malloc.me> | ||||
* | misc: Run GitHub build actions on pull requests | Marc | 2023-04-15 | 2 | -2/+2 |
| | |||||
* | Merge pull request #18 from libwifi/fixup_alloc | Marc | 2023-04-15 | 1 | -5/+9 |
|\ | | | | | core: Check length of frame body before allocating | ||||
| * | core: Check length of body before allocating | Marc | 2023-04-15 | 1 | -5/+9 |
|/ | | | | | | | | Frames with no body may be worth parsing, but should avoid the allocation of zero-length bodies. Instead, we'll check if the body exists in the parsed data and if that length is zero, return early with success. Fixes #16 | ||||
* | Merge pull request #15 from libwifi/cleanup | Marc | 2023-04-06 | 13 | -34/+2 |
|\ | | | | | gen: Remove randomness from generated frames by default | ||||
| * | gen: Remove randomness from generated frames by default | Marc | 2023-04-06 | 13 | -34/+2 |
|/ | | | | | | This was originally done to emulate what you might see from a typical airspace, but frankly, this is dumb to do in the library. The library user should be responsible for implementing these behaviours. | ||||
* | build: Respect cmake install prefix | Marc | 2023-01-18 | 1 | -5/+5 |
| | | | | Fixes #14 | ||||
* | Merge pull request #12 from libwifi/compiler | Marc | 2023-01-15 | 3 | -4/+27 |
|\ | | | | | Enable more code safety and hardening compiler flags | ||||
| * | build: Prevent PIE warning on shared lib | Marc | 2023-01-15 | 1 | -2/+2 |
| | | |||||
| * | build: Drop -Warith-conversion | Marc | 2023-01-15 | 1 | -1/+1 |
| | | |||||
| * | build: Enable more compiler security flags | Marc | 2023-01-15 | 1 | -3/+22 |
| | | |||||
| * | core/gen: Fix warnings flagged by new compiler options | Marc | 2023-01-15 | 2 | -1/+5 |
| | | |||||
* | | examples/util: Fix example compilation on 32-bit hosts | Marc | 2023-01-15 | 2 | -2/+4 |
| | | | | | | | | Fixes #10 | ||||
* | | Merge pull request #13 from mow/patch-1 | Marc | 2023-01-15 | 1 | -5/+3 |
|\ \ | |/ |/| | fix: consquent adding of details | ||||
| * | fix: consquent adding of details | Anıl | 2023-01-13 | 1 | -5/+3 |
|/ | | | to be able to add data to existing detail | ||||
* | Merge pull request #11 from libwifi/6ghz | Marc | 2022-10-16 | 8 | -56/+86 |
|\ | | | | | Add support for 6GHz and initial extension tag parsing | ||||
| * | Merge branch 'main' into 6ghz | Marc | 2022-10-16 | 3 | -2/+7 |
| |\ | |/ |/| | |||||
* | | build: Bump version to 0.0.8 | Marc | 2022-10-16 | 1 | -1/+1 |
| | | |||||
* | | gen: Fix boundary alignment in Radiotap header | Jeff | 2022-10-02 | 1 | -0/+5 |
| | | |||||
* | | examples: Use llu for uint64_t field | Marc | 2022-10-02 | 1 | -1/+1 |
| | | | | | | Fixes #10 | ||||
| * | parse: Add clarifying comment for Beacon frame length check | Marc | 2022-09-10 | 1 | -0/+1 |
| | | |||||
| * | core/parse: Add skeleton for element extension parsing | Marc | 2022-09-10 | 2 | -0/+18 |
| | | |||||
| * | core/parse: Better handling of Radiotap information | Marc | 2022-09-10 | 5 | -56/+67 |
|/ | | | | | | | | | | | | | | | | | | | | | | 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) { }` | ||||
* | build: Also build a statically-linkable version | Marc | 2022-08-20 | 1 | -1/+6 |
| | |||||
* | Add macOS support (#8) | Marc | 2022-08-20 | 11 | -21/+135 |
| | | | Add macOS build support | ||||
* | misc: delete COPYING file | Marc | 2022-08-11 | 1 | -15/+0 |
| | |||||
* | Merge pull request #7 from foxtrot/main | Marc | 2022-08-11 | 4 | -13/+14 |
|\ | | | | | Small cleanup and bugfix for Auth Key Management Suite parsing. | ||||
| * | build: Update AUTHORS file | Marc | 2022-08-10 | 1 | -0/+1 |
| | | |||||
| * | build: Bump version number to 0.0.6 | Marc | 2022-08-10 | 1 | -1/+1 |
| | | |||||
| * | parse: Update references to libwifi_cipher_suite struct | Marc | 2022-08-10 | 1 | -6/+6 |
| | | |||||
| * | parse: Check for WEP presence before removing it from bitfield | Marc | 2022-08-10 | 1 | -2/+6 |
| | | |||||
| * | parse: Remove useless reassignment of suite_type | Marc | 2022-08-10 | 1 | -4/+0 |
|/ | |||||
* | misc: Bump version to 0.0.5 | Marc | 2022-03-07 | 1 | -1/+1 |
| | |||||
* | core: Avoid double frame copy in radiotap handling | Marc | 2022-03-07 | 1 | -18/+7 |
| | | | | Thanks @dragorn ! | ||||
* | core: Ensure radiotap parser errors are handled | Marc | 2022-03-07 | 1 | -1/+4 |
| | |||||
* | misc: Bump version to 0.0.4 | Marc | 2022-03-07 | 1 | -1/+1 |
| | |||||
* | core: Return error if invalid length is supplied to tag_iterator_init() | Marc | 2022-03-04 | 1 | -1/+4 |
| | |||||
* | Revert "build: Add 'libinstall' target, for installing just the shared library" | Marc | 2022-02-01 | 1 | -1/+0 |
| | | | | This reverts commit 09e3322ba1d86e97e32f74382a4d5d5e77176e4a. | ||||
* | build: Add 'libinstall' target, for installing just the shared library | Marc | 2022-01-31 | 1 | -0/+1 |
| | |||||
* | misc: Change examples text to link | Marc | 2022-01-29 | 1 | -1/+1 |
| | |||||
* | Merge pull request #5 from libwifi/fixup | Marc | 2022-01-29 | 41 | -225/+457 |
|\ | | | | | Improve header comments, add ability to always specify Management frame Address 3 field | ||||
| * | gen: Style fixups for #5 | Marc | 2022-01-29 | 2 | -5/+6 |
| | | |||||
| * | misc: Show version output for debug builds. | Marc | 2022-01-29 | 1 | -0/+4 |
| | | |||||
| * | misc: Update README to include details about debug builds | Marc | 2022-01-28 | 1 | -1/+10 |
| | | |||||
| * | misc: Build Git branch and hash into .so in Debug mode | Marc | 2022-01-28 | 1 | -6/+10 |
| | | |||||
| * | core: Use version set in CMakeLists, inside code. Bump version to 0.0.3 | Marc | 2022-01-28 | 2 | -2/+5 |
| | | |||||
| * | utils: Fixup generation utility to use new function prototypes | Marc | 2022-01-28 | 1 | -12/+12 |
| | |