summaryrefslogtreecommitdiff
path: root/wifi/java/android/net/wifi/SupplicantStateTracker.java
AgeCommit message (Collapse)Author
2013-12-11Move Wifi/P2p service components under servicesVinit Deshapnde
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
2013-11-13Increase Reject threshold for disabling networksVinit Deshapnde
This change modifies a framework optimization. The framework optimization disables a network when an access point repeatedly rejects requests to associate with it. This change has some problems; one being that it counts the rejects for all networks, and not for a specific network. This incorrectly penalizes last networks at times; and since the current threshold is 4 rejects, the probability of penalizing wrong networks is high. This change ups that number to 16 to reduce that probability. Bug: 11654725 Change-Id: I7150a9ccbb54bac44f2c2ba100fb6617ded33616
2013-05-10am 00ee47ea: Merge "framework/base: Handle ASSOC-REJECT events"Dmitry Shmidt
* commit '00ee47ead451ee2584c23f15a3760ae041e82e56': framework/base: Handle ASSOC-REJECT events
2013-05-09framework/base: Handle ASSOC-REJECT eventsDeepthi Gowri
Disable current network and enable other saved networks(if any) once number of ASSOC-REJECTs on an attempt to connect to a corresponding network exceeds the threshold. Change-Id: Iac3c1596aa800d93c55b0ac5d8070a058c3842bd
2012-11-30Cleanup loggingIrfan Sheriff
Change-Id: Ieea19853c069266b55cad80cce3743b5ba91218a
2012-08-30Improve multi-user broadcasts.Dianne Hackborn
You can now use ALL and CURRENT when sending broadcasts, to specify where the broadcast goes. Sticky broadcasts are now correctly separated per user, and registered receivers are filtered based on the requested target user. New Context APIs for more kinds of sending broadcasts as users. Updating a bunch of system code that sends broadcasts to explicitly specify which user the broadcast goes to. Made a single version of the code for interpreting the requested target user ID that all entries to activity manager (start activity, send broadcast, start service) use. Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
2012-03-01Fix WifiManager async APIIrfan Sheriff
Fix the current asynchronous API to use callback like the way was done with p2p API. In the process, fix the use of WPS Change-Id: Ib6f8714cf51b3525b655948268804e7eaaf17587
2012-01-13cleanup for concurrencyIrfan Sheriff
Allow multiple instances of WifiMonitor and WifiNative to be created in preparation for multiple socket connections Change-Id: I06a227f87f1406dc62f884d56ad639ac623414b6
2011-08-05Watchdog notify on explicit connectIsaac Levy
Notifies when user explicitly clicks on wifi dialog. Change-Id: I5eee37d68b422d748d41e9384d5006482a223dc5
2011-07-24Updated: Wi-Fi p2p frameworkrepo sync
First stage. Get the bones in right now even though we are not ready on the native side. Once, we have things underneath working - we will further update the framework Change-Id: I4a7dab5cd4267373dc5f8989ae4122f91c384ed5
2011-06-02Add new states to support wpa_supplicant 0.8Irfan Sheriff
Latest supplicant introduces the INTERFACE_DISABLED state. This is entered when the interface is brought down (which is effectively done by us and tracked already through the driver stop operation) Also, added is a state for tracking authentication when supplicant acts as the SME Change-Id: I76090068d0ebba6df76f16707da559fcbd7512c5
2011-04-18Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.Wink Saville
Change-Id: Ib4b33894da75f5f156066092fb145b478e52f7d7
2011-01-19Handle EAP authentication failureIrfan Sheriff
Avoid the scenario of an EAP network indefinitely trying to connect due to an EAP authentication failure by disabling the network Bug: 2149114 Change-Id: Iec8da7551c2dff9b153f41a2139529133130399d
2011-01-11Fix network availability reportingIrfan Sheriff
Report wifi is available as long as it is kept on Change-Id: I5be9461106ef4968cbc423f90e0ff168e089791f
2010-12-24Enable networks on screen onIrfan Sheriff
We now all configured networks on screen on. Also, removed event logging for scanning and rssi polling Bug: 2129037 Change-Id: I995893d77f8575a8d987d9d8604c8272f636d12d
2010-12-22Fix wifi broadcastsIrfan Sheriff
Add the missing wifi disable broadcast and also send out supplicant disconnect on shutdown. Added unit test cases. Bug: 3294055 Change-Id: Ia56a8ec9d17784c5aac5b8b369c04837f9057c54
2010-12-13WPS fixes and refactorIrfan Sheriff
- Allow IP and proxy set up for WPS - Use string for WPS pin to avoid losing leading zeros - Add a seperate WPS state machine and WpsConfiguration class Change-Id: I87f43fff8bba0ae8ff02e5fc495a8bc628a8c8cf
2010-11-18Split SupplicantStateTracker and refactorIrfan Sheriff
- Move SupplicantStateTracker into a seperate file. In the process clean up code that needs to be present only in SupplicantStateTracker - Retry twice for password failures - Clean up supplicant state handling. Dont treat supplicant states as HSM what values. Instead, just retain SUPPLICANT_STATE_CHANGE - Add event logging in SupplicantStateTracker - Move scan handling out SupplicantStateTracker Change-Id: I083e1c40ef5a858164493b1440b82c5751b3bfb5