summaryrefslogtreecommitdiffstats
path: root/wifi/java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge "Notify all VMs when proxy changes."Robert Greenwalt2010-11-191-39/+8
|\
| * Notify all VMs when proxy changes.Robert Greenwalt2010-11-191-39/+8
| | | | | | | | | | bug:2700664 Change-Id: I74cc6e0bd6e66847bf18f524ce851e3e9d2c4e87
* | Split SupplicantStateTracker and refactorIrfan Sheriff2010-11-182-515/+513
|/ | | | | | | | | | | | | | | | - Move SupplicantStateTracker into a seperate file. In the process clean up code that needs to be present only in SupplicantStateTracker - Retry twice for password failures - Clean up supplicant state handling. Dont treat supplicant states as HSM what values. Instead, just retain SUPPLICANT_STATE_CHANGE - Add event logging in SupplicantStateTracker - Move scan handling out SupplicantStateTracker Change-Id: I083e1c40ef5a858164493b1440b82c5751b3bfb5
* add frequency band control APIIrfan Sheriff2010-11-083-8/+122
| | | | Change-Id: I6cc6cdef27d493d4ef76cec17fdca7e49d9dc8d7
* Initiate wake up scan only in a disconnected stateIrfan Sheriff2010-11-041-2/+49
| | | | | | | When wifi is connected to an access point, we should not wake up the device to initiate scans. Change-Id: I1a48387a0cac7b23a8d947d8409cafc63da18d38
* Set country code in the driver and remove channel setIrfan Sheriff2010-11-024-103/+49
| | | | | | | | With dual band support, using country code settings is the way to go Bug: 2936741 Change-Id: I760dce4c43b1af19ee205c28f0d287420c8d9e85
* Use AsynChannel for synchronous APIIrfan Sheriff2010-11-021-218/+76
| | | | | | | also cleaned up some unnecessary synchronous commands from state machine, and fixed an issue with a synchronous WPS command Change-Id: I55bf4379d9810e11f2ba2e03e2e703b132d1488f
* WifiLock extensions for high performance modeIrfan Sheriff2010-10-263-27/+67
| | | | | | | | | Add extension to WifiLock to allow apps to operate in high performance mode (high power & disable suspend optimizations for battery consumption). Bug: 2834260 Change-Id: Id394d265b9876bf0230efb3d222056e9b80b44fd
* add wps pin from device capabilityIrfan Sheriff2010-10-265-24/+82
| | | | | | Bug: 3119043 Bug: 3112178 Change-Id: Iaae6bcf53e11f7fac82b3c604ddc27ff05e00542
* Update BT APIs return type from Set to List.Jaikumar Ganesh2010-10-221-3/+2
| | | | Change-Id: Ia27220dd26cde13007f6938c830517ee7f6968ce
* Change removeNetowrk to a synchronous channel call.Wink Saville2010-10-201-8/+24
| | | | Change-ID: Iad0380d56972826615e044fa2aaee418b617d732
* Fix wake and scan behaviorIrfan Sheriff2010-10-201-22/+28
| | | | | | | | | | | | - Add wakelock for driver start/stop to ensure a wifilock acquisition kick starts driver. Also cleaned up state machine driver start/stop behavior. - Add periodic scans when driver is started to ensure wifi reconnections when wifilock exists or when user chooses never to sleep - some minor clean up Change-Id: I844eb70491d5aa2f8c8933b3d8dd01ba237ee534
* wifi: Allow dual-band supportDmitry Shmidt2010-10-201-8/+0
| | | | | Change-Id: I90e421efca783080261789378ef6054ac394c1e2 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* Remove synchronous bluetooth callbacksIrfan Sheriff2010-10-141-21/+23
| | | | | | Also, fixed an issue with disabling bluetooth coexistence Change-Id: Ia7f68dfe6e8d587101ba8513783a0123ff0561a1
* state machine fixesIrfan Sheriff2010-10-121-44/+23
| | | | | | | | | | | | | | | - When supplicant dies, restart it - When wifimonitor fails to connect in time, restart supplicant - fix dhcp counter reset - defer all load/unload actions when waiting for supplicant control connection - we dont need to disconnect & reconnect at start with the faster monitor connection and handling of failures Bug: 2973023 Bug: 3090725 Change-Id: I5c834ddd08e6300e2b29da0941a24633825b4d3b
* Retry quicker for control channel setupIrfan Sheriff2010-10-111-2/+2
| | | | | Bug: 2976277 Change-Id: Ifedb0c1aebefc251028e8d2f578f530a3840c702
* Use LinkProperties for IP and proxy configurationIrfan Sheriff2010-10-083-209/+315
| | | | Change-Id: I4ae817fb00141e9a742216b7fd02dca1ed228270
* Add LinkAddressIrfan Sheriff2010-10-061-11/+7
| | | | | | LinkAddress stores IP address + prefix for a network link Change-Id: Id3e74e9d0a62121d097ebdc9be064eeea257ba1f
* Add proxy settings per wifi networkIrfan Sheriff2010-10-063-129/+350
| | | | | | | | | Provide per network proxy settings configuration for wifi. This is stored along with the ip configuration in ipconfig.txt bug: 3039302 Change-Id: Ic8bc14493583be19fde3d7c463d1e5a77e6df25f
* Wifi: Update code for new BT Apis.Jaikumar Ganesh2010-09-281-15/+49
| | | | Change-Id: I1deb0a9a1533958cdb79179bebd2d3b435b0b07c
* Add Wifi Protected Setup supportIrfan Sheriff2010-09-236-23/+149
| | | | | | | | | Add WPS PBC and WPS pin method support with pin obtained from AP Bug: 2277571 Change-Id: I6ff8e447ab8c5e59456a55152588fd4d6386c610
* resolved conflicts for merge of 1f377298 to masterDianne Hackborn2010-09-171-10/+63
|\ | | | | | | Change-Id: I0d92abae3a86792b47777f795143acc0489adfe4
| * am 58e0eefe: Improve power tracking of WIFI use.Dianne Hackborn2010-09-171-6/+51
| |\ | | | | | | | | | | | | | | | | | | Merge commit '58e0eefeb5e2e270e2b04369bbf29fc22abda8d5' into gingerbread-plus-aosp * commit '58e0eefeb5e2e270e2b04369bbf29fc22abda8d5': Improve power tracking of WIFI use.
| | * Improve power tracking of WIFI use.Dianne Hackborn2010-09-171-6/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now distribute "wifi started" time across all apps that are holding WIFI locks that cause it to be started. But only when WIFI would not normally be running. Also have a mechanism to distribute other WIFI work that has happened across those processes based on their use. Also fixed a bug where we were not retaining the CPU speed step stats across boots...! Change-Id: I00e3153b98429166273750512cc37e7975211ab9
* | | Add LinkCapabilitiesWink Saville2010-09-162-2/+31
| | | | | | | | | | | | Change-Id: Ia1599ade936b79f12526252c0a2e6b453abb136e
* | | Add per network static IP settingsIrfan Sheriff2010-09-143-198/+407
| | | | | | | | | | | | | | | | | | | | | Remove the existing global static IP settings and add support for per network configuration Change-Id: I5a6d8b877471b8c8ad07951c96d273893754607f