History log of /frameworks/base/core/jni/android_net_wifi_Wifi.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
21ba8153325e010224c6bc75a0acdc98b6ca82e8 05-Apr-2012 Irfan Sheriff <isheriff@google.com> Pre-association service discovery support

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>
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
7d6d9c005e5cfad787bb62b7fee6be2d75b13ca3 11-Jan-2012 Irfan Sheriff <isheriff@google.com> Initial support for concurrency

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
5baa3a62a97544669fba6d65a11c07f252e654dd 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
44b330dfb0aeecb4e2ac97ff72a5abfb341c74fb 28-Dec-2011 Irfan Sheriff <isheriff@google.com> Add multi-interface support to native calls

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
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/core/jni/android_net_wifi_Wifi.cpp
618455f7e7255019c8cc08a734ba7c52b67a7dc8 18-Nov-2011 Irfan Sheriff <isheriff@google.com> Redesign p2p around provision discovery

= 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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
921df5cbc44c00abe85f04093afe7692e73d490a 27-Sep-2011 Irfan Sheriff <isheriff@google.com> Switch to cfg based signal_poll command

Bug: 5352916
Change-Id: Id2ba7091a5e4cc4c1e14aa2c49e5b943519019bf
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
f42c39b3d188ebb3ba9003cffc530717829fe874 26-Aug-2011 Irfan Sheriff <isheriff@google.com> Use seperate config file for p2p

Keep p2p and sta config seperate to avoid conflicts.

Bug: 5002384
Change-Id: I8f8fc5f984f4f91f9ece4012bf536daa5cc00bba
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
55bc5f3e0408bcb5a39a6732de0b2d1aa99a55be 24-Jun-2011 repo sync <isheriff@google.com> Updated: Wi-Fi p2p framework

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
b0c1b80f471bd49af60e7b78161d814e355a6972 20-Jul-2011 Irfan Sheriff <isheriff@google.com> Fix multicast API

Fix multicast API and disable mutlicast V6 packets at driver start

Bug: 5016558
Change-Id: I1e04a905a36045e52c785c1dc702cc246a381a57
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
33bf60a3fcab0489077314e845323de2d856af43 05-May-2011 Irfan Sheriff <isheriff@google.com> am 86654eda: am 8a14d8b9: am 1a5b6098: Handle GET_POWER failures

* commit '86654eda96b005ea21bfe4d29cd042187e497a8f':
Handle GET_POWER failures
86654eda96b005ea21bfe4d29cd042187e497a8f 05-May-2011 Irfan Sheriff <isheriff@google.com> am 8a14d8b9: am 1a5b6098: Handle GET_POWER failures

* commit '8a14d8b9c03c611cabde5743cfdcc9ff51314550':
Handle GET_POWER failures
1a5b6098d5002ae07ce3f9bc514400a87c2b64fa 04-May-2011 Irfan Sheriff <isheriff@google.com> Handle GET_POWER failures

Return a failure when GET_POWER returns a non-conforming
format

Bug: 4380317
Change-Id: If1ce73572ae261cd6998e4289e21112c88859437
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
f17b971a75577a3a0e5ab574618e0756d167f5d4 13-Apr-2011 Elliott Hughes <enh@google.com> More native code cleanup.

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
dd66bcbf9d6ef0c50a18d9c4b1b39ce7ef7afcc4 12-Apr-2011 Elliott Hughes <enh@google.com> More native code cleanup.

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
2b7f63887e39079a52592fb4507d8daaf90e8afa 25-Mar-2011 Irfan Sheriff <isheriff@google.com> Add support for supplicant SCAN_INTERVAL

Also, allow scan interval for framework and supplicant
to be configured at build time or run time

Bug: 4144882
Change-Id: I877f4bcc872597b44d3f4da85cf2bc0f16e09444
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
fcc0845cf9990470d498dcaa036f0ae6487ddf34 18-Feb-2011 Irfan Sheriff <isheriff@google.com> Add support for background scanning

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
19f8ca846b5234278d3001782077b90aad61a85c 15-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Remove some unused wifi dhcp code.

Change-Id: I114b3772b334a41936c6ed4bb8304f6914481ef1
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
320b56dcdd0c2affc7436f4748e8bc0a4419dbe4 08-Feb-2011 Stan Chesnutt <chesnutt@google.com> Parse the rssi result string in case-insensitive manner. This matches similar
code in wpa-supplicant, driver_wext.c

Change-Id: Ibeff41f9ef9168e47c338513b4c8c8781254e068
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
5d001ea0271eeedb05984ac00d5e41d767f0cb87 15-Dec-2010 Irfan Sheriff <isheriff@google.com> Use clear names for native API

Change-Id: I96c3089e10c75f433410f66c01204b7e5de2dc55
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
96071a7031bac06e3f249610b010ad5651efe8ae 14-Dec-2010 Irfan Sheriff <isheriff@google.com> Handle supplicant stop correctly

- 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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
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/core/jni/android_net_wifi_Wifi.cpp
ed4f28b492da3ff140bbaabbbda798a08c40ea5b 30-Oct-2010 Irfan Sheriff <isheriff@google.com> Set country code in the driver and remove channel set

With dual band support, using country code
settings is the way to go

Bug: 2936741
Change-Id: I760dce4c43b1af19ee205c28f0d287420c8d9e85
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
5876a4273e67271f0eca607af9520f7e5abbe4f3 13-Aug-2010 Irfan Sheriff <isheriff@google.com> WifiLock extensions for high performance mode

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
f235c5ab91b040b88ceb61beb819e15f1b19e9e4 22-Oct-2010 Irfan Sheriff <isheriff@google.com> add wps pin from device capability

Bug: 3119043
Bug: 3112178
Change-Id: Iaae6bcf53e11f7fac82b3c604ddc27ff05e00542
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
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/core/jni/android_net_wifi_Wifi.cpp
1907bd2f6cf0ad7358ecc001ef7a134a19d4b67c 08-Sep-2010 Irfan Sheriff <isheriff@google.com> Rename SETSUSPEND to SETSUSPENDOPT DO NOT MERGE

Bug: 2973101
Change-Id: I874381eeb12bb796382717285750d700e9b181ce
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
25c9bf2396ceb48fc5cfd5c1dd58aa4d4750d056 02-Sep-2010 Irfan Sheriff <isheriff@google.com> Add set/get band in WifiNative

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
8c11e952305327183db9f7be719e4c94fde15a7c 13-Aug-2010 Irfan Sheriff <isheriff@google.com> DO NOT MERGE WifiLock extensions for high performance mode

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
876247784ee6202066abdefd8366f2e09e681fab 07-Apr-2010 Mikael Kanstrup <mikael.kanstrup@sonyericsson.com> DO NOT MERGE WLAN: Reset power save mode to startup value after DHCP response.

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
a2a1b911a31dd94ee75e94845f762b91f1db1368 07-Jun-2010 Irfan Sheriff <isheriff@google.com> Refactor WifiStateTracker

Implement WifiStateTracker as a HSM.

Change-Id: Ic12fd78f1f183b5c4dea8ad2301002267ceff0cb
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
0631c608b0997efe5c0bd8e8955e65f1a7b3f32c 12-Jun-2010 Irfan Sheriff <isheriff@google.com> merge from open-source master

Change-Id: I8a950276787e9439420db396d0e32f88bd6e04cc
ea8bd1d1676dd96f8f9726bb8f67fa18dec7b9c1 07-Apr-2010 Mikael Kanstrup <mikael.kanstrup@sonyericsson.com> WLAN: Reset power save mode to startup value after DHCP response.

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
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
038e315cded93edff840cfe108fdb3c47a525d7e 10-Oct-2009 Zheng BaoZhong <bao-zhong@motorola.com> Wifi: Fix runtime crash in when scan results contain KSC 5601 SSID

bug b/2178462

Change-Id: I409d9b4a163299c3383ec092cd2368a9d24236cb
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
b20148b806037f15a909604651edd14165c07238 04-Aug-2009 Mike Lockwood <lockwood@android.com> wifi: Strip trailing spaces before parsing RSSI results.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
6811355d9683412cb3651e75c59c3256ceaddcec 09-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 463aacfb: Merge change 6661 into donut

Merge commit '463aacfbd220c9ef2f6ed915d54092289fdac05b'

* commit '463aacfbd220c9ef2f6ed915d54092289fdac05b':
wifi: WifiManager.startScan() will now do passive scans by default.
a5ec95cdb1a7d2024249277dff1f99d0046c9b56 08-Jul-2009 Mike Lockwood <lockwood@android.com> wifi: WifiManager.startScan() will now do passive scans by default.

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>
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
91f22f901bee5d52d81ca4070a1b187ac8b90dad 09-Jun-2009 Robert Greenwalt <robdroid@android.com> Use new wifi cmd rssi-approx when polling.

Cheaper approx call should be used when polling every 3 sec for
wifi signal strength. Fixes bug 1903653.
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
c5ad0f47251199b0d137bfdb085f189afbe3ddd2 26-May-2009 Mike Lockwood <lockwood@android.com> wifi: Fix problem parsing RSSI when the AP name contains a space.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
e8624dd69d1647cf5fc10da0447386ade66f0a9e 13-Apr-2009 Lorenzo Colitti <> AI 145920: Don't filter out IPv6 multicast packets.

Automated import of CL 145920
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/jni/android_net_wifi_Wifi.cpp