Commit Graph

269 Commits

Author SHA1 Message Date
Sravan Kumar Kairam
b9484f304d qcacld-3.0: Add IPA QDF abstraction file to Kbuild
For IPA enum QDF abstraction add qdf ipa file to Kbuild.

Change-Id: Ib8c46badff3667ed1755eadd1cd13a3e8b78890c
CRs-Fixed: 2201474
2018-03-14 22:34:03 -07:00
Manikandan Mohan
04459b9cf8 qcacld-3.0: Fix errors of multi driver compilation
Qcacld supports multiple driver modules instance generation with
different file names and Kbuild options. Fix driver load time and
compilation errors on this feature.

Change-Id: Ib405e6c475bace31933a28dc64082f2b6c046da9
CRs-fixed: 2197749
2018-03-14 15:53:05 -07:00
Jeff Johnson
01bc774c7b qcacld-3.0: Remove -DUSE_NEW_TDLS_PEER_CALLBACKS
Change "qcacmn: Remove obsolete TDLS peer callback interface"
(Change-Id I32bb1f633b1dd1514aa6e4c3fdea044b3bca0009 in project
qca-wifi-host-cmn) has complete removed the old TDLS peer callbacks;
the new callbacks are the only ones supported.  Therefore remove the
usage of USE_NEW_TDLS_PEER_CALLBACKS which was previously being used
to select the new callbacks.

Change-Id: I6b82b563e060727dfd02bfea40e4439ea09d7f75
CRs-Fixed: 2200994
2018-03-12 19:27:37 -07:00
Jeff Johnson
1d40f5b3f9 qcacld-3.0: Use new TDLS peer callback interface
Change "qcacmn: Introduce new versions of TDLS peer callbacks"
(Change-Id Id4ea23266b0f3e1480b645c5afce6c17585ccb46 in project
qca-wifi-host-cmn) introduced a new interface which removed an unused
parameter and changed obsolete naming. Update qcacld-3.0 to use this
new interface.

Change-Id: I5c4684ac0a62f314da26f92ece2c9a9874d63634
CRs-Fixed: 2200993
2018-03-12 09:35:24 -07:00
Rachit Kankane
b103562c27 qcacld-3.0: Add HTC Credit History Feature flag
Add compilation flag to compile out HTC credit History
feature cleanly from the cld-3.2 driver binary.

Change-Id: I5f5e73e430d282c99d3077fb82ed1cb8eb79715a
CRs-Fixed: 2190545
2018-03-08 18:46:38 -08:00
Nirav Shah
459bebf99a qcacld-3.0: Featurize EPPING Feature
Featurize EPPING Feature to compile out
in mission mode.

Change-Id: I55a4820f0cbbac80861904a9f05721cc513e1d0c
CRs-Fixed: 2198846
2018-03-07 03:55:28 -08:00
Dustin Brown
f1d278041b qcacld-3.0: Add wlan_pmo_apf.[ch]
Add files to house PMO logic for the Android Packet Filter (APF).

Change-Id: I30e40b1dc761261511d8a37e5720a4f5c737b36c
CRs-Fixed: 2198745
2018-03-05 21:43:43 -08:00
Nirav Shah
eb017befbd qcacld-3.0: Add support for QCA9379 on x86 platform
Add support for QCA9379 chip on x86 platform for
USB and SDIO attach.

Change-Id: I2de81794cd16521097ffa6956a18b4b0fe981d36
CRs-Fixed: 2196757
2018-02-28 05:29:39 -08:00
Rajeev Kumar
64de4544a2 qcacld-3.0: Kbuild changes to compile qdf_util.c
Add Kbuild changes to compile qdf_util.c

Change-Id: I94bfaa13512c1287ff02f890348d44034b8d106e
CRs-Fixed: 2195161
2018-02-26 12:08:25 -08:00
Mahesh Kumar Kalikot Veetil
48af32b8a2 qcacld-3.0: Fix the incremental compilation
BUILD_TAG changes in each build, which makes all files to recompile.
Notify build system that BULD_TAG is only used in wlan_hdd_main.c. This
reduces the recompile time significantly.

Change-Id: I40952e75eeb951ce8a693c8130dbc55a4a92eff5
CRs-Fixed: 2195100
2018-02-25 21:08:40 -08:00
Yun Park
84c0cebe87 qcacld-3.0: Add IPA WDI Unified API support
Support for WDI2 in the Unified IPA WDI APIs.

Change-Id: Ife42a6a96ce80070de51f994e29ded252b3dd980
CRs-Fixed: 2183498
2018-02-15 09:20:27 -08:00
Dustin Brown
911057b1ad qcacld-3.0: Add qdf_file and qdf_parse to Kbuild
Include the recently added qdf_file and qdf_parse files to the Kbuild.

Change-Id: Ibe0dd7f2338196aefd93c6550ec2a808b5249cf2
CRs-Fixed: 2184476
2018-02-10 07:14:47 -08:00
Dustin Brown
59877b01ef qcacld-3.0: Add qdf_str to Kbuild
Include the recently added qdf_str files to the Kbuild.

Change-Id: Id6753691e950ac06114de95d71068f45c48003a5
CRs-Fixed: 2184473
2018-02-10 07:14:44 -08:00
Dustin Brown
c1034df950 qcacld-3.0: Disable PANIC_ON_BUG for end user builds
PANIC_ON_BUG is currently enabled for all WLAN builds. While a customer
can, and should, disable PANIC_ON_BUG for end user builds, this can be
easily overlooked. Disable PANIC_ON_BUG by default on pure performance
builds, to avoid accidentally crashing end user devices. Customers can
opt-in to PANIC_ON_BUG as needed for validation on performance builds.

Change-Id: I79371206b20b978f4e61954c2f49bbb7b07ba95e
CRs-Fixed: 2186099
2018-02-09 11:33:11 -08:00
Sandeep Puligilla
019a1bd120 qcacld-3.0: changes to support spectral genl
HDD changes to support general netlink sockets for
spectral scan feature.

Change-Id: Ie8f262ef77b42c69ac5e25e9a2d0cc099b66b1dd
CRs-Fixed: 2183863
2018-02-09 09:20:49 -08:00
Paul Zhang
a05a025bcf qcacld-3.0: use driver database for reg no-offload
Currently driver created reg database instead of
db.txt for reg no-offload case.

Change-Id: Ia7853679532ad7536d34b4a4040feffb8566e907
CRs-Fixed: 2174245
2018-02-08 21:37:25 -08:00
Arunk Khandavalli
a6305a33b6 qcacld-3.0: Converge on Initial Host-FW handshake
Initial changes for the init deinit convergence wherein
service ready, extended service ready and init cmd are
converged.

Change-Id: I1c1fd50f51362f4f09561c259961e6761429fcd0
CRs-Fixed: 2178590
2018-02-03 15:10:39 -08:00
Zhang Qian
47e22cefc3 qcacld-3.0: Add UCFG APIs and public structures for OCB
Add UCFG interface and public structures for OCB feature.

CRs-Fixed: 2177578
Change-Id: Id74df706e658568a0f50a8d953eca3993451f41a
2018-01-29 23:40:32 -08:00
Dustin Brown
70960c9476 qcacld-3.0: Add qdf_types.c to Kbuild
A new, OS agnostic qdf_types.c file has been added. Include it in the
Kbuild.

Change-Id: I8d0b47bfd6973fb1ca3122f46dca8512422d7e33
CRs-Fixed: 2176464
2018-01-22 15:39:26 -08:00
Padma, Santhosh Kumar
07eb80bf87 qcacld-3.0: Add support for SAE AKM suites
Add support for SAE AKM suites in CSR and also add support for
SAE in HDD. Also, add CONFIG_WLAN_FEATURE_SAE flag to enable/disable
SAE in Kbuild. When this is enabled, WLAN_FEATURE_SAE is used as a
feature flag for SAE.

Change-Id: I6254991afa0fd048d4f0b6f435ff630f1db04077
CRs-Fixed: 2029357
2018-01-19 03:54:43 -08:00
Ryan Hsu
c8b27a4352 qcacld-3.0: Move FTM cmd/event handle to common code
- replace the ftm command/event handle with common interfaces
- remove the event register from wma
- reconfigure the target_if_handle for FTM mode
- separate change will be raised to cleanup legacy code

Change-Id: If8e2dfc4c6bb400406be5d0d3fa53422db5c6fb5
CRs-fixed: 2162168
2018-01-16 18:29:44 -08:00
Himanshu Agarwal
b229a14b67 qcacld-3.0: Add support for Green AP UMAC componentization
Add support for Green AP UMAC componentization.

Change-Id: I4e41ee6c5dfd055c273096c56de4fa253727b429
CRs-Fixed: 2166756
2018-01-12 12:20:09 -08:00
Nachiket Kukade
98f562ab2a qcacld-3.0: Skeleton for DISA component
Create a skeleton for the DISA component. This is a CLD
component. Add files for disa core, dispatcher and
target_if. Define DISA related public structures and
objmgr objects. Add API's as stubs.

Change-Id: I63b32a0e7da0283d091815aaccea6b8703f5184c
CRs-Fixed: 2159579
2018-01-09 13:39:53 -08:00
Sandeep Puligilla
00d2a1f2c6 qcacld-3.0: Add HDD support to spectral scan
Add HDD support to spectral scan vendor commands

Change-Id: Ie58fabfca07077fd1b886eeb63c1a9361030035f
CRs-Fixed: 2165256
2017-12-29 05:28:28 -08:00
Hanumanth Reddy Pothula
07e5f99716 qcacld-3.0: Remove FW memory dump feature
qcacld-2.0 to qcacld-3.0 propagation

FW memory dump feature is no longer used. Hence remove FW memory
dump feature code changes.

Change-Id: Ida655f83630c369df746e7c0c9d61a8fee2932a2
CRs-Fixed: 2140261
2017-12-28 11:54:10 +05:30
Sandeep Puligilla
342d2a6bfc qcacld-3.0: Kbuild changes to enable spectral scan
Add Kbuild changes to build the spectral scan files

Change-Id: Ieeccb322a34ca27642016fec3dc0d7232c7dcf59
CRs-Fixed: 2163445
2017-12-26 17:26:57 -08:00
Amar Singhal
0928b19abe qcacld-3.0: Add sysfs interface for retrieving version information
User-space needs sysfs interface for retrieving version
information for both firmware and driver. Add this new
sysfs interface.

Change-Id: I666aff1868f4d1d954773fae1ae85c1ebd0fdc87
CRs-Fixed: 2153885
2017-12-20 02:26:54 -08:00
Yuanyuan Liu
f45ab3def3 qcacld-3.0: Config driver flags properly when no QMI support
Enable CONFIG_BYPASS_QMI and disable ADRASTEA_SHADOW_REGISTERS when
there's no QMI support in kernel, as shadow registers are configured
by WLAN FW and the configurations are passed through QMI framework.

CRs-Fixed: 2159269
Change-Id: Iaf5b82e37f3983fc18edbcf093b3ebf74d576f71
2017-12-16 01:26:56 -08:00
Srinivas Girigowda
c7a1b0ad16 qcacld-3.0: Remove object files from qca-wifi-host-cmn folder
make clean is not removing the object files in
qca-wifi-host-cmn folder.

CRs-Fixed: 2151813
Change-Id: I56904cdf2154d6bd80aea7fd1bba8d28bd5fe21d
2017-12-12 15:56:38 -08:00
psimha
0b6bb897f3 qcacld-3.0: Add 11AX header flag in Kbuild
Add a new CONFIG_QCA6290_11AX flag to track & enable all 11ax related
header changes.

Change-Id: I265364eafb05c34eea18235a15c5e317716f6ecf
CRs-Fixed: 2124274
2017-12-11 13:56:39 -08:00
Venkata Sharath Chandra Manchala
1240fc7c98 qcacld-3.0: Enable Packetlog for Napier
Add ATH_PKTLOG_LITE_T2H and ATH_PKTLOG_LITE_RX
support for Napier.

Change-Id: I6e2833e2f7e1a4c68c51f7ae83d0ae76f63c9b0f
CRs-Fixed: 2133558
2017-12-09 23:27:07 -08:00
Abhishek Singh
82571c8ec5 qcacld-3.0: Kbuild changes to add new scan files
Kbuild changes to add new scan files, as part of spliting the
filter and bss scoring logic.

Change-Id: Ic239035da1d9cf1478b79c695703b426855eb85f
CRs-Fixed: 2148890
2017-12-06 21:27:07 -08:00
Yun Park
22026c75b7 qcacld-3.0: Enable Metering feature
Enable Data Metering feature in WLAN host driver for SDM845 and SDM670.

Change-Id: If720e40dd299d70b1a6300f56444855ae0f6fc64
CRs-Fixed: 2149525
2017-12-05 07:22:36 -08:00
Will Huang
3cd2b7c566 qcacld-3.0: Enable D0WOW for pcie
Enable FEATURE_WLAN_DOWOW for pcie.
This is for backward compatible with rome fw.

Change-Id: Ia2107ff6939666b4a0bd19d57149d17814f2dfb5
CRs-Fixed: 2070426
2017-11-28 19:39:01 -08:00
Dustin Brown
21a761d385 qcacld-3.0: Enable qdf_debug_domain support
Enable the new resource tracking debug domain feature in the Kbuild.

Change-Id: Icc1170f5a7a4c643289917ce9cf13fe5332cabf5
CRs-Fixed: 2144303
2017-11-22 19:21:26 -08:00
anisha agarwal
188d2549d8 qcacld-3.0: Rename target sdxhedgehog to sdx20
Replace target name sdxhedgehog with sdx20 to maintain
consistency with other components on the same platform.

Change-Id: I257c082c9427f5fb7d699d11924b6bdc1b59f661
CRs-Fixed: 2023531
2017-11-20 04:07:26 -08:00
Dustin Brown
0e769d0284 qcacld-3.0: Include commits since checkout in build tag
Currently, only the Change-Id for HEAD is included in the build tag.
This can be problematic for builds which include hotfixes
(cherry-picks). Include the Change-Ids of every cherry-pick commit since
the last non-cherry-pick commit. This allows developers to quickly
identify the checkout point used to make the build, as well as any
hotfixes applied.

Change-Id: Ibe6259c2e0b46c820e0f1d73a12383e01c10abb8
CRs-Fixed: 2143443
2017-11-14 21:27:45 -08:00
Dustin Brown
96cd9633f1 qcacld-3.0: Include change Ids in build tag
In order to assist in debugging efforts, include both CLD and CMN change
Ids in a build tag. Include the build tag as a part of the driver
version string.

Change-Id: I66d159a1594f71fdf33f3e4b4e6be4840d7e140a
CRs-Fixed: 2142704
2017-11-14 01:42:24 -08:00
Dustin Brown
a2dcb5fb94 qcacld-3.0: Enable QDF cpu hotplug APIs
Enable the new QDF CPU hotplug APIs in Kbuild when CONFIG_SMP is
enabled.

Change-Id: Ib3e1e1fe840f0aae662cd6d32527b174a9c2895c
CRs-Fixed: 2133375
2017-11-07 13:42:37 -08:00
Deepak Dhamdhere
5d7ea2fac9 qcacld-3.0: Add wlan_rome_debug.o to Kbuild
New files are added to qca-wifi-host-cmn project for roam debug
infrastructure. Add the corresponding entry to Kbuild for compilation
of utils/logging/src/wlan_roam_debug.o.

CRs-Fixed: 2135189
Change-Id: I50a3ed760b454ce0de59caec6af7c0b86c556e3e
2017-11-01 14:39:04 -07:00
Kiran Kumar Lokere
e6476b2c02 qcacld-3.0: Add iwpriv support to set HE bss color
Add iwpriv support to set HE bss color in SAP 11AX mode operation

Change-Id: Ib58b93e8a66d9154024e61581885c4a10d737631
CRs-Fixed: 2130322
2017-10-28 03:37:27 -07:00
Orhan K AKYILDIZ
e0d84884a2 qcacld-3.0: Enable TSO segmentation debug for SLUB
Enable TSO segment history collection per TSO segment. This will
allow a better understanding of a rare instance (only 1 instance
so far) where a single TSO segment is detected by memory leak
detection logic.

Change-Id: I7b8277a7307706abdc9a68c8d62fe8c9bcf24513
CRs-Fixed: 2054062
2017-10-25 13:41:11 -07:00
Ashish Kumar Dhanotiya
c0ec623d5f qcacld-3.0: Include WMI_CMD_STRINGS config flag
Include WMI_CMD_STRINGS config flag by default in compilation

Change-Id: If3275ad632efdf639cf7dba3a89b7aff8a955ee7
CRs-Fixed: 2002773
2017-10-24 15:38:29 -07:00
Yun Park
0dad10099d qcacld-3.0: Enable WDI3.0 IPA offload
Enable CONFIG_IPA

Change-Id: I20c6ce30034dd1c66bae32a2b7a891aa04bfa0f4
CRs-Fixed: 2085753
2017-10-23 22:08:34 -07:00
Yun Park
edec48d555 qcacld-3.0: Change to include FW interface file wdi_ipa.h
For WLAN FW-host interface file automation, need to pull in WDI IPA
interface definition file wdi_ipa.h, into WLAN host driver.
This change is to match host dirver MACRO names with wdi_ipa.h.
Enable back CONFIG_IPA_OFFLOAD flag in Kbuild.

Change-Id: I9cd0c3b942c0a7b5e98f589090ae51cc0acf67c2
CRs-Fixed: 2085741
2017-10-23 20:24:00 -07:00
Yun Park
657c7d7a02 qcacld-3.0: WLAN host changes for SDM845
1. To allow WLAN IPA module built for Napali msm-4.9, add to set
   CONFIG_IPA_OFFLOAD build flag 1 when CONFIG_IPA3 is defined
2. Reduce HDD_IPA_MAX_IFACE to 2
3. Rename WDI structure variable num_bam_int_in_non_running_state,
   which is corrected in msm-4.9

Change-Id: I0a58ada19177ab4127e0b4f2e14240c683613192
CRs-Fixed: 2057936
2017-10-23 20:23:58 -07:00
Wu Gao
aa5e3f7476 qcacld-3.0: Remove legacy P2P codes in SAP
To reduce code size, remove legacy P2P codes in SAP layer. Remove
P2P files from Kbuild.

Change-Id: I83a704d3f03e9cb9e6a7420f32d609a323799a12
CRs-Fixed: 2111575
2017-10-18 23:50:55 -07:00
SaidiReddy Yenuga
744073fd06 qcacld-3.0: Fix wlan module loading issue
As part of configure default filters over suspend code
changes wlan module loading broken.

Fix the loading issue by adding the newly added files
to Kbuild.

CRs-Fixed: 2017259
Change-Id: Ib33efa8f7f5e2ca8d9734181df94f70557e9f9cd
2017-10-17 05:05:26 -07:00
Poddar, Siddarth
348727860d qcacld-3.0: Add new data stall detection module in hdd
Add data stall detection module in hdd which handles data
stall reported by host or fw and take necessary recovery
steps based on the data stall type.

Change-Id: Idf6c43f55d1bc115a0c06b4c6ef766ff3ed09bee
CRs-Fixed: 2090643
2017-10-06 12:27:29 -07:00
Frank Liu
1b8212057d qcacld-3.0: TDLS: remove legacy event process
Clear up the tdls legacy tdls firmware events and
implicit tdls discovery request process.

Change-Id: I2e2380b1789cce7841ff0be4120184d1bce0b7e7
CRs-Fixed: 2105075
2017-09-28 09:39:45 -07:00