summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
* Sync up state with supplicant at startIrfan Sheriff2012-01-111-0/+4
| | | | | Bug: 5534039 Change-Id: I70b3e03b3039877b3c64167d0d246346f9131fc6
* Add multi-interface support to native callsIrfan Sheriff2011-12-282-6/+40
| | | | | | | | | | Add the initial support for supporting seperate socket connections on the p2p interface. This is the initial change making primary interface connections work alongside native support for p2p socket connection Change-Id: I7619715ca75b10afd29af852279fe713331f75e0
* clean up jni codeIrfan Sheriff2011-12-284-187/+343
| | | | | | | | | - Move all supplicant commands out of jni code in preparation for multi-socket changes - Also, clean up some function names to remove the explicit command Change-Id: Id609ac7df0792fb85b52554d159f22064227c584
* Merge "p2p fixes"Irfan Sheriff2011-12-215-26/+85
|\
| * p2p fixesIrfan Sheriff2011-12-195-26/+85
| | | | | | | | | | | | | | | | | | - Change default GO intent to 7 - Handle P2P invitation scenario - Fix p2p STA connect notification handling to figure device address. Proper fix for handling both STA connection and disconnection is after we update supplicant Change-Id: I9ff82f84ad3913905952d1119b7224dff41c24d9
* | Fix configured network statusIrfan Sheriff2011-12-122-1/+23
|/ | | | | | | | | | | For a connected network, keep status as CURRENT. For a network, that is disconnected it should be ENABLED. A disabled network will have the status as DISABLED Also, add a unit test to ensure there is only one CURRENT network that is connected Change-Id: Iaa4a7124a0c372a8f6df3d846ae8c15d9b29cf13
* Clean up synchronizationIrfan Sheriff2011-12-122-179/+203
| | | | | | | | - Add delayed disk write in WifiConfigStore - Remove synchronization and keep all access to config store throught the state machine thread Change-Id: I53768a17895e48da7b99542ac95c6c2fddbcb021
* am a3c7c358: am 583fdf00: Merge "Handle emergency call back mode correctly" ↵Irfan Sheriff2011-12-091-6/+19
|\ | | | | | | | | | | | | into ics-mr1 * commit 'a3c7c35873235486787d58fa8310eebd87508bc9': Handle emergency call back mode correctly
| * Handle emergency call back mode correctlyIrfan Sheriff2011-12-081-6/+19
| | | | | | | | | | Bug: 5726996 Change-Id: I5815dd402bd73c530b9ba6d545d8956064949aa2
* | Remove explicit network disabling codeIrfan Sheriff2011-12-093-41/+2
| | | | | | | | | | | | | | We are going to always disable the notification Bug: 5556629 Change-Id: I981eb55a1bb6f44defd674e3a86d9c6f3805f4fc
* | Merge "Change RSSI notification levels to 5 in framework"Irfan Sheriff2011-12-092-5/+9
|\ \
| * | Change RSSI notification levels to 5 in frameworkIrfan Sheriff2011-12-092-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At some point the system UI switched to using 5 rssi levels while the framework only broadcasts a change for 4 levels. Hence RSSI change can be slow to be displayed on the UI, fix this Bug: 5732700 Change-Id: I21700f96ba7a8dd678fb2ccfff8ef59f9b696666
* | | am 8c2122cb: am a85cc282: Merge "Fix CS wakelock handling" into ics-mr1Irfan Sheriff2011-12-071-16/+5
|\ \ \ | | |/ | |/| | | | | | | * commit '8c2122cb3e347c607126c49d76fb165125a02295': Fix CS wakelock handling
| * | Fix CS wakelock handlingIrfan Sheriff2011-12-071-16/+5
| | | | | | | | | | | | Change-Id: Ibe1c1ab3e26ff0ae7cab7bfb0bd868bfab246037
* | | am 7c92e2dc: am 8a4cd3b1: Merge "Disable poor network connection alone" into ↵Irfan Sheriff2011-12-061-11/+41
|\ \ \ | |/ / | | | | | | | | | | | | | | | ics-mr1 * commit '7c92e2dccb4e5cb5314455692ac32d2ccff24292': Disable poor network connection alone
| * | Disable poor network connection aloneIrfan Sheriff2011-12-061-11/+41
| | | | | | | | | | | | | | | | | | | | | - Keep the walled garden detection in place Bug: 5719771 Change-Id: I9e5d69b6d56096be904106b1db48c02db4c0fb50
* | | am 5e2e7d5f: am 40cb30c2: am 7b62313e: Disable wifiwatchdog for nowIrfan Sheriff2011-12-061-1/+3
|\ \ \ | |/ / | | | | | | | | | * commit '5e2e7d5fb81266640f8284abb25fe8be06693f5b': Disable wifiwatchdog for now
| * | am 7b62313e: Disable wifiwatchdog for nowIrfan Sheriff2011-12-061-1/+3
| |\ \ | | | | | | | | | | | | | | | | * commit '7b62313eab4af8835a64fb3fe1e15e5e534a9479': Disable wifiwatchdog for now
| | * | Disable wifiwatchdog for nowIrfan Sheriff2011-12-061-1/+3
| | | | | | | | | | | | | | | | Change-Id: I2ac4fa706f3d0a415cb8e86002173b776aba4e02
| * | | Switch to notifications for walled gardenIrfan Sheriff2011-12-051-42/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, switches the URL for browser to the actual URL used for checking walled garden Bug: 5398921 Change-Id: Ie4d4b1d47f4151d0f85975b10190bdcf5f2e7a57
* | | | Merge "p2p enhancements"Irfan Sheriff2011-12-053-9/+18
|\ \ \ \
| * | | | p2p enhancementsIrfan Sheriff2011-11-303-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add device name on SSID for legacy devices to discover a given group and join - Do not remove a group for a device lost event which only indicates discovery is stopped Change-Id: Id431c29da371986e694ab230d72d32061b209ebe
* | | | | Clean up InterfaceConfiguration flags.Jeff Sharkey2011-11-292-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Offer modifier methods for interface flags instead of mutating directly, and remove square brackets. Change-Id: I4cce719dccedfb3f0e8448c111e65b93c0008cbb
* | | | | Merge "Redesign p2p around provision discovery"Irfan Sheriff2011-11-296-277/+543
|\ \ \ \ \ | |/ / / /
| * | | | Redesign p2p around provision discoveryIrfan Sheriff2011-11-286-277/+543
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | = Provision Discovery:Is an optional discovery technique for figuring out if a peer supports the specific WPS option. For compatibility reasons, we will now always use it during connection but at the same time support devices that request to support connection without it = State machine and UI redesign around the new interaction = Specify config methods explicitly for compatibility Bug: 5599949 Change-Id: Ib79435dda472c43cc0746f56bf79ea896b2e33a4
* | | | am 694b266e: am 7b6d238b: Merge "Fix tethering interaction from wifi" into ↵Irfan Sheriff2011-11-231-15/+191
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | ics-mr1 * commit '694b266e0366e5400d577659d1bb8152f0a106e7': Fix tethering interaction from wifi
| * | Fix tethering interaction from wifiIrfan Sheriff2011-11-231-15/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use the right interface for untether - Wait till tethering service confirms that untether() is successful before shutting down soft Ap. This helps to make sure interface does not go away before clean up is done. Bug: 5659166 Change-Id: Iff9d4a67ff40664c2114e766590d6a83b7739738
* | | am 1c9126c6: am 59c73b92: Merge "Convert soft ap config store to state ↵Irfan Sheriff2011-11-092-154/+200
|\ \ \ | |/ / | | | | | | | | | | | | | | | machine" into ics-mr1 * commit '1c9126c64b56b6465fd551680461caed2e1ea20d': Convert soft ap config store to state machine
| * | Convert soft ap config store to state machineIrfan Sheriff2011-11-082-154/+200
| | | | | | | | | | | | | | | | | | | | | | | | - Create thread when needed - asynchronous interaction with wifi state machine Bug: 5587391 Change-Id: Ie6d01b5a6b398a3fa12c384920a473e242443131
* | | am 45a04db3: Merge "Avoid quick shutdown after a driver start" into ics-mr1Irfan Sheriff2011-11-051-12/+37
|\ \ \ | |/ / | | | | | | | | | * commit '45a04db3f95755829b24043d30d7da7182b4f33b': Avoid quick shutdown after a driver start
| * | Merge "Avoid quick shutdown after a driver start" into ics-mr1Irfan Sheriff2011-11-041-12/+37
| |\ \
| | * | Avoid quick shutdown after a driver startIrfan Sheriff2011-11-031-12/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Causes problems on our wext driver and potentially on cfg based driver as well. NLP can trigger very quick acquire and release within seconds leading to driver switching between start and stop state. We now keep driver up for atleast couple of minutes after a start Bug: 5478196 Change-Id: I1b261578252c5fb9a65446241b51e5686d4d9cc3
* | | | am a3d9eba1: Merge "Reset IP failure counter on a success" into ics-mr1Irfan Sheriff2011-11-031-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'a3d9eba10461158a52acfc2a0324696b25db761f': Reset IP failure counter on a success
| * | | Merge "Reset IP failure counter on a success" into ics-mr1Irfan Sheriff2011-11-031-0/+1
| |\ \ \ | | |_|/ | |/| |
| | * | Reset IP failure counter on a successIrfan Sheriff2011-11-011-0/+1
| | |/ | | | | | | | | | | | | Bug: 5552673 Change-Id: I56c032577be217895b75bf72ecb2c986d2064ab4
* | | am b419abca: am 7f00c22b: Merge "Avoid duplicate dialogs leading to NPE" ↵Irfan Sheriff2011-11-021-14/+101
|\ \ \ | |/ / | | | | | | | | | | | | | | | into ics-mr0 * commit 'b419abcadad79cd908acfe51dc6e8902c16ff728': Avoid duplicate dialogs leading to NPE
| * | Merge "Avoid duplicate dialogs leading to NPE" into ics-mr0Irfan Sheriff2011-11-021-14/+101
| |\ \
| | * | Avoid duplicate dialogs leading to NPEIrfan Sheriff2011-11-011-14/+101
| | | | | | | | | | | | | | | | | | | | Bug: 5548268 Change-Id: I383d5dba5ed2d77c1623d03990f1139872a65e2a
* | | | am 12f9900b: am 737c3dd9: Merge "docs: add package description for wifi.p2p ↵Scott Main2011-10-272-2/+87
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | and update the one for wifi" into ics-mr0 * commit '12f9900bfb004a09ea6a8ce0df27c661124f46ac': docs: add package description for wifi.p2p and update the one for wifi
| * | | Merge "docs: add package description for wifi.p2p and update the one for ↵Scott Main2011-10-272-2/+87
| |\ \ \ | | |_|/ | |/| | | | | | wifi" into ics-mr0
| | * | docs: add package description for wifi.p2p and update the one for wifiScott Main2011-10-182-2/+87
| | | | | | | | | | | | | | | | Change-Id: Iaf80f9640a4d56100e22d93954edd8aeb5ea4d2b
* | | | Switch to notifications for walled gardenIrfan Sheriff2011-10-251-42/+71
|/ / / | | | | | | | | | | | | | | | | | | | | | Also, switches the URL for browser to the actual URL used for checking walled garden Bug: 5398921 Change-Id: I7eb6f463c9b2f7e11c1d423711fa8a3d2bd2ff13
* | | Fix handling in DisconnectingStateIrfan Sheriff2011-10-201-1/+6
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we also handle supplicant state change to identify that a network is disconnected (in case CTRL-EVENT-DISCONNECTED goes missing), it is dangerous to defer all supplicant state change messages while in DisconnectingState. It may happen that the CTRL-EVENT-DISCONNECTED goes missing while in DisconnectingState resulting in a supplicant state change of 0 (disconnect) getting deferred. Eventually after a connection completes, the supplicant state change events get handled and the state machine goes into DisconnectedState. Fix by having state machine switch out of DisconnectingState once we do not immediately see a CTRL-EVENT-DISCONNECTED state. Bug: 5490789 Change-Id: Ia2263795e53c51da0a2bfeefecfeb6256d6c5267
* | Merge "Add a delay before walled garden test" into ics-mr0Maarten Hooft2011-10-191-18/+47
|\ \ | |/ |/|
| * Add a delay before walled garden testIrfan Sheriff2011-10-191-18/+47
| | | | | | | | | | | | | | | | | | 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
* | Disconnect without CTRL-EVENT-DISCONNECTEDIrfan Sheriff2011-10-171-0/+13
|/ | | | | | | | Handle a supplicant state change indicating disconnection even if we have missed the CTRL-EVENT-DISCONNECTED notice Bug: 5437924 Change-Id: I28e314f47f17359926c091b2015cd1fb7422fb22
* 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