Commit Graph

32 Commits

Author SHA1 Message Date
Jianmin Zhu
0c14affc10 qcacld-3.0: Enable scatter gather feature for Rome
Enable the scatter gather feature for Rome to improve
the TCP TX throughput.

Change-Id: I650b91e36b8ad1c730c9214c0e3613f32dd3ad76
CRs-Fixed: 2741133
2020-08-18 05:44:20 -07:00
Jingxiang Ge
610b6ef7e0 qcacld-3.0: Disable CONFIG_EXT_WOW feature
ext-wow feature never supported/tested on MCC, and there
is no known customer using this feature, so compile it out.

Change-Id: I3c79ebecd5b2a44cfa9339748bf8e94f596e71bd
CRs-Fixed: 2680331
2020-06-25 03:49:34 -07:00
Rajesh Chauhan
bc611919e0 Revert "qcacld-3.0: Use IS_ENABLED for the definition of kernel module"
This reverts Change-Id: Iaf86c9da2a9946aac09867b5c46dcc79f1b5c37e.
That change fails build for GKI variant.

Change-Id: I6cd7322870023d245fe9d20250ceb0b5d738d214
CRs-Fixed: 2701642
2020-06-06 19:06:09 -07:00
Vevek Venkatesan
dd91edd508 qcacld-3.0: Use IS_ENABLED for the definition of kernel module
Add support and use IS_ENABLED in code, if CONFIG_IPA3 config as
loadable kernel module.

Change-Id: Iaf86c9da2a9946aac09867b5c46dcc79f1b5c37e
CRs-Fixed: 2701642
2020-06-05 06:25:38 -07:00
Will Huang
e5e99d45aa qcacld-3.0: Enable 11d feature for AUTO
To enable 11d feature, CONFIG_TARGET_11D_SCAN should be configured
independent of host 11d scan or target 11d scan.

Change-Id: Ieb5b3ff4217682fcc887aaaa1a22ec23cee33109
CRs-Fixed: 2679788
2020-05-20 04:51:34 -07:00
Utkarsh Bhatnagar
b0bf5ddb1b qcacld-3.0: Removed FEATURE_WLAN_RMC feature
Removed all the API realted to  FEATURE_WLAN_RMC
as well as related SME/WMA code.

Change-Id: Id471ccabcfd183fbcc7ff4e4953991f9e1551526
CRs-Fixed: 2686364
2020-05-14 17:49:11 -07:00
Jeff Johnson
b74a841d1c qcacld-3.0: Conditionally enable WEXT support
Currently CONFIG_WLAN_WEXT_SUPPORT_ENABLE is unconditionally enabled
in many defconfigs, including the default defconfig, but this leads to
build failures when WEXT is not configured in the Kernel. So update
the defconfigs to enable CONFIG_WLAN_WEXT_SUPPORT_ENABLE only when
CONFIG_WIRELESS_EXT is enabled in the Kernel.

Change-Id: Iecfd4e899c2b09c489547dd1a8ff70f71983853f
CRs-Fixed: 2620792
2020-03-10 02:01:20 -07:00
Jianmin Zhu
e986417f5a qcacld-3.0: Unknown symbol wlan_set_vdev_crypto_prarams_from_ie
Fix insmod Genoa wlan module failure for:
wlan: Unknown symbol wlan_set_vdev_crypto_prarams_from_ie.

wlan_set_vdev_crypto_prarams_from_ie is defined in
wlan_crypto_global_api.c

UMAC_CRYPTO_OBJS := $(UMAC_CRYPTO_CORE_DIR)/
wlan_crypto_global_api.o \

ifeq ($(CONFIG_CRYPTO_COMPONENT), y)
OBJS +=		$(UMAC_CRYPTO_OBJS)
endif

The crypto component is always required after convergence
between WIN/MCC, hence just unconditonally set
CONFIG_CRYPTO_COMPONENT := y in Kbuild.
Remove CONFIG_CRYPTO_COMPONENT := y in defconfig of each wifi
chip: default_defconfig, qca6174_defconfig, qca6390_defconfig.

Change-Id: Id0abe80673d59d9274401f1304b5ce1d906624eb
CRs-Fixed: 2596124
2020-01-08 15:46:44 -08:00
Yu Ouyang
b08f9f47b7 qcacld-3.0: Enable WPA3 SAE feature for ROME SDIO
Enalbe WPA3 SAE feature in config file for ROME SDIO.

Change-Id: I894dd6a89be335c3e130d663a30734cfa06ac4e9
CRs-Fixed: 2593159
2020-01-01 23:37:34 -08:00
bings
eb28e19903 qcacld-3.0: Modify dfs phyerror pulse dur to increase radar detection rate
When radar is injected at +/-30MHz separation from center frequency
in VHT 80MHz mode incorrect pulse duration is reported in the radar
summary reports and lead to decreased radar probablity detection.

Fix the issue by capturing pulses with such characteristics and
modify them to fit within the valid phyerror pulse duration range.

Change-Id: Ic6314a372d6909448fbe4eb694c41736d1719712
CRs-Fixed: 2577632
2019-12-18 01:21:45 -08:00
bings
644362acb7 qcacld-3.0: Remove CONFIG_QCA_IBSS_SUPPORT for Rome
Remove CONFIG_QCA_IBSS_SUPPORT for Rome device

Change-Id: Ief8e538469014c0034e5a8fdf8d25939fc2c4362
CRs-Fixed: 2556723
2019-12-04 23:07:18 -08:00
Guisen Yang
398679d975 qcacld-3.0: Change wlan defconfig to support cnss2 as dlkm
Tune the configure items to support cnss2 as dynamic loadable
kernel module.

Change-Id: I848f22fe54e1c8539422c7d0b3f0f2868ed5ead9
CRs-Fixed: 2546266
2019-11-22 04:11:42 -08:00
Yu Ouyang
fb67f620c1 qcacld-3.0: Fix one potential wrong config
CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY may be not set yes, if only
CONFIG_ROME_IF is set pci in external file. Because it is set yes
only when CONFIG_HIF_PCI set yes, however, CONFIG_HIF_PCI set yes
after it. For example, in file default_defconfig, CONFIG_HIF_PCI
set to yes on line 465, however line 311 checking CONFIG_HIF_PCI
to enable CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY. So, line 314 can't
be called, CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY is not set yes.

Change "ifeq ($(CONFIG_HIF_PCI), y)" to "ifeq ($(CONFIG_ROME_IF),pci)"
to avoid it.

Change-Id: Id324cdb99d6ee2d20bc00e698836c3ea4c5e0a05
CRs-Fixed: 2496110
2019-10-22 23:03:37 -07:00
Guisen Yang
2d26702926 qcacld-3.0: Update defconfig for qca6174
The functions hdd_sysfs_create_adapter_root_obj() and
hdd_sysfs_destroy_adapter_root_obj() are declared but not
implemented if CONFIG_WLAN_SYSFS is not defined but
CONFIG_FEATURE_BECN_STATS is defined. Do not enable
CONFIG_FEATURE_BECN_STATS if CONFIG_WLAN_SYSFS is not defined.

Change-Id: Iccf0ea4519416266e43533cfd34c9a3085820bee
CRs-Fixed: 2549288
2019-10-22 18:09:39 -07:00
Jianmin Zhu
d17e66163f qcacld-3.0: Enable roaming type by platform to save memory
On HST, only enable LFR3
On Rome, only enable LFR2
This change is for auto platforms

Change-Id: I67bd5877060621e756668e925031fd134bc1a0c2
CRs-Fixed: 2544840
2019-10-14 23:04:57 -07:00
Paul Zhang
c9dbaeea18 qcacld-3.0: Add interface to get / set eLNA bypass
Add interface to get / set eLNA bypass from / to firmware

Change-Id: Idf5d6a838d2596767a1fb00040457af721fba69d
CRs-Fixed: 2498525
2019-09-21 02:46:53 -07:00
Will Huang
7f5e9ce296 qcacld-3.0: Enable fw stats version 2 for some target
Some target chipset support fw stats version 2, but we didn't enable
it in some configure file. Enable it in these configure files which
depend on chipset.

Change-Id: Ief8b87bdb466a1838e6a61928f0154868f0ff220
CRs-Fixed: 2524266
2019-09-19 07:46:39 -07:00
Amar Singhal
40dd5196a2 qcacld-3.0: Add configuration items for 6 GHZ
6 GHZ has introduced new set of frequency based APIs. Also there is
conditional usage of 6 GHZ band. Add configuration items for these.

Change-Id: I22703989ec7e6711af640f1f9d0afded46026b8a
CRs-Fixed: 2513098
2019-09-16 15:14:01 -07:00
Tiger Yu
be6e775e9a qcacld-3.0: Fix the regression issue for pktlog failure with ROME module
The pktlog will fail with ROME module due to the change IDs:
I24776caa3b78ec38d94421f243ec72d81ee3102d
Ifb70ac0993f2402201f88758845f730cf677b1a0

Define new macro PKTLOG_LEGACY for HELIUM/ROME to avoid the ROME PKTLOG
failure.

Change-Id: Ibaa20b7af208a261e0fd8682de45ad8eb4a69212
CRs-Fixed: 2520696
2019-09-15 22:48:19 -07:00
Nirav Shah
a43f6dc3cf qcacld-3.0: Featurize DHCP indication for SAP
Featurize DHCP indication for SAP and disable it
for QCN7605 as this feature is broken for HL
Data Path.

Change-Id: If1db649131d887a2aab18461187403b4b9a2c5b4
CRs-Fixed: 2496032
2019-08-01 00:02:17 -07:00
Chaoli Zhou
b11e18a0a4 qcacld-3.0: Export max IPA interface numbers
As for Rome, currently it usually just only support two
IPA interfaces offload, if use the default value 3, which
will cause the IPA pipe setup failure issue. So export
the max IPA interface numbers, and it's better to set
the appropriate value from build file according to
different requirement for different chipset and platform.
Meanwhile, it support SMMU on the sa415 platform, so
enable SMMU for it.

Change-Id: I2de31bcb4d38f5e7964d2cbdc2fc6f143eef510d
CRs-Fixed: 2480627
2019-07-25 02:40:48 -07:00
Ashish Kumar Dhanotiya
9cc2a864c0 qcacld-3.0: Disable ext scan in driver
Currently ext scan is enabled by default in driver which
is increasing driver size significantly and ext scan
is not getting used anymore.

Disable ext scan with feature flag CONFIG_FEATURE_WLAN_EXTSCAN
to reduce driver size.

Change-Id: Id0fdeae6e6b71f53d3b73322aca659254d52cec8
CRs-Fixed: 2491452
2019-07-24 21:43:16 -07:00
Jingxiang Ge
37b33f3651 qcacld-3.0: Disable NAN for ROME architecture
NAN is not supported on ROME platform, Disable
CONFIG_QCACLD_FEATURE_NAN in qca6174_defconfig.

Change-Id: I579e26c351bc95e7739a0853f4bfb467aafabbda
CRs-Fixed: 2446747
2019-06-05 20:38:10 -07:00
Liangwei Dong
d79af193ff qcacld-3.0: Enable LTE COEX for QCA6390
Enable LTE COEX for QCA6390 and QCA6174 config file
on Auto platform.

Change-Id: I854660c520a2131537394f05effa6723cac43ab9
CRs-Fixed: 2464167
2019-06-04 00:57:58 -07:00
Abhishek Singh
ed8873ab97 qcacld-3.0: Remove Vdev SM related flags from configs
Vdev SM related flags are no longer used so remove them.

Change-Id: Iafb5d15691644912e563072a9fd6bdccd1b16918
CRs-Fixed: 2457271
2019-05-24 06:42:10 -07:00
Liangwei Dong
e6cbd79d28 qcacld-3.0: Enable CONFIG_HOST_OPCLASS
Enable CONFIG_HOST_OPCLASS for Auto platform

Change-Id: Ibfcd989c54f15eab770ecd3b151ef7e3b3d58b82
CRs-Fixed: 2450569
2019-05-21 13:14:22 -07:00
Jianmin Zhu
179d48eacf qcacld-3.0: Enable vdev SM for Rome and HST for AUTO platform
CONFIG_CMN_VDEV_MLME_SM := y

Change-Id: I52d0c9ec8bbff31abce0b092a96fdcd36bfa5245
CRs-Fixed: 2448794
2019-05-08 04:46:48 -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
donglian
79202c8ab6 qcacld-3.0: Disable fast path in ROME architecture
Fast path is not supported in ROME, remove CONFIG_WLAN_FASTPATH
from qca6174_defconfig

Change-Id: I3606abfc6f375852159a9d94345e165fbe4d06c6
CRs-Fixed: 2428550
2019-04-09 01:53:17 -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
Yu Wang
6c4599c854 qcacld-3.0: add support for multi ko
To build multiple ko for different wlan targets

CRs-Fixed: 2381715
Change-Id: I50593edd316df33486d208abdb2d1019403a53ae
2019-01-30 00:02:51 -08:00