4e0a1bafa7a86e2840c855846f3fdaee9cd00424 |
|
10-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: retrieve config when null To support temporary softap configs, SoftApManager will not automatically write out passed in configs to the WifiApConfigStore. This means that Settings will need to continue explicitly saving config changes through the WifiManager API and cannot depend on a call to start softap to write a new config. Bug: 35809698 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: Wifi integration tests Change-Id: I60e138ada3258e29ed4f411616e85b553c7dd34d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
44ce135519e22d8c4746abac21c14111f1ce8667 |
|
25-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiMetrics: use SoftAp return code metrics Add calls to populate SoftAp startup return code values to metrics. This CL also adds the handling of these metrics in WifiMetrics. The newly tracked SoftAp start return code metric is also added to the WifiMetricsTest. Bug: 30899122 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: manually verified code counts incrementing with dumpsys wifi Change-Id: I9256e08c0de6e9d4132e5aab3d604ba0ef6922c0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
80a1468c75b0db36e58de767c74f7c15e9aa55e3 |
|
21-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: add WifiMetrics to constructor To prepare SoftApManager for an upgrade with WifiMetrics, add the WifiMetrics object to the constructor. This also involves updating WifiInjector and the SoftApManagerTest files. Bug: 30899122 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: manually started softap and verified connectivity on client Change-Id: I14d319ab51b85ab26ecba45ec534da7690caf7fe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
4569b3880ba8d741d466e2f880f91b29b56d5e18 |
|
02-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiStateMachine: create mode manager classes Add states and mode managers for WifiStateMachine refactor. Bug: 31470190 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Iac6069316efddf17288fb1ad8a8b81ba054e40de
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
79d069c37009c62f4f9e1dd0fc623fcf50aab919 |
|
06-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
SoftApManager: move config argument to constructor This CL moves the softap configuration argument from the start command to the constructor. This allows a generic start() method to be used instead of sending the config with the CMD_START message. Additionally, the default config will be used if a config is not provided. An error will be triggered if the default config is not loaded properly. Existing unit tests were updated to reflect the changes above and additional tests were added to cover a failure loading the default config. The tests were also modified to check the SSID name from the config when start is called. This allows the test to distinguish the default from provided configs in the constructor. Bug: 31631674 Test: manual testing and runtests.sh Change-Id: I3be2ee36eb8119647fc42623785e1bbd4c7ad9b1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
fe3e7f39c4acf1517b31d6ff7123d075c1e6de25 |
|
27-Sep-2016 |
Christopher Wiley <wiley@google.com> |
SoftApManager should listen for interface up/down Defer reporting AP bring up as complete until we see the interface going up. Since wificond takes down the interface at each tear down, the interface should always be initially down, so we should always see this event. Bug: 31337216 Test: unittests pass Change-Id: If5d5e3908887df33f7da9a61af1bd648d8b8cc5a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
ef8f064681d7e3b92a0c3f2fdaa55a656e68486d |
|
02-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Split out DeathRecipient behavior We can re-use this class to monitor client interface death as well from the WifiStateMachine. Bug: 30041062 Test: Can kill wificond underneath the framework with tethering on and still see tethering taken down. Test: unittests pass Change-Id: I4dd60bd8eb674fc06d5eb301b0d8f10218126383
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
974f4ecb02b4560f18bfdaed3f6a2c78e5d42ee0 |
|
19-Jul-2016 |
Christopher Wiley <wiley@google.com> |
Use wificond to configure and start hostapd Bug: 30292103 Test: Can toggle tethering on/off on angler/bullhead/upcoming hardware Test: unittests pass Change-Id: If15658bf9b236ff4572f436077f2ac307c87728e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
736132bc7bc92bf17cbeeea26f0bf44d498e46e0 |
|
07-Jul-2016 |
Christopher Wiley <wiley@google.com> |
Tear down AP when wificond's IApInterface dies Test: Can start/stop wificond with the AP on/off see the AP torn down. Test: Added unittests Test: Unittests pass Bug: 29607308 Change-Id: I84f35e2240c6cd51d5deedb4042b270116078a4f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
a6ce5171a08d3b9c7820afe7cc07d0044dd818f6 |
|
12-Jul-2016 |
Christopher Wiley <wiley@google.com> |
Make SoftApManager.StartedState its own state Remove StartedState as a substate of IdleState, since both states handle all commands expected by the state machine. This has the pleasant side effect of making transitions easier to reason about. Bug: 29607308 Test: Tethering continues to work, unittests pass on bullhead. Change-Id: Iee0a4aa2ba9e847d958a478f24473a53dde10498
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
f502d3e20409d81cfefd762b3b44f46dead09a92 |
|
31-May-2016 |
Christopher Wiley <wiley@google.com> |
Remove all knowledge of tethering from SoftApManager This logic has moved into Tethering and TetherInterfaceStatemachine, where it probably always belonged. Bug: 29054780 Test: WiFi tethering continues to work on angler `runtest frameworks-wifi` passes. Change-Id: Ifff78ea540929fde4abea65716e1f659da2ecfec
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|
e5b93fbfe451bc57c07b3f72191b52b6bd237d5b |
|
09-Feb-2016 |
Peter Qiu <zqiu@google.com> |
Add SoftApManager class The newly created class is responsible for managing soft AP instance and tethering state transitions. This class will be integrated to WifiStateMachine in an upcoming CL, which will remove the existing soft AP and tethering related code from WifiStateMachine. Bug: 26876260 TEST=runtest frameworks-wifi Change-Id: I25568649b8c9d18ce78019dac614bafb9c5a3448
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java
|