b283fd04f71fbcd0354a3aff796454f0a9067f09 |
|
04-Jan-2018 |
Roshan Pius <rpius@google.com> |
libwifi-system: Remove unused methods from HostapdManager This functionality has been migrated to the HIDL interface. Bug: 36646171 Test: Compiles Change-Id: If3fb7a016459fa5ddf33c4df064250cc543a0d5d
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
|
322791e8f59c10cf566ae409f559d55683047877 |
|
12-Jan-2018 |
mukesh agrawal <quiche@google.com> |
Revert "Enable acs for hotspot channel selection" This reverts commit b8b86ec1082f38402d74ab51553adb42ef8e8ff3. Bug: 71878020 Test: tests/wifitests/runtests.sh (on walleye) Test: manual (on walleye) Manual test ----------- - enable 5 GHz wifi hotspot from settings $ adb logcat -d -b main hostapd '*:S' -e 'ACS' | wc -l 0 - verify that another phone shows walleye's softap in scan results Change-Id: I12b80a874ec859ef166f94bf5bb26442fcdba1eb
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
|
b8b86ec1082f38402d74ab51553adb42ef8e8ff3 |
|
11-Aug-2017 |
Ningyuan Wang <nywang@google.com> |
Enable acs for hotspot channel selection Bug: 69065316 Test: tests/wifitests/runtests.sh (on walleye) Test: manual Test: wifi sanity (http://b/71636949) Manual test ----------- - enable wifi hotspot from settings $ adb logcat -b main hostapd '*:S' -e 'ACS' 01-04 18:03:53.482 3040 3040 I hostapd : ACS: Automatic channel selection started, this may take a bit 01-04 18:03:53.482 3040 3040 I hostapd : ACS: Offloading to driver 01-04 18:03:53.827 3040 3040 I hostapd : nl80211: ACS Results: PCH: 6 SCH: 0 BW: 20 VHT0: 0 VHT1: 0 HW_MODE: 1 01-04 18:03:53.827 3040 3040 I hostapd : wlan0: ACS-COMPLETED freq=2437 channel=6 Change-Id: I66782e5921db9063acc1dc8433b42edda120278e
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
|
bef8d2a2c61ce80062556502cac4af5f13f479e4 |
|
29-Nov-2017 |
Jeff Vander Stoep <jeffv@google.com> |
wifi_supplicant: deprecate entropy.bin Wpa_supplicant's random pool is not necessary on Android. Randomness is already provided by the entropymixer service which ensures sufficient entropy is maintained across reboots. Commit b410eb1913 'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before either wpa_supplicant or hostapd are run. Bug: 34980020 Test: Use wifi and wifi tethering on Taimen. Change-Id: I5c9bde6cd1de14ff56d68f5e03c5b102a6b052ff
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
|
dc24ed7ffb0f1fae19b52c60ecfe9e801255e4e2 |
|
15-Sep-2017 |
Daisuke Niwa <daisuke.x.niwa@sonymobile.com> |
Remove hostapd.conf before starting Tethering It fails to start Wi-Fi Tethering at first boot after OS version up from Android N to O. It is caused by permission. Owner of hostapd.conf is "system" on Android N. However, it is "wifi" on Android O. hostapd.conf doesn't need to be handed over because it is created again when Tethering is started. Bug: 67351973 Change-Id: Ia7c87ab1f2040434963f6e0670ccd02cdd84bee7
/frameworks/opt/net/wifi/libwifi_system/hostapd_manager.cpp
|
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
|