History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiScanningServiceImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
048dd77ab0eb085f708663ee9f6298e703ccda2b 10-Sep-2014 Vinit Deshpande <vinitd@google.com> Merge "Secure access to WifiScanner" into lmp-dev
46d6b0ac6d466002e868627488796ce3d6a154aa 09-Sep-2014 Vinit Deshpande <vinitd@google.com> Secure access to WifiScanner

This change implements access control for WifiScanner. It is now
available to only those apps that have CONNECTIVITY_INTERNAL permissions.

Bug: 15088601
Change-Id: I6acc13079b6dac6f190644b6d1a270c271cc679f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiScanningServiceImpl.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/WifiScanningServiceImpl.java
28c7065e2af36064a230d2647782c5cdadaff2d8 15-Aug-2014 Vinit Deshpande <vinitd@google.com> Stop redundant attempt to remove an already removed client

It seems CMD_CHANNEL_DISCONNECTED can be called multiple times. This
change fixes a null derefence when removing the same client a second
time.

Bug: 17049093
Change-Id: Ic7da6a1e42cdc809cc3f6f042f2502453fee0c91
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiScanningServiceImpl.java
63243b616f0e24d2c145d77582cedc2856456bcb 11-Aug-2014 Vinit Deshpande <vinitd@google.com> Fix non-report of full scan results when scanning bands

We use channel lists to report events, unfortunately, channel list is
empty when bands are used. This change looks up the channel list for
the band before firing events based on it.

Bug: 16907772
Change-Id: Iab317ad4ad5bc9d2e9d9c0215f8cbcfc4ea967ad
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiScanningServiceImpl.java
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/java/com/android/server/wifi/WifiScanningServiceImpl.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/WifiScanningServiceImpl.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/WifiScanningServiceImpl.java
12836d34cc6c4497c1fa5adbb956684ecec7578e 27-Jun-2014 Vinit Deshpande <vinitd@google.com> Lower minimum scanning period in WifiScanner

This change also fixes reporting errors - or rather non-reporting
of errors when starting a scan fails in the driver/firmware.

Bug: 15697516

Change-Id: I4af8200a23c2b61b2505424a3832ca47d390fd80
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiScanningServiceImpl.java
3df4c1f725919d64f0703915da39c61f728626ef 10-Jun-2014 Vinit Deshpande <vinitd@google.com> Support scanning using band specification instead of channels

This change enables scanning with band specification instead of channels,
this should ease app development.

Also includes a bug fix for parcel serialization/deserialization.

Change-Id: Idbffce4805b403bf8fe1efae999cb828e09c2420
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiScanningServiceImpl.java
7e13ab5165291aa3685eeeca762a2470e93a10bd 04-Jun-2014 Vinit Deshpande <vinitd@google.com> Fix an NPE in WifiScanner while reporting description

Change-Id: Ie9d12e19e0b8ca98c6ec4c6fa5222a2f28983e64
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiScanningServiceImpl.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/WifiScanningServiceImpl.java
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/WifiScanningServiceImpl.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/WifiScanningServiceImpl.java
710b8c148ddbfd509e0e69af8d5dbb6fc8486a0c 20-May-2014 Vinit Deshpande <vinitd@google.com> Implement onPeriodChanged and multiple scans of same channels

This change fixes multiple scans of same channels; and it generates
onPeriodChanged event.

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

Bug: 15000051
Change-Id: I06a4ecc9d45eda4984de50b97b39f623dd0b26d1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiScanningServiceImpl.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/WifiScanningServiceImpl.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/WifiScanningServiceImpl.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/WifiScanningServiceImpl.java