History log of /frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
36eb645cfec7dfe8c400b85ca12172060af061cf 08-Jun-2017 Ningyuan Wang <nywang@google.com> Print stat() info on hostapd config file error

This infomration will be helpful for debugging on writing
hostapd file error.

Bug: 37535105
Test: compile, manual test

Change-Id: Iee07a02227601adcf1e8d6ed3aad86b19251184f
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
ff66f41f8f457bf5e9c0c75d72dbe74f9dfc3102 29-Mar-2017 Ningyuan Wang <nywang@google.com> lib-wifisystem: Remove unused dependencies

This removes ununsed libwpa_client, libnetutils, libnl from
libwifi-system.
This also removes wifi.h and wifi.cpp.
The only useful function ensure_entropy_file_exists() is moved
to SupplicantManager.

Bug: 36697996
Test: compile, manual test: wifi works with toggling
Change-Id: I1f55813ee43a821d18d2368c1cc28a3bf95b6c93
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
1d3a41b9b46eb573058fdd7422d4ebc5b4f1108f 22-Aug-2016 Christopher Wiley <wiley@google.com> Allow wificond to run as wifi:wifi

Expose the firmware path from libwifi_hal.
We need to access this at wificond startup to chown the firmware
reload path to wifi:wifi.

Remove some superfluous chown calls. The callsites should only
be used from wificond.

Bug: 29870863
Test: wificond unit and integration tests pass

Change-Id: If2fa38be252999a01f6d967ca8601d1789318103
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
b8157c6e5b77e3503757cedcc4e62f49309c106b 23-Aug-2016 Christopher Wiley <wiley@google.com> Remove hostapd pid manipulation

This is no longer needed now that we can clean up after unclean
shutdowns.

Bug: 31023120
Change-Id: I459d62d3f199c8acd35a139fa4f8ca60042d6bbf
Test: wificond unit and integration tests pass
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
aa31194b9c1f41fbbba294332ba0462b3d686bc6 28-Jul-2016 Christopher Wiley <wiley@google.com> Track hostapd's life via pid files

init now writes hostapd's pid to a file. We can use
this information to check if there is a process that looks
like hostapd running.

Bug: 30311493
Change-Id: I3ad24b5fa70ae963c1aa0d4b1c11d00f60dff8d1
Test: with a patch to wificond, hostapd starts and stops reliably on bullhead
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
79c7200789531ad044999a0de7ba9557c8f4c293 22-Jul-2016 Christopher Wiley <wiley@google.com> Give hostapd its own directory for control sockets

hostapd likes to create/remove this directory when it starts up.
This is especially true when hostapd encounters an error, and
tries to remove the control socket directory.

Bug: 30311493
Change-Id: Ifce67d54e510b39918a2141ececf569daf0e82af
Test: hostapd starts up/shuts down (even on error) without avc denials
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
944db7cbdafa91279b40dd8a7737307e49cf711e 15-Jul-2016 Christopher Wiley <wiley@google.com> Move hostapd management logic to libwifi-system

This is the logic that existed in netd, but moved into a mockable
C++ object and formulated to support unittesting the config file
generation.

Bug: 30040724
Test: unit tests pass, data for tests extracted from config files
generated by existing netd code.
Test: netd continues to be able to set up APs for tethering using
libwifi-system rather than previous code.
Test: No SELinux policy violations during/after setup.
Test: Can sign in to network backed by hostapd started by netd using
libwifi-system.

Change-Id: I1156c494fc889a3fdf14182b11c7697d93fdf586
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp