History log of /hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f4c59160d3891fde581a58a051fcec1db07a6beb 24-Jan-2018 Srinivas Dasari <dasaris@codeaurora.org> WiFi-Hal: Correct the mapping of wifihal error codes

Correct the mapping of wifihal error codes.

Bug: 70872935
Change-Id: Ic8bf0e6796a4e84ec6b540a34af1e202d9501d9e
(cherry-picked from 03ef1ab7c2dc2075d7691a396fc7f2547742ede6)
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
e36e876b1d4bddc76a95ae873f6fc4753e47c4b2 06-Oct-2017 Srinivas Dasari <dasaris@codeaurora.org> Wifi-HAL: Free the buffers of gscan and rssi_monitor handlers

gscan and rssi_monitor handlers are getting freed but buffers
allocated for these are not getting freed. Free the same.

CRs-Fixed: 2106880
Bug: 72683986
Change-Id: I51a0b917061ad0dd0217263110b0c02fce1773cd
(cherry-picked from 8eaa6ba3fb3529d0581ea092ea67c5e9a4793c9a)
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
9b620802a517b1745255e7622b81c426918b7a2e 29-Nov-2017 Subhani Shaik <subhanis@codeaurora.org> WiFi-Hal: Clean up the return codes in wifi-hal

Use error codes from "enum wifi_error" throughout the wifi-hal.
Convert the error codes returned by kernel to "enum wifi_error"
codes appropriately before passing them to upper layers.

Change-Id: I62937e3c7870ba1b48b8aeedf38c89c2424532b4
(cherry-picked from
d54aafdb39c095318c7fecab6551e018297069ed)
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
c6e7a5e097683654a45099a22a11f9d266f6a3e3 25-Jul-2017 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Map kernel returned error code to wifihal error

Framework expects error codes of type wifi_error from wifihal.
Map the error codes returned by kernel to wifi_error value and
return the same to framework

Bug: 63971485
Test: Ran VTS tests on marlin.
Change-Id: Ifbb8cdb9c1177da0c6715ee2a63d4299b71f74e3
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
37f39c7dac1445e02c81c93448d5c8b78b174eff 09-Jun-2017 Subhani Shaik <subhanis@codeaurora.org> Wifi-HAL: Remove gscan APIs route to LOWI

gscan APIs are no longer supported by LOWI. So do not route any
gscan APIs to LOWI.

Bug: 36032104
Test: Will send for regression tests.
Change-Id: I90a752f8c7e51de79d64ecb0ae3f9880c7f30262
(cherry-picked from 0474ead72941f28041480bc31f0db9108fe1e623)
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
4a7be10fe7494d023b7f33e82d9724263dfda40b 16-Dec-2016 Subhani Shaik <subhanis@codeaurora.org> WifiHAL: Move Roaming API's to new file

Segregate Roaming changes from gscan changes.

Change-Id: I8ae735419b9d7782baac7948b9452efa0af12e2b
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
3f783bff01e76ef58615bafe1d61e9b67063baad 27-Oct-2016 Subhani Shaik <subhanis@codeaurora.org> WiFiHAL: Add API to enable/disable roaming

Add API to enable/disable firmware roaming.

Change-Id: I1eee5caf05bdabe79da2b6ad1997b13b6ac3e69f
Merged-In: I1eee5caf05bdabe79da2b6ad1997b13b6ac3e69f
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
7a64d494b72c8788b773157f265bf29a83e9c4e0 27-Oct-2016 Subhani Shaik <subhanis@codeaurora.org> WiFiHAL: Configure Roaming parameters

Configure blacklist bssid and whitelist ssid information

Change-Id: I348d504b55febeb3cc0328d85ad40882c6233d9e
Merged-In: I348d504b55febeb3cc0328d85ad40882c6233d9e
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
3f2e1858bc47159058040bbdf3b5b2dfff1acf99 27-Oct-2016 Subhani Shaik <subhanis@codeaurora.org> WiFiHAL: Get Roaming capabilities

Get maximum number of blacklist bssids and maximum number of
whitelist ssids supported by driver

Change-Id: I0abfdd6f9c1c8d77ce5d16bd78a51483de72c947
Merged-In: I0abfdd6f9c1c8d77ce5d16bd78a51483de72c947
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
3561d2cc0bc4beeca22723dd7488f8af0c1211f4 27-Oct-2016 Subhani Shaik <subhanis@codeaurora.org> WiFiHAL: Isolate bssid_blacklist functionality to wifihal

To avoid duplication with roam APIs, blacklist_bssid changes
have been removed from gscan.h. So, do not expose
wifi_set_bssid_blacklist() API to framework and move
the wifi_bssid_params structure definition to wifihal.

Change-Id: I31f85b55a6ce6946ecf700bcfa4db440e3582d35
Merged-In: I31f85b55a6ce6946ecf700bcfa4db440e3582d35
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
127a19b9711189fdee49643f035787c6ba59a8c3 16-Oct-2016 Subhani Shaik <subhanis@codeaurora.org> WiFiHAL: Get wifi capabilities during initialization

Get wifi driver capabilities during wifiHAL initialization and
save it locally. When framework queries for capabilities, these
are populated from wifiHAL itself instead of sending command to
driver

Change-Id: If0f7a0e5dd49135f1adc58f3047f385ef352eff9
Merged-In: If0f7a0e5dd49135f1adc58f3047f385ef352eff9
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
0919dfde526ab1f2996334835cbd176906e89d0e 01-Jul-2016 Srinivas Girigowda <sgirigow@codeaurora.org> WiFi-HAL: Fix CLANG warnings

Fix CLANG warnings.

Change-Id: If07194f34abc44e1e58e8b38af59ec705a62ce55
CRs-Fixed: 1015162
Bug: 28825972
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
f5f75323a871f475ce62d2c002e600f59cc67134 08-Jun-2016 Steve Pfetsch <spfetsch@google.com> wlan: Update to AU187 proprietary drop

Update to AU_LINUX_ANDROID_LA.HB.1.3.9.06.00.01.213.187

wlan_hal:
895f88d Wifi-HAL: Increase the channel print buffer size to 256
120bfdb Wifi-HAL: RTT API Enhancement
fe22a17 Merge commit '5c1f1176572dc7d9bd24d96b91290d784f2c2f37' into LA.HB.1.3.9
5c1f117 Wifi-HAL: Include missing changes from AOSP code
252f45d Merge "Wifi-HAL: Create a local copy of qca-vendor.h"

Change-Id: Ib71ace2ec59d33f2c0965212a886a3524c40bd2c
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
0eb820e5aa5689413367985d056e8f66d08ca30b 13-Apr-2016 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Validate gscan capabilities

driver/firmware can return invalid gscan_capabilities in some
cases and they can cause potential issues in framework.
max_scan_buckets is such gscan capability parameter which is
used by framework to allocate memory for the bucket configuration.
To avoid such issues, return failure to the
API wifi_get_gscan_capabilities() if max_scan_buckets is 0 or
failed to receive capabilities from driver.

Bug: 28530708
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
93022ce448414130b4241c6920797c1dc1df2250 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: reduce gscan log volume

When printing logs that depend on values in a list,
concatenate the list items into a string. Then print
the string as a single log message.

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=27779612
TEST=compile

Change-Id: I9402ff6f156193fc9c1c4086c617f1770332a2d0
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
be8f0785899b5f2305fb40e206a721baeecbc2f1 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: promote some guarded error logs to VERBOSE

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=28174258
TEST=compile

Change-Id: I14e986349aeaa04e17afea2644dde43471ec98b0
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
9f6b52c5f461fe01b9f266a3f1663a2acfb286d8 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: promote some guarded info logs to VERBOSE

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=28174258
TEST=compile

Change-Id: I28886969bad633c481e6ecd47bfa66f5201d7d83
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
a58ccfb90f6608d378d04ee655113620afdf00bc 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: demote some messages from ERROR to VERBOSE

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=27698661
TEST=compile

Change-Id: I97aa34497cfc749190f459c7e8bc6d5f6c93b98b
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
b5841f6c19ec690b1fb032a0aee63d5300b19ce4 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: demote some messages from DEBUG to VERBOSE

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=27698661
TEST=compile

Change-Id: I7264dd7a0095c24bf1f183c9f929bb79ef095703
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
3ff76888e8710c8d3d7153f3dbc1c9057effa183 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: demote some messages from INFO to VERBOSE

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=27698661
TEST=compile

Change-Id: I04a6dd680b23322a5382ff144d6ea533f37be2f8
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
1c77c745ea23ac51d6ad1500eb47f5d984c1cb3a 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: remove some QC_HAL_DEBUG protected logs

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=27698661
TEST=compile

Change-Id: Ia3ae5296ac890d8ce87ed374a5060512b27b789f
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
48c79d6a55c49d4218f99150682428e6f1fe699f 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: remove some calls to ALOGI

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=27698661
TEST=compile

Change-Id: I6c8d3e09eedd9675439d6a5a5ad17eabc16416db
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
afa203f2762217684d970f15210b9358ddf91390 13-Apr-2016 mukesh agrawal <quiche@google.com> Wifi-HAL: remove some calls to ALOGD

Originally part of
https://partner-android-review.googlesource.com/#/c/558740

BUG=27698661
BUG=27835354
TEST=compile

Change-Id: I4bc744370131af1058cbbb634f92579ed1b8283f
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
5c63f6a5f46ca95fe003bac5cfae2fc74a0b22a7 24-Jan-2016 Subhani Shaik <subhanis@codeaurora.org> Wifi-HAL: Remove CLANG Warnings and errors.

Enable LOCAL_CLANG flag. Remove CLANG Errors and warnings.
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
0562eeb882b461595155d6ef3e10e563b0e451f5 06-Jan-2016 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Support for gscan and EPNO enhancements

This commit supports the below changes as per new gscan/EPNO
specification,
1. Few new parameters added to the EPNO configuration and an API to
support resetting the EPNO.
2. Remove support for the below deprecated APIs,
1. wifi_set_ssid_white_list
2. wifi_set_gscan_roam_params
3. wifi_enable_lazy_roam
4. wifi_set_bssid_preference
3. Add Buckets scanned parameter to gscan cached results
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
7f2959f5a4565e5163d770b375e953a061440fa1 18-Dec-2015 Randy Pan <zpan@google.com> Correct WiFi exponential back off scan

Renamed "exponent" to "base" to match the formula.

Bug: 26236392
Change-Id: Ia9d34352694088d8b6ecd279c40a5046ae7cfc76
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
e99ddb535a7c932891428d84a899497fc50b0f7e 22-Sep-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Cleanup additional unnecessary logs

In earlier log cleanup few logs got missed, cleaning up the same.
This change involves cleanup of wifilogger module as well.

Bug: 24266530
Change-Id: I270a9d295e04938df75a5f15f38d3cfc05360a5b
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
19f0819fa32aec7c330b4d7ca962700230c8acb1 10-Sep-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Cleanup unnecessary logs

Cleanup unnecessary logs from llstats, gscan, rssi monitor
common and tdls modules.

Change-Id: If66a8f61b11a101d84546a06514aeb5e0d8fcbfa
Bug: 23942132
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
7325952cbfc88103197937b05c17c6e487e98cd9 19-Aug-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-HAL: Avoid Gscan race-condition between events/commands

We are seeing a race-condition when the event handler function
is getting events from the driver and at the same time cleanup
is also happening from the command side. Due to the race-condition
we are seeing a crash. This commit addresses this by ensuring that
the cleanup of event handler happens only when wifihal cleanup is
happening and also would happen in the same context in which events
are processed.

BUG: 23277168
Change-Id: Ib0cbcbd23e2c0424d6f81597685d085d95df340d
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
2d953ba14654205d59c3214217a1fa4e0cd0dc33 06-Aug-2015 Subhani Shaik <subhanis@codeaurora.org> WiFi-HAL: Removing usage of rand and srand functions

Usage of rand and srand function is a moderate security
vulnerability, thus removing the usage of this and replacing
with arc4random.

Change-Id: I5f24e96817bf3de09848f5626278ac65b00e07ed
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
864f2a6901fe97d268d44c053b9fede65a821c51 21-Jul-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> WiFi-HAL: Maintaining Gscan Event Handlers as part of hal_info

This commit removes the global usage of various Gscan event
handlers and makes it part of hal_info structure so that it gets
cleaned up as part of wifihal cleanup.
This commit also addresses the appropriate cleanup as part of
wifihal cleanup.

Bug: 22504320
Change-Id: I56ea636e6d47b5fcdd66a9e6db4e2a36e8dac8ba
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
4230204de16cec8d7cfa0c635ea4410d7eac5279 15-Jul-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wi-Fi HAL: Remove gscan feature dependency to get valid channels

Get valid channels is independent of gscan feature. Hence remove
the dependency.

Change-Id: I33d6196722a27aea19053afefadb9f670baf1a25
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
e0d30a0148b9a6fc9d54cc190f26b5b069e93647 22-Jun-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wi-Fi HAL: Implement changes required for routing GSCAN over LOWI

- With this change, Wi-Fi HAL first tries to direct GSCAN requests through
HAL<-->LOWI interface rather than directly sending them to the driver.
Routing is done based on version and capability check. If HAL<-->LOWI
interface is not supported, Wi-Fi HAL will then proceed the normal way
by sending commands to the driver.
-Moved the utility functions used to open LOWI shared library, retrieve
handler to LOWI APIs table, and initialize LOWI module out of RTT module
into the HAL common module.

Change-Id: Ib81ff69bec07e71ab4b4d553f1038e122b535ae6
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
8339c424234cee7058e49f9a5ebfae7827d5abeb 02-Jun-2015 Vinit Deshpande <vinitd@google.com> am 0db016e..c125981 from mirror-m-wireless-internal-release

c125981 Wi-Fi HAL: Remove sending registration msg to driver
063058f WiFi-HAL: Process log completion event
cd2e2fd WiFi-HAL: Clean up wake lock event processing
d3ebf0d Wifi-HAL: Enable connectivity events
d8ed4eb Wifi-HAL: Changes as per Logging Header changes
6988c4d Wi-Fi HAL: Add support to get tdls capabilities
0910ea7 Wi-Fi HAL: Fix a GScan get cached results bug
ae226e1 Wi-Fi HAL: Updating the wifi_hal function table
16b2e84 Enable rx payload and few other stats in packet stats
0b7d2d5 Wi-Fi HAL: Add version field to the packet log structure
645f631db44f9d20431d819b4f62be5c9c7b5132 14-May-2015 Vinit Deshpande <vinitd@google.com> am 5ce8c15..0b89754 from mirror-m-wireless-internal-release

0b89754 Wifi-Hal: Deinitialize ring buffers while exiting
4627e3a Wi-Fi HAL: Wifi HAL cleanup and fix for memory leak
de8deff WifiLogger: Enable/Disable of Wake LOCK events
91a138e Enhance wifi_enable_tdls to consider params as a pointer
22e2b01 WiFi-HAL: Free buffers sent to on_ring_buffer_data
0a82ce1 ring_buffer: Include string.h for memcpy related routines
e9978b4 WifiLogger: Implement the Supported Feature Set.
76cff4c WifiLogger: Support for generic NL socket handling and wake lock logging.
9de438d Wi-Fi HAL: Initial implementation of Ring Buffer
a3646e0 Wi-Fi HAL: Wifilogger wifi_get_memory_dump support.

Change-Id: I9a3128fb599d69c34699ef53cd31f8a8cfcc10d6
0910ea7ebdb95e00b3173dee28a2f0b34f2a0233 01-May-2015 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wi-Fi HAL: Fix a GScan get cached results bug

Two for loops were using the same variable, resulting in parsing
errors when driver nests 2 or more cached results within the same
cached results block.

Change-Id: I0370ba64e009dd7b389bc26ec4aebc2459f1985b
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
9cd8a8139294cafe38b7de54c594ce27bd224439 01-May-2015 Prerepa Viswanadham <dham@google.com> Merge commit '243e16a' into master_merge

Change-Id: I62b789bbc2515a7d835ab65768d006ecbccaf449
5ce8c15e2d505392f9fa7933101fe3a89b129cfc 17-Apr-2015 Subhani Shaik <subhanis@codeaurora.org> Wi-Fi HAL: Gscan Wifihal log enhancement

This commit addresses additional wifihal log enhancement with respect
to Gscan features. This includes
a) logging of the input parameters,
b) using __FUNCTION__ macro to only have function name logged instead
of the __func__.
c) Minimized developer level logs.

Change-Id: I7c2af197e012f7aa3abca5e06c3036566d172f97
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
a3774bd56a315593c9af76637dccbd396a0b8c5a 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am 4af494a..c31ec43 from mirror-m-wireless-internal-release

c31ec43 Wi-Fi HAL: Changes in ePNO and Passpoint list
e5c1439 Wi-Fi HAL: new API changes for ePNO
2612746 Wi-Fi HAL: new API changes for GScan and Hotlist SSID
a4fb688 Wi-Fi HAL : support for new parameters added in link_layer_stats.h
34bf325 Wi-Fi HAL: Support for Roaming APIs
d4ea275 Wi-Fi HAL: add support for Wi-Fi Config through HAL
c7edb1c Wi-Fi HAL: add new QCA specific commands and attributes
f1f0e60 wpa_supplicant_private_lib: driver_nl80211.h inclusion changed

Change-Id: Ic7a0b778faf130de3e6f9897d40a71880acfd731
ebd0927520b5a5190c4b7f1b4e98fcfaea79ba6e 08-Apr-2015 Ahmad Kholaif <akholaif@codeaurora.org> Wi-Fi HAL: Fix synchronous req/resp for GScan APIs

Instead of using requestEvent(), Wi-Fi HAL needs to use requestResponse()
and block waits for a synchronous response from the driver. This applies
to all commands including those with data payload.

Change-Id: I67939f4e01b0655214ec03040e806ae78f658758
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
35be86a67db4ed82216c5c6e421ad2a1e386aea5 12-Apr-2015 Ahmad Kholaif <akholaif@codeaurora.org> Updates to wlan hal for mnc-pdk bringup

* Include headers being implictly used.
* Fix typecast warning.

Change-Id: I525e358c3dceecaf754a0b08cc73fab6de1b65ed
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
18c04241282f2e8c051cd09f19dbf307b98d0c4f 13-Apr-2015 Prerepa Viswanadham <dham@google.com> Fix build

Change-Id: I69501e23b00ac70046042a3374353be94ce1fd1e
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
c31ec43dd246e3322b7248351eef561bb756e495 28-Mar-2015 Amarnath Hullur Subramanyam <amarnath@qca.qualcomm.com> Wi-Fi HAL: Changes in ePNO and Passpoint list

1) Addressed change in on_passpoint_network_found as per the
updated gscan.h.
2) set_epno_list and both set and reset passpoint list APIs, HAL
should only expect a synchronous response, but no asynchronous events
will be coming from firmware. This is ensured now in code.
3)Additionally, use the correct QCA vendor attribute for the number of
passpoint network matches found.
4)Added missing wificonfig.cpp as part of libwifi-hal-qcom.so shared
library.

Change-Id: If4a6fe03e481850385a56d538f5c0a21677e30f3
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
e5c1439eb5547b792fb47905c0977bbed8d5d8ac 26-Mar-2015 Amarnath Hullur Subramanyam <amarnath@qca.qualcomm.com> Wi-Fi HAL: new API changes for ePNO

Wi-Fi HAL code changes required to allow Android Framework to set and
reset PNO and Passpoint lists in the firmware and get firmware
notifications regarding PNO and Passpoint network matches

Change-Id: I25ff5f3283de4c051bd9a0dc9670672d27c95c0d
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
261274640b093ef561076fe78a2c05cdaacda07a 14-Mar-2015 Amarnath Hullur Subramanyam <amarnath@qca.qualcomm.com> Wi-Fi HAL: new API changes for GScan and Hotlist SSID

Add Wi-Fi HAL changes to support new GSCAN get cached results,
Set and Reset SSID Hotlist, GSCAN start configuration with
report threshold number of scans and GSCAN capabilities

Change-Id: I36eae71faa8f0a4e91fb32a1625e23d4506aa81c
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
34bf325fabb2c9ee1efd188deb8d4f0b8278a764 21-Mar-2015 Amarnath Hullur Subramanyam <amarnath@qca.qualcomm.com> Wi-Fi HAL: Support for Roaming APIs

Change-Id: Iaf5df15349fa7373395ecd72db1796ad48cbdba6
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
4af494a4400d1ee3944e227626d0452e033284d5 27-Mar-2015 Amarnath Hullur Subramanyam <amarnath@qca.qualcomm.com> Fast forwarding all the changes till tip of l release.

Change-Id: I2eabf5c9d14a33e11e6fefaf54d70ac972292a55
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
fccbb652cf217a07217306fcf1b2e3d34bd67c98 26-Mar-2015 Vinit Deshpande <vinitd@google.com> Adopt implementation to changes in wifi_hal

Change-Id: I30df205bcf8ef48fac440ee1349e3f8d4b6d6ff8
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
1275c97cba73a8df2e7437b77ec60fd7fce5b2ea 20-Mar-2015 Vinit Deshpande <vinitd@google.com> Fix build breaks caused by Wifi HAL updates

Change-Id: I0f632d1d27c06fbae3e873f8779aa5af60105de9
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
bd461f354cd559f3c3e753ab3f050d42df509037 24-Feb-2015 Dan Albert <danalbert@google.com> am 30de04fe: Merge "Don\'t ignore so many warnings."

* commit '30de04fe08d8ef43116de30ab865d84eae3e1ac7':
Don't ignore so many warnings.
2009cf023724aeff936c7583f083295d2d64a43f 24-Feb-2015 Dan Albert <danalbert@google.com> Don't ignore so many warnings.

Some of these (including the scary one I was actually here to deal
with) weren't even suppressing anything. Probably just copy pasted
from somewhere else.

Change-Id: I33b74ed618c3b838128c3d6d1a828c73775cc501
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
18be87887fe2a4ba943a126404c90140aed1743f 30-Dec-2014 Elliott Hughes <enh@google.com> am a5b2cfb9: Merge "Fix "hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp:1173:20: error: \'ETIMEDOUT\' was not declared in this scope"."

* commit 'a5b2cfb9c10c87d17f18f8ade8fca1b698c8d0c3':
Fix "hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp:1173:20: error: 'ETIMEDOUT' was not declared in this scope".
3ec0db5c18e9dcbea26b3059215d7eab25fe17d9 30-Dec-2014 Elliott Hughes <enh@google.com> Fix "hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp:1173:20: error: 'ETIMEDOUT' was not declared in this scope".

Change-Id: I41b22926a72a2fffd419f6ab35e49d25bd4723e4
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
930139593391038c89cb1e9f178fb15bd0e719b0 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
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
86a1e6dee88506f2c4947d26ec5ac294d3d72859 29-Jun-2014 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi-hal: Few fixes in Gscan.

1) Gracefully handle obtained response indication prior to wait.
Response from the HDD can be received by the middleware after
receiving the actual response event from the firmware. Here,
it is expected that Android_HAL sholud not wait for the same event,
as it has been received already.
2) Add a check for NL attributes before attempting to read them,
for gscan scan event.

Change-Id: Ia3d4cf94239ff747ba71cbd38d2d125d810d596e
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
8abcd11e6ffef0ed6948497ff03df2c55abc5bb9 17-Jun-2014 Amarnath Hullur Subramanyam <amarnath@codeaurora.org> Wifi Hal: Gscan implementation

Change-Id: I8e68d12968af8d6e9e0efbdbd25e66d1881debb4
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
6c9672fe4681cc84e99d0bbb7b5246887b67864b 02-Jun-2014 Vinit Deshpande <vinitd@google.com> Fixing Breaks for mako and msm8226

Missed one change from GSCan API update.

Change-Id: I60f9dc9fb22c8d197279a5cf4c36984f16b2b83a
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
fecfd80614139b01bdeb5cc7ddebd952ece696fb 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
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp
b573b879161949728b9cbdb0ef2dc8db32a47bfc 09-Apr-2014 Vinit Deshapnde <vinitd@google.com> Moving Wifi HAL to hardware

This change moves all Wifi HAL headers to libhardware_legacy; and moves
hal implementation under hardware/<vendor>/wlan. This way different
vendors will be able to tailor implementation to their drivers.

Change-Id: I55789bb6788ab694f4896aa36d76f7887b32dad6
/hardware/qcom/wlan/qcwcn/wifi_hal/gscan.cpp