summaryrefslogtreecommitdiffstats
path: root/core/jni/android_net_wifi_Wifi.cpp
Commit message (Collapse)AuthorAgeFilesLines
* am 86654eda: am 8a14d8b9: am 1a5b6098: Handle GET_POWER failuresIrfan Sheriff2011-05-041-1/+3
|\ | | | | | | | | * commit '86654eda96b005ea21bfe4d29cd042187e497a8f': Handle GET_POWER failures
| * am 8a14d8b9: am 1a5b6098: Handle GET_POWER failuresIrfan Sheriff2011-05-041-1/+3
| |\ | | | | | | | | | | | | * commit '8a14d8b9c03c611cabde5743cfdcc9ff51314550': Handle GET_POWER failures
| | * Handle GET_POWER failuresIrfan Sheriff2011-05-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Return a failure when GET_POWER returns a non-conforming format Bug: 4380317 Change-Id: If1ce73572ae261cd6998e4289e21112c88859437
| | * Rename SETSUSPEND to SETSUSPENDOPT DO NOT MERGEIrfan Sheriff2010-09-071-1/+1
| | | | | | | | | | | | | | | Bug: 2973101 Change-Id: I874381eeb12bb796382717285750d700e9b181ce
| | * DO NOT MERGE WifiLock extensions for high performance modeIrfan Sheriff2010-08-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I8b33d307f3d569bc92ba2139b9ed224ffc147547
| | * DO NOT MERGE WLAN: Reset power save mode to startup value after DHCP response.Mikael Kanstrup2010-08-131-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the driver was configured to run with power save mode disabled the power save mode incorrectly got reverted back to AUTO mode right after DHCP response. The power save mode value is now saved so that the device properly reverts back to a previous mode after DHCP response. Change-Id: Ie68cd107872d233bf422e24130a1eb9f6432db91 Bug: 2834260
* | | More native code cleanup.Elliott Hughes2011-04-131-242/+169
| | | | | | | | | | | | | | | | | | | | | Use ScopedUtfChars (fixes a leak in TrafficStats, and fixes a crash in Wifi in a case where GetStringChars could have been called with a pending exception). Change-Id: I3465ff392b4038dfdafa6af80ec1314cc6d6a11c
* | | More native code cleanup.Elliott Hughes2011-04-121-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Don't keep unused global references to classes, don't throw exceptions when an exception is already pending, and fix a (harmless) misunderstanding about how GetStringChars works. Change-Id: Ie445036f057daa8a1c76aceb7bad2a84fb81d820
* | | Add support for supplicant SCAN_INTERVALIrfan Sheriff2011-04-061-2/+13
|/ / | | | | | | | | | | | | | | Also, allow scan interval for framework and supplicant to be configured at build time or run time Bug: 4144882 Change-Id: I877f4bcc872597b44d3f4da85cf2bc0f16e09444
* | Add support for background scanningIrfan Sheriff2011-02-211-0/+13
| | | | | | | | | | | | | | | | | | | | | | 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
* | Remove some unused wifi dhcp code.Robert Greenwalt2011-02-151-56/+0
| | | | | | | | Change-Id: I114b3772b334a41936c6ed4bb8304f6914481ef1
* | Parse the rssi result string in case-insensitive manner. This matches similarStan Chesnutt2011-02-081-1/+1
| | | | | | | | | | | | code in wpa-supplicant, driver_wext.c Change-Id: Ibeff41f9ef9168e47c338513b4c8c8781254e068
* | Use clear names for native APIIrfan Sheriff2010-12-151-6/+6
| | | | | | | | Change-Id: I96c3089e10c75f433410f66c01204b7e5de2dc55
* | Handle supplicant stop correctlyIrfan Sheriff2010-12-151-2/+8
| | | | | | | | | | | | | | | | | | - 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-131-7/+10
| | | | | | | | | | | | | | | | - 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
* | Set country code in the driver and remove channel setIrfan Sheriff2010-11-021-29/+17
| | | | | | | | | | | | | | | | With dual band support, using country code settings is the way to go Bug: 2936741 Change-Id: I760dce4c43b1af19ee205c28f0d287420c8d9e85
* | WifiLock extensions for high performance modeIrfan Sheriff2010-10-261-0/+11
| | | | | | | | | | | | | | | | | | 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-261-24/+44
| | | | | | | | | | | | Bug: 3119043 Bug: 3112178 Change-Id: Iaae6bcf53e11f7fac82b3c604ddc27ff05e00542
* | Add Wifi Protected Setup supportIrfan Sheriff2010-09-231-1/+34
| | | | | | | | | | | | | | | | | | Add WPS PBC and WPS pin method support with pin obtained from AP Bug: 2277571 Change-Id: I6ff8e447ab8c5e59456a55152588fd4d6386c610
* | Add set/get band in WifiNativeIrfan Sheriff2010-09-021-0/+26
| | | | | | | | | | | | | | | | Add support for set and get band and set the default to 2GHz for now till we get a fix on issues with 11A Change-Id: Icb9bddc353e4bf013bdb8a08d9b4ee3451c282f4
* | Refactor WifiStateTrackerIrfan Sheriff2010-07-271-0/+6
| | | | | | | | | | | | Implement WifiStateTracker as a HSM. Change-Id: Ic12fd78f1f183b5c4dea8ad2301002267ceff0cb
* | merge from open-source masterIrfan Sheriff2010-06-111-0/+15
|\ \ | |/ |/| | | Change-Id: I8a950276787e9439420db396d0e32f88bd6e04cc
| * WLAN: Reset power save mode to startup value after DHCP response.Mikael Kanstrup2010-06-101-0/+15
| | | | | | | | | | | | | | | | | | When the driver was configured to run with power save mode disabled the power save mode incorrectly got reverted back to AUTO mode right after DHCP response. The power save mode value is now saved so that the device properly reverts back to a previous mode after DHCP response. Change-Id: I5035aad10146812ecef1be8ea4b22a03e230ccc9
* | Wifi: Fix runtime crash in when scan results contain KSC 5601 SSIDZheng BaoZhong2009-10-101-1/+3
|/ | | | | | | bug b/2178462 Change-Id: I409d9b4a163299c3383ec092cd2368a9d24236cb Signed-off-by: Mike Lockwood <lockwood@android.com>
* wifi: Strip trailing spaces before parsing RSSI results.Mike Lockwood2009-08-041-0/+7
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* am 463aacfb: Merge change 6661 into donutAndroid (Google) Code Review2009-07-091-12/+16
|\ | | | | | | | | | | | | Merge commit '463aacfbd220c9ef2f6ed915d54092289fdac05b' * commit '463aacfbd220c9ef2f6ed915d54092289fdac05b': wifi: WifiManager.startScan() will now do passive scans by default.
| * wifi: WifiManager.startScan() will now do passive scans by default.Mike Lockwood2009-07-091-12/+16
| | | | | | | | | | | | | | | | Active scans will only happen if a hidden AP is in use, or if the new method WifiManager.startScanActive() is called. This fixes some audio playback problems with bluetooth A2DP. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Use new wifi cmd rssi-approx when polling.Robert Greenwalt2009-06-081-2/+15
|/ | | | | Cheaper approx call should be used when polling every 3 sec for wifi signal strength. Fixes bug 1903653.
* wifi: Fix problem parsing RSSI when the AP name contains a space.Mike Lockwood2009-05-251-1/+6
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* AI 145920: Don't filter out IPv6 multicast packets.Lorenzo Colitti2009-04-131-0/+2
| | | | Automated import of CL 145920
* auto import from //branches/cupcake/...@137197The Android Open Source Project2009-03-091-0/+12
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+540
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-540/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-0/+20
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-1/+29
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+492