Commit Graph

32 Commits

Author SHA1 Message Date
Nirav Shah
fd307befce qcacld-3.0: Enable CONFIG_CP_STATS for Genoa
Enable CONFIG_CP_STATS for Genoa.

Change-Id: Ie742546ca1e0eeb83aa5f4f53c46b275808ad51b
CRs-Fixed: 2442590
2019-05-01 10:18:19 -07:00
Tiger Yu
8b119e9b61 qcacld-3.0: Use WLAN_FEATURE_DP_BUS_BANDWIDTH instead of MSM_PLATFORM
Use WLAN_FEATURE_DP_BUS_BANDWIDTH to instead of MSM_PLATFORM for better
reading.

Change-Id: Iaed4f77b09b80ca8872a69c832491598db021232
CRs-Fixed: 2423299
2019-04-18 02:33:09 -07:00
Sandeep Puligilla
2c8d6217c9 qcacld-3.0: Enable VDEV manager on genoa platform
Enable VDEV manager on genoa platform.

Change-Id: Ifd037902c7b47ce17edfec5544b74108e3f54a13
CRs-Fixed: 2433803
2019-04-16 02:50:11 -07:00
nakul kachhwaha
8b6c2315e3 qcacld-3.0: Enable CONFIG_HOST_OPCLASS for genoa
Enable CONFIG_HOST_OPCLASS to include supported
operating class feature in host driver for genoa.

Change-Id: I44d6a3aa7c1c3372186532f7ff1f4353aba41350
CRs-Fixed: 2429681
2019-04-12 02:56:22 -07:00
bings
2f0f9f056e qcacld-3.0: Replace CONFIG_MCL_REGDB with CONFIG_REG_CLIENT
Do not use MCL in the macro. Use feature name to define macro.

This is for CONFIG_MCL_REGDB cleanup.

Change-Id: I12af832d81815277ec6014ff5047bf960f01534a
CRs-Fixed: 2411995
2019-03-12 00:56:11 -07:00
Jeff Johnson
2de587987d qcacld-3.0: Replace CONVERGED_TDLS_ENABLE feature flag
The CONVERGED_TDLS_ENABLE feature flag was originally introduced when
the TDLS feature was being componentized so that one could select
either the legacy implementation or the componentized implementation.
That componentization activity has concluded and the legacy
implementation no longer exists. To align with the current usage
switch to exclusively using the FEATURE_WLAN_TDLS feature flag since
that more accurately describes the code being protected.

Change-Id: I2cdb4c6ddba22c5b1d29e87403e5e1c87ce5cbfe
CRs-Fixed: 2395728
2019-02-20 09:09:34 -08:00
Dustin Brown
a19834ba8b qcacld-3.0: Add max vdev/pdev/psoc build config options
To reduce hard coding in the driver, add the following build config
options with defaults to the Kbuild:
 * CONFIG_WLAN_MAX_PSOCS
 * CONFIG_WLAN_MAX_PDEVS
 * CONFIG_WLAN_MAX_VDEVS (supercedes CONFIG_SIR_MAX_SUPPORTED_BSS)
 * CONFIG_WLAN_PSOC_MAX_VDEVS
 * CONFIG_WLAN_PDEV_MAX_VDEVS

Change-Id: I14fce4bf34eb511214ad0b31be72336a2620b960
CRs-Fixed: 2393150
2019-02-04 23:21:01 -08:00
Nachiket Kukade
2fb1fdb1ac qcacld-3.0: Combine all NAN related flags with WLAN_FEATURE_NAN
Flag WLAN_FEATURE_NAN_DATAPATH was added to protect NAN Datapath
related code, while WLAN_FEATURE_NAN_CONVERGENCE was added to
protect the converged code inside NAN Component. Since the
original NAN Discovery related code has now been moved inside
NAN component and NAN Datapath cannot exist without NAN Discovery,
keeping these flags separate doesn't make sense. Combine these
two flags with WLAN_FEATURE_NAN flag which is the original NAN
feature flag.

As a cleanup of NAN code, combine all NAN related flags with
WLAN_FEATURE_NAN flag.

Change-Id: If98ecaace17f8724e9c28325ef61e721f42e1d8f
CRs-Fixed: 2377375
2019-02-04 10:44:30 -08:00
Harprit Chhabada
253e36ad50 qcacld-3.0: Modify Kbuild to add new beacon header file
In wmi new file, wmi_unified_bcn_api.c is added.
Add this file in Kbuild.

Change-Id: I4fdbf041b53b5f1606d324714f01088742a9307f
CRs-Fixed: 2366772
2018-12-26 20:27:24 -08:00
Rachit Kankane
2a3fd3981a qcacld-3.0: Enable FT_IEEE8021X and FT_PSK for Genoa
Enable FEATURE_WLAN_FT_IEEE8021X and FEATURE_WLAN_FT_PSK for Genoa as
targeted kernel version is 4.4.

Change-Id: I599be887b0021e7f53622c840dc76d5e3b47376a
CRs-Fixed: 2359886
2018-12-26 07:47:30 -08:00
Anjaneedevi Kapparapu
c285e926bd qcacld-3.0: disable CONFIG_CRYPTO_COMPONENT for Genoa
This reverts Ieef727e49cedd3e95fabd14f47591ce0006a82d4

Change-Id: I6e217104db158e2fb8538158195458d28034fa3a
CRs-Fixed: 2358016
2018-12-18 00:07:42 -08:00
Ajit Pal Singh
721004499c qcacld-3.0: genoa: Add config for max beaconing entities
Add config option for max beaconing entities for Genoa.

Change-Id: I4b38911b3a0e4a032baa9d101c21e4f400fac755
CRs-Fixed: 2360873
2018-12-07 04:28:10 -08:00
Rachit Kankane
15d9dcd10a qcacld-3.0: Enable CONFIG_CRYPTO_COMPONENT for Genoa
Enable CONFIG_CRYPTO_COMPONENT for Genoa

Change-Id: Ieef727e49cedd3e95fabd14f47591ce0006a82d4
CRs-Fixed: 2357952
2018-11-30 03:40:30 -08:00
Nirav Shah
fd85890917 qcacld-3.0: Enable FTM for Genoa debug build
Enable FTM for Genoa debug build.

Change-Id: If4ae643521e1afd87472ff4988ace19d8b3c47dd
CRs-Fixed: 2338695
2018-10-28 23:27:02 -07:00
Qiwei Cai
dcb73b0132 qcacld-3.0: Featurize MCL only WMI APIs
Featurize MCL only WMI APIs by compiling them as a separate source.
It enables profiles/configs to selectively compile the WMI APIs
based on whether the feature is required or not.
Featurize WMI APIs and TLVs that are specific to MCL -
- DSRC
- NAN
- P2P
- PMO
- roaming
- concurrency
- STA
- Generic MCL specific WMI (STA)

Change-Id: I3b005b8f60491c7d27cf221b7505116e1b9c1a38
CRs-Fixed: 2333916
2018-10-16 13:40:16 -07:00
Liangwei Dong
2fce71693c qcacld-3.0: Add 11d host scan build config
Add build flags CONFIG_HOST_11D_SCAN
to enable 11d host scan.

Change-Id: I8888a5f8df7645760fa9c31fcb8a3a191da37a9c
CRs-Fixed: 2314832
2018-10-09 04:05:11 -07:00
Rakshith Suresh Patkar
d9f4e610c6 qcacld-3.0: Enable wbuff module
wbuff is a module which maintains a pre-allocated pool of
skbs for each registered module and allocates skbs when
requested.

Change-Id: Ia4d13479d8a1342227a2ecbaf29cc7a89bc5e30b
CRs-Fixed: 2313446
2018-09-14 23:14:48 -07:00
Qiwei Cai
ba95ce632f qcacld-3.0: Featurize BUILD_DIAG_VERSION
Featurize BUILD_DIAG_VERSION to compile out to save memory.

Change-Id: Ib6b6c8d197556a9457e600dd5e802f7e50f6242d
CRs-Fixed: 2301487
2018-09-11 08:44:03 -07:00
Rachit Kankane
b57ea618f2 qcacld-3.0: Allocate DFS buffers dynamically
Disable WLAN_DFS_STATIC_MEM_ALLOC for Genoa

Change-Id: Ie035c9f327dccbe4c2cc10f2354d1b23c7890675
CRs-Fixed: 2312050
2018-09-10 23:51:47 -07:00
Qiwei Cai
36bd9ded7b qcacld-3.0: Disable CCX for genoa to save memory
Disable feature CONFIG_QCOM_ESE (CCX) in genoa
config file to save memory.

Change-Id: I2a00be3f9baf976a132f5aaa051e0e7b0935f50c
CRs-Fixed: 2307614
2018-09-10 04:25:21 -07:00
Rachit Kankane
1de679d3dc qcacld-3.0: Disable P2P_LISTEN_OFFLOAD for Genoa
Disable CONFIG_FEATURE_P2P_LISTEN_OFFLOAD for genoa

Change-Id: I9afeb16d7167bcc7f491ac9d79d383cb6c1ee077
CRs-Fixed: 2310201
2018-09-06 20:34:20 -07:00
Rachit Kankane
026e77a99d qcacld-3.0: Featurize P2P Listen Offload
P2P Listen offload is not a requirement for Genoa, hence featurize
P2P listen offload code to save memory foot-print for Genoa.

Change-Id: If50c784bb4cd6daac513a0654364e78cd636c9d3
CRs-Fixed: 2304554
2018-09-06 01:41:49 -07:00
Rachit Kankane
ee1735c905 qcacld-3.0: Featurize RMC
Featurize RMC and disable for Genoa

Change-Id: I66b17622c89dd5736f152c4cd9506ce2706b4604
CRs-Fixed: 2304269
2018-09-05 00:17:52 -07:00
Rachit Kankane
f6834c4b4c qcacld-3.0: Featurize Dynamic Voltage Config
Host provides INI way to control voltage configs, featurizing the
same for Genoa.

Change-Id: Ia58d84eb2e2a67ead189a51d2a0b98230513f8f9
CRs-Fixed: 2304125
2018-09-05 00:17:45 -07:00
Qiwei Cai
50a2108ab3 qcacld-3.0: Allocate g_dph_node_array dynamically
Allocate g_dph_node_array dynamically to reduce build size.

Change-Id: Iffd9c2e205f9ee6b5365ab2e326198677fa57de2
CRs-Fixed: 2290501
2018-08-15 01:17:38 -07:00
Qiwei Cai
e689a26cd8 qcacld-3.0: Featurize some vendor commands
Featurize some vendor commands to compile out when not needed.

Change-Id: I6757b5764930efbd9cd1c7ab74e5990e96267421
CRs-Fixed: 2270461
2018-08-13 23:15:17 -07:00
Jeff Johnson
fcc29d4133 qcacld-3.0: Add SARV1 to SARV2 feature flag
Add SARV1 to SARV2 feature flag.

CRs-Fixed: 2282071
Change-Id: Iaaf449a222bf999a1d9227bde030a30cc84d18e0
2018-07-31 12:58:49 -07:00
Rachit Kankane
154559caad qcacld-3.0: Reduce MAX_BBS and MAX_PEERs for Genoa
Max 3 BSS sessions and 10 peers are required in Genoa.
To support this, reduce SIR_MAX_SUPPORTED_BSS to 3 and
SIR_SAP_MAX_NUM_PEERS to 10.

Change-Id: Ic773b5b38193d446288321c2dfd740f6de57704e
CRs-Fixed: 2283825
2018-07-25 09:40:43 -07:00
Qiwei Cai
a01a96291f qcacld-3.0: Featurize wlan BMI
Featurize wlan BMI to compile out when not needed.

Change-Id: I4ea1e34ee4299840cf7a601396c4dba7af415623
CRs-Fixed: 2258614
2018-07-12 12:34:43 -07:00
Rachit Kankane
f3f4068f01 qcacld-3.0: Disbale WLAN_CONV_SPECTRAL_ENABLE
Disable WLAN_CONV_SPECTRAL_ENABLE for Genoa

Change-Id: Iadbb9f2a84b11e422fa919838e31a1f57c519f6e
CRs-Fixed: 2276680
2018-07-11 23:36:22 -07:00
jsreekum
ac44b92ac6 qcacld-3.0: Add default target configs for Genoa
Add Genoa specific default target configurations for
offload configs, max tx pattern config and max sta
vdev config

Change-Id: Id682b1103d87021e207de335721805515db6a932
CRs-Fixed: 2258999
2018-07-09 08:31:10 -07:00
Rachit Kankane
74dc5b8b11 qcacld-3.0: Enable genoa features
Enable features for genoa, create new file genoa.common
where we added list of common features and then include
this common file in all other genoa defconfig variants.

Change-Id: I50a1f4f95a96ce2e489002131b5cc9215c17a0ae
CRs-Fixed: 2272740
2018-07-06 01:45:58 -07:00