summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
* Add a time threshold for re-enabling networksIrfan Sheriff2011-10-051-1/+13
| | | | | | | | | Reconnecting to a bad network can be expensive (network down time wise and for the device as well). Add a minimum threshold. Bug: 5234206 Change-Id: I5ef1fe06038db73c29a3e95b6229506555f36c77
* Handle unexpected interface up/down eventsIrfan Sheriff2011-10-041-2/+21
| | | | | | | | | | | | | | | WEXT on crespo has an issue where the interface up/down events can happen in an unexpected fashion. At a driver start, we can go from interface disabled to interface enabled, back to interface disabled and then eventually into an interface enabled state. Earlier, we were just expecting a single interface enable event that would trigger driver specific commands. Now, we just handle these events as individual driver stop and driver start situations so that we do appropriate things eventually Bug: 5239853 Change-Id: I6bd5d844edf9fadfdca4e8eb753c2ba738aa6ad5
* Reduce/Fix system loggingIrfan Sheriff2011-10-043-219/+237
| | | | | Bug: 5410239 Change-Id: I2f91dfde0b701e8905a1235696591b3154693c7c
* Fix IPv6 on wifirepo sync2011-09-291-3/+27
| | | | | Bug: 5388757 Change-Id: I3c8c776c26dad1daa9801d0455fde749c0206401
* Merge "Switch to cfg based signal_poll command"Irfan Sheriff2011-09-262-8/+33
|\
| * Switch to cfg based signal_poll commandIrfan Sheriff2011-09-262-8/+33
| | | | | | | | | | Bug: 5352916 Change-Id: Id2ba7091a5e4cc4c1e14aa2c49e5b943519019bf
* | Merge "Fix watchdog to stop ping after wifi disconnects" into ics-factoryromIrfan Sheriff2011-09-231-4/+3
|\ \ | |/ |/|
| * Fix watchdog to stop ping after wifi disconnectsIrfan Sheriff2011-09-231-4/+3
| | | | | | | | | | | | | | | | | | | | | | - 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
* | Add supplication shut down recoveryIrfan Sheriff2011-09-191-2/+23
|/ | | | | | | | | | | When framework fails to get a notice of supplicant shut down, timeout and proceed with a forced terminate Also, avoid killing supplicant immediate upon stop and use the timeout for recovery Bug: 5337272 Change-Id: Id8971c673dc3082a5f15a6d5cef907bebe1e0fa0
* Add support to change IPv6 privacy extensionsIrfan Sheriff2011-09-141-6/+8
| | | | | Bug: 3360737 Change-Id: I9136992d05f7abf15bdfd92aad3a3e0c0fe3bee2
* Unhide wifi p2p APIIrfan Sheriff2011-09-1315-425/+493
| | | | | Bug: 5247957 Change-Id: Id93e30c0cb60f361ba13a840de8f843415777336
* am 61db35da: am 2f835a61: Merge "Make copies of NetworkInfo to give out." ↵Robert Greenwalt2011-09-131-2/+3
|\ | | | | | | | | | | | | into honeycomb-LTE * commit '61db35da2b4501dde5646f86f21cf5054c41ea26': Make copies of NetworkInfo to give out.
| * Make copies of NetworkInfo to give out.Robert Greenwalt2011-09-091-2/+3
| | | | | | | | | | | | | | Otherwise we'll change it out from under those we've given it too. bug:5233462 Change-Id: Iffc886849edfa6ced3da1133f9d363e11b2733f8
| * Use resetConnections with resetMask.Wink Saville2011-07-071-2/+2
| | | | | | | | | | Bug: 4981919 Change-Id: I5dec2da0756d5083bc81494fd583672704537694
| * resolved conflicts for merge of 914ed90f to honeycomb-LTEIrfan Sheriff2011-06-221-129/+151
| |\ | | | | | | | | | Change-Id: I616b7ba5c27d0cc4247f5cce4303effe14658e1e
| | * Revert "DO NOT MERGE Revert "DO NOT MERGE Add DhcpStateMachine""Irfan Sheriff2011-06-211-128/+150
| | | | | | | | | | | | This reverts commit 58d1bb497e0d83e28a02fbcdc1f33f29a992db7e.
| * | resolved conflicts for merge of 267a6181 to honeycomb-LTEIrfan Sheriff2011-06-221-150/+131
| |\ \ | | |/ | | | | | | Change-Id: I95d459c937f788ed15f178e85692e1c393bdaa04
| | * DO NOT MERGE Revert "DO NOT MERGE Add DhcpStateMachine"Irfan Sheriff2011-06-211-150/+128
| | | | | | | | | | | | | | | | | | This reverts commit fe3b33d4ead06c546202753e38188db5e2eaa7fa. Change-Id: I3a9ae1f0d17e7a154d27d4f3f3eb1efa21a34f64
* | | Emergency callback mode handlingIrfan Sheriff2011-09-111-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For wifi, track ECM and shut down and restart when device goes in ECM and out For p2p, simply turn off when in ECM mode Bug: 5185246 Change-Id: I5f5bf75fac3e27db1d7c412135c796f2b137263d
* | | Merge "Finalize wifi watchdog default settings"Irfan Sheriff2011-09-091-6/+8
|\ \ \
| * | | 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