Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SirDifferential committed Sep 23, 2020
1 parent 49f536e commit b0d9511
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@

This program uses the scanning features of wifi hardware to discover nearby wifi access points and prints information about them. Due to libnl / nl80211 being used, this program only works on somewhat newer wifi drivers. Only root can perform scanning due to `NL80211_CMD_TRIGGER_SCAN` being limited to root by default.

The is code is applied from:

* libnl sources: [https://www.infradead.org/~tgr/libnl/](https://www.infradead.org/~tgr/libnl/])
* example code from Python libnl port: [https://github.com/Robpol86/libnl/blob/master/example_c/scan_access_points.c](https://github.com/Robpol86/libnl/blob/master/example_c/scan_access_points.c)

This changed version of the example program `scan_access_points.c` addresses several errors that were not handled, scans for more information, rearranges the code in a cleaner format and improves on the documentation. In addition, several memory leaks with allocated libnl resources are handled.

Due to libnl, this program is Linux only.
This program is Linux only.

### Dependencies

Expand Down

0 comments on commit b0d9511

Please sign in to comment.