History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e3939cb40d9ba3842be105a6e85172dc06e14758 02-Dec-2014 Vinit Deshpande <vinitd@google.com> Read all networks despite message limit of 4096 bytes

This change uses list_network last_id=x form of list_networks to
retrieve all networks saved in the system.

Bug: 18566264
Change-Id: Ie439acd98d39ca32417418944035dcce3068d44b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
fb29a19d6401f75c72be6bacd9171fc974e3b07d 15-Nov-2014 Vinit Deshpande <vinitd@google.com> Merge "Fix a crash in parsing beacon IEs" into lmp-mr1-dev
cce360ad854cabb238ba0d9290785c26e837749c 12-Nov-2014 Vinit Deshpande <vinitd@google.com> Handle bad WifiHAL implementation

wifi_initialize() may succeed even without any wlan. This crashes
the framework. This change handles such inconsistencies.

Bug: 18337642
Change-Id: I578e0d92ea6b981a1d61469a0f4e870d87843107
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
e7b9e74a9a699e74881e5c98c684567763dfaa35 15-Oct-2014 Vinit Deshpande <vinitd@google.com> Fix a crash in parsing beacon IEs

Sometimes they aren't correct; but we shouldn't crash the system for it

Bug: 17549369
Change-Id: Idafde6a8f86b63ef157e8dbf0937cd796bee476f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
a5283c01ac413e378e2261050cac3a6d6e9cf385 11-Oct-2014 vandwalle <vandwalle@google.com> reenable networks completely, 5 mins after DHCP failure blacklist; revert aggressive wifi to cellular handover when handing over due to link speed
Bug:17949093
Bug:17947372
Bug:17897698

Change-Id: I1d398238022fd380952cb8dc28f47cc38d0b7b06

Conflicts:
service/java/com/android/server/wifi/WifiStateMachine.java
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
e0aa0a004d161173992a0e9af1b431fae91f4a71 19-Sep-2014 vandwalle <vandwalle@google.com> - better sanity check on psk for linking config
- black list BSSID in case of repeated DHCP failures
- black list network with noInternet connectivity from autojoin
- clean up Disconnecting state transition
Bug:17512891
Bug:17395269
Bug:16480230
Bug:17518367
Bug:17545859

Change-Id: I1683a66fd58424ad2177c6508b101fd49392e22a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
27f4b0c6ea9533e91863da48cefc80f8b5a88d1e 20-Sep-2014 Vinit Deshpande <vinitd@google.com> Synchronize access to supplicant from p2pGetDeviceAddress

Since it is not calling the native command directly, it needs to
be synchronized just like other commands.

Bug: 17516271
Change-Id: I97ecbc7dc0f476ae52524d513e47c863e6d5ddba
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
7b581f46f6c9bc6edf0edd287d47106712fb2144 17-Sep-2014 vandwalle <vandwalle@google.com> various fixes:

- additional debug logs
- allow a scan result to be associated to mulitple wifi configurations
- additional logs to track 17516271
Bug:17510471

Change-Id: I39975f17494c541989f7f0e0fd8fcf890934ee15
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
99d385e3b4d34841d6efcfd7cc9bf1d5ae25de14 16-Sep-2014 vandwalle <vandwalle@google.com> set proper link quality thresholds

Bug:17514073

Change-Id: Icf4dbd81e8547bb837c8346c9af5cfc98d7b00ab
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
88d6ab0af06fa595a7c9b3abc69f1f8b5f18e9cf 22-Aug-2014 Vinit Deshpande <vinitd@google.com> Merge "Fix a bug in setting external_sim flag" into lmp-dev
4d701eca56d62586b0ab8af6ad864bac74a1dcd0 22-Aug-2014 Vinit Deshpande <vinitd@google.com> Fix a bug in setting external_sim flag

It looks like supplicant doesn't like the lowercase
command, it needs uppercase.

Bug: 17176844

Change-Id: If8515f522384cb8ed98bb78c0d50ffc0f383c9ed
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
56d0178183460eed9afbd85e5c0d215e27d5f5bc 21-Aug-2014 vandwalle <vandwalle@google.com> fix spurious disconnect while associating, dont set AP configuration with NULL SSID

Bug:14568953
Bug:17144830

Note: this CL address cases where framework sends spurious disconnect to driver while associating, this issue was only one of the root cause of 17144830, the remaining issues in this bug are "missing scan results" and "wifi chipset disconnects from AP due to missing beacons or receiving deauth from AP"

Change-Id: If888f11bb3c66b55ca8ff991651f9e4457aaea31
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
dbd6933aae99302b75683f8463cd17df554dc599 14-Aug-2014 Vinit Deshpande <vinitd@google.com> EAP-SIM End-To-End

This change fixes all remaining issues with EAP-SIM. It now handles
multiple challenges coming from supplicant and corrects supplicant
command syntax.

Change-Id: Idc47b454863aa1990d4f53138f00f312622792d2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
33b575ca6bee66183929f9474b5a161432918604 09-Aug-2014 Vinit Deshpande <vinitd@google.com> EAP-SIM End-to-end

Change-Id: I9478e6a492c469d57bb020b8f858e523ea6a92d1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
1814928371a30b11af31e2bbe5210c4337ed16f3 06-Aug-2014 Vinit Deshpande <vinitd@google.com> Fix multiple null pointer exceptions in WifiScanningService

Couple can happen because of race conditions and one is happening becuase
of driver failure; which will be addressed separately.

Bug: 16706416
Bug: 16732450
Bug: 16791198

Change-Id: I983cd5fd4077273802a9ad65f76d3c31452e9ebc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
143657392bf0702a155fe688171a5abbf4c86570 01-Jul-2014 Vinit Deshpande <vinitd@google.com> Introduce RTT Manager

Change-Id: Ic9a16d587897b272f85cdb2b8c52b51bca060d18
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
40ff222cec1bd05879edb53abc75c6deead734ca 01-Jul-2014 vandwalle <vandwalle@google.com> handle IDENTITY message and bssid blacklist

Bug:15990551
Bug:15977507

Change-Id: I78b03915781bd6d5f9f5881c80324a2788b9e837
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
5c08cc119b92af69997af194cc8b6d0111e37d31 07-Feb-2014 Andres Morales <anmorales@google.com> piping commands for handover from supplicant

supplicant exposes methods to retrieve handover
protocol messages. need to pipe these up to NfcService.

Change-Id: I2696ed4b0ccbaa47a75a303315f554965c5c9dd4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
36286b23c4e30f042ed753a670c2b462ebf13a48 17-Jun-2014 Vinit Deshpande <vinitd@google.com> Fix p2pGetDeviceAddress to work without p2p0 interface

Since there are devices that don't have this interface, we can't risk
failing P2p service initialization for it. This change works around
that problem by issuing STATUS request without targetting it to any
interface. Supplicant seems to be providing the correct MAC address
anyway.

Bug: 10364703
Change-Id: I2318ecc294f665dd4ea5c912e89db73d49b81a7f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
daac2ad767f6047409987bb22812ab5f295e54df 02-Jun-2014 Vinit Deshpande <vinitd@google.com> Various WifiScanner fixes

Bug: 14960689 - WifiScanner does not clean up well
Bug: 15314698 - Scan stop working after multiple start/stops
Bug: 15017916 - null exception when Wifi is not enabled

Change-Id: I70712f3c032580341470f70b8be376e0098ec6ac
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
27355a942653264388e909a4276196ee63e57811 03-Jun-2014 vandwalle <vandwalle@google.com> remember and report network score

Change-Id: Ie54afe724a3618ec3fd557850dbbbb8bbae49ecc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
ad7319939c424d42fa6a3791c47f613db8ef3cd8 31-May-2014 vandwalle <vandwalle@google.com> Add supplicant debug information
476bee2fef10d060c25c35858b1f7f60803d9f49 29-May-2014 Vinit Deshpande <vinitd@google.com> Accomoditing API Review feedback for WifiScanner

Main changes include

- hiding the API for LMP preview
- moved information elements to ScanResult object
- removed objects from events
- changed API names to be more consistent

cherry-picked from partner:klp-wireless-dev
SHA1 c43626f8e71455af01d8cc1131746d2a53fa688f

Bug: 15191968
Change-Id: Ibe3907366aee85f7d56021a536ae0f9f9fb28b38
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
21bc54cb37a0085b1c909cb4d55ebb12a2facefb 29-May-2014 vandwalle <vandwalle@google.com> dont send SSIDs to herrevad if it cannot process them

Bug:15306345

Change-Id: I149870631b875e10ad899e81aaaf65e5f0a1eb7a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
0888ce6f90bdaeee799dd8361ea4781e23a33b87 24-May-2014 vandwalle <vandwalle@google.com> logs improvements, fix reading back networkHistory file

Change-Id: Iec4b11a3e0d8820b558abea6cc068a905199896d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
ed9938883ae2dade81c8be6cd6ceaef3febd5239 22-May-2014 vandwalle <vandwalle@google.com> make verbose logging a wifimanager hidden API

bug: 151386707

Change-Id: Ide885ce96621fe4bab6abf10291bc8441eecad4a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
741953368eafa247f2820496aaa521bc0e86e9e1 15-May-2014 Navtej Singh Mann <navtejsingh@google.com> Fix failed to start scan again without stop

Fix failed to start scan again without stop

Bug: 14991849

Change-Id: I86fb96912197c1a1926fc99504a2210e2df1898d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
446db2d5457456743e4476029e14d7c3bb9f5bcc 10-Apr-2014 Yuhao Zheng <yuhaozheng@google.com> Hotspot 2.0 framework support -- inital implementation

Bug: 5485670
Change-Id: I48a63f5a45e0c217f5b73b4b3c45ea1acee76034
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
ecd2b88214b5d214fd1f63a9560caff9058912dd 16-May-2014 vandwalle <vandwalle@google.com> fix for devices using enableNetwork API

Change-Id: Idf886dd01892d3f7ca463a44fd76030ddadcd238
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
f22d23092ab37286a5ef9d257d5bb32c421d2669 06-May-2014 vandwalle <vandwalle@google.com> autojoin initial implementation

Change-Id: Iea4e5c0b8e988e410d2f9885ecaf6317d34cc1d1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
3c194cb908060978f65ae168ea0ed0606127b422 27-Mar-2014 Vinit Deshapnde <vinitd@google.com> Merge "Explicitly set update_config on supplicant"
fbba898cf24a6969eb36238edd0f9f879029cdbd 10-Mar-2014 Vinit Deshapnde <vinitd@google.com> Merge "Wifi HAL initial implementation"
0a696d168d7ad98ab5084d2a16e3d02c545a85aa 03-Mar-2014 Vinit Deshapnde <vinitd@google.com> Explicitly set update_config on supplicant

This is to ensure that supplicant always saves network information. It is
possible for this flag to be turned off because supplicant couldn't read
wpa_supplicant.conf; but we never want supplicant to not save new networks.

Bug: 13233891
Change-Id: Ia7273dd65d01c9786be2e7dedfb39d3abe9b56c2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
a0009d14075b5345b8f916c3fb3f2260c938cb9d 06-Feb-2014 Yuhao Zheng <yuhaozheng@google.com> Implement new API to scan a given channel set

Framework implementation for the new scan APIs. Besides implementing the API,
this CL does 2 additional changes:

1. Only count battery consumption if a scan request is accepted by supplicant,
i.e. it won't be counted if it's rejected due to another ongoing scan.

2. If a scan request is rejected, we may buffer the scan request and do it
later, to make sure the specified channels are eventually scanned. On the
other hand, we will try to combine scan requests to avoid repeated scans.
For example, a full scan serves all scan requests.

Bug: 12610436
Change-Id: Ia9edc58c7ddd7a535bfaa0f906f6faaaf5f5d439
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
3f7ef65ab71619040032aee96b5599849881d6fd 23-Jan-2014 Andres Morales <anmorales@google.com> piping supplicant commands for WPS token setup

Supplicant exposes a command for generating
NFC Wifi tokens as per the Wifi Simple Configuration
specification. This CL export this command to the
framework.

Change-Id: If34e6a71888bfb2b420048eed4fe373566835611
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java
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/java/com/android/server/wifi/WifiNative.java