summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Clear names from externally supplied WorkSources to WifiManager (b/10733757)David Christie2013-09-201-6/+9
| | | | | | | | | | | | | | | | | | | | Change-Id: I36102f13962df2093c1e35fb40081ead647eff32
* | | | | am 27271f67: am a5fb1204: Merge "Fix incorrect exception being thrown from ↵Vinit Deshapnde2013-09-201-2/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | WifiConfiguration" into klp-dev * commit '27271f673546faa973d7a24c594da626ebdbd337': Fix incorrect exception being thrown from WifiConfiguration
| * | | | Merge "Fix incorrect exception being thrown from WifiConfiguration" into klp-devVinit Deshapnde2013-09-201-2/+2
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Fix incorrect exception being thrown from WifiConfigurationVinit Deshapnde2013-09-201-2/+2
| | | |/ | | |/| | | | | | | | | | | | | | | | | Bug: 10817189 Change-Id: Ib2985f50080cb9d983a6de6ce668223e8782c3b6
* | | | am 032de6c6: am c237c204: Merge "Supsend/resume batched scans around dhcp." ↵Robert Greenwalt2013-09-201-3/+30
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into klp-dev * commit '032de6c6294893045c0c17946b45800b5af47d60': Supsend/resume batched scans around dhcp.
| * | | Merge "Supsend/resume batched scans around dhcp." into klp-devRobert Greenwalt2013-09-201-3/+30
| |\ \ \
| | * | | Supsend/resume batched scans around dhcp.Robert Greenwalt2013-09-201-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Scanning while dhcp is running breaks dhcp, so stop the batched scans when we need dhcp and start it up again after. bug:10691401 Change-Id: Ifdeb6f35cfe4509b90fed1e1e694d0c107f24a7e
* | | | | am eccc0905: am 540784f9: Merge "Cleanup the shutdown of BatchedScans." into ↵Robert Greenwalt2013-09-202-2/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | klp-dev * commit 'eccc0905bd150a334a98efedfb08570bcdd1c31a': Cleanup the shutdown of BatchedScans.
| * | | | Merge "Cleanup the shutdown of BatchedScans." into klp-devRobert Greenwalt2013-09-202-2/+2
| |\ \ \ \
| | * | | | Cleanup the shutdown of BatchedScans.Robert Greenwalt2013-09-202-2/+2
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes binder-death as well as disambiguation when an app has multiple requests in. bug:10641931 Change-Id: Ib701d531fa51e7e2a027848cfdfcad3b47056923
* | | | | am 2e9a4265: am 2ce33623: Merge "Remove STOPSHIP in ↵Yuhao Zheng2013-09-201-6/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | WifiWatchdogStateMachine" into klp-dev * commit '2e9a426529c54774b23609bee8d50118118ab895': Remove STOPSHIP in WifiWatchdogStateMachine
| * | | | Remove STOPSHIP in WifiWatchdogStateMachineYuhao Zheng2013-09-191-6/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | am 007c6c7d: am c06b1db2: Merge "Consider current EAP TLS configurations as ↵Vinit Deshapnde2013-09-161-1/+9
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | \'valid\'" into klp-dev * commit '007c6c7d358fc617252da40c9ff214f55312c6f8': Consider current EAP TLS configurations as 'valid'
| * | | Consider current EAP TLS configurations as 'valid'Vinit Deshapnde2013-09-161-1/+9
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Multiple authentication methods are currently considered invalid; but WPA_EAP and IEEE8021X are set simultaneously. This means we need to fix code to consider them a valid combination. Bug: 10325089 Change-Id: I2b4f4d75f21df78bfca66a930e85214c0cd6922e
* | | am 3d52eb7f: am 14e55996: Merge "Fix Batched Scan Results to give Timestamp ↵Robert Greenwalt2013-09-121-1/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | in uS" into klp-dev * commit '3d52eb7f1dde460d547fc20ec0b93465d69ec496': Fix Batched Scan Results to give Timestamp in uS
| * | Merge "Fix Batched Scan Results to give Timestamp in uS" into klp-devRobert Greenwalt2013-09-131-1/+3
| |\ \
| | * | Fix Batched Scan Results to give Timestamp in uSRobert Greenwalt2013-09-121-1/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | ScanResult should have timestamp in uS but we are getting age in ms from the wifi driver - multiply to have the same units though not the implied precision. bug: 10410465 Change-Id: Idf5c5996d69a4793dae3d74edb790d40b9bd3298
* | | am 7d400ead: am 9d5c33c5: Merge "Fix build break with missing VDBG." into ↵Stephen Hines2013-09-121-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | klp-dev * commit '7d400eadb7340c139f35263f43fe3418d402f409': Fix build break with missing VDBG.
| * | Fix build break with missing VDBG.Stephen Hines2013-09-121-0/+1
| | | | | | | | | | | | Change-Id: Iaf64cf49300a6a0a91374efa3030d6894367c9b8
* | | am 4d1cef6b: am 96ece970: Merge "Disable additional logging in ↵Vinit Deshapnde2013-09-122-29/+33
|\ \ \ | |/ / | | | | | | | | | | | | | | | WifiConfigStore/WifiNative" into klp-dev * commit '4d1cef6b3fec5ad4da0c99d57b1c4e768a2f1efa': Disable additional logging in WifiConfigStore/WifiNative
| * | Disable additional logging in WifiConfigStore/WifiNativeVinit Deshapnde2013-09-122-29/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was introduced to debug the disappearing APs; now that we think that we've got to the bottom of it, it is being disabled by default. Set VDBG to true to get it back. Bug: 10568538 Change-Id: I226cacf48cccba9671f09164bbb50380adc6b322
* | | am b2c06ba5: am b481dae2: Merge "Fix invalid Wifi Network system crash" into ↵Vinit Deshapnde2013-09-122-0/+21
|\ \ \ | |/ / | | | | | | | | | | | | | | | klp-dev * commit 'b2c06ba5711ffa3781b9bfe1c11051cc274be9e3': Fix invalid Wifi Network system crash
| * | Merge "Fix invalid Wifi Network system crash" into klp-devVinit Deshapnde2013-09-122-0/+21
| |\ \ | | |/ | |/|
| | * Fix invalid Wifi Network system crashVinit Deshapnde2013-09-092-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is some validation code that is eventually detecting that we have an invalid network; only the result is a crash. The right thing to do is to do validation up front; and fail calls if the network configuration looks invalid. Bug: 10571289 Change-Id: I100506b777a34b26ac9a310ba508140560f87a90
* | | am 16666176: am 8f435bac: Merge "Fix Wifi Batch Scanning" into klp-devRobert Greenwalt2013-09-123-32/+57
|\ \ \ | |/ / | | | | | | | | | * commit '16666176c0de5abc1f5390b9b2e07c32e51a97f9': Fix Wifi Batch Scanning
| * | Fix Wifi Batch ScanningRobert Greenwalt2013-09-113-32/+57
| | | | | | | | | | | | | | | | | | | | | Some parsing bugs, more debug logs, etc. bug:9301872 Change-Id: I245ab00955e245be81a019750be0f8491aa505fd
* | | resolved conflicts for merge of 03422d26 to masterDianne Hackborn2013-09-111-2/+2
|\ \ \ | |/ / | | | | | | Change-Id: I5d012fb122224c949a0039450bf0a9a475dc8e82
| * | Fix issue #10688644: Java crash in com.android.phone:Dianne Hackborn2013-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | java.lang.SecurityException: Operation not allowed There was a situation I wasn't taking into account -- components declared by the system has a special ability to run in the processes of other uids. This means that if that code loaded into another process tries to do anything needing an app op verification, it will fail, because it will say it is calling as the system package name but it is not actually coming from the system uid. To fix this, we add a new Context.getOpPackageName() to go along-side getBasePackageName(). This is a special call for use by all app ops verification, which will be initialized with either the base package name, the actual package name, or now the default package name of the process if we are creating a context for system code being loaded into a non-system process. I had to update all of the code doing app ops checks to switch to this method to get the calling package name. Also improve the security exception throw to have a more descriptive error message. Change-Id: Ic04f77b3938585b02fccabbc12d2f0dc62b9ef25
* | | Fix a few synchronization issues in WifiMonitor.Narayan Kamath2013-09-111-418/+415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Guard all field accesses in WifiMonitorSingleton with a lock. - WifiMonitorSingleton is now responsible for dispatching events to a given monitor (or all monitors if it can't find a matching monitor). - Individual WifiMonitors are now responsible for dispatching events sent to them. This makes WifiMonitorThread a dumb object. All it does is wait for events and feed them back into the WifiMonitorSingleton. - Also fixes a bug where we weren't telling the WifiMonitor that we're disconnected and another where we don't check whether a monitor is connected or not before asking it to dispatch an event. - Also, replaces a few uses of entrySet() with a values() iterator when the keys are never used. The performance of both methods is identical for a HashMap, but the latter is a bit more concise and easier to read. Change-Id: I7ce00174a78c72836666d25ccc5e6e9e687c2570
* | | am f7bea433: am ba85b970: Merge "Set country code on P2p interfaces as well" ↵Vinit Deshapnde2013-09-103-4/+19
|\ \ \ | |/ / | | | | | | | | | | | | | | | into klp-dev * commit 'f7bea43325e0ffe04f3a7f729cb141f690c58d2a': Set country code on P2p interfaces as well
| * | Merge "Set country code on P2p interfaces as well" into klp-devVinit Deshapnde2013-09-103-4/+19
| |\ \
| | * | Set country code on P2p interfaces as wellVinit Deshapnde2013-09-093-4/+19
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | This change will set country code on P2p interfaces as well, so the drivers are free to use channels that are permitted regionally. This is required for FCC style compliance and Miracast certification. Bug: 10513263 Change-Id: I88c645bd488066d5167e23e2772f2e0e1f40fa8a
* | | am 4f54abfc: am 00cd7132: Merge "wifi: Fix cleaning scan result cache" into ↵Dmitry Shmidt2013-09-061-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | klp-dev * commit '4f54abfc73fdf71ca7f7866106a98d73822fc893': wifi: Fix cleaning scan result cache
| * | wifi: Fix cleaning scan result cacheDmitry Shmidt2013-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | Bug: 10198923 Change-Id: I18dfc10860b8fb623751c62a4bc54b628246cf0c Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | am 6a3b7db2: am 771c11b7: Merge "Fix duplicate SSID entries in the ↵Vinit Deshapnde2013-09-061-3/+9
|\ \ \ | |/ / | | | | | | | | | | | | | | | WifiSettings UI" into klp-dev * commit '6a3b7db257db3e8c6be834fe69859bf2465af380': Fix duplicate SSID entries in the WifiSettings UI
| * | Merge "Fix duplicate SSID entries in the WifiSettings UI" into klp-devVinit Deshapnde2013-09-061-3/+9
| |\ \
| | * | Fix duplicate SSID entries in the WifiSettings UIVinit Deshapnde2013-09-051-3/+9
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The root cause is likely our 'no networks' problem; it caused people to add new (and duplicate) entries to their list of networks; which are haunting us now. This change looks up the dupes, and discards them, even if they came wifi supplicant. Bug: 10633813 Change-Id: I656b6bf7240de6763bf84b5b406c50444af6dd48
* | | am 6bddc317: am eadf1959: Merge "Track IP addresses in WifiStateMachine." ↵Lorenzo Colitti2013-09-061-34/+151
|\ \ \ | |/ / | | | | | | | | | | | | | | | into klp-dev * commit '6bddc317554b43818e625519e094e0381859db82': Track IP addresses in WifiStateMachine.
| * | Merge "Track IP addresses in WifiStateMachine." into klp-devLorenzo Colitti2013-09-061-34/+151
| |\ \
| | * | Track IP addresses in WifiStateMachine.Lorenzo Colitti2013-09-061-34/+151
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes WifiStateMachine listen for interface address changes. When an address changes, WifiStateMachine will update its LinkProperties to match reality and notify the system that the link configuration has changed. This allows wifi to keep track of IPv6 addresses as well (previously it only knew about the IPv4 address passed in by DHCP). IP addresses are obtained directly from the kernel and always match those configured on the interface, so we treat them as authoritative and ignore addresses passed in via DHCP (by the time DHCP passes them in we've already been notified by the kernel anyway). Since we now have multiple sources of link information (the kernel for addresses and DHCP for routes and DNS, plus various bits of static information), also move all the code that sets mLinkProperties into one place. This allows us to be clearer about who is authoritative for which parts of mLinkProperties. Bug: 10232006 Change-Id: I4f262342379ce7fed172b67a1d403e3cd34f4232
* | | Remove synchronization in WifiMonitorSingleton.Narayan Kamath2013-09-061-26/+14
|/ / | | | | | | | | | | | | | | | | | | This isn't really required because the static initializer for WifiMonitorSingleton won't run until the first access to the (non primitive) static field "sInstance". Further, static initializers will be run precisely once (i.e first accesses to sInstance from multiple threads are safe). Change-Id: I78fae225e4c5cb917e7e7817522595ae026daf47
* | Merge "Rename LinkInfo to LinkQualityInfo" into klp-devVinit Deshapnde2013-09-051-13/+13
|\ \ | |/ |/|
| * Rename LinkInfo to LinkQualityInfoVinit Deshapnde2013-09-041-13/+13
| | | | | | | | | | | | | | | | | | This change renames the LinkInfo objects to LinkQuailtyInfo. The API is still hidden; but it can be accessed via reflection. Bug: 10342372 Change-Id: Ieccea87c467ceae5d7f76298b137573f67396cd6
* | Synchronize access to single supplicant pathVinit Deshapnde2013-08-301-36/+61
| | | | | | | | | | | | | | | | | | Both wlan0 and p2p0 state machines are accessing the supplicant socket simultaneously; and may get responses of each other's command. This change introduces synchronization between these two processes. Bug: 10375978 Change-Id: I0ac0b2771311b642affc353958cc9ba2e5dd5716
* | More elaborate logs to debug missing APsVinit Deshapnde2013-08-283-21/+91
|/ | | | | | Bug: 10375978 Change-Id: Ic9bb8f3a7a0684143e4e77f8da0d2c833293c94a
* Fix channel set option in wifi batch scan command.Sreeram Ramachandran2013-08-271-1/+5
| | | | | | | | Fix by not including extraneous delimiters, and changing the delimiter from a space to a comma. Bug: 10444428 Change-Id: Ia3197045d44a2f959316935ae085575500e65459
* Merge "Fix an exception caused by incorrect data handling" into klp-devVinit Deshapnde2013-08-261-1/+7
|\
| * Fix an exception caused by incorrect data handlingVinit Deshapnde2013-08-151-1/+7
| | | | | | | | | | | | | | | | | | | | The prefixes in WifiEnterpriseConfig are optional, and should be treated as such. If the prefix doesn't exist, it is possible for an exception to be thrown (if the value size is smaller than prefix size). Bug: 10304089 Change-Id: Id9b2bc0e371c818e35a5aa1913ee1697f167e19e
* | wifi-display: add certification optionsChong Zhang2013-08-233-1/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When certification mode is enabled: - Pass wfd session info to wifi display settings - Allow sink to connect to source - Add interface in display manager for pausing/resuming session - Add interface in WifiP2pManager for setting lc, oc and starting autonomous GO Note that we're compliant regardless of certification mode, but some confusing options (eg. allowing incoming connection from sink) we want to hide when not being tested. Bug: 9371882 Change-Id: Icc7dcae4e046453796cfa03f5f197055fabf234b
* | Additional logging to debug lost Wifi APsVinit Deshapnde2013-08-234-1/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds some in-memory logging to get some information that doesn't seem to get captured in bug reports readily. We can remove this after we've got to the bottom of this issue. This is the sort of log it produces in bugreport - WifiConfigStore - Log Begin ---- 16:30:06 - loadConfiguredNetwork GoogleGuest 16:30:06 - loadConfiguredNetworks loaded 1networks 16:30:06 - disableAllNetworks 16:30:06 - loadConfiguredNetwork GoogleGuest 16:30:06 - loadConfiguredNetworks loaded 1networks WifiConfigStore - Log End ---- Bug: 10375978 Change-Id: Iaecd3b391aea3711bf376d6cb520217d3242e6f1