summaryrefslogtreecommitdiffstats
path: root/core/jni/android_net_wifi_Wifi.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Pre-association service discovery supportIrfan Sheriff2012-04-121-1/+2
| | | | | | | | Add UPnp, Bonjour and vendor specific support for discovering services on Wi-Fi direct before establishing a connection. Change-Id: I1c1f3427180abdc80a4e682e713adc7f0326c5ef Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
* Initial support for concurrencyIrfan Sheriff2012-01-251-9/+3
| | | | | | | | | Use of multiple socket connections over wlan0 and p2p and p2p state machine is now controlled entirely from wifi state machine Add discovery stop to allow STA scans to proceed after p2p is used Change-Id: I790c9112d3f475f638f06fc3ae9e191f6d90ef35
* Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-031-3/+3
| | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
* Add multi-interface support to native callsIrfan Sheriff2011-12-281-34/+48
| | | | | | | | | | Add the initial support for supporting seperate socket connections on the p2p interface. This is the initial change making primary interface connections work alongside native support for p2p socket connection Change-Id: I7619715ca75b10afd29af852279fe713331f75e0
* clean up jni codeIrfan Sheriff2011-12-281-417/+0
| | | | | | | | | - 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
* Redesign p2p around provision discoveryIrfan Sheriff2011-11-281-0/+4
| | | | | | | | | | | | | | = Provision Discovery:Is an optional discovery technique for figuring out if a peer supports the specific WPS option. For compatibility reasons, we will now always use it during connection but at the same time support devices that request to support connection without it = State machine and UI redesign around the new interaction = Specify config methods explicitly for compatibility Bug: 5599949 Change-Id: Ib79435dda472c43cc0746f56bf79ea896b2e33a4
* Switch to cfg based signal_poll commandIrfan Sheriff2011-09-261-28/+0
| | | | | Bug: 5352916 Change-Id: Id2ba7091a5e4cc4c1e14aa2c49e5b943519019bf
* Use seperate config file for p2pIrfan Sheriff2011-08-261-0/+6
| | | | | | | Keep p2p and sta config seperate to avoid conflicts. Bug: 5002384 Change-Id: I8f8fc5f984f4f91f9ece4012bf536daa5cc00bba
* Updated: Wi-Fi p2p frameworkrepo sync2011-07-241-0/+35
| | | | | | | | | | First stage. Get the bones in right now even though we are not ready on the native side. Once, we have things underneath working - we will further update the framework Change-Id: I4a7dab5cd4267373dc5f8989ae4122f91c384ed5
* Fix multicast APIIrfan Sheriff2011-07-211-14/+46
| | | | | | | Fix multicast API and disable mutlicast V6 packets at driver start Bug: 5016558 Change-Id: I1e04a905a36045e52c785c1dc702cc246a381a57
* 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