summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* wcnss_service: Read serial number from custom propertylineage-15.0-cafEthan Chen2017-09-241-1/+1
| | | | | | | | * ro.serialno and ro.boot.serialno are labeled as serialno_prop, which is restricted in the domains which are allowed to read it. * Add a duplicate serial number property for wcnss_service to read. Change-Id: I0b0cd68c399d2e711788c8c1f91c81e7db2f06e9
* Wifi: Quiet some excessive debug outputEthan Chen2017-09-202-3/+3
| | | | | | | | * Specify LOG_NDEBUG for eng builds instead of userdebug * Don't use LOGE for non-fatal errors stemming from driver feature support. Change-Id: I15130e3700cb0608c9da09d05304f7aebf441c61
* wifi-hal: stop the UMAC logspamAltaf-Mahdi2017-09-201-1/+1
| | | | Change-Id: I93818d0ccb31c281613c9c1cd0d4945aa441a7ae
* wifi-hal: Only try LOWI onceSteve Kondik2017-09-201-4/+18
| | | | | | | * There is no need to keep trying to use LOWI, which nobody is really deploying. Change-Id: Ia553196c6ae83992e5289b415f29fa3caacc4acd
* wcnss_service: Migrate from QMI to QCCIAnand N Sunkad2017-09-201-4/+3
| | | | | | | | | | | Use new QCCI APIs to communicate with the device management service for getting the wlan mac address. This is need because the older QMI APIs are getting deprecated. CRs-Fixed: 871051 Change-Id: Ia5c37ba8e86261c5e912c83f9988124b4355c5ec
* wcnss_service: Deal with mdm-detect tooSteve Kondik2017-09-202-2/+8
| | | | Change-Id: I1f6ad7502bb23fd59f182c1fe86ba92cb47470b7
* wcnss_qmi: Generate a fixed random mac address if the NV doesn't provide oneRicardo Cerqueira2017-09-202-0/+61
| | | | | | | | | | | | | If the NV is corrupted or blanked out, QMI won't return a MAC address and prima will fallback to a fixed one. If the board defines a TARGET_WCNSS_MAC_PREFIX value (2 to 4 hex values), use that prefix to generate a random (and persistent) hwaddr instead. For "TARGET_WCNSS_MAC_PREFIX := 0a0b0c0d", the last 2 bytes will be pseudo-randomized, and the final address will be in the "0a:0b:0c:0d:XX:YY" format. Change-Id: Ie38cb5d3724223b2ec1ae45e6a9a4f2285229731
* wcnss: Build and dlopen wcnss_qmi_client as a shared libraryEthan Chen2017-09-202-12/+138
| | | | | | | | | | | | | | | * Allows us to decouple QMI from wcnss_service for those devices that rely on QMI features for wcnss. Change-Id: I30a1f9a8760dcd19761d473cedb2104b7b33069c wcnss_qmi: Allow targets to provide custom libwcnss_qmi Change-Id: I9aedd4b8633a81ecb3cd292299826e3daca60656 wcnss_service: Fix build fail when WCNSS_QMI_OSS is defined Change-Id: I9b14f384901586df5c5e255b15cbeeba20bb6277
* wcnss-service: Additional format supportSteve Kondik2017-09-032-0/+16
| | | | Change-Id: I4e5fea21135f7dd609b8cc0b1577265d29f58f71
* wlan-caf: Add guard makefileSteve Kondik2017-09-021-0/+4
| | | | Change-Id: I79aacfe2438c0e871cb5a61156524c0de3cb540e
* Merge 691f7fc77fd59769ab168d51dfaf9638e2cb814f on remote branchLinux Build Service Account2017-08-2711-134/+543
|\ | | | | | | Change-Id: I29bcd0b31848a4f5138d56a0dfb4bdc863a224af
| * Merge "WiFiHAL: memset cap_vendor_data before populating data to it." into ↵CNSS_WLAN Service2017-08-171-0/+3
| |\ | | | | | | | | | wlan-aosp.lnx.2.9.1
| | * WiFiHAL: memset cap_vendor_data before populating data to it.Ajit Vaishya2017-08-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WiFiHAL populates data to cap_vendor_data elements when diag event LOG_WLAN_EXTSCAN_CAPABILITIES is received. memset the buffer zero before populating to it, to make sure no invalid data is sent to framework. Change-Id: Iae30db2da11570047352a890be8b85e24edab141 CRs-Fixed: 2020507
| * | Merge "Wifi_HAL: Add vendor command support to collect NUD stats" into ↵CNSS_WLAN Service2017-08-176-2/+530
| |\| | | | | | | | | | wlan-aosp.lnx.2.9.1
| | * Wifi_HAL: Add vendor command support to collect NUD statsSrinivas Dasari2017-07-116-2/+530
| | | | | | | | | | | | | | | | | | | | | Add vendor command support to collect NUD stats from driver Change-Id: I44ebe9c4e2ca2fa0f7f214786457bcd1e3413d80 CRs-Fixed: 1116815
| * | Merge "wcnss_service: Change the build flag for treble"Linux Build Service Account2017-08-161-1/+1
| |\ \
| | * | wcnss_service: Change the build flag for trebleAnurag Chouhan2017-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the incorrect build flag to build wcnss_service into the /vendor/bin/. Change-Id: Ia2e68a3f45d18818c3fe8744f583a654bfd20bf6 CRs-fixed: 2092306
| * | | Merge "WifiHal: Cleanup in NAN response handler" into wlan-aosp.lnx.2.9.1CNSS_WLAN Service2017-08-141-6/+6
| |\ \ \ | | |/ / | |/| |
| | * | WifiHal: Cleanup in NAN response handlerRakesh Sunki2017-08-041-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specify the corresponding stats member in the union to copy the received NAN response message. Change-Id: I6cd25c3530096ca26f2e15849c7a0d46e5cfb6d9 CRs-Fixed: 2085707
| * | | Merge "Wifi-HAL: Remove gscan APIs route to LOWI" into wlan-aosp.lnx.2.9.1CNSS_WLAN Service2017-08-101-125/+0
| |\ \ \ | | |/ / | |/| |
| | * | Wifi-HAL: Remove gscan APIs route to LOWISrinivas Dasari2017-08-041-125/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gscan APIs are no longer supported by LOWI. So do not route any gscan APIs to LOWI. Change-Id: I8f68a6c956dd264d68125a5f55e4a155d33e2ebe CRs-Fixed: 2087798
| * | | Merge "wcnss_service: Change WCNSS_qcom_cfg.ini file path"Linux Build Service Account2017-08-042-1/+4
| |\ \ \ | | |/ / | |/| |
| | * | wcnss_service: Change WCNSS_qcom_cfg.ini file pathAnurag Chouhan2017-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to support treble feature on pronto, change WCNSS_qcom_cfg.ini file path from /system to /vendor Change-Id: I7082642d1ac34f7eb5c07edec34c3be05494d2c4 CRs-fixed: 2082792
| | * | Wcnss_service: Add build support for full trebleAnurag Chouhan2017-07-241-0/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | Add support to build wcnss_service and copy to /vendor/bin/ path for full treble. Change-Id: Ib014e632599ffab6a7d061d6c2de5687487e5435 CRs-fixed: 2071416
* | | Merge 24d745d470f887dc945bcbd5c5bd53fe2a661b32 on remote branchLinux Build Service Account2017-08-016-85/+195
|\| | | | | | | | | | | Change-Id: I62f036d930e49fc5b9de2f71684f9042819f8e5f
| * | WifiHal: Fix junk data append to error infoSubhani Shaik2017-07-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 37514146 Bug: 37704662 Test: builds CRs-Fixed: 2079318 Change-Id: I896004dfd657209cccbc46d613cc6d8f40d658f8
| * | WifiHal: Fix NDP incorrect error returnsSubhani Shaik2017-07-242-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NDP Confirm was not returning the error code from FW in WifiHal. NDP initiator request/responses initial fw response, NDP End initial response also are not translating the error returned from the FW. Bug: 62339353 Change-Id: I98590d50f9a4d9fca016d33939cae65c97359914 CRs-Fixed: 2079318
| * | Wifi-Hal: Add support to fetch second ndp channelSubhani Shaik2017-07-242-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add new parameter second ndp channel freq in the stats response message to support the cert efforts. Change-Id: If174ba2434df6e2a20474015c45f47ffbc1a7fca CRs-Fixed: 2079318
| * | Wifi-Hal: Fix issue to include NDP security infoSubhani Shaik2017-07-241-46/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Security info is not being set because CSID is not provided in NDP data Request and data Response CSID is an optional parameter in NDP data request and data response messages. So, removing this check to send the security info to the firmware. Test: DataPath:test_ib_unsolicited_passive_passphrase_specific CRs-Fixed: 2079318 Change-Id: I9fea7e73241807397058700e1855378c65b75569
| * | WifiHal: Fix cfg discovery indicationSubhani Shaik2017-07-241-40/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When NAN Enable is initiated followed by Config, the cfg discovery indication value is not passed correctly in HAL. Bug: 38321768 Test: AttachTest:test_attach_multiple_sessions bad TLV issue resolved Change-Id: Iaa8d2f65bdca4556c6fa2eef91c18959e0e3cd69 CRs-Fixed: 2079318
| * | Wifi-Hal:Add support for configuring NAN sid on subscriber sideRakesh Sunki2017-07-242-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide configuration support to set sid on the subscriber side sync and discovery beacons as part of NAN enable and config request. Bug: 35195516 Test: integrated (sl4a) scripts pass CRs-Fixed: 2079318 Change-Id: Ic181ddc9146ba8cfbf6716ab8b303a5cd6a22b7c
| * | Wifi-Hal: Introduce support for NAN Publish Replied IndSubhani Shaik2017-07-194-3/+85
| |/ | | | | | | | | | | | | | | | | Bring in support for NAN Publish Replied Indication. Bug: 35195773 Test: integration (sl4a) tests Change-Id: I9751e4cb498a2e99f90a81e7c4119eff66cdb8e6 CRs-Fixed: 2079318
* | Merge ea47a2c7f902be203539ade7652240577f28772d on remote branchLinux Build Service Account2017-06-210-0/+0
|\| | | | | | | Change-Id: I773836f6e4879657fe9b9e6ef4221b3070af54e1
| * Move libcld80211 to /vendorVara Prasad A V S G2017-06-121-0/+1
| | | | | | | | Change-Id: I09e95250cfe96c932234246a8700fd050b72a69c
* | Move libcld80211 to /vendorVara Prasad A V S G2017-06-151-0/+1
| | | | | | | | Change-Id: I09e95250cfe96c932234246a8700fd050b72a69c
* | Merge 3a2f6cc0900e4c33b1e6af650afe868b909d7f9f on remote branchLinux Build Service Account2017-05-234-904/+0
|\| | | | | | | Change-Id: I4fdc88a54051012fd28348a7c4dbfc3885f648a5
| * Revert "Add wcnss-service for Android One Seed (msm8916/8909)"Rajshekar Eashwarappa2017-04-204-904/+0
|/ | | | | | This reverts commit e7d3d4d159152380a7bb2c4610dcb3b51d8b3a11. Change-Id: I46a17c4400ce510e4d9c804b6b31b736af6edc18
* Merge commit '2268d748b893f82330f1be50b09d699cb8e7f9d3' into HEADDivya Sharma2017-04-058-101/+686
|\ | | | | | | Change-Id: I00331c122f55594e36d3766504a2da5ca4aa4fed
| * Wifi-Hal: Add support for NAN debug commandsRakesh Sunki2017-03-207-49/+188
| | | | | | | | | | | | | | Modify NAN Availability debug command to make it a generic debug command. Change-Id: I1210ed1ad0d8a865b69fbb3d8a183f2cdc2b03e9
| * WifiHal: Add support to accept either passphrase or pmkRakesh Sunki2017-03-204-18/+136
| | | | | | | | | | | | | | | | | | | | Modify publish/subscribe/Data Initiator/Data Indication messages to accept either PMK or Passphrase key information. Also, provide a new parameter service name in Data Initiator request and Data Indication response to generate PMK from passphrase and service name for out of band discovery. Change-Id: I29103e1a47256e97b778fc13cf03bd7470356724
| * Wifi-Hal: Fix Nan capabilities mismatchSubhani Shaik2017-03-202-3/+13
| | | | | | | | | | Bug: 36357282 Change-Id: I7c39b3f6205253bffed34887b09f251ccd521777
| * Wifi-Hal: Provide additional debug info incase of NAN errorSubhani Shaik2017-03-203-12/+25
| | | | | | | | | | Bug: 35625752 Change-Id: Ic582e5b79fa5822b4b7042e3edb22b9d4cbfaf43
| * Wifi-Hal: Enable SSI in SDEASubhani Shaik2017-03-203-3/+38
| | | | | | | | | | Bug: 35193423 Change-Id: Ib817c352c2ae720fa09e9ab43226a100ceca943b
| * WifiHal: Enable NAN Geo fencing supportSubhani Shaik2017-03-204-18/+288
| | | | | | | | Change-Id: I258ad1a8230d06f1c02cec67b1d6878056754c4a
* | Merge commit '2be1e7cd941e52646455bc2155fee3d7447e7136' into ↵Srinivas Girigowda2017-03-2314-71/+984
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wlan-aosp.lnx.2.9-rel * commit '2be1e7cd941e52646455bc2155fee3d7447e7136': WiFiHAL: Sync with wpa_supplicant src/common/qca-vendor.h WiFiHAL: Remove unused param warnings in WifiEvent class WifiHAL: Free the stats received so far if requestResponse() fails Wifi-HAL: Move llstats freeing to a common API WiFi-Hal: Support new header of size 16-bytes for fate stats WiFi-Hal: Parse new event for packet fate stats cld80211-lib: Create cld80211 lib for communication with driver WiFi-HAL: changes to support cld80211 family Move libwifi-hal and dependencies to /vendor Change-Id: Ifa2930471c6501c01c4a30b4356b64fe74a07f48
| * Merge changes I03150207,I0abe95e9,Ic99541c1,I06aa330f,I5941c3ac, ...Roshan Pius2017-03-157-31/+119
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: WiFiHAL: Sync with wpa_supplicant src/common/qca-vendor.h WiFiHAL: Remove unused param warnings in WifiEvent class WifiHAL: Free the stats received so far if requestResponse() fails Wifi-HAL: Move llstats freeing to a common API WiFi-Hal: Support new header of size 16-bytes for fate stats WiFi-Hal: Parse new event for packet fate stats
| | * WiFiHAL: Sync with wpa_supplicant src/common/qca-vendor.hAjit Vaishya2017-03-141-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | This brings in changes as of 2017-2-23. And removes duplicates from vendor_definitions.h. Added New enum value for NUD_STATS specific get/set SUB_COMMAND and ATTRIBUTES. Change-Id: I03150207e0c5ca0591e5aa2aee072390a02d9b85
| | * WiFiHAL: Remove unused param warnings in WifiEvent classSubhani Shaik2017-03-142-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compiler throws a warning when it finds unused parameters in WifiEvent class. The parameters showing as unused are member funtion arguments and the member functions are going to be overriden in derived classes. It's not good to change the prototype of the functions to resolve these errors. So introduce a dummy define UNUSED() to use the parameter and mute the warning by calling the same. Change-Id: I0abe95e9490a1874968a506e38ccdac25edd9dd2
| | * WifiHAL: Free the stats received so far if requestResponse() failsSubhani Shaik2017-03-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WLAN driver may return failure (e.g. TIMEOUT) for llstats_get even after sending few stats to wifihal. This is possible in the below cases, 1. Driver gets radio stats from firmware and sent those stats to the wifihal and got a TIMEOUT while waiting for iface stats 2. Driver gets radio stats and iface stats from firmware and sent those stats to the wifihal and got a TIMEOUT while waiting for peer stats Wifihal treats this as complete request failure from driver and doesn't return the received stats to framework. The memory allocated for these stats is not getting freed. Free the same when requestResponse() returns error. Remove the memset() of mResultsParams in initGetContext() as it's causing a memleak of the stats collected in the above cases when next llstats_get request comes from framework. This memset() just resets mResultsParams but doesn't reset the cached results size parameter mRadioStatsSize. When next radios stats come to wifihal, realloc() with this parameter creates a fresh buffer (mResultsParams.radio_stats) of size (mRadioStatsSize+new_stats_size) but memset happens only from address (mResultsParams.radio_stats+mRadioStatsSize). So mResultsParams.radio_stats contains garbage values from mResultsParams.radio_stats to mResultsParams.radio_stats+mRadioStatsSize byte. Native or wifihal accesses these garbage values and tx_time_per_levels is one of them. Accessing tx_time_per_levels leads to illegal memory access as it contains garbage values. Change-Id: Ic99541c16d2fd0328c504da10fef2acdbf228b12
| | * Wifi-HAL: Move llstats freeing to a common APISubhani Shaik2017-03-142-20/+11
| | | | | | | | | | | | | | | | | | | | | Link layer stats are getting freed at multiple places. Better to have a common API and call it. Change-Id: I06aa330fc955d7266c9e83e4d7abca6098338cd5