about summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
authorMarc <foxtrot@malloc.me>2022-01-29 00:17:41 +0000
committerGitHub <noreply@github.com>2022-01-29 00:17:41 +0000
commit62ea5defe6e5e71c5c90c0f3d3d5e8d5dd9c57f6 (patch)
tree626939c4b36126e285e1841912f2c2feb41f055b /README.md
parenta9a46f40228429e128390d4d4979788e2778e8d0 (diff)
parentd26739cec88e2d798f07eafce0396fcd87c4ba1c (diff)
downloadlibwifi-62ea5defe6e5e71c5c90c0f3d3d5e8d5dd9c57f6.tar.gz
libwifi-62ea5defe6e5e71c5c90c0f3d3d5e8d5dd9c57f6.tar.bz2
libwifi-62ea5defe6e5e71c5c90c0f3d3d5e8d5dd9c57f6.zip
Merge pull request #5 from libwifi/fixup
Improve header comments, add ability to always specify Management frame Address 3 field
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md index 846ec94..46e4b00 100644 --- a/README.md +++ b/README.md
@@ -13,7 +13,7 @@ It is written with a simple-to-use approach while also exposing features that al
13The library is fully documented with code comments in both the headers files and the code files. 13The library is fully documented with code comments in both the headers files and the code files.
14 14
15## Building and Installing 15## Building and Installing
16### Linux 16### Building as Release
17``` 17```
18$ mkdir build 18$ mkdir build
19$ cd build 19$ cd build
@@ -21,6 +21,19 @@ $ cmake ..
21$ make 21$ make
22$ sudo make install 22$ sudo make install
23``` 23```
24### Building as Debug
25You can also specify `-DCMAKE_BUILD_TYPE=Debug` to CMake, to generate a library with debug symbols present. This also sets the library version number to `dev-BRANCHNAME-COMMITHASH`.
26```
27$ mkdir build
28$ cd build
29$ cmake .. -DCMAKE_BUILD_TYPE=Debug
30$ make
31$ sudo make install
32```
33```
34$ ./test_misc
35libwifi version: dev-fixup-7909700
36```
24 37
25## Examples 38## Examples
26Some examples are available in the `examples/` directory, which show the general flow of how libwifi is used to generate and parse different types of 802.11 frame. 39Some examples are available in the `examples/` directory, which show the general flow of how libwifi is used to generate and parse different types of 802.11 frame.