about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* parse: Add clarifying comment for Beacon frame length checkMarc2022-09-101-0/+1
|
* core/parse: Add skeleton for element extension parsingMarc2022-09-102-0/+18
|
* core/parse: Better handling of Radiotap informationMarc2022-09-105-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 versionMarc2022-08-201-1/+6
|
* Add macOS support (#8)Marc2022-08-2011-21/+135
| | | Add macOS build support
* misc: delete COPYING fileMarc2022-08-111-15/+0
|
* Merge pull request #7 from foxtrot/mainMarc2022-08-114-13/+14
|\ | | | | Small cleanup and bugfix for Auth Key Management Suite parsing.
| * build: Update AUTHORS fileMarc2022-08-101-0/+1
| |
| * build: Bump version number to 0.0.6Marc2022-08-101-1/+1
| |
| * parse: Update references to libwifi_cipher_suite structMarc2022-08-101-6/+6
| |
| * parse: Check for WEP presence before removing it from bitfieldMarc2022-08-101-2/+6
| |
| * parse: Remove useless reassignment of suite_typeMarc2022-08-101-4/+0
|/
* misc: Bump version to 0.0.5Marc2022-03-071-1/+1
|
* core: Avoid double frame copy in radiotap handlingMarc2022-03-071-18/+7
| | | | Thanks @dragorn !
* core: Ensure radiotap parser errors are handledMarc2022-03-071-1/+4
|
* misc: Bump version to 0.0.4Marc2022-03-071-1/+1
|
* core: Return error if invalid length is supplied to tag_iterator_init()Marc2022-03-041-1/+4
|
* Revert "build: Add 'libinstall' target, for installing just the shared library"Marc2022-02-011-1/+0
| | | | This reverts commit 09e3322ba1d86e97e32f74382a4d5d5e77176e4a.
* build: Add 'libinstall' target, for installing just the shared libraryMarc2022-01-311-0/+1
|
* misc: Change examples text to linkMarc2022-01-291-1/+1
|
* Merge pull request #5 from libwifi/fixupMarc2022-01-2941-225/+457
|\ | | | | Improve header comments, add ability to always specify Management frame Address 3 field
| * gen: Style fixups for #5Marc2022-01-292-5/+6
| |
| * misc: Show version output for debug builds.Marc2022-01-291-0/+4
| |
| * misc: Update README to include details about debug buildsMarc2022-01-281-1/+10
| |
| * misc: Build Git branch and hash into .so in Debug modeMarc2022-01-281-6/+10
| |
| * core: Use version set in CMakeLists, inside code. Bump version to 0.0.3Marc2022-01-282-2/+5
| |
| * utils: Fixup generation utility to use new function prototypesMarc2022-01-281-12/+12
| |
| * examples: Fixup examples for new gen function prototypesMarc2022-01-281-1/+1
| |
| * test: Fixup tests for new gen function prototypesMarc2022-01-2810-21/+25
| |
| * gen: Improve header comments, add ability to set Address 3 field for all ↵Marc2022-01-2826-181/+388
|/ | | | management frames
* test: Fix beacon generation function callMarc2022-01-151-2/+2
|
* gen: Add ability to set different BSSID than Transmitter for BeaconsMarc2022-01-153-8/+21
|
* core: Fix `libwifi_frame_verify()` and clarify usage.Marc2022-01-132-3/+12
|
* parse: Check frame minimum length when parsing Radiotap headerMarc2022-01-124-15/+25
|
* core: Add LIBWIFI_FLAGS_IS_ORDERED flag to frameMarc2022-01-112-0/+2
|
* utils: Use parse_radiotap_header when getting frameMarc2022-01-091-1/+1
|
* core: Add Element Extension tag recognitionMarc2022-01-092-1/+4
|
* examples: Minor style fix for beacon parserMarc2022-01-091-1/+1
|
* examples: Add tag name to beacon parser outputMarc2022-01-092-43/+45
|
* misc: Update README.mdMarc2022-01-091-4/+12
|
* Merge pull request #4 from libwifi/tag_improvementsMarc2022-01-099-10/+376
|\ | | | | Tagged Parameter Improvements
| * core: Add a function to get the tag name via tag number.Marc2022-01-092-0/+351
| | | | | | | | | | Not very pretty, but it's also not so bad. Alternative is a huge array or a super ugly macro hack.
| * gen/parse: Remove stdio.h includesMarc2022-01-096-6/+0
| |
| * core: Add a function to check if a tag is present by tag numberMarc2022-01-092-0/+25
| |
| * core: Fix tag_iterator failure on empty tags.Marc2022-01-091-4/+0
|/ | | | | | | | | | | This code used to be `< 0`, but was changed to `<= 0` in commit d40ddfe. Thinking more about this, it's a bad idea to abort on 0 length tags, since it's completely valid for some tags (such as SSID) to be empty. It doesn't make sense to check if `tag_len` is below 0, because it's unsigned. So, remove the check completely.
* Merge pull request #3 from libwifi/testMarc2022-01-0952-67/+1463
|\ | | | | test: Add ctests for parse and generate functions.
| * test: Add beacon parser testMarc2022-01-093-6/+51
| |
| * util: Move pcaps out of test directory, into utilsMarc2021-12-1711-0/+0
| |
| * test: Add ctests for generation functions.Marc2021-12-1741-62/+1413
|/ | | | | This commit also enforces error code checking on functions inside of the generation functions, such as for `libwifi_quick_add_tag`.
* examples: Remove capture filter from parser examplesMarc2021-12-112-15/+1
|