History log of /frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b6deeed3ceff9e0f754697987b7c724901996082 05-Sep-2012 Irfan Sheriff <isheriff@google.com> Handle ascii encoded SSID

Supplicant now passes as an ascii encoded string that allows it to
pass any sequence of bytes for a SSID. see src/utils/common.c in supplicant
for details of the implementation.

We create a SSID structure WifiSsid in framework to store the ssid and handle
the conversion appropriately when required for printing and for an application.

At this point, we still do not handle non-printable octets from an application perspective
for connectivity

Bug: 7110903
Change-Id: I520e5ee23baed4867b8b408bbb3eda5c9e92b6bf
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
5ac72a29593ab9a20337a2225df52bdf4754be02 30-Aug-2012 Dianne Hackborn <hackbod@google.com> Improve multi-user broadcasts.

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
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
b3e96c527b8ac96e869bafeff5f7fab099e28396 28-Apr-2012 Irfan Sheriff <isheriff@google.com> Fix connect & save of invalid networks

Ensure SSID is not null for a new network being added

Bug: 6411912
Change-Id: I26467810bf10b7325c04677c1d0e5ff1cfb4a09e
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
4e62fd3f95ee824e6addf438f9e1155a8e0b8e2a 30-Mar-2012 Kenny Root <kroot@google.com> Wifi: change empty "engine" config to integer

"engine" is specified as an integer in wpa_supplicant, so we have to
make sure we send an integer instead of a NULL when we want to disable
it.

Bug: 6250670
Change-Id: I693ccb49badbd400a5882e9df1bbd4febc847a6e
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
4898087be98d9df1b6c86cc1802894e1844c6e3d 28-Mar-2012 Kenny Root <kroot@google.com> Merge changes Ibdf23227,I3681f98c

* changes:
Update Wifi to use new keystore function
Add signing to keystore
1b6989cdc212aec7579489a362f99b791abe7352 22-Mar-2012 Mike Lockwood <lockwood@google.com> Merge commit '74803dc'

Change-Id: I35a76a27390c75a47e6387fb0ee853a5a689a56f
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
565f9f216aa87f11d451ae6532d5153001a386bf 21-Mar-2012 Kenny Root <kroot@google.com> Update Wifi to use new keystore function

The old wpa_supplicant.conf format used a special URI prefix
"keystore://" for the private_key value to indicate when to load things
from keystore.

The new format uses an OpenSSL ENGINE to perform operations with the
private key, so we don't need the special URI prefix. This changes
enables that usage and also supports migrating the old style
configuration to the new style.

Change-Id: Ibdf2322743eaa129bd2aa5e874f197b573714b57
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
86a5f5b9afa97a4ed6f5a2466fb9359ea131e2fb 29-Feb-2012 Irfan Sheriff <isheriff@google.com> Enhance WPS

- Add a cancel API
- Add more error reporting on WPS
- Fix network status reporting that showed up with new implementation

Change-Id: I499796c80d16d18df95fb702d029aa7e7283b603
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
d3975a917799b85cacaf382b65c5832813066b51 24-Feb-2012 Irfan Sheriff <isheriff@google.com> Fix WifiManager async API

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
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
fc7f95abcda6fa35c175f9225358ea75c22952ab 04-Jan-2012 Irfan Sheriff <isheriff@google.com> cleanup for concurrency

Allow multiple instances of WifiMonitor and WifiNative to be
created in preparation for multiple socket connections

Change-Id: I06a227f87f1406dc62f884d56ad639ac623414b6
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
1f095869536472c178046bb63c59947508eac4a6 21-Dec-2011 Irfan Sheriff <isheriff@google.com> clean up jni code

- 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
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
cdc077c9dd6473b5abfad4edfaf1ff41a436caaf 12-Dec-2011 Irfan Sheriff <isheriff@google.com> Fix configured network status

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
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
e744cfff7ca5406f7bba17a14b89856c1ca83262 11-Dec-2011 Irfan Sheriff <isheriff@google.com> Clean up synchronization

- Add delayed disk write in WifiConfigStore
- Remove synchronization and keep all access to config store
throught the state machine thread

Change-Id: I53768a17895e48da7b99542ac95c6c2fddbcb021
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
7f8a12c75cf2b376fce58fc22b5ecb1b64acf110 04-Oct-2011 Irfan Sheriff <isheriff@google.com> Reduce/Fix system logging

Bug: 5410239
Change-Id: I2f91dfde0b701e8905a1235696591b3154693c7c
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
651cdfcbac6245f570475991588ddc2d30265e8d 07-Sep-2011 Irfan Sheriff <isheriff@google.com> Unhide wifi p2p API

Bug: 5247957
Change-Id: Id93e30c0cb60f361ba13a840de8f843415777336
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
489a9d81fd1458940e1ec01ba0cef36843732479 07-Sep-2011 Irfan Sheriff <isheriff@google.com> Rename WpsConfiguration to Wps

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
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
8136de08ff4b5c4cca11220143f5905dca38cc26 26-Aug-2011 Isaac Levy <ilevy@google.com> Fixed WifiWatchdog notification bugs

- 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
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
8fd4a3d0f72b3175936f1dd9ca174a91d196971f 26-Aug-2011 Isaac Levy <ilevy@google.com> Prevent dup network adding - b/5200491

Change-Id: I8260cf73c4261e8efb696bb8557a39e02754190e
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
a25b42ba9aa810594ec3eb02f5e7f37907c36af6 10-Aug-2011 Irfan Sheriff <isheriff@google.com> Do not log failed pre shared key

Bug: 4320948
Change-Id: I1d10ca0c59e4f7f7157b6539786b32c57a202fc8
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
8dc6a1b2823f374a176fb21b8a174664a5f825fa 27-Jul-2011 Isaac Levy <ilevy@google.com> Watchdog notify on explicit connect

Notifies when user explicitly clicks on wifi dialog.

Change-Id: I5eee37d68b422d748d41e9384d5006482a223dc5
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
0c13d479398ab4d940a302d2efd37cfeee51f872 07-Jun-2011 Irfan Sheriff <isheriff@google.com> Clear IP configuration on lost network

Bug: 4391449
Change-Id: I574128083a5612f13fcccaf5ed091eae114b7943
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
aa70f101e08098ed9cb190abe2d7f952561026b8 28-Apr-2011 Robert Greenwalt <rgreenwalt@google.com> Add RouteInfo objects for tracking routes.

Used to have list of gateways for default routes, but general static routes
should be supported.

Change-Id: I01730142c6139f2b833b9d48f5381d2d320b69f6
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
4aeca7c5908387bc7efb0785830aea1053264062 11-Mar-2011 Irfan Sheriff <isheriff@google.com> Backup and restore IP and proxy settings

Bug: 4081954
Change-Id: I27266637c6ade0c5c8242792176d1edae0983446
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
84cffa45261519a96949ec5c6cd8e21fea950ff5 03-Mar-2011 Irfan Sheriff <isheriff@google.com> DO NOT MERGE update current config with dhcp settings

After DHCP completes, update the current configured
networks list with the IP setting details

Change-Id: I1ece1eda20224c69a4635bd38fdc5bef15818bb2
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
e590373ea71251cfffc8f22f011e2e6335dce716 23-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Start using NetworkUtils.numericToInetAddress.

Generates InetAddresses without risking an accidental dns lookup. For use with supposedly
numeric-only ip address strings.

Change-Id: I694f3976ce1c6382854706f6557ea88a289add3a
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
992564e481af13cbcb058ee801f9254a520c54a1 09-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Update LinkProperties treatment of gateways

A link can have multiple gateways (think ipv4/ipv6 for a trivial example).
.

bug:3438810
Change-Id: I28c90a6947cd50b82e5ca9a0113148f98b3f4dd8
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
0216e618198393bfd7ac0625fa6ad251d5ea682f 15-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Make the interface with DHCP IPv6 capable.

It doesn't work (yet) for IPv6, but we can remove v4-centric notions from the framework.

bug:2542681
Change-Id: I21c058f5c88d07706c9265bf0ea902fc90357e56
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
e4c56c9655bf936454e2f3ee434aacb403876c7d 13-Jan-2011 Irfan Sheriff <isheriff@google.com> Fix WPS to provides immediate feedback

If WPS is already active, we drop user's request
and convey an in progress message

If WPS fails to start, a failure indication is conveyed
to the user

Bug: 3316078
Change-Id: I238c55973cb29cf5c1be66197ffcb4978316cb89
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
8e86b89860114386e6c43f55fc034a26798b73e2 22-Dec-2010 Irfan Sheriff <isheriff@google.com> Enable networks on screen on

We now all configured networks on screen on.
Also, removed event logging for scanning and rssi polling

Bug: 2129037
Change-Id: I995893d77f8575a8d987d9d8604c8272f636d12d
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
58938159ec378670ea784d07aa13ac47f4730cbb 16-Dec-2010 Irfan Sheriff <isheriff@google.com> Fix ssid storage regression

I introduced a bug with change Ic12fd78f. Quite
possibly a copy-paste issue.

Bug: 3281928
Change-Id: I040fa8580c3d6d5c585d0e5cc4306daab2f44c3d
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
02fb46a297c4f645f2a30b574151401dd0978521 08-Dec-2010 Irfan Sheriff <isheriff@google.com> WPS fixes and refactor

- 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
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
be9ee6a498afc08df1ca6d796b703b703b25c9a9 02-Dec-2010 Irfan Sheriff <isheriff@google.com> Fix configuration change handling

When IP or proxy config changes, we now reconfigure
the network and inform connectivityservice.

Also, fixed the naming for changes on configured
networks.

Bug: 3237735
Change-Id: I2a94b3158b6b0e0d27442d7fd525a8a23f0497f8
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
434203a277cd2f237a71508a3d5a7d1602126cd5 12-Oct-2010 Robert Greenwalt <rgreenwalt@google.com> Notify all VMs when proxy changes.

bug:2700664
Change-Id: I74cc6e0bd6e66847bf18f524ce851e3e9d2c4e87
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
f235c5ab91b040b88ceb61beb819e15f1b19e9e4 22-Oct-2010 Irfan Sheriff <isheriff@google.com> add wps pin from device capability

Bug: 3119043
Bug: 3112178
Change-Id: Iaae6bcf53e11f7fac82b3c604ddc27ff05e00542
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
96ca91761e6857c1ca2e4fafe5b35e4b5fefe5a1 06-Oct-2010 Irfan Sheriff <isheriff@google.com> Use LinkProperties for IP and proxy configuration

Change-Id: I4ae817fb00141e9a742216b7fd02dca1ed228270
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
128cecab968337038591cc14e3cdd5b37b2e5cb9 23-Sep-2010 Irfan Sheriff <isheriff@google.com> Add proxy settings per wifi network

Provide per network proxy settings configuration
for wifi. This is stored along with the ip configuration
in ipconfig.txt

bug: 3039302
Change-Id: Ic8bc14493583be19fde3d7c463d1e5a77e6df25f
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
5ee89800bee7c6c755778795a536e0e2f12b85ff 17-Sep-2010 Irfan Sheriff <isheriff@google.com> Add Wifi Protected Setup support

Add WPS PBC and WPS pin method support with pin obtained
from AP

Bug: 2277571

Change-Id: I6ff8e447ab8c5e59456a55152588fd4d6386c610
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
31b62322bfa9470d648fbfd69510e03da29b29af 30-Aug-2010 Irfan Sheriff <isheriff@google.com> Add per network static IP settings

Remove the existing global static IP settings and add support
for per network configuration

Change-Id: I5a6d8b877471b8c8ad07951c96d273893754607f
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java
04db1d5d3a51f9b710b707cfdc1c2f41ad948237 31-Aug-2010 Irfan Sheriff <isheriff@google.com> Add WifiConfigStore to manage networks

Split configuration management into a seperate class,
next to come is per configuration ip management as part
of WifiConfigStore.

Bug: 2876746
Change-Id: I44b85fb0e23a83d97a5052ba6beafe06f2027f5a
/frameworks/base/wifi/java/android/net/wifi/WifiConfigStore.java