summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/cpp_bindings.cpp
AgeCommit message (Collapse)Author
2018-03-30WiFi-Hal: Correct the mapping of wifihal error codesSrinivas Dasari
Correct the mapping of wifihal error codes. Bug: 70872935 Change-Id: Ic8bf0e6796a4e84ec6b540a34af1e202d9501d9e (cherry-picked from 03ef1ab7c2dc2075d7691a396fc7f2547742ede6)
2017-12-14WiFi-Hal: Clean up the return codes in wifi-halSubhani Shaik
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)
2017-07-27WiFi-HAL: Map kernel returned error code to wifihal errorSubhani Shaik
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
2016-12-12Merge "Update for libnl 3.2.25"Paul Stewart
2016-11-11Update for libnl 3.2.25Paul Stewart
NL headers have moved. Private headers are now in their own subdirectory. Bug: 32700211 Test: Compile, connect to WiFi, run "iw link" Change-Id: I69fd006ebe3048538d563d1f91ccf15ebfabd8db
2016-07-15WiFi-HAL: Fix CLANG warningsSrinivas Girigowda
Fix CLANG warnings. Change-Id: If07194f34abc44e1e58e8b38af59ec705a62ce55 CRs-Fixed: 1015162 Bug: 28825972
2016-06-07wlan: Update to AU187 proprietary dropSteve Pfetsch
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
2016-04-14Wifi-HAL: promote some guarded debug logs to VERBOSEmukesh agrawal
Originally part of https://partner-android-review.googlesource.com/#/c/558740 BUG=28174258 TEST=compile Change-Id: I85b6afa15e6839738d7ec0e20c0425aecfc99147
2016-04-14Wifi-HAL: comment out a call to ALOGVmukesh agrawal
Originally part of https://partner-android-review.googlesource.com/#/c/558740 BUG=27698661 TEST=compile Change-Id: I82f404d731ce618d469b941e28445d94feb19b07
2016-04-14Wifi-HAL: remove some QC_HAL_DEBUG protected logsmukesh agrawal
Originally part of https://partner-android-review.googlesource.com/#/c/558740 BUG=27698661 TEST=compile Change-Id: Ia3ae5296ac890d8ce87ed374a5060512b27b789f
2016-04-14Wifi-HAL: remove some commented-out log messagesmukesh agrawal
Originally part of https://partner-android-review.googlesource.com/#/c/558740 BUG=27698661 TEST=compile Change-Id: I76caca25ed835c10bb94444b2928bf48f6861131
2016-04-13Wifi-HAL: remove some calls to ALOGDmukesh agrawal
Originally part of https://partner-android-review.googlesource.com/#/c/558740 BUG=27698661 BUG=27835354 TEST=compile Change-Id: I4bc744370131af1058cbbb634f92579ed1b8283f
2016-01-21WiFi_HAL: Fix static analyzer findingsSrinivas Dasari
am: c19f715ece * commit 'c19f715ece840e705749d2dfd1857210d7e31897': WiFi_HAL: Fix static analyzer findings
2016-01-20WiFi_HAL: Fix static analyzer findingsSrinivas Dasari
This commit fixes few issues found by static analyzer. Change-Id: Ia22718b9545e1e56a784e28a1b2582cb489b8cc9
2015-12-10Fix leaked nl_msg objectsandroid-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-n-preview-5android-n-preview-4android-n-preview-3android-n-preview-2android-n-iot-preview-2android-6.0.1_r68android-6.0.1_r67android-6.0.1_r62android-6.0.1_r54android-6.0.1_r53android-6.0.1_r45android-6.0.1_r25android-6.0.1_r24android-6.0.1_r22android-6.0.1_r21nougat-mr1-wear-releasen-iot-preview-2marshmallow-dr1.6-releasemarshmallow-dr1.5-releasemarshmallow-dr1.5-devVinit Deshpande
Colin (ccross@google.com) found out that create() gets called on same object multiple times; without a call to destroy() in between; this causes leaks. This change will destroy the request object, before allowing create to proceed. BUG: 25392275 Change-Id: Id2199346020dd69f735f50fe3b2f11bfe251cad0
2015-09-11WiFi-HAL: Cleanup unnecessary logsAmarnath Hullur Subramanyam
Cleanup unnecessary logs from llstats, gscan, rssi monitor common and tdls modules. Change-Id: If66a8f61b11a101d84546a06514aeb5e0d8fcbfa Bug: 23942132
2015-07-10Wifi-HAL: Increase socket buffer size of event_sockAmarnath Hullur Subramanyam
It was observed that during reportevent 2 case the scan status event was lost since there are multiple back to back fullscan event coming. This commit increases the buffer size and also removes some unnecessary gscan logs. Change-Id: Id35ef90dc435ec9d4a0d56c8bfc20d02eb7b8abc
2015-07-09WiFi-HAL: Maintain request id in the object of wifiVendorCommandAmarnath Hullur Subramanyam
We may need request id in WifiVendorCommand class to compare with the request id received in asynchronous events. Maintain the request id received from invoker in the object of WifiVendorCommand Change-Id: I6514c912dc41212dc22703af11220378d19551bc
2015-06-11Wi-Fi Hal: support to send offloaded packets and rssi monitoringAmarnath Hullur Subramanyam
Add vendor command support to start and stop the following, 1. Send offloaded packets 2. Rssi monitoring Rssi monitoring gets an event whenever the rssi of an ap breaches the configured range. Provide the event data to upper layers by calling the callback. Change-Id: Ib2be8b3739e681080e65f3001e468e504a06fcc1
2015-04-29Wi-Fi HAL: Gscan Wifihal log enhancementSubhani Shaik
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
2015-03-27Fast forwarding all the changes till tip of l release.Amarnath Hullur Subramanyam
Change-Id: I2eabf5c9d14a33e11e6fefaf54d70ac972292a55
2014-07-10Wifi Hal: Gscan implementationAmarnath Hullur Subramanyam
Change-Id: I8e68d12968af8d6e9e0efbdbd25e66d1881debb4
2014-07-10Wifi Hal: Link layer stats implementationAmarnath Hullur Subramanyam
Change-Id: I1643981fc0b5293f806f854edf245f36c1a1a752
2014-05-07Moving Wifi HAL to hardwareVinit Deshapnde
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