summaryrefslogtreecommitdiffstats
path: root/wifi/java
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Finalize wifi watchdog default settingsIrfan Sheriff2011-09-091-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | Disable p2p when airplane mode is turned onIrfan Sheriff2011-09-091-1/+22
|/ / / | | | | | | | | | | | | Bug: 5286610 Change-Id: Ia895dfbf0d1bc39458f4a4d24595c862750eea38
* | | Merge "Fix system crash on p2p failure"Irfan Sheriff2011-09-071-0/+5
|\ \ \
| * | | Fix system crash on p2p failureIrfan Sheriff2011-09-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A previous change missed out a function that accepts an integer argument as arg1. Instead, it was being passed as parcelable which causes a fatal exception Bug: 5271220 Change-Id: I3b78d9ce9ab742aa89ceaae17116fb7245187863
* | | | Merge "Use hasSystemFeature() API to check for p2p"Irfan Sheriff2011-09-073-20/+3
|\ \ \ \
| * | | | Use hasSystemFeature() API to check for p2pIrfan Sheriff2011-09-073-20/+3
| |/ / / | | | | | | | | | | | | | | | | Bug: 5267396 Change-Id: I4ff3f77c15322564f63beea793c4585cece596e0
* | | | Update documentation and cleanup to unhide APIIrfan Sheriff2011-09-079-46/+93
| | | | | | | | | | | | | | | | | | | | Bug: 5247957 Change-Id: I3ef8ac013eec32eb540178ea5febec3d4c0a3428
* | | | Rename WpsConfiguration to WpsIrfan Sheriff2011-09-0610-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the purpose of exposing the class as a storage for Wps info with p2p, it is better to just call it Wps Bug: 5247957 Change-Id: Iaebef958dd8f08fdbeb4b9d7fa5ad5527400710d
* | | | Handle state transition for p2p enable rejectIrfan Sheriff2011-09-061-3/+10
|/ / / | | | | | | | | | | | | Bug: 5265878 Change-Id: Ifd0ecb98876ffe098af06d67226f312d2a3d49c7
* | | Add notification when p2p is enabledIrfan Sheriff2011-09-061-0/+43
| | | | | | | | | | | | | | | Bug: 5262278 Change-Id: I82890323c4e4e2952b4c9c9bc503856095d90c21
* | | Fix p2p API interface to frameworkIrfan Sheriff2011-09-065-85/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update the WifiP2pGroup class - Add reason code response for all failures - Fix display of self in peer list - Retain p2p group when explicitly created by API and fix join behavior Bug: 5247957 Change-Id: Ibd9b163887db1c8a9dd8213253fda20c436a49e3
* | | Prepare for exposing p2p APIIrfan Sheriff2011-09-015-50/+293
| | | | | | | | | | | | | | | | | | | | | | | | First part of documentation and cleanup before we can unhide the p2p API for review by API council. Bug: 5247957 Change-Id: Idb52f0b699d23e22aa829f60cfac2c98451d2e22
* | | Create new isNetworkSupported APIRobert Greenwalt2011-08-311-19/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Remove persistent behavior"Irfan Sheriff2011-08-311-1/+4
|\ \ \
| * | | Remove persistent behaviorIrfan Sheriff2011-08-311-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until we figure out a good way to do it from both group owner and client, remove persistent behavior Bug: 5241839 Change-Id: I31bda672edaa17e6a500f185b6b879dcfdbd069d
* | | | Merge "Reload STA firmware on start"Irfan Sheriff2011-08-311-0/+6
|\ \ \ \
| * | | | Reload STA firmware on startIrfan Sheriff2011-08-311-0/+6
| |/ / / | | | | | | | | | | | | | | | | Bug: 5242253 Change-Id: If8e07bc96b46a0e5022cc9d12191de2e4dbec212
* | | | Merge "Initialize p2p settings"Irfan Sheriff2011-08-292-28/+74
|\ \ \ \ | |/ / / |/| | |
| * | | Initialize p2p settingsIrfan Sheriff2011-08-292-28/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And fix associated changes from the settings. With p2p_reconnect setting turned on, it means the p2p group can be started without a group negotiation. Hence, handle p2p group started in the P2pEnabledState Also, reinvocation results in supplicant not reporting device address correctly. Handle that until supplicant fix is fixed. Bug: 5002384 Change-Id: I335f6e854acd6839f54da9b460b17ad7505b1098
* | | | Merge "Use seperate config file for p2p"Irfan Sheriff2011-08-292-2/+4
|\ \ \ \ | |/ / /
| * | | Use seperate config file for p2pIrfan Sheriff2011-08-262-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep p2p and sta config seperate to avoid conflicts. Bug: 5002384 Change-Id: I8f8fc5f984f4f91f9ece4012bf536daa5cc00bba
* | | | Merge "Remove work around for driver state change"Irfan Sheriff2011-08-291-17/+5
|\ \ \ \
| * | | | Remove work around for driver state changeIrfan Sheriff2011-08-291-17/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we first ported wpa_supplicant 0.8, we had a work around to fix the supplicant state change behavior from the driver. Remove the work around since the driver behavior is fixed. Bug: 5195278 Change-Id: I320f21ab01704931a3def6214b0cc40f214a688e
* | | | | Fixed WifiWatchdog notification bugsIsaac Levy2011-08-262-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Space was truncated on 'disabled' notification - Disable reason was getting wiped out on subsequent disabled - disable reason was not propogating to WifiSettings Change-Id: I2e57ee33d285aad39aabe1b048e7436d364b02f3
* | | | | Merge "Prevent dup network adding - b/5200491"Irfan Sheriff2011-08-251-14/+33
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Prevent dup network adding - b/5200491Isaac Levy2011-08-251-14/+33
| |/ / / | | | | | | | | | | | | Change-Id: I8260cf73c4261e8efb696bb8557a39e02754190e
* | | | Fix connection notification for group ownerIrfan Sheriff2011-08-251-11/+14
| | | | | | | | | | | | | | | | | | | | Bug: 5002384 Change-Id: I099d6907787a0becf9363c3709efd8d4ec2a97af
* | | | Update p2p state machine and APIIrfan Sheriff2011-08-258-359/+443
|/ / / | | | | | | | | | | | | | | | | | | | | | - Simplify the API with minimal needed functionality - Fix responses for all async messages from the framework - Fix state machine handling of connection setup and supplicant communication Change-Id: I2724c83760b2aaa2068f9cd81ca0754753f83220
* | | Merge "Added support for multiple DNS servers."Irfan Sheriff2011-08-241-48/+60
|\ \ \
| * | | Added support for multiple DNS servers.Isaac Levy2011-08-231-48/+60
| | | | | | | | | | | | | | | | | | | | | | | | Also increased delay on repeat checks for WWSM. Change-Id: Ic11b1f37a910c483f48e04dadb539b39fe50e622
* | | | Proactively disable data when over policy limit.Jeff Sharkey2011-08-231-10/+12
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add policy controls to NetworkStateTracker which are combined with other user preference and internal flags to decide if data connection should be established. Better locking around enabled flags. When data network would be over limit, proactively disable data on that network. Enable when policy is snoozed or when cycle resets. Track and dismiss notifications from now-stale policies. Bug: 4587023, 5178147 Change-Id: Ibfcc9f73cda7c369209af701b46eddd3d1943f2d
* | | Fix device address and interface address usagerepo sync2011-08-193-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | After a p2p group is formed, STA connect and disconnects come over interface address. Figure out device address from interface address and fix the device comparison Bug: 5002384 Change-Id: I7d3aa4f0616e000550cd2b057adbac71cfd2adb4
* | | Use supplicant control channel interface for p2prepo sync2011-08-183-60/+29
| | | | | | | | | | | | | | | Bug: 5002384 Change-Id: Id2131ef43a01288e84178a5b21d289b97db9d736
* | | Merge "P2p enhancements"repo sync2011-08-163-60/+285
|\ \ \
| * | | P2p enhancementsrepo sync2011-08-103-60/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - ConnectivityService interaction and support for running dhcp server and client - State machine enhancements for connectivity interaction Change-Id: Iba3beb8c87554ffd67a7b7e852bbb4dd8666a4f5
* | | | Ensure interface down before wpa_supplicant startIrfan Sheriff2011-08-101-0/+11
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that the driver is built into the kernel, a runtime crash followed by a driver unload and reload does not reset the interface. Ensure interface is down before bringing up supplicant Bug: 5032635 Change-Id: Ib8f3d47617e587139a8a91a82146ee3a2f329700
* | | Merge "Add firmware reload support for P2P"Irfan Sheriff2011-08-102-18/+31
|\ \ \
| * | | Add firmware reload support for P2PIrfan Sheriff2011-08-102-18/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor firmware reload call to support various modes - AP, STA & P2P Bug: 5002384 Change-Id: I10d20fe5a7842437cf80861bc8a834990db87db5
* | | | Merge "Do not log failed pre shared key"Irfan Sheriff2011-08-101-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Do not log failed pre shared keyIrfan Sheriff2011-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 4320948 Change-Id: I1d10ca0c59e4f7f7157b6539786b32c57a202fc8
* | | | Merge "DnsPinger -- log setup problems"Irfan Sheriff2011-08-091-2/+2
|\ \ \ \
| * | | | DnsPinger -- log setup problemsIsaac Levy2011-08-091-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Avoid turning off wifi tethering on interface down"Irfan Sheriff2011-08-091-2/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Avoid turning off wifi tethering on interface downIrfan Sheriff2011-08-081-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hostapd daemon can bring down an interface, followed by immediately bringing it up and this results in us turning off tethering completely. Wait for the right notification to enter tethered state after brining up hostapd. Bug: 5135245 Change-Id: I95c8c0c4c2c99c03fce2d18c014eaff37ed4e762
* | | | Watchdog notify on explicit connectIsaac Levy2011-08-057-61/+184
|/ / / | | | | | | | | | | | | | | | Notifies when user explicitly clicks on wifi dialog. Change-Id: I5eee37d68b422d748d41e9384d5006482a223dc5
* | | Merge "Rewrote DnsPinger - now is async and concurrant"Irfan Sheriff2011-08-041-25/+51
|\ \ \
| * | | Rewrote DnsPinger - now is async and concurrantIsaac Levy2011-08-041-25/+51
| | | | | | | | | | | | | | | | Change-Id: I93e1374ae857832935202614e34ce18f040fcfc7
* | | | Fix p2p package pathsIrfan Sheriff2011-08-032-11/+4
|/ / / | | | | | | | | | | | | | | | | | | Split change Iba3beb8c which will not go in master to fix package paths Bug: 5002384 Change-Id: I15072b65422fcdfe17c3f130d169258d60748012
* | | Changed walled garden to better urlIsaac Levy2011-07-281-35/+22
| | | | | | | | | | | | | | | | | | | | | Now checking for walled gardens using 204 error code on http://clients3.google.com/generate_204 Change-Id: I0a00dc8b956f35f6695d2085c9f03ce40dc7e231
* | | Will not disable wifi on wifi-only devices.Isaac Levy2011-07-271-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | - 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