Commit Graph

161 Commits

Author SHA1 Message Date
Naveen Rawat
6d2bf187b2 qcacld-3.0: Kbuild changes to include NAN component
Add changes in Kbuild to include NAN component files.

Change-Id: Ibe8a3ddab6a9a5a6e33a17319b89abe9915c0759
CRs-Fixed: 2014795
2017-04-06 08:52:09 -07:00
Yue Ma
2b09131260 qcacld-3.0: Enable to complie runtime PM feature
Currently the feature flag is enabled at a wrong place since CDEFINES
will be reset later. Move it to the correct place in order to compile
the feature by default. To enable this feature, the corresponding ini
configs need to be set properly.

Change-Id: I22e3c3ac7c81c12700bfa6bb78cc84c20e3e331f
CRs-fixed: 2023358
2017-03-31 21:18:13 -07:00
Tushnim Bhattacharyya
e2ee70a6b6 qcacld-3.0: Remove legacy code for policy manager restructuring
Remove legacy policy manager code as part of policy manager moving to host
common.

Change-Id: I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de
CRs-Fixed: 2009818
2017-03-30 16:26:34 -07:00
Dhanashri Atre
2f507a7d5a qcacld-3.0: Enable Hash Based RX Steering
Enable Hash Based RX Steering on Lithium (Napier).

Change-Id: I9dcc5ff0fb3342ac29b0af1f7ff2748f7b4c9b50
CRs-Fixed: 2022770
2017-03-30 15:39:10 -07:00
Sandeep Puligilla
1fcdb7744b qcacld-3.0: Changes to support converged scan component
Changes to support converged scan component.

Change-Id: Ic91a437bcb0b3b0ca4dd6d4fe86fcc86f24dc15f
CRs-Fixed: 2013212
2017-03-29 12:29:20 -07:00
Ravi Joshi
1c2cfb6135 qcacld-3.0: Add new files for supporting rx monitor mode
Add new files for supporting rx monitor mode on lithium
architecture.

Change-Id: I39ba7495a1a635a01ce349ac4a126737bf36775c
CRs-Fixed: 1113187
2017-03-29 12:29:13 -07:00
Ravi Joshi
12665a02c8 qcacld-3.0: Enable monitor mode support in datapath
Enable monitor mode support in lithium datapath.

Change-Id: I9069b69bda269e019841c2c34c4e2d1be235fb18
CRs-Fixed: 1113187
2017-03-29 12:29:11 -07:00
Kiran Kumar Lokere
3fbafbcdcc qcacld-3.0: Regulatory componentization support changes
Add Regulatory component support changes

Change-Id: Id9521810a29073e0a5586bd75441f4decd57bdfc
CRs-Fixed: 2008013
2017-03-28 13:01:17 -07:00
Naveen Rawat
91a27b7a44 qcacld-3.0: Enable WIFI_POS component from Kbuild
Change Kbuild to compile in new WIFI_POS component and
route all WIFI_POS OEM request to new component.

Change-Id: Ib0980348d6e50e27de0b5ad859ac378bf983b665
CRs-Fixed: 2003488
2017-03-22 10:58:49 -07:00
Krishna Kumaar Natarajan
4f1d7724a8 qcacld-3.0: [11AX] Add dot11mode changes to support 11ax
Add new dot11mode and update the utility functions to derive
the dot11mode based on the userspace config, INI config and
FW capability.

Change-Id: I5780120ef7bc2b78fd596e937fe14a2c8ad88348
CRs-Fixed: 1073481
2017-03-22 09:09:29 -07:00
Wu Gao
5491e524d1 qcacld-3.0: Change WLAN_P2P_ENABLE to CONVERGED_P2P_ENABLE
Change it since WLAN_P2P_ENABLE easily confused with existed macro
WLAN_FEATURE_P2P. This is the change in Kbuild.

Change-Id: I571cb4c6e8e2b2d185811e1103a8990eb9d4b01d
CRs-Fixed: 2021997
2017-03-21 02:16:04 -07:00
Naveen Rawat
4e2c25682f qcacld-3.0: Kbuild changes to include WIFI POS src files
Add WIFI POS source files path to Kbuild and add compile time feature
macro.

Change-Id: I553ebe10581851f77afa9458de2f43728f527156
CRs-Fixed: 2003488
2017-03-20 23:56:56 -07:00
Krishna Kumaar Natarajan
ed1efd9653 qcacld-3.0: [11AX] Add support in HDD to update HE Capabilities
Add support in HDD to update 11ax - High Efficiency(HE) Capabilities
received as part of the target configuration.

Add support for new WNI_CFG global config parameters to be
used for implementing 11AX standard.

Change-Id: I3f0d3af2369157c657ac59676a434dc794f84b19
CRs-Fixed: 1073481
2017-03-18 16:00:05 -07:00
Krishna Kumaar Natarajan
d0bbb3c52f qcacld-3.0: [11AX] Add support in WMA to receive HE Capabilities
Add support in WMA to receive and store HE capabilities coming
from extended service ready event.

Add support to receive HE capabilities, convert into OTA type of
internal host structure and pass it to the uppper layer as target
config. Add utility funciton for the conversion as well.

Change-Id: If0ceeb3db74be6cf6893b8e74c710863bab8b41b
CRs-Fixed: 1073481
2017-03-18 16:00:03 -07:00
Krishna Kumaar Natarajan
639c6ffd72 qcacld-3.0: [11AX] Add feature flag for 11AX
Add feature flag for 11AX and enable the feature only for
QCA6290 chipset.

Change-Id: I342601304f73b68f39a1cd1a3d6c890df877e88e
CRs-Fixed: 1073481
2017-03-18 15:59:57 -07:00
Tushnim Bhattacharyya
026fc2de84 qcacld-3.0: Add WLAN_POLICY_MGR_ENABLE in build file
Add WLAN_POLICY_MGR_ENABLE in build file to conditionally enable
Policy Manager code in host common

Change-Id: I879b6a223bed5d77d20a878667308aeb1071e609
CRs-Fixed: 2009818
2017-03-17 16:58:02 -07:00
Wu Gao
64b3148ed6 qcacld-3.0: P2P kbuild change
This is a change for kbuild of P2P component.

Change-Id: Ice39e550429751b85fa3963490c5d2a145dac965
CRs-Fixed: 2006255
2017-03-17 04:19:14 -07:00
Ashish Kumar Dhanotiya
5e6cfc0f86 qcacld-3.0: Enable GreenAp feature in Kbuild
GreenAp is not enabled in Kbuild.

Enable GreenAp feature in Kbuild.

Change-Id: Ia3ea7055de12361d37c6a0de1fca3db7087d3489
CRs-Fixed: 2019921
2017-03-16 08:33:24 -07:00
Selvaraj, Sridhar
046d77d673 qcacld-3.0: Add support to use generic netlink sockets for userspace apps
Currently user space communication functions[cnss diag, PTT socket app]
in host driver uses netlink user sockets which is a security concern from
Linux Android SE policies.

Add support for to use netlink family cld80211 which uses generic
netlink sockets.

Change-Id: I4ea49ac6d7c9381212c93567fdc40f90e04dfba4
CRs-Fixed: 1112784
2017-03-14 00:13:31 -07:00
Yu Wang
1f69b14c04 qcacld-3.0: correct dependency for QCA_CONFIG_SMP
QCA_CONFIG_SMP should only depend on CONFIG_SMP
Remove other incorrect dependencies.

Change-Id: I6eeba9e98bd7b3cfcce8457f0385da155c6a6e71
CRs-Fixed: 2017603
2017-03-13 00:37:05 -07:00
bings
7762da1a12 qcacld-3.0: Enable missed WLAN macro definitions on sdxhedgehog platform
qcacld-2.0 to qcacld-3.0 propagation

Some WLAN driver feature enabling macros are missing on sdxhedgehog
platform, enabling them in Kbuild file to make sure the driver's
behaviors are the same as on mdm9x50

Change-Id: I018e98dea60c7c73ad119394a1016ef592c6552a
CRs-Fixed: 2014423
2017-03-10 20:27:05 -08:00
Abhishek Singh
310503cd0c qcacld-3.0: Add kbuild changes to add scan cfg80211 and target files
Add kbuild changes to add scan cfg80211 and target if files.

Change-Id: I0bd748bb957dc9bf79904585b346e92a2b7f4a7c
CRs-Fixed: 2013212
2017-03-08 14:27:32 -08:00
Mukul Sharma
4c60a7ea5b qcacld-3.0: Add Suspend and Resume support in PMO
Add Suspend and Resume support in PMO.

Change-Id: Iba16643adf1cbd997138c740345e40c00c8e81f6
Crs-Fixed: 2015366
2017-03-08 13:00:46 -08:00
Abhishek Singh
8dfbd69c30 qcacld-3.0: Add kbuild changes for common scan component
Add kbuild changes to include scan common project files.

Change-Id: I6cc481097fb621db4f0f412101d07f140804052c
CRs-Fixed: 2013212
2017-03-07 10:49:52 -08:00
Himanshu Agarwal
18d6b8c19b qcacld-3.0: Replace HELIUMPLUS_PADDR64 with HELIUMPLUS
Replace HELIUMPLUS_PADDR64 preprocessor macro with already
existing preprocessor macro HELIUMPLUS.

Change-Id: I4f109fc939e12323565bc05c89cc51dff3f3a7f3
CRs-Fixed: 2006551
2017-03-05 21:26:23 -08:00
Tushnim Bhattacharyya
44939d41fe qcacld-3.0: build file change for policy manager restructuring
Move Policy Manager code to host common

CRs-Fixed: 2009818
Change-Id: Ia69683368f5eee638dcc6f19df9195edb9930130
2017-03-03 13:12:51 -08:00
Yu Wang
66e4ff2fe1 qcacld-3.0: Update prefix for multi-interface with chip name
1. The paths for driver to get ini and fw files
   are incorrect for QCA SDIO chip on Dual-WiFi
   platforms, with wrong prefix or no prefix.
   Correct prefix for ini file, from '<mod_name>'
   to '<chip_name>/'; add prefix '<chip_name>/'
   for fw files.

2. For QCA9377, there is a special cnss API for getting
   fw names, it's cnss_get_qca9377_fw_files().
   Use the right cnss API to get fw files for QCA9377

Change-Id: Ia7616153b6823e9550703e649c7fc21ab306ca07
CRs-Fixed: 2008217
2017-03-02 19:58:56 -08:00
Ravi Joshi
d55b18a8bd qcacld-3.0: Fix wlan_cfg header file inclusion issue
wlan_cfg.h header file was not getting included due to error in the
wlan_cfg path.

Change-Id: I97d706f1c35475e4da4be3d181f2d6c215b531cc
CRs-Fixed: 2005582
2017-03-01 19:01:57 -08:00
Varun Reddy Yeturu
35c07f93a6 qcacld-3.0: Changes to compile renamed files
Make changes to support compilation for the files that have
been renamed. Rename the files from wlan_serialization_legacy_mcl_api
to wlan_serialization_legacy_api to keep it more appropriate.

Change-Id: Id219a9f3e00bef0ed85408539b33d54462bf91b5
CRs-Fixed: 2012863
2017-03-01 16:47:29 -08:00
Mukul Sharma
0cdf8b3ba3 qcacld-3.0: Update Kbuild to suppport PMO functionality in target interface
Update Kbuild to suppport target interface PMO functionality.

Change-Id: I768ba97a738226046510807954b26e722d828111
CRs-Fixed: 2002387
2017-02-28 16:21:45 -08:00
Mukul Sharma
c5de677a6e qcacld-3.0: Enable power manager offload (PMO) in kbuild
Include pmo source and includes files in Kbuild.

Change-Id: I2c636ad080a242183ed70d6ead146dd1efd6b6ec
CRs-Fixed: 2002629
2017-02-28 16:21:34 -08:00
Abhishek Singh
9be07e2ee7 qcacld-3.0: Add Kbuild changes to include converged scan files
Add changes to include converged scan APIs and definitions

Change-Id: I715b3c217d60f45ef621e56f683d6ca855c4b684
CRs-Fixed: 1095299
2017-02-27 22:49:46 -08:00
Ravi Joshi
fa5536fad9 qcacld-3.0: Enable per-PDEV Tx descriptor pool
Napier uses per-PDEV Tx descriptor pool until per-VDEV descriptor
pools are introduced.

Change-Id: I6887d07046045b12e6f3983793eb66ae16f63772
CRs-Fixed: 2005582
2017-02-27 15:05:41 -08:00
Krunal Soni
6ca248aaba qcacld-3.0: Add new legacy serialization file in Kbuild
There is new legacy serialization MCL file added to serialization
module which needs to be compiled for MCL platform and needed to
add reference in SME  module.

CRs-Fixed: 2005532
Change-Id: Id946a62f6e0dec4531deccc83dae6373d396a91a
2017-02-26 02:07:47 -08:00
Rajeev Kumar
b32b8a97f0 qcacld-3.0: Add Kbuild changes to store (ext)service ready in PSOC
Add Kbuild changes to store service ready data in PSOC object.

Change-Id: I7192aea299f2ece8fff5eadd88a775791442283e
CRs-fixed: 2001240
2017-02-23 18:10:20 -08:00
Sandeep Puligilla
fdd201e5b5 qcacld-3.0: Initialize os private structure in pdev object
-Initialize and free os private structure in pdev object
-Move vendor command definition to common project.

Change-Id: I9b8501d042afe1c967bfbfef81c01c0382a67531
CRs-Fixed: 2002991
2017-02-23 03:07:00 -08:00
Mukul Sharma
dad267ec7d qcacld-3.0: Add global_lmac_if support for components
Add global_lmac_if support for components.

Change-Id: I914447dccb1e005e25378d69ace02f06b9b5112b
CRs-Fixed: 2002384
2017-02-22 11:54:05 -08:00
Rajeev Kumar
da2444cda4 qcacld-3.0: Add WMA changes for WMI (ext)service ready convergence
Add WMA changes for WMI (ext)service ready event common parsing
to populate common psoc object with service ready data such that
new components can get service ready data from common psoc object.

Change-Id: I5bc42a7534aebd6877fc02378b2e698d2d021383
CRs-Fixed: 1110768
2017-02-21 22:33:13 -08:00
Ankit Gupta
764d6a928f Revert "qcacld-3.0: Enable lock stats features with CONFIG_SLUB_DEBUG_ON"
This reverts the commit for enabling lock stats feature
with CONFIG_SLUB_DEBUG_ON.

Change-Id: I80df6bb1661c851bda4c0a31c87475d1f2751640
CRs-Fixed: 2009630
2017-02-21 22:33:05 -08:00
Yu Wang
c8a6c49c47 qcacld-3.0: correct the path for qca-wifi-host-cmn in Kbuild
From qcacld30-hl_git.bb/qcacld30-ll_git.bb, qca-wifi-host-cmn
is in the same directory with qcacld-3.0(<src_root>/wlan/),
so correct the path for it in Kbuild.

Change-Id: I5c552d2f89cd7b6832c37d6785cfc5a0d00c795d
CRs-Fixed: 2005755
2017-02-19 20:06:41 -08:00
Varun Reddy Yeturu
269eca1e34 qcacld-3.0: Enable compilation for Serialization
Define and enable the compile time flags for the
UMAC convergence serialization component

Change-Id: Idf4eede72f7316e9f5c14dd61a98ef7045096316
CRs-Fixed: 2000032
2017-02-18 18:55:22 -08:00
Srinivas Girigowda
c1bb1bdcda qcacld-3.0: Move core\utils directory and files to qcacmn
As a part of UMAC convergence, move the core\utils logging
to qcacmn.

Change-Id: I5c17d35e2504c35f00c21755e36d8c9851165547
CRs-Fixed: 1109855
2017-02-17 22:13:13 -08:00
Jeff Johnson
a2d9bb372c qcacld-3.0: Enable HDD Request Manager
The HDD Request Manager is ready for production use, so add it
to the Kbuild.

Change-Id: I4e598e51983475318bc668e786aca690a934bd6c
CRs-Fixed: 2005299
2017-02-16 20:32:33 -08:00
Rajeev Kumar
69d7d490ab qcacld-3.0: Enable object manager reference count debug feature
Object manager provides reference count infrastructure for all 4
common objects: psoc, pdev, vdev and peer. Reference count APIs
provide protection from use after free scenarios by making sure
reference counted object is not freed prematurely while its still
in use. Reference count usage requires certain set of disciplines
from components for example:
1) A component 'C' is responsible for all its reference count
2) A component 'B' can't release reference count of a common object
   taken by component 'A'
3) A component can't release a reference count which it has not
   taken.

Enable reference count debug infrastructure such that wrong APIs
usage can be detected and fixed properly.

Change-Id: I7a5b92fe00a060eee15b74572d2624197b331894
CRs-Fixed: 2006322
2017-02-15 23:56:27 -08:00
Tang Yingying
4c0e83ee98 qcacld-3.0: Disable LRO feature when linux kernel version < 4.4
Currently kernel LRO API is only provided in version 4.4. There will
be compilation error if kernel version < 4.4. Add fix to disable
LRO feature when linux kernel version < 4.4.

Change-Id: I69198e55bb3c4ee7c5844e2b7b55e12cb8075d7c
CRs-Fixed: 1112463
2017-02-15 19:11:21 -08:00
Yu Wang
58e1cad939 qcacld-3.0: fix compilation errors for HL target on MDM
1. sdio related source files are not included due to
   CONFIG_HIF_SDIO is not enabled.
   Enabled CONFIG_HIF_SDIO if CONFIG_ROME_IF is sdio.

2. Paramters for nl_srv_init/nl_srv_exit are incorrect
   if MULTI_IF_NAME is defined.
   Correct the parameters, to align with the prototype.

Change-Id: I4e395e07b12e3b1904cabfa4a40fa10845d8e735
CRs-Fixed: 2004368
2017-02-14 16:28:18 -08:00
Rajeev Kumar
fe98146f84 qcacld-3.0: Remove obsolete NAPIER_CODE feature flag
NAPIER_CODE feature flag is no longer needed and hence
remove it.

Change-Id: Ide612ca55722d8defbee6d37a81ad55ffd0fba5f
CRs-Fixed: 2006308
2017-02-14 14:38:12 -08:00
Houston Hoffman
d4ba43143b qcacld-3.0: Enable lock stats features with CONFIG_SLUB_DEBUG_ON
Enable lock stats feature in non perf mode builds.

Change-Id: I088e216cea64293d206c8a780072d2b53f2c6173
CRs-Fixed: 2004702
2017-02-10 18:10:46 -08:00
Houston Hoffman
06fd5662b2 qcacld-3.0: define CONFIG_SHADOW_V2
Define CONFIG_SHADOW_V2 to continue using shadow
registers for QCA6290.

Change-Id: I342759910950489c53f69874a6e70f371ae04bca
CRs-Fixed: 2004391
2017-02-10 18:10:44 -08:00
Jeff Johnson
b90ab57f0c qcacld-3.0: Fix Kbuild path for wma_ocb.o
When CONFIG_WLAN_FEATURE_DSRC is enabled the resulting build fails
because there is no rule to make wma_ocb.o. The issue is that there is
a typo in the rule, so fix the rule.

Change-Id: I1b724736fcac175b9bf83e4a98878e1333a54b57
CRs-Fixed: 2002874
2017-02-09 15:50:20 -08:00