History log of /frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bbbafda1be6182f25fb3e5b43a4e7e2cc9830d6a 02-Oct-2015 Vinit Deshpande <vinitd@google.com> Fix mismatched buffer size in supplicant and WifiNative

The WifiNative response buffer is one byte smaller than the
amount of data that supplicant can throw at it. This can lead
to a problem where WifiNative gets mismatched answers for
its commands.

Bug: 24380015
Change-Id: Iadc0afa9390ca5c002022fc951951cb109eac22a
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
da515a82e79abdf603b290c9fed4d4198ca75519 06-Aug-2015 Vinit Deshpande <vinitd@google.com> Fix RSSI monitoring code to the no-leaking standards

Change-Id: I4a0cb1eefb74a9775c10397a8abad15e594385f3
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
0d76e12ac1520a3ee420bef9023e4d5b1f4d290b 06-Aug-2015 Vinit Deshpande <vinitd@google.com> am 9152c500: Merge "Fix refcounting of objects and data in WifiNative" into mnc-dev

* commit '9152c50087c0293bdfd2526fd88a967ea7a1763c':
Fix refcounting of objects and data in WifiNative
9152c50087c0293bdfd2526fd88a967ea7a1763c 06-Aug-2015 Vinit Deshpande <vinitd@google.com> Merge "Fix refcounting of objects and data in WifiNative" into mnc-dev
9dc6bda43f0767a1ecb3f901d9be0f523e9463f1 06-Aug-2015 xinhe <xinhe@google.com> resolved conflicts for merge of ee0a0132 to mnc-dr-dev

Change-Id: I61046edb56b9b54a759e4964762fa7b01d4eaba1
ee0a0132ebb0d7e9baf42e778ea9c094966ffb14 04-Aug-2015 xinhe <xinhe@google.com> WiFi tethering AP says I can't use 5g in this country while in the US

b/22871989

Change-Id: I63c458c7353ecf84aa716118924364bb8f0f2844
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
7d519b6686ece717fd3890c0656b46155c22a377 05-Aug-2015 Vinit Deshpande <vinitd@google.com> Fix refcounting of objects and data in WifiNative

Bug: 22857896

Change-Id: I552495f1b8561eb7917f6a94284f1716870491da
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
0cc09187b578a328f945cd58f0c030c4b713d37e 05-Aug-2015 xin He <xinhe@google.com> am 69a99c03: Merge "Boot loop when SSID has non UTF-8 character in the name" into mnc-dev

* commit '69a99c03a9c78a507266c18443dc044a7b3e7869':
Boot loop when SSID has non UTF-8 character in the name
5cfd8d8b9f241dcad874125a1b5538ee0d6860fe 29-Jul-2015 xinhe <xinhe@google.com> Boot loop when SSID has non UTF-8 character in the name

b/22773761

Change-Id: I24e1579ff1aafde703d2090f93399fd5f299a75a
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
aea1299e72516fa37f53db849ecb2619eea2be4b 21-Jul-2015 Prerepa Viswanadham <dham@google.com> Fix typo in method name

Bug: 22634960
Change-Id: I3ebc3fb998f387a4eb4521cfc60409b64b2a2f64
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
c2b197d7475ccfbcc84cab83c57ba4f678e67db8 14-Jul-2015 Prerepa Viswanadham <dham@google.com> RSSI hal api hookup

Bug: 21405941
Change-Id: I6740267046e997d27945346e036b40a198bbb105
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
c55e88163b223db0ca6a99ed6ffe91845c30a576 02-Jul-2015 Prerepa Viswanadham <dham@google.com> WiFi keep alive offloading service implementation

Bug: 21405946
Change-Id: If7fe4b25bf294f808b99b1e1f25e8a7a62817ef7
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
370ad50a5f1dd907de8f4d201f73eb7139f79dd4 13-Jul-2015 Jerry Lee <jerrylee@broadcom.com> Clean up bad command implementation

b/22349265

Change-Id: I3d5e0e3c6d06a86f9c59b00754bfc9e5677fe9e7
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
9c86caa1a83f9d9c42faacc151341a09c5e538a4 08-Jul-2015 xinhe <xinhe@google.com> AUPT: NCs in system_server caused runtime restart

b/22322272

Change-Id: If4eb9dd3fcefeef2ab26f991e8ee5dd8947a2837
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
b797893fc1966803d0c013faac42e6396a37a384 26-Jun-2015 xinhe <xinhe@google.com> Use wifi_reset_log_handler to stop logging

b/22098062

Change-Id: I6bc701ba81a9dad323403a39e3cb385153d2ed88
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
b334e6ca020be2b0dedf0ff2ad6cd4e698aa2900 27-Jun-2015 Vinit Deshpande <vinitd@google.com> Merge "Add wifi offload feature: mkeep_alive" into mnc-dev
2723d997840a21379ac1c1224bf07e5026559603 19-Jun-2015 Ecco Park <eccopark@broadcom.com> Add wifi offload feature: mkeep_alive

b/21405946

Change-Id: I0bbe294d52e97d9609d35d788410fd0bb4c6d5f7
Signed-off-by: JerryLee <jerrylee@broadcom.com>
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
6414301b7b685307e8ae8cea6976ed05cc49b254 25-Jun-2015 Vinit Deshpande <vinitd@google.com> Re-enable Driver/Firmware based logs

Change-Id: If2c929a1156d936ac1a17681d1f171ae1f9dd1bf
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
32cbc7acce70697ccf7881324bf8a6861905e899 18-Jun-2015 JerryLee <jerrylee@broadcom.com> Add a debuggability interface: stop logging

bug: 21730601

Change-Id: I4dd4c6bae10b9e8ad7c8cabc887b8d51c07eff01
Signed-off-by: JerryLee <jerrylee@broadcom.com>
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
d745a52dc4f929d4a4030f205ed173bdf60eaf10 12-Jun-2015 Pierre Vandwalle <vandwalle@google.com> call setWifiLinkLayerStats
Bug:21617639

Change-Id: Idf7d066a20b96ed1e39cdd164b7159d5843c2f99
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
3cd3ccdbad2def6f23eeb70b42097e393fbc02fe 09-Jun-2015 Wei Wang <weiwa@google.com> Fix a typo in RTT logs

Change-Id: I41db895dbc470229ef7746e16c404010beec3d9d
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
e0f45adde26bd4d238ff157e6769650a99dc5261 05-Jun-2015 Vinit Deshpande <vinitd@google.com> am 70b75cd..09f267b from mirror-m-wireless-internal-release

09f267b prevent false wifi roaming signal Bug:21617059
0bf150b Enable ring buffer logging and auto-logging of failures
550ae08 Merge "fix overflow bug in WifiManager reportActivityInfo Bug:20232188" into m-wireless-dev
7ab5189 Merge "Make autojoin parameters configurable" into m-wireless-dev
7ff782a Make autojoin parameters configurable
f49a59b Issue start/stop HAL along with load/unload driver
c5cdba4fa88dd5653be476377ad97665fe2d4872 04-Jun-2015 Vinit Deshpande <vinitd@google.com> Remove trivial GScan logs

These helped once; but now this is just noise. Also
given that GMSCore starts/stops scans many times it is
taking too much of log real estate.

Bug: 20416721

Change-Id: I965ed919afbac56e123e8d019be84d7d33abf3f9
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
0bf150b2d69ec62df905bc6f8603437dc4caee1f 01-Jun-2015 Vinit Deshpande <vinitd@google.com> Enable ring buffer logging and auto-logging of failures

This change extracts ring buffer data from firmware; and
automatically logs driver/firmware logs when any failure
is detected.

Change-Id: I20c8cc00e8ac1d1b4f35da6d309e972cd8ea5d19
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
3f6620290d7462f3642c82e535146ce9de5e20b3 03-Jun-2015 Vinit Deshpande <vinitd@google.com> am a40265e..7ab5189 from mirror-m-wireless-internal-release

7ab5189 Merge "Make autojoin parameters configurable" into m-wireless-dev
7ff782a Make autojoin parameters configurable
f49a59b Issue start/stop HAL along with load/unload driver
cbda71c Merge "make WiFi No Network Periodic Scans Interval to 5 minutes Bug:21274132" into m-wireless-dev
c538878 make WiFi No Network Periodic Scans Interval to 5 minutes Bug:21274132
f49a59bda006b13e0118d144e0a4a5f569b2251e 27-May-2015 Vinit Deshpande <vinitd@google.com> Issue start/stop HAL along with load/unload driver

This ensures that HAL is enabled when driver is loaded; and
HAL is torn down when driver is unloaded.

Change-Id: Ia7a3e0a485a37b137750040aaecde7cb92eb59e4
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
f72f48afc909bd4b7371559aa034054da979942d 02-Jun-2015 Vinit Deshpande <vinitd@google.com> am 22fd854..6dd83f1 from mirror-m-wireless-internal-release

6dd83f1 Merge "fix handling of command for bssid hot list" into m-wireless-dev
a63da80 fix handling of command for bssid hot list
b090f62 make sure unblacklist thresholds are initialized Bug:21161557
4c94fc6 Wifi: Disable PNO (if enabled) only when the scan is allowed to trigger
be2981a fix enabling autojoin offload based on tx/rx counters
a3e4c84 Move Halutil to vendor/google_testing/comms

Change-Id: I9663436ad92094b1cde0e00d217b1fd9ca728351
483cef98baaff3d4de18dc29aa5e5cce2ccd9716 02-Jun-2015 Vinit Deshpande <vinitd@google.com> am 9ccffbb..5a091fb from mirror-m-wireless-internal-release

5a091fb Wifi log spam is still a thing The root cause is that inner class WifiScanningStateMachine of WifiScanningServiceImpl use the log from WifiStateMachine rather than from WifiScanningServiceImpl. Reanme log to logLocal
b66b29a turn off WifiNative DBG
98dca33 FW memory dump should be compressed
e5c48b5 wifi: Do not kill the supplicant on a request to stop it
5caa43b add ssid white list for roam offload
be2981ae2e3d7d8325fa7815731e45bc64e17f2f 21-May-2015 Pierre Vandwalle <vandwalle@google.com> fix enabling autojoin offload based on tx/rx counters

Change-Id: I2fa7970d249638b17f06763246af15f5308d4d55
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
5caa43b34e0445ff08bff5931b84ffbc850b2a66 16-May-2015 Pierre Vandwalle <vandwalle@google.com> add ssid white list for roam offload

Change-Id: I9fad659cc6527a271251c7403852dc87ef460207
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
6a95e83c7e411a21cf6f6d912ab8498d2de858c9 18-May-2015 xinhe <xinhe@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into merging

Change-Id: Iec12d73f244bc58e7fcf1154ea8047a03925c241
9ccffbb6c3fe8eaa7d70cc3076d0dc3c6a9073e7 16-May-2015 Pierre Vandwalle <vandwalle@google.com> add BSSID blacklist to autojoin/roam offload

Change-Id: I7eced80f7406de44e96bebc9a3ac3dc648a23eef
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
b0b0cc202b7d7aaad7b3f69d73e9b58ea2968b05 06-May-2015 Pierre Vandwalle <vandwalle@google.com> hal based Pno and lazy roam implementation

Change-Id: Ib814ff6d29c8d7f1b579f7c088cd4eb104e5b637
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
347a9779b10304865e478af01ab95871c7614b29 14-May-2015 Vinit Deshpande <vinitd@google.com> am d7cbebf..6111ff7 from mirror-m-wireless-internal-release

6111ff7 minor fix for warning
e026d53 Added cert path validation for CA cert.
9a64375 Changed SSID consistency check to deal with hidden SSIDs (logging only).
1c03d75 Changed log tag, and fixed a NPE.
7d5357a Disable PDBG in WifiStateMachine

Change-Id: I0100a9e48f383266487c43426a55509cf8868f47
e5bf4b884cbbb435dc9268dff61955bcc2b81471 14-May-2015 Vinit Deshpande <vinitd@google.com> am 03ba4a5..ed3f1dd from mirror-m-wireless-internal-release

ed3f1dd Fix permissions check on WifiScanner APIs
f4b30aa Don't pause/restart scans across network connections
ad99846 Remove old (KK based) batched scan API support
fc42a2c Introduce battery blaming for WifiScanner
87df79e make autojoin more deterministic
d79bb0e Merge "enable background scan as soon as screen is off Bug:20909311" into m-wireless-dev
9ac124e enable background scan as soon as screen is off Bug:20909311
6d0cd10 change wifi Logging header
d4c25fd 5GHz roam configuration

Change-Id: Ib7621b11ca851236f9003947c24c5d84670fac94
6111ff7dddefcdba9453a5a9c0e19ef1dfd75253 12-May-2015 Jerry Lee <jerrylee@broadcom.com> minor fix for warning

warning: comparison between signed and unsigned integer expressions

Change-Id: I6eb54aacf694c68c488a35d1e78cb93226a034b0
Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
d7cbebf7fa9081e294ecab38cfe82709f381e1c9 11-May-2015 Vinit Deshpande <vinitd@google.com> Reduce WifiScanner logs

This change saves debug logs in log buffer; and only
dumps error/warning logs.

Bug: 20416721

Change-Id: I2a658194c45092abe490880224ead76f9297961c
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
31ecd2686c8c25987a062b071378f7a78c7bfe98 24-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix more logspam from HAL and WifiStateMachine [DO NOT MERGE]

(cherry-picked from e73629f79c8bd59f0f0857a5101160a4d93b1190)

This change also fixes multiple HAL listening threads
and few more logs from WifiScanner

Bug: 20416721

Change-Id: I58f9940d57b27752287e594ecca394c206eb060f
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
cd689448cdb2ee5bd7852a1811bfefd1fcf9ce19 07-May-2015 Chih-Hung Hsieh <chh@google.com> Fix syntax error found by clang/llvm.

BUG: 20894689
Change-Id: I0b38a5dba146b6869aa9bdce3179ea060e96b899
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
6d0cd10057e479dfcb8c9e290b9d1d433644dc06 05-May-2015 xinhe <xinhe@google.com> change wifi Logging header

Allocate the memory at JNI layer. Thus, instead pass
down ** , pass * down

Bug:20853404
Change-Id: I0827a0b311566df9231c96d6a8f1dc4c982d8ca3
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
d4c25fd76644d5490700ae69fada4669de5193a1 17-Apr-2015 Pierre Vandwalle <vandwalle@google.com> 5GHz roam configuration

Change-Id: I34a59b6de90bda5198e42c3ecf24e978efc73c93
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
6f59b02396561adee402613a45e8314c6e14f538 05-May-2015 Vinit Deshpande <vinitd@google.com> Initialize wifi_set_nodfs_flag with a stub

It is not implmented on some platforms.

Bug: 20841930
Change-Id: Iba167eadb430b532102060603b30297a3b7a98cb
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
03ba4a5b108ab2bbdb5d0e7be46ac45c00a6d9ff 28-Apr-2015 xinhe <xinhe@google.com> Initial bring up for debug framework

Change-Id: I0e78897d1440f0b7c56740ff7890e2f3d6a0d951
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
7ea679c65dd903b1eca6b68019784244a5a369f4 01-May-2015 Prerepa Viswanadham <dham@google.com> Merge commit '624b4e2' into master_merge

Change-Id: Iaf46e8490ccb35519aaa7db6873db6abf93d48a0
21602b3d7fc39a4dfa32b174c93ba77990f9e777 24-Apr-2015 xinhe <xinhe@google.com> Fix halutil build error [DO NOT MERGE]

Change-Id: I0bafc698aab75606ab550b86389f4bd231dc06b0
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
cd652fb9f9a304df55a0b98ce5070a584dc3de82 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '481a417' into merge2
e73629f79c8bd59f0f0857a5101160a4d93b1190 24-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix more logspam from HAL and WifiStateMachine

This change also fixes multiple HAL listening threads
and few more logs from WifiScanner

Bug: 20416721
Change-Id: I58f9940d57b27752287e594ecca394c206eb060f
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
f3bc3c6dcde09a8e39f0a30febf6ae47e882ce90 24-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix more logspam from HAL and WifiStateMachine

Bug: 20416721

Change-Id: I00eef7c9fbbed1403e73e8184de8956677649b8c
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
bb6942c6b6d129fd8904e341c9ce4a4118ed3e0b 11-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix WifiScanner's getChannelsForBand logspam

Change-Id: Ie0e0ce69877200ea5652f8f11df611cfe7890397
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
d57f630f6a7a5fca872d2b96fc4cce1905daee5d 15-Apr-2015 xinhe <xinhe@google.com> TDLS enhancement HAL interface update

Bug:15152152
Change-Id: I6ef4924f8db85244723cdee89166811f058fd675
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
70be7f18b526243679eaaa5f03b7f53417ecf1c7 11-Apr-2015 Vinit Deshpande <vinitd@google.com> Fix WifiScanner's getChannelsForBand logspam

Change-Id: Ie0e0ce69877200ea5652f8f11df611cfe7890397
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
c8b61ce3b41d92a0f17a4b3f39ccdbf819060939 17-Apr-2015 Navtej Singh Mann <navtejsingh@google.com> Fix flush parameter passing to positive when required

Change-Id: I94949ad8c716787f2ebcd32fd39b217a8955be1a
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
965101c0a9af6e9194a04b77c22b0e7fcad481a8 16-Apr-2015 Pierre Vandwalle <vandwalle@google.com> Merge commit '5040e99' into mg

Change-Id: I133038f35817681a74664d0ad66594615d35f6e9
dd490cf1df37b70a8625dc4ec8e712f740dd1e4a 21-Mar-2015 Pierre Vandwalle <vandwalle@google.com> epno initial implementation

Change-Id: I47ede001aa22089bab099072810d648999104091
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
5ee18dc63952ff80f4ea21296a0df4f7b27eafe6 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am f24e3d7..a547460 from mirror-m-wireless-internal-release

a547460 Fix incorrect matching of Passpoint networks
93a1dbd fix RTT crashes runtime This is due to local referencs have been used up Bug:20143987
5faa29d changes to support wifi_logger.h API changes
a7ead3d Corrected and tightened up MO tree and mapping from/to configs.
71cd814 Merge "Use PasspointMatchInfo to select good passpoint network" into m-wireless-dev
0c14982 Merge "Store PasspointMatchInfo in ScanDetailCache" into m-wireless-dev
8eefaf2 Use PasspointMatchInfo to select good passpoint network
4d381bc Store PasspointMatchInfo in ScanDetailCache

Change-Id: If9ce95af4968cee4a458dddf21151eaf015880dc
93a1dbd961f05335635ede08eae6481284690c7d 10-Apr-2015 xinhe <xinhe@google.com> fix RTT crashes runtime
This is due to local referencs have been used up
Bug:20143987

Change-Id: Icb1c4459ef562cacc58e8467c1010f166076634c
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
5faa29da989a82096e1e17c46126604eecfc0780 10-Apr-2015 Pierre Vandwalle <vandwalle@google.com> changes to support wifi_logger.h API changes

Change-Id: I31e7116b47ccb76e8def50516a9532a296a2f557
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
6aef95a3cfa0b825ff93c45e95f89cc8c5c85164 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit '70deeca' into merge_work

Change-Id: I77fdf057818f0bc2742e923e71b248648e152e1a
c96feb800590f43b7be76d1000ab5d949e5c6790 02-Apr-2015 xinhe <xinhe@google.com> RTT framework interface update

Bug:19917983
Change-Id: I3041ca5134dd1cb24f1ceab80cc79bdc5934424a
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
628199920e1d1fa86caabaf13874e7dc601e7b06 03-Apr-2015 xinhe <xinhe@google.com> Wifi HAL should not require stubs for all functions [Do not merge]

Bug:19949178
Change-Id: I7bdef880c3f975370e2c99080b375fb2f245d243
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
6f7fe1cb242de8bec6c3e5c143bf4730aa51f718 02-Apr-2015 xin He <xinhe@google.com> Fix halutil broken

Change-Id: I571d79c43c2013c3d7fd7c821af514ad1655b5c3
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
ba0cacd876c6196fef933ed8ff9929f79c5b68de 02-Apr-2015 xin He <xinhe@google.com> Revert "Fix halutil broken"

This reverts commit 49fcb580a921a0124deab2c4b83daac923c0588f.

Change-Id: I9d2b11f69195cfbc854e46ad79b6192e7478abe0
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
49fcb580a921a0124deab2c4b83daac923c0588f 02-Apr-2015 xinhe <xinhe@google.com> Fix halutil broken

Change-Id: I37039c094fb09a34b191af9c2061a7075e45ce5b
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
44787b543b9365fe0d40ec70fc8fe51e54264ff6 02-Apr-2015 xinhe <xinhe@google.com> Fix master WIFI HAL merge build error

Change-Id: I89a0bc1cb1a1fd797b1024ed3d21c95919c861b1
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
05d04f448d8e2d44f9eae8e54f17a7bdf57ca1f7 02-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit 'b151395' into merge_yet_again
ec61e7731968be994a23f2bd138f6761c8aea498 31-Mar-2015 xinhe <xinhe@google.com> Add general stubs for wifi hal

Bug:19949178
Change-Id: I51ecdf4fecd3584fa86be9a0c2299dc910e3ca59
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
e9418ca9dd1975f84260e491a041cac87381693c 24-Mar-2015 Prerepa Viswanadham <dham@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

Change-Id: Id9033b0a7d6bd3c8ecab1648fc8c67feae18c41c
939177ff615062ec826601d536466875d8457375 23-Mar-2015 xinhe <xinhe@google.com> add Framework for set country code through HAL

Bug:19896389
Change-Id: Idc92e11b75db71ab6b9bc7ee54889bd41c68b9ce
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
06a3ebada2343fe3f083339973f143b39d62b3c4 19-Mar-2015 xinhe <xinhe@google.com> Merge Broadcom HAL RTT code

Bug:19829530
Change-Id: Ic0544fa2a4e2988d7417eefca16ede3c7155cfd3
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
7d6301ead19afdf3de37455e9ed133c25b4938cd 19-Mar-2015 Vinit Deshpande <vinitd@google.com> Fix a runtime crash introduced by incorrect JNI mapping

Change-Id: Ie37d8a8788e8bdc3a5f52b2ff58be3506943bf9d
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
c03c14696493a3763948feed7f1e75e77e2a2f9b 19-Mar-2015 Pierre Vandwalle <vandwalle@google.com> rename num_ap into num_bssid

Change-Id: Ie9f5af53c1611f66c81801f4b4776c9959cae85a
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
827bc400bfb327a7c0bb2ed03f17d88c56cf85aa 19-Mar-2015 Navtej Singh Mann <navtejsingh@google.com> Fix event mismatch between wifi FW and framework

Bug: 19535383

Change-Id: Id86813f72b85cd154cf6867650c508c70ab4162b
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
a0d34d3626bd9631039a485d2d428b1b7de390e2 19-Mar-2015 Pierre Vandwalle <vandwalle@google.com> initial logger stuff

Change-Id: Ie08d4184efe40c91969914ce84a1a6f1d255ec21
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
12cf388ecf3b2aa5ba66ed680b931fa356ab75b5 13-Mar-2015 xinhe <xinhe@google.com> Change rtt Framework interface

Bug:19735392
Change-Id: Ie64e4609c9804c904836bb37255d4efe9211f39f
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
7847ab5d1a810e8da3b3c233bc3f01d24bf2a9c5 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "update rtt.h for 11mc double side RTT"

merged from goog/mirror-m-wireless-internal-release
e11c200 update rtt.h for 11mc double side RTT
a4decb57ff612b21dade7c732f0a73dd4081947a 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Unable to see Tethering/portable Hotspot SSID"

merged from goog/mirror-m-wireless-internal-release
b830d76 Unable to see Tethering/portable Hotspot SSID
9b5fbb7be00bbd41d4efdb1ac6c641f4628b0cd9 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "get channel list from driver for SoftAP channel selection"

merged from goog/mirror-m-wireless-internal-release
8262822 get channel list from driver for SoftAP channel selection
d1b5500c999b6fc23c67f63483623fae1e7bdcac 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Set interfaces UP when starting WifiHAL"

merged from goog/mirror-m-wireless-internal-release
be3b27a Set interfaces UP when starting WifiHAL
41eb62d2ad691cad45d6c618c41fde45fda29573 13-Mar-2015 Wei Wang <weiwa@google.com> Remove hardcoded RTT capabilities.

Bug: 19702514
Change-Id: I6398604c45253af16f78ea95afe794b7ec39908a
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
2fdba43e59590003d67d3f4168621eb04a9f3ccf 24-Feb-2015 Greg Hackmann <ghackmann@google.com> am c1867e2f: am d31a40e4: Fix and re-enable important compiler warnings

* commit 'c1867e2f10ca67a466c0559acff2d19238b55842':
Fix and re-enable important compiler warnings
d31a40e4c13481c0e70b0b6392bccf6a0f75c4e7 23-Feb-2015 Greg Hackmann <ghackmann@google.com> Fix and re-enable important compiler warnings

The disabled warnings have a high signal-to-noise ratio and would have
caught two bugs.

linux_set_iface_flags() had an error handling path that returned an
uninitalized ret to the caller. This is fixed by setting ret
appropriately before returning it.

onSignificantWifiChange() made an implicit copy of an object, then tried
to read from a flexible array member in the copy. This is fixed by
turning the implicit copy into a reference.

Change-Id: Ie1335b80a62c349ef766e3e31221ce87f72f6c0d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
d4762401ec14be6bdd2d27aff2478ddbf8d6ce2a 12-Aug-2014 Vinit Deshpande <vinitd@google.com> Introduce onLost event on bssid hotlist [DO NOT MERGE]

Change-Id: I84c3174398fea9a1456fb007586c2c559dd3fe4d
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
e11c2008f9d528b97a1a8176f508800729cd4150 12-Feb-2015 xinhe <xinhe@google.com> update rtt.h for 11mc double side RTT

Bug:19364957
Change-Id: I9069d1cf35be4df139be4481df49e728e67a6e35
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
b830d76fbf5fa4077531b516066faa2fdbb92e81 12-Feb-2015 xinhe <xinhe@google.com> Unable to see Tethering/portable Hotspot SSID

Bug:19335638
Change-Id: I4b889841b341d3d9b24faab8bc5dd18b508070cd
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
826282265badbd85c5386573fbced1755696fe83 05-Feb-2015 xinhe <xinhe@google.com> get channel list from driver for SoftAP channel selection

Instead of hard coding the available channel list, we should
get channel list from driver

Bug:19237543
Change-Id: Ibe1fbbdc39a6cf69a0b36cfb9c6b63025d0b914d
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
be3b27a3749af234b5fd7340aefb9f25060fb433 31-Jan-2015 xinhe <xinhe@google.com> Set interfaces UP when starting WifiHAL

When start the wifiHAL, turn up the interface too. If failed,
return error to framework.

Change-Id: I92a9a8959b7a6e0d777a903da0e75e744051096b
BugId:18335333
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
0465ff513cdccf7e883a505e14c5b78758e7e458 13-Oct-2014 Vinit Deshpande <vinitd@google.com> Enable DFS

Change-Id: I4a9bc8d6587063388ee763fe31e669cddcad24d0
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
83a674a18c84ff4f01377bbfd8988699dec93bc2 31-Oct-2014 Vinit Deshpande <vinitd@google.com> New Additions to WifiScanner APIs [DO NOT MERGE]

Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.

Bug: 18087596
Bug: 17694040
Bug: 18059273

Change-Id: Id623ab9ee2ab89c86a35082279331fa609016347
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
c591ab3b5ff4ac8dade1c7eb88ec83f3572f999b 31-Oct-2014 Vinit Deshpande <vinitd@google.com> New Additions to WifiScanner APIs

Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.

Bug: 18087596
Bug: 17694040
Bug: 18059273

Change-Id: I8a6da5426561e22e72d1e99c5537205b893077dd
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
90b902d2b5c02af02edd7e60f385196af8823128 13-Oct-2014 Vinit Deshpande <vinitd@google.com> Enable DFS

This change enables DFS channels on the underlying device
if background scanning features (GScan features) are supported.

Change-Id: I4a9bc8d6587063388ee763fe31e669cddcad24d0
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
e9fa5dcd292f2b8bad2c567773c74a1568c513ad 12-Aug-2014 Vinit Deshpande <vinitd@google.com> Introduce onLost event on bssid hotlist

Change-Id: I84c3174398fea9a1456fb007586c2c559dd3fe4d
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
efa77c1826499b0a3e57998bd6b3073b107e45d7 06-Sep-2014 Vinit Deshpande <vinitd@google.com> Implement getAvailableChannels

This API allows finding channels by band, so scanning services
can find out which channels to use.

Bug: 16652660
Change-Id: I690825333988a336efa3fc8886297e5b8baf8e1d
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
38e412f0266a7b477cabb1751be3a6161a45042e 01-Sep-2014 vandwalle <vandwalle@google.com> Bug:17285109 remove debug message

Change-Id: I78db781e074e6ef6a09e4eb930f9cb8ba191042e
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
fdde6bf4dc075b4f2807a4940edc2be694b326b6 26-Aug-2014 vandwalle <vandwalle@google.com> Merge "add radio stats to link layer" into lmp-dev
200e8ee5097134010a6edee8d031bb02ff7eeb5a 19-Jul-2014 vandwalle <vandwalle@google.com> add radio stats to link layer

This CL is dependent on I3d2a230b0362520b9f1b2bc3792260116971e106

Change-Id: If7e73ae9813ea79a98744d7f0096316d241998fd

halutil updates for link layer statistics

Change-Id: I00ea13b1a932f40891a0d65026a1c87f01f09587
Signed-off-by: Chilam Ng <chilam@broadcom.com>
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
042c54bfd5144ce8e720585b2093796e7e28de5e 21-Aug-2014 Vinit Deshpande <vinitd@google.com> Set scanning mac OUI for mac address rotation

This change enables mac address rotation feature if it is
implemented. The OUI being set is Google's OUI; which should
prevent from scanning mac addresses colliding with infra mac
addresses.

This change also stops from linking to Qualcomm's and Marvell's
WifiHAL implementation - since none of the new features are
expected to work with this HAL

Change-Id: I50979a8b20c59f5d40007eb4e0ff945e529cbb49
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
07ce33c64db470e749f580ef2c83d21e50fbbb27 14-Aug-2014 Vinit Deshpande <vinitd@google.com> Work around qcom hal bug (no interfaces found) for Mako

Qualcomm's wifi-hal is reporting no interfaces on Mako, even after successful
start of HAL. This change allows the device to boot despite that; but
the root problems needs to be fixed later.

Bug: 17021199
Change-Id: I826c4f41d0c02d5fc37b2ee3ab5ebcefcbf272c8
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
4dbfefd99e51ab1cca058026c90f8093b099198b 11-Aug-2014 Vinit Deshpande <vinitd@google.com> Fix unreliable onQuiscence event

Turns out that new bssid settings weren't always applied to the
significant wifi change state machine. Also broadened the RSSI
range to trigger events at larger distance.

Bug: 16660861
Change-Id: I02518833a4f900c380198ef47c42a0622c258fd2
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
c35361d54d4885c3174499e4ad46d3324387a9bb 08-Aug-2014 Vinit Deshpande <vinitd@google.com> Workaround RTT supported bug

Support for Device to AP rtt should be advertised in
wifi_get_supported_feature_set(). It is not there yet, using
a hardcoded value for now.

Bug: 16854821
Change-Id: Ib468939dc03d91d3f2848fd7ad2f6cbf6013684e
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
b7cc309f06da8a18224057c21ba086f8550367d6 31-Jul-2014 Vinit Deshpande <vinitd@google.com> Rename HotspotListener to BssidListener

And other usage of term Hotspot. This is to be technically correct
with the name usage, should the API become public later.

This change also fixes few outstanding requests from GScan API.These
include

a. An event with scan results when REPORT_AFTER_EACH_SCAN is set.
b. ScanSettings now takes in number of APs as an argument.

Bug: 16633917
Bug: 16631524

Change-Id: Id160f9f14193a37cce5f3ab8d6ea528344b788a0
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
02a1f98f2cecb8ae2d466d6f9fab06b473f970dd 26-Jul-2014 Vinit Deshpande <vinitd@google.com> Enable RTT End-to-end

This change includes various fixes to first RTT implementation and
enables RTT APIs end-to-end. Fixes include proper marshalling of
objects across API and service and JNI fixes.

This change also includes fix for another WifiNative bug that causes
crash on startup.

Bug: 15841411


Change-Id: Ie4ba1ffc6c5b42593e931438b3f03e201ff6be71
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
143657392bf0702a155fe688171a5abbf4c86570 01-Jul-2014 Vinit Deshpande <vinitd@google.com> Introduce RTT Manager

Change-Id: Ic9a16d587897b272f85cdb2b8c52b51bca060d18
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
a632d8a6edd350c7644b593b18eceaa5b368505b 01-Jul-2014 Vinit Deshpande <vinitd@google.com> Introduce Wifi Adapters

This change extracts all the wifi interfaces on the device; and provides
its supported features.

Change-Id: I7fbdbec684d653a6e4bf851797e3065ce222e873
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
a59fae6bd96ead6d3c8772b3cc5e69cd08444400 24-May-2014 Vinit Deshpande <vinitd@google.com> More GScan API changes

Main changes are -

1. max_bssid_history_entries in wifi_gscan_capabilities
2. A new callback to report extra status of scan
3. Channel hint for hotlist APs
4. More details on significant change event

Change-Id: I665cb28df99cf152e6b95c8050ea246c5fce81e9
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
b0b1d59786de7ff1fc98e31a16a7d710458bf549 30-May-2014 Vinit Deshpande <vinitd@google.com> Fix the stopping of scan after Wifi connection

We have code that stops kitkat batch scan while we get a new IP address
via DHCP; this exists because ARP multicast packets may be lost if the
wifi radio is off channel for scanning.

We need to do something similar for GScan as well - to avoid getting in
the same problem. This change accomplishes that.

This change also makes all HAL methods static, getting WifiNative closer
to the 'SupplicantManager' role.

cherry-picked from klp-wireless-dev
SHA1 8f343d40a55bc638872a3bb3453b95062bf838ef

Change-Id: Id2b500e37b71ea21a6bca162011abecbd41d90ec
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
aabe7a9f2f32915fd1f25416a6d2034a844005d6 10-May-2014 vandwalle <vandwalle@google.com> introducing link layer
cherry-picked from klp-wireless-dev-mirror
SHA1: eb8de645540caa6076c34854d8a4e7c22341783f
Change-Id: I5c736c697d38ec17dcde81bdee638048fd688073
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
f1daf9342b66bf134d13fa0a42e929a008f1ca62 14-May-2014 Vinit Deshapnde <vinitd@google.com> Enable more features on WifiScanner

This change enables full scan results and allows overriding wifichange
configuration. There are also minor API changes take relavent parameters.

Change-Id: I6ebcb49f64bd8bc9e5e0c88c3b56eb634783524e
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
e4e3750390bec0a849a9153348b7c21b2cc8b843 05-May-2014 Vinit Deshapnde <vinitd@google.com> Initial implementation of WifiScanner

This change implements basic functionality of WifiScanner. Following
functionality is enabled

1. Scanning - specify a list of channels to scan
2. Significant change detection
3. AP hotlist

Change-Id: I4fbb2cccbb15df21aae7a81f5d9b17fde2bda8c0
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
766cb4b1fa3b93c146952eacbf6756f67f172ec1 08-May-2014 Vinit Deshapnde <vinitd@google.com> More HAL fixes

This change implements all message interaction with Broadcom's drivers; and
enables three basic features; scan, hotlist and significant wifi change.

There are GSCAN API changes too -
1. The on_scan_results event is changed to on_scan_results_available
This is to make a single path for retrieving scan results - via the
get_cached_scan_results method.
2. Updated set_significant_change_handler method to include params
3. Updated some parameter names
4. Specified sizes on all arrays.

Change-Id: I39936e1cc84c273b86b86c2e2085cb7b924cafb8
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
7f9a15d554f69311a0db43347d6473a7c4c46e2e 08-May-2014 Vinit Deshapnde <vinitd@google.com> More HAL functionality

This change implements JNI plugs for delivering events to
WifiNative in framework. Also introduces a test utility.

Also has updated Gscan.h which is made up-to-date with the
promised functionatliy.

Change-Id: I12dd6d9f171e01e4b23ce4839b4022acd5e599cb

Conflicts:
service/Android.mk
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
7ef73dd1b6e43c72b3841723504cd86dc402a134 28-Feb-2014 Vinit Deshapnde <vinitd@google.com> Wifi HAL initial implementation

This change introduces Wifi HAL. It has basic structure that we can expect
most commands and events to follow. Only one command is implemented for
illustration.

Change-Id: I16e4b50f3034214e41ab5d363e2c3f543345609b
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
155b9d09ef9b8ead3ca617afdd91e74070d3f0cb 09-Jan-2014 Vinit Deshpande <vinitd@google.com> Revert "Revert "Move Wifi services to a new git project""

This reverts commit 862f81faba40e9af8fb80744a22e968a298e814e.

Change-Id: I7b15e266a5948749026e01a61d8581746cfd0f5f
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
862f81faba40e9af8fb80744a22e968a298e814e 08-Jan-2014 Vinit Deshpande <vinitd@google.com> Revert "Move Wifi services to a new git project"

This reverts commit a07c419913bfae2a896fbc29e8f269ee08c4d910.

Change-Id: I1cd35cea1594cdbeae800b9130bc6f885f238b28
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp
a07c419913bfae2a896fbc29e8f269ee08c4d910 18-Dec-2013 Vinit Deshapnde <vinitd@google.com> Move Wifi services to a new git project

Bug: 12175455
Change-Id: I1fa07e29c6a9aae38d9e334d519a9f2445d15613
/frameworks/opt/net/wifi/service/jni/com_android_server_wifi_WifiNative.cpp