Age | Commit message (Collapse) | Author | Files | Lines |
|
wpa_supplicants sends events formatted as strings. This makes it
human-readable, but rather annoying to parse and compare. Thus, we add a
small parser to turn wpa-events into some binary format for easy
comparison and handling.
We don't support all events but only the events we need. Feel free to add
new events once you need them. Also note that we don't parse parameters,
yet. This will also be added on a per-need basis.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
All known dhcp daemons have horrible interfaces if you want to use them
for short-lived ad-hoc networks like Wifi-P2P. Therefore, we use our own
helper with gdhcp as DHCP implementation.
openwfd_dhcp implements a DHCP server and daemon. Depending in the given
command-line argument, it is run as either. All configuration parameters
are passed via command-line.
Note that openwfd_dhcp is a workaround and should only be used as such.
Once network-managers pick up proper Wifi-P2P APIs, we can remove
openwfd_p2pd (including openwfd_dhcp) and start using their APIs. Until
then, we need this small hack.
This patch only adds the dhcp skeleton. No real functionality is added,
yet.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
Use autotools to generate the openwfd project instead of a statically
managed Makefile.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
The owfd-p2pd daemon will provide a basic p2p infrastructure as long as
the common network-managers don't handle wifi P2P.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
Both are generally not used for sources so ignore them in the entire tree.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|
|
tools/openwfd_ie is a small helper to work with WFD IEs. Useful to create
IEs for wpa_supplicant.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
|