summaryrefslogtreecommitdiffstats
path: root/wifi/java
Commit message (Collapse)AuthorAgeFilesLines
* Backup and restore IP and proxy settingsIrfan Sheriff2011-03-104-0/+25
| | | | | Bug: 4081954 Change-Id: I27266637c6ade0c5c8242792176d1edae0983446
* DO NOT MERGE update current config with dhcp settingsIrfan Sheriff2011-03-032-0/+20
| | | | | | | After DHCP completes, update the current configured networks list with the IP setting details Change-Id: I1ece1eda20224c69a4635bd38fdc5bef15818bb2
* Merge "fix network disconnection handling"Irfan Sheriff2011-03-022-7/+44
|\
| * fix network disconnection handlingIrfan Sheriff2011-03-022-7/+44
| | | | | | | | | | | | | | | | | | | | | | | | We should avoid network id set unless the access point is associating. Also, we should reset network connection state before sending out network change broadcast. Finally, we should reset connect mode settings when we disconnect from an access point Bug: 3424635 Change-Id: I41db5399810218abd6a77155166db5a9b1dbd22c
* | Merge "Start using NetworkUtils.numericToInetAddress."Robert Greenwalt2011-03-022-6/+9
|\ \ | |/ |/|
| * Start using NetworkUtils.numericToInetAddress.Robert Greenwalt2011-03-022-6/+9
| | | | | | | | | | | | | | Generates InetAddresses without risking an accidental dns lookup. For use with supposedly numeric-only ip address strings. Change-Id: I694f3976ce1c6382854706f6557ea88a289add3a
* | Merge "Using AsyncChannel for wifi connectivity"Irfan Sheriff2011-03-014-48/+56
|\ \
| * | Using AsyncChannel for wifi connectivityIrfan Sheriff2011-02-284-48/+56
| | | | | | | | | | | | Change-Id: Ieee5a3a1a739238d8a6659493684f1be0cbea691
* | | am 5af7cf7c: am f9e2a491: Fix issue to clear scan alarmsIrfan Sheriff2011-02-281-11/+28
|\ \ \ | |/ / |/| | | | | | | | * commit '5af7cf7c558e6febfa5d48b62900929743d2f7bb': Fix issue to clear scan alarms
| * | Fix issue to clear scan alarmsIrfan Sheriff2011-02-281-11/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | If PNO is set after the device is disconnected, the scan alarm should be cleared to prevent both PNO and alarm being active at the same time Bug: 3495698 Change-Id: Id48c87fef68a34a05799e6b82de4088e0573009f
| * | DO NOT MERGE Add support for background scanningIrfan Sheriff2011-02-232-9/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Background scanning (preferred network offload) allows us the host to sleep while the dongle monitors the presence of any preferred networks. This allows us for significant power savings since the system does not have to wake up often to initiate a scan Bug: 3453021 Change-Id: I73dcf4e1c9ab4de280c40b6df6147a74ac003123
* | | Merge "Add support for background scanning"Irfan Sheriff2011-02-232-9/+63
|\ \ \ | |_|/ |/| |
| * | Add support for background scanningIrfan Sheriff2011-02-212-9/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Background scanning (preferred network offload) allows us the host to sleep while the dongle monitors the presence of any preferred networks. This allows us for significant power savings since the system does not have to wake up often to initiate a scan Bug: 3453021 Change-Id: I7c1dbfd0c3f717df81e4da6091c4c5657c9ec9ca
* | | Merge "Remove some unused code."Robert Greenwalt2011-02-211-42/+0
|\ \ \ | |/ / |/| |
| * | Remove some unused code.Robert Greenwalt2011-02-211-42/+0
| | | | | | | | | | | | Change-Id: Id29bf7d2118065e2e772b22d910bda1c6de2a475
* | | data activity reporting on wifiIrfan Sheriff2011-02-173-30/+65
| | | | | | | | | | | | | | | | | | | | | | | | Initial checkin, need icons to complete the feature Bug: 3412258 Change-Id: I9a3ecc8159cc314d84707065dafe23d402409a84
* | | Merge "Add WPA support for soft Ap"Irfan Sheriff2011-02-171-1/+22
|\ \ \ | |/ / |/| |
| * | Add WPA support for soft ApIrfan Sheriff2011-02-171-1/+22
| | | | | | | | | | | | | | | | | | Bug: 2771935 Change-Id: Ib16c1c3b9aaccbcdf372365d3c0825bdf0680207
* | | Merge "Make WifiInfo not use int for ip address."Robert Greenwalt2011-02-173-11/+22
|\ \ \ | |/ / |/| |
| * | Make WifiInfo not use int for ip address.Robert Greenwalt2011-02-163-11/+22
| | | | | | | | | | | | Change-Id: Ib27824cd0722099e157024ee2a9797236157bc8e
* | | Make high performance wifi lock publicIrfan Sheriff2011-02-161-15/+25
|/ / | | | | | | | | | | | | | | | | | | | | gtalk and sip already use the high perf lock. Improve the comments and make the constant public. This will allow applications that use voice or video to keep the connection good even when device screen is off Change-Id: I3608cd478175c773bd835b26a686a61b8baf5471
* | Remove some unused wifi dhcp code.Robert Greenwalt2011-02-151-4/+0
| | | | | | | | Change-Id: I114b3772b334a41936c6ed4bb8304f6914481ef1
* | Merge "Update LinkProperties treatment of gateways"Robert Greenwalt2011-02-111-14/+20
|\ \
| * | Update LinkProperties treatment of gatewaysRobert Greenwalt2011-02-111-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | A link can have multiple gateways (think ipv4/ipv6 for a trivial example). . bug:3438810 Change-Id: I28c90a6947cd50b82e5ca9a0113148f98b3f4dd8
* | | Adopt LruCache in WifiStateMachine.Jesse Wilson2011-02-101-30/+16
|/ / | | | | | | | | Change-Id: I2d2f07e8b9895ae2fd05299033336fbca047373f http://b/3184897
* | Bind addr and prefixLength together in LinkAddressRobert Greenwalt2011-01-281-5/+2
| | | | | | | | | | bug:2542681 Change-Id: I90200446216d78c676498144946832afe75efdb8
* | Make the interface with DHCP IPv6 capable.Robert Greenwalt2011-01-262-46/+35
| | | | | | | | | | | | | | It doesn't work (yet) for IPv6, but we can remove v4-centric notions from the framework. bug:2542681 Change-Id: I21c058f5c88d07706c9265bf0ea902fc90357e56
* | Merge "Switch from NetworkUtils to netd for iface config."Robert Greenwalt2011-01-211-3/+15
|\ \
| * | Switch from NetworkUtils to netd for iface config.Robert Greenwalt2011-01-211-3/+15
| | | | | | | | | | | | | | | | | | Moving more stuff to netd and getting rid of unused NetworkUtils. Change-Id: Ibb5a11dca58d07291fe33e6d33027553f6158ea7
* | | Add untether call during softap shutdownIrfan Sheriff2011-01-201-1/+70
| |/ |/| | | | | | | Bug: 3355187 Change-Id: Ie4381648883186a216807bcd0d586ecfd00ca15c
* | Merge "Handle EAP authentication failure" into honeycombIrfan Sheriff2011-01-193-31/+44
|\ \
| * | Handle EAP authentication failureIrfan Sheriff2011-01-193-31/+44
| |/ | | | | | | | | | | | | | | Avoid the scenario of an EAP network indefinitely trying to connect due to an EAP authentication failure by disabling the network Bug: 2149114 Change-Id: Iec8da7551c2dff9b153f41a2139529133130399d
* | Fix soft Ap handling on system restartIrfan Sheriff2011-01-181-8/+18
|/ | | | | | | | | When system server restarts, a soft AP start can fail. Fix it by doing a stop and start through netd. Bug: 3236625 Change-Id: I95f31eb34a03b64cb7e2b6b8bdd56fc2119b605b
* Report WPS overlap errorIrfan Sheriff2011-01-163-0/+48
| | | | | | | | Add certification requirement to report an overlapping WPS session failure to user Bug: 3354319 Change-Id: I8c51bc20c2ec8e8d92a86ed2dfe2a3ede9c56885
* Fix WPS to provides immediate feedbackIrfan Sheriff2011-01-147-41/+167
| | | | | | | | | | | 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
* Fix network availability reportingIrfan Sheriff2011-01-112-22/+11
| | | | | | Report wifi is available as long as it is kept on Change-Id: I5be9461106ef4968cbc423f90e0ff168e089791f
* Use BluetoothAdapter broadcast for coex settingsIrfan Sheriff2011-01-071-132/+21
| | | | | | | | Use the bluetooth adapter broadcast so that we capture various bluetooth profiles for both scan coex settings and coex settings during DHCP Change-Id: Idec41940514efe7ea9927f67b6199b4893794e2a
* Enable networks on screen onIrfan Sheriff2010-12-243-36/+61
| | | | | | | | We now all configured networks on screen on. Also, removed event logging for scanning and rssi polling Bug: 2129037 Change-Id: I995893d77f8575a8d987d9d8604c8272f636d12d
* Fix wifi broadcastsIrfan Sheriff2010-12-222-39/+48
| | | | | | | | | | | Add the missing wifi disable broadcast and also send out supplicant disconnect on shutdown. Added unit test cases. Bug: 3294055 Change-Id: Ia56a8ec9d17784c5aac5b8b369c04837f9057c54
* Merge "Fix ssid storage regression"Irfan Sheriff2010-12-161-1/+1
|\
| * Fix ssid storage regressionIrfan Sheriff2010-12-161-1/+1
| | | | | | | | | | | | | | | | I introduced a bug with change Ic12fd78f. Quite possibly a copy-paste issue. Bug: 3281928 Change-Id: I040fa8580c3d6d5c585d0e5cc4306daab2f44c3d
* | Use clear names for native APIIrfan Sheriff2010-12-152-12/+20
|/ | | | Change-Id: I96c3089e10c75f433410f66c01204b7e5de2dc55
* Initialize network state on startIrfan Sheriff2010-12-151-0/+2
| | | | | Bug: 2542613 Change-Id: I5b16b2dc866c7f25bc61f1a04cf5fa9938ec2c3e
* Handle supplicant stop correctlyIrfan Sheriff2010-12-152-24/+97
| | | | | | | | | - Use a clean terminate for a regular stop and on failure kill supplicant. This prevents WifiMonitor from getting hung permanently on a socket in case of a kill - When WifiMonitor exits, kill supplicant and cleanup sockets Change-Id: I87c32e03d945433f33eed8c326d7f0368925bf55
* WPS fixes and refactorIrfan Sheriff2010-12-139-142/+458
| | | | | | | | - 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
* Have MobileDataStateTracker & DataConnectionTracker communicate directly.Wink Saville2010-12-071-0/+7
| | | | | | | | | Added CMD_SET_DATA_ENABLE which is sent when data is enabled/disabled via the ConnectivityService. It is anticipated that the communication channel will be used for additional commands and to receive unsoliciated commands from DataConnectionTracker back to MobileDataStateTracker. Change-Id: I3863e7385155d503f069b1dcb7e4f766ec78b5f8
* Update scan results when frequency band is setIrfan Sheriff2010-12-061-0/+2
| | | | Change-Id: I4864b66f96744682a0de274fd49cca035ffc5d3c
* Hold network hand-off wakelock only when connectedIrfan Sheriff2010-12-031-8/+10
| | | | Change-Id: I31132cb2966cfc1eb205e070116b4c784d292f46
* Fix configuration change handlingIrfan Sheriff2010-12-035-66/+143
| | | | | | | | | | | 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
* Fix Wifi's setting of isAvailable.Robert Greenwalt2010-11-231-1/+1
| | | | | | | Manifested itself in ConnectivityService reporting no connectivity. bug:3220092 Change-Id: I4c0149125b8e2b9c2493f87d208aecbf21590fff