Age | Commit message (Collapse) | Author |
|
Some methods need to be public, since frameworks/base complies before
frameworks/base/services; and services takes build dependency on base.
Similar issue exists with WifiEnterpriseConfig constants.
Bug: 9907308
Change-Id: Ied0e3dee0b25c939067dbc66867a9814b3b3b68e
|
|
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
|
|
There used to be some STOPSHIP code in WifiWatchdogStateMachine for debug
purposes. We don't need them for the release.
Bug: 10841961
Change-Id: I501d62e9891ace52317e6c1d399b877175099a3c
|
|
Change-Id: I5b38dcbae3918a1e8c828d6e246eadf520d06c06
|
|
This allow child classes to Override the logging and
have consistent behavior across StateMachines.
Change-Id: I7e23a44d08ca304ade2d7830fd0e307f63f1879e
|
|
Change-Id: Ieea19853c069266b55cad80cce3743b5ba91218a
|
|
The root cause of why bssid needs investigation, but for now,
we can avoid crashing wifiwatchdog.
When bssid is null, just treat it as a good link.
Bug: 7357232
Change-Id: I080dfc990f3412646976cdc6ef75112ab093d326
|
|
had local changes from b/7318044
Change-Id: Idc6907d648a07d36f93dee859e361e9655cdd8e6
|
|
Bug: 7318044
Change-Id: Icf27e823453eeaba901aad6f3f8eedea242794f9
|
|
Remove all @Deprecated @hide settings, and clean up any stragglers.
Bug: 7232125
Change-Id: Ibf67093c728d4a28565129b923edb1701d3b2789
|
|
We now notify the user of a captive portal before switching to the network as default.
This allows background applications to continue to work until the user confirms he
wants to sign in to the captive portal.
Also, moved out captive portal handling out of wifi as a seperate component.
Change-Id: I7c7507481967e33a1afad0b4961688bd192f0d31
|
|
The new WiFi watchdog requires kernel/driver to export some packet loss
counters. This CTS tests whether those counters are correctly exported.
Change-Id: I41999676f8488e86f35f1f8214ce668f1a2b5638
|
|
- use packet loss (wlutil pktcnt) instead of frame loss, retune all parameters
- use wpa_supplicant to get packet loss counters, instead of netd
- handle BSSID roaming in all situations
- improve flapping avoidance mechanism by setting different target RSSI
- handle high packet loss in high RSSI (never seen in real testing)
- add more comments on how to set all parameters
Signed-off-by yuhaozheng@google.com
Change-Id: I33429f063d8625a458be4791edd83a86d5a723df
|
|
Change-Id: Iecd6037cf8e0faa626ba6c27cef014822a6bc61b
|
|
Bug: 6576101
Change-Id: Iad2ea67e54662cd30a0e7425dab2a6174d13d152
|
|
Until we figure out a way to compare a poor mobile network
against and poor wifi network and then weighing in other factors,
tone down wifi avoidance aggressiveness
Bug: 6456541
Change-Id: Idc81e4d83f47c9870abbdb4359ddfeaffdcca838
|
|
Adds a back-off based technique where the amount of time we wait before
avoiding wi-fi is increased.
This will reduce power consumption on devices that are experiencing high
variance on wi-fi
Change-Id: I40da03edfb5373ddb51056818ca0744dc26a5600
|
|
- Avoid flapping
- Increase thresholds and monitor rssi more closely to detect consistently weak signal
Change-Id: I6139a20b7306839b345146a72ce690020a2e00b8
|
|
When Wi-fi connects at L2 layer, the beacons reach and the device
can maintain a connection to the access point, but the application
connectivity can be flaky (due to bigger packet size exchange).
We now use Watchdog to monitor the quality of the last hop on
Wi-Fi using signal strength and ARP connectivity as indicators
to decide if the link is good enough to switch to Wi-Fi as the uplink.
ARP pings are useful for link validation but can still get through
when the application traffic fails to go through and thus not best indicator
real packet loss since they are tiny packets (28 bytes) and have
much low chance of packet corruption than the regular data
packets.
Signal strength and ARP used together ends up working well in tests.
The goal is to switch to Wi-Fi after validating ARP transfer
and RSSI and then switching out of Wi-Fi when we hit a low
signal strength threshold and waiting until the signal strength
improves and validating ARP transfer.
Change-Id: Ica593291ec7772da892f03cf45b649635b730c47
|
|
We are going to always disable the notification
Bug: 5556629
Change-Id: I981eb55a1bb6f44defd674e3a86d9c6f3805f4fc
|
|
- Keep the walled garden detection in place
Bug: 5719771
Change-Id: I9e5d69b6d56096be904106b1db48c02db4c0fb50
|
|
* commit '7b62313eab4af8835a64fb3fe1e15e5e534a9479':
Disable wifiwatchdog for now
|
|
Change-Id: I2ac4fa706f3d0a415cb8e86002173b776aba4e02
|
|
Also, switches the URL for browser to the actual URL used for checking
walled garden
Bug: 5398921
Change-Id: Ie4d4b1d47f4151d0f85975b10190bdcf5f2e7a57
|
|
This allows a carrier app to authenticate before we notify the user.
For future, we will provide an API that allows app to disable
the walled garden check.
Bug:5398921
Change-Id: Iff98ddaaa9fa38def4f43b1995f4b2c36f93a919
|
|
Bug: 5410239
Change-Id: I2f91dfde0b701e8905a1235696591b3154693c7c
|
|
- The pings are delayed async messages that were getting handled
after a disconnect as well
- Increase poll time to 200 ms, so we block on a receive for 1ms every 200ms for a
sent packet
Bug: 5361564
Change-Id: I1931a1c4146e78a87407d541d8c3934ff8232604
|
|
- Reduce DNS counts from 15 to 5. 15 was for debug.
- Keep success scenario as atleast 1 being successful
- Wait for a second to start checks (for some setups)
- Use one bar as a start for doing periodic DNS checks
- Do a DNS check every hour (instead of half hour)
Bug: 5284337
Change-Id: Ie64d8cac48318a0c4c59f91ad21f8c6712b71338
|
|
Useful for checking if on a wifi-only device.
Similar to asking for NetworkInfo for a network type and checking for
null, though here the intent is explicit.
bug:5087537
Change-Id: Ia3ddd09b6b735b8b3ceb7a347891e015fd96b218
|
|
Also increased delay on repeat checks for WWSM.
Change-Id: Ic11b1f37a910c483f48e04dadb539b39fe50e622
|
|
Changed class to send a pings for 1.5 seconds to see if conn problems are
resolving after time. Turning RD flag on for now
Change-Id: I05bcf208bda3ea8fb98bd7aec8f0109523d64583
|
|
Notifies when user explicitly clicks on wifi dialog.
Change-Id: I5eee37d68b422d748d41e9384d5006482a223dc5
|
|
Change-Id: I93e1374ae857832935202614e34ce18f040fcfc7
|
|
Now checking for walled gardens using 204 error code on
http://clients3.google.com/generate_204
Change-Id: I0a00dc8b956f35f6695d2085c9f03ce40dc7e231
|
|
- Turn off watchdog by default on wifi-only devices, b/5073657
- Do not disable wifi networks if connectivity manager reports
no mobile connection.
Change-Id: I835e753624fc5e447081cde473039011721112c6
|
|
Accidentally merged verbose logging - setting to false.
Change-Id: I6cd9321c7602d86aac4a8340ef0233310a665bd9
|
|
Also moved customizable settings into Settings.Secure and
added listeners for setting changes into the state machine.
Change-Id: Ia6859c71f7edae13062685867959adc423af4643
|
|
Rewrote wifiwatchdog service to use net.statemachine
Change-Id: Id6fd42b13192ac2e99f842ff50e9edff1696675d
|