Commit Graph

8 Commits

Author SHA1 Message Date
Huangbin Zhan 0ec746ccb6 treewide: add conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-05-09 06:06:43 +08:00
Nick Hainke 5e3a6e9313 dawn: feed hostapd with nr reports and improve 802.11k handling
If set_hostapd_nr config flag is set, dawn will insert the nr reports
to allow the hostapd to answer to nr requests from clients.

Improve the synchronization of rcpi and rsni in the network.
Further, clients with bad 802.11k were sending beacon reports with
bssid 00:00:00:00:00:00. Catch those corner cases.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-04-17 16:14:35 +01:00
Nick Hainke 999bec247a dawn: add 802.11v, prepare 802.11k and debug fix
Add 802.11v bss transition. Exchange nr-reports.

Implement 802.1k hearing map. Future release will use hearing map
for load balancing decisions.

Remove debug output from stderr.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-04-16 17:49:56 +02:00
Nick Hainke 802f7ef0ec dawn: fix reboot
DAWN has a race condition with umdns that prevents dawn from surviving
a reboot.
Increase procd start and stop of dawn to 81.

Further, network is sometimes not ready. Add utimer to check if socket
binds correctly.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-04-15 21:48:25 +02:00
Nick Hainke f7ea75a0d5 dawn: fix several typos
Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-04-10 10:30:45 +02:00
Nick Hainke 849e6df2de dawn: remove glibc headers extensions
Fixes #11689

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-03-29 11:01:04 +02:00
Nick Hainke e06d851a42 dawn: fix stdint.h include for arc
Fixes #11686.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-03-28 21:56:06 +01:00
Nick Hainke 70fcbadb7c dawn: add decentralized wifi controller
Dawn is a decentralized WiFi controller.
Just install dawn and the APs will find each other via umdns.
They periodically exchange information about connected clients, wireless
statistics and other needed information. With that, the daemon load
balances clients between different APs through association control.

Further, the daemon exposes through ubus the hearing map and the
complete wireless network overview. The hearing map is the list of all
probe requests seen from a client from all APs that are running the
controller.

Hearing map:
ubus call dawn get_hearing_map

Network overview:
ubus call dawn get_network

Dawn has a graphical user interface called luci-app-dawn. With that, the
load balancing and other useful settings can be controlled.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-03-28 09:17:09 +01:00