Commit Graph

446 Commits

Author SHA1 Message Date
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
Yue Ma
a545a92201 qcacld-3.0: Enable CONFIG_CRYPTO_COMPONENT for Genoa
CONFIG_CRYPTO_COMPONENT is supposed to be enabled for all devices,
so enable it for Genoa as well.

Change-Id: Icf37a9052c329e362460342fe44d8fe70c5bb1ed
CRs-fixed: 2597797
2020-01-08 11:29:54 -08:00
Karthik Kantamneni
af0b9ec3c8 qcacld-3.0: Enable Bus Bandwidth feature in WHUNT config
Enable DP Bus Bandwidth feature in WHUNT config, this helps to
execute and detect issues in Bus Bandwidth feature code path.

Change-Id: Id4376236b77661519667c40c427c50af436a9dc2
CRs-Fixed: 2597300
2020-01-07 04:38:19 -08:00
Vevek Venkatesan
f856395465 qcacld-3.0: Enable SMMU S1 TRANSLATION for BENGAL
Enable SMMU S1 TRANSLATION flag for BENGAL.

Change-Id: I3eee86a7e7916146906e7cbda9b80fed532aa2aa
CRs-Fixed: 2595375
2020-01-06 12:18:50 -08:00
Tingting Lin
ac2116799f qcacld-3.0: Enable mib stats feature
Add and enable mib stats feature in
qca6390_defconfig.

Change-Id: I6b83bfc6168f773cda252cceb4c3dae754421474
CRs-Fixed: 2592865
2020-01-02 06:43:49 -08:00
Tingting Lin
3c04146cb6 qcacld-3.0: Enable mib stats in genoa
Enable mib stats feature in qcn7605_defconfig.

Change-Id: Iec76d1403b06e415b97a5e2bc58896b6e9d5ef2a
CRs-Fixed: 2594406
2020-01-02 06:43:33 -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
Paul Zhang
e4b382eb03 qcacld-3.0: Fix compiling issue when disable CONFIG_WLAN_DEBUGFS
When CONFIG_WLAN_DEBUGFS is disabled, source files depending on debugfs
will not be compiled.

CRs-Fixed: 2589891
Change-Id: I43496fe1fffc83c26d810b2a06b8c0f45edfc1c8
2019-12-27 20:00:38 -08:00
Chaoli Zhou
b8c766afd3 qcacld-3.0: Fix PKTLOG failure with Genoa
The PKTLOG function broken with Genoa caused by
2857937, so add the needed macro back to avoid
crash issue while PKTLOG enable.

Change-Id: I3f9621830dcad415868fdee5fbeef8fdb86604b0
2019-12-26 10:17:03 -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
Hangtian Zhu
274e08b80a qcacld-3.0: Fix compile issues when some features are disabled
Fix compile issues when some features are disabled, the features are:
BUILD_DEBUG_VERSION
CONFIG_CP_STATS
CONFIG_HOST_OPCLASS
CONFIG_FEATURE_ROAM_DEBUG
There are some other features depends on each other, so enabled features to
qcs40x.snoc.perf_defconfig, the features are:
CONFIG_WLAN_FEATURE_FILS
CONFIG_WMI_ROAM_SUPPORT
CONFIG_WMI_STA_SUPPORT
CONFIG_REG_CLIENT
CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH
CONFIG_WMI_CONCURRENCY_SUPPORT
CONFIG_LL_DP_SUPPORT

Change-Id: I6fa1eacb79576a955e593dbb9ac52083742275e3
CRs-Fixed: 2354496
2019-12-16 06:35:16 -08:00
Li Feng
8aa81b668b qcacld-3.0: Enable blacklist manager on qca6390
Enable blacklist manager on qca6390 to handle rssi assoc rej
in the assoc rsp.

Change-Id: I7fcfaa2054790259651062480a7995bf0f6c9922
CRs-Fixed: 2569318
2019-12-13 14:11:14 -08:00
Nirav Shah
7d75434e39 qcacld-3.0: Add credit tracking for HL Data Path
Add credit tracking for HL Data Path in DPTRACE.
Also update proto_bitmap to dynamically enable/disable
credit tracking.

Change-Id: Idd9216b634586f3a81c2194ea4bd2122a472154a
CRs-Fixed: 2574053
2019-12-13 07:03:11 -08:00
Paul Zhang
faa929c2ce qcacld-3.0: Add support for timer based to capture tsf
Add configuration CONFIG_WLAN_SYNC_TSF_TIMER and macro
WLAN_FEATURE_TSF_TIMER_SYNC to capture and get the tsf
from firmware.

Change-Id: I62298791cbafed84f1d23f1a2ecb5c2835dcd137
CRs-Fixed: 2564860
2019-12-05 23:54:07 -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
Nirav Shah
fb9b1df409 qcacld-3.0: Add logic to bundle packets for HL
Add logic to queue and bundle packets before
giving it to scheduler to ensure predictive HTC
bundling for improvement in TX throughput.

Change-Id: Ib00135ca59b4c5f0f05edc93dca115bf17174a36
CRs-Fixed: 2561671
2019-12-01 17:40:55 -08:00
tinlin
9abd17fe45 qcacld-3.0: Add debugfs for MIB statistics
Define debugfs node in driver to
export MIB counters to user app.

Define macro WLAN_FEATURE_MIB_STATS for this
feature that gets MIB statistics from fw.

Change-Id: Icae8826309094d17e8f6d4503f617a3a7116d3c9
CRs-Fixed: 2548241
2019-12-01 17:39:59 -08:00
Sourav Mohapatra
2a67b0ed24 qcacld-3.0: Add driver command to request ANI level
The ANI level determines how well the device is coping with interference
in the wireless environment. Add support in the driver to query the ANI
level from the firmware and populate it for userspace entities to use.

Change-Id: I54934f670aa11737e11eca4d64e12f9dffb4f430
CRs-Fixed: 2554674
2019-11-26 05:30:13 -08:00
Alok Kumar
a6bdc6f28d qcacld-3.0: Add feature flag for DataStall
Add feature flag WLAN_SUPPORT_DATA_STALL to
support host datastall.

Change-Id: I263da2de9af1f2a1d17027601fc625c31d5ad76d
CRs-Fixed: 2564310
2019-11-26 02:14:14 -08:00
Venkata Sharath Chandra Manchala
06f1f1225b qcacld-3.0: Enable Force wake
Enable Force wake feature through Kbuild
to access address range greater than BAR+4K
at runtime.

Change-Id: Ibe3c3b9b765c256493b1d5f9258e462760d45dc6
CRs-Fixed: 2557978
2019-11-26 02:13:59 -08:00
Sandeep Puligilla
425a583863 qcacld-3.0: Kbuild change to enable SCAN priority algorithm
Kbuild change to enable SCAN priority channel list algorithm.

Change-Id: I2dc24dd22e19da6db516332ae14edf4bc0f8cce4
CRs-Fixed: 2568889
2019-11-24 22:34:32 -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
Jinwei Chen
230918fa0e qcacld-3.0: enable ENABLE_QDF_PTR_HASH_DEBUG macro for debugging
Enable ENABLE_QDF_PTR_HASH_DEBUG macro for Def build only to debug
qdf_ptr_hash related issue.

Change-Id: Ifa35afa716333d3bf777558e15d7b0295abce72c
CRs-Fixed: 2566025
2019-11-18 22:59:36 -08:00
Yeshwanth Sriram Guntuka
4382d420fd qcacld-3.0: Enable large ce desc history only for helium
Enable large ce desc history only for helium.

Change-Id: Ia4261736f48b7bd9859506f6e6917a0e6ed287f8
CRs-Fixed: 2568325
2019-11-18 14:08:49 -08:00
Jinwei Chen
795728d939 qcacld-3.0: add macro HAL_REGISTER_WRITE_DEBUG for Def build
Enable macro HAL_REGISTER_WRITE_DEBUG for Def build to
enable register writing result check.

Change-Id: I3387dcc2739429a7943fbda7a666f3ddbbe80f0a
CRs-Fixed: 2561073
2019-11-11 15:15:12 -08:00
Liangwei Dong
c59d2b0004 qcacld-3.0: Enable 6GHz feature for WHUNT
1. Add whunt_defconfig for whunt target. New Features can be
enabled in it to run related whunt test cases.

2. Enable CONFIG_BAND_6GHZ and CONFIG_WLAN_FEATURE_11AX
for whunt 6GHz test.

Change-Id: I63b84086cbf28e1fe3ab44bedb4977e73212af29
CRs-Fixed: 2550575
2019-11-07 15:16:01 -08:00
Nisha Menon
d6c2c37657 qcacld-3.0: Enable MCL feature flag REO_DESC_DEFER_FREE
In the REO status callback function for RX tid delete if the
cache flush cmd is not sent successfully to REO, add the REO
descriptor back to the free desc list and defer the deletion
to the callback function.

Changes are made under MCL feature flag REO_DESC_DEFER_FREE.

Change-Id: Ib6c077ebf763ab8feb4c45c17ff37d03252fe093
CRs-Fixed: 2558052
2019-11-07 13:43:49 -08:00
Nirav Shah
2b3843e027 qcacld-3.0: Make tx resource hi/low threshold configurable
Make tx resource hi/low threshold configurable through
config files and update hi threashold from 7.5% to 8%.

Change-Id: I2e52b7910caedf6e0af24242b79e1e9d42c6b85b
CRs-Fixed: 2548100
2019-11-05 09:26:45 -08:00
Nirav Shah
d1fce91a9c qcacld-3.0: Increase value of AST skid limit for QCN7605
Increase value of AST skid limit for QCN7605 to avoid
peer create failure in FW in case of AST hash collision.

Change-Id: If931229d3b1458556a6e5c1023fb646b7274bedd
CRs-Fixed: 2517716
2019-11-02 19:43:54 -07:00
Venkata Sharath Chandra Manchala
cf57262302 qcacld-3.0: Enable FEATURE_TSO_STATS
Enable FEATURE_TSO_STATS based on
FEATURE_TSO flag.

Change-Id: I2fbeac180f6bb0988a6e3660936659ea1f5da4a4
CRs-Fixed: 2392266
2019-10-28 07:11:27 -07:00
Venkata Sharath Chandra Manchala
8193ec70e9 qcacld-3.0: Enable HIF_RECORD_PADDR
Record iova and physical address for every
buffer posted to CE.

Change-Id: I3afb95166e4c571bffc84699df5df20f952729ce
Crs-Fixed: 2548850
2019-10-25 01:22:37 -07: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
Sravan Kumar Kairam
3bc886df40 qcacld-3.0: Support stats quota for sta + sap ipa offload
Implement metering stats quota to support ipa offload sta plus
sap wifi sharing use cases.

Change-Id: Ic9d5ad817ffb4d671a43f3f3aebb2d8cce293873
CRs-Fixed: 2517696
2019-10-19 17:46:02 -07:00
Manjunathappa Prakash
458f6fe460 qcacld-3.0: Add changes to support qca6490
Add changes to support qca6490 chip.

Change-Id: I861d88f6c9aba5285eff17c188bf335d50839d56
CRs-Fixed: 2522129
2019-10-17 15:06:24 -07:00
Vevek Venkatesan
78382d89e7 qcacld-3.0: Enabling METERING Feature for lito
Enable CONFIG_QCACLD_FEATURE_METERING Feature for lito
in default_defconfig

Change-Id: I70e004e34dbea0690503c5990b2bf83089873898
CRs-Fixed: 2545739
2019-10-16 15:39:06 -07:00
Ajit Pal Singh
7fef54a8ac qcacld-3.0: usb: Make HTC_MAX_MSG_PER_BUNDLE_TX configurable
Make HTC_MAX_MSG_PER_BUNDLE_TX configurable through config files.
Also set HTC_MAX_MSG_PER_BUNDLE_TX to 48 for QCN7605 usb.

Change-Id: If6616251f536c35db087d5623a81c8a3f02da725
CRs-Fixed: 2544743
2019-10-16 05:19:06 -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
Abhishek Ambure
e9d049901a qcacld-3.0: Disable IBSS code
IBSS code is placed under "QCA_IBSS_SUPPORT" feature flag. IBSS code is
disabled and to enable it define "QCA_IBSS_SUPPORT" in default_defconfig.

ex. CONFIG_QCA_IBSS_SUPPORT := y

Change-Id: I08619dbed4661d9fc132adbcd1de2cd4470a2737
CRs-Fixed: 2542078
2019-10-12 22:15:39 -07:00
Jianmin Zhu
d6f0563f96 qcacld-3.0: Enable LFR3 just for Helium and HST
Enable LFR3 just for Helium and HST,  Rome still use LFR2

Change-Id: Iee0d11898ba18246386496df626f8cbbeb05fe1e
CRs-Fixed: 2543516
2019-10-12 20:36:00 -07:00
Jinwei Chen
5423579ff2 qcacld-3.0: enable DP pending memory flushing
Enable DP pending memory flushing by macro WLAN_DP_PENDING_MEM_FLUSH

Change-Id: I77a85c208a77cf7d2e43270b396e4ed9e41c3e85
CRs-Fixed: 2543465
2019-10-12 14:39:19 -07:00
Lin Bai
c33d360d74 qcacld-3.0: Disable DBR feature on sdxprairie
DBR feature not required on SDX platform, and disable it.

Change-Id: Ic4e4029a58a2c1658f6192d31412b213272d023c
CRs-Fixed: 2505676
2019-10-12 11:34:23 -07:00
Venkata Sharath Chandra Manchala
eb2d2581dc qcacld-3.0: Enable HIF_CE_DEBUG_DATA_BUF
Add support to make a copy of HTC buffer
before posting it to CE src rings.

Change-Id: Ie1219214a083ae4e9152e8acf63104aab9187ec6
CRs-Fixed: 2530421
2019-10-09 19:10:30 -07:00
Wu Gao
10300f9d6f qcacld-3.0: Enable direct buffer rx component
Enable direct buffer rx component in Kbuild since spectral scan gen3
based on this feature.

Change-Id: I8d44b35ca0d334917b3c052cc8ab4e47db34e4a1
CRs-Fixed: 2505676
2019-10-08 03:54:54 -07:00
Manjunathappa Prakash
eb1ec86246 qcacld-3.0: Add CPU mask support to pm_qos calls
Call the pm_qos voting for specific instead of applying vote
for all cores.

Change-Id: I74b3696e15f0adc38149265dacdd5fb10e9055fe
CRs-Fixed: 2495713
2019-10-07 02:13:02 -07:00
Manikandan Mohan
1baadae237 qcacld-3.0: Add support for WMI over QMI
Add support for WMI over QMI to reduce power consumption for
periodic stats report.

Change-Id: Iec725b357d9bcfa33029aedf7c568814499bc130
CRs-fixed: 2521826
2019-10-03 21:59:31 -07:00
Mohit Khanna
62282ceda7 qcacld-3.0: Donot enable PKTLOG_LEGACY for lithium
Since CONFIG_ROME_IF is defined as "PCI" for lithium, PKTLOG_LEGACY is
getting enabled for lithium product as well. Disable PKTLOG_LEGACY for
lithium chipsets.

Change-Id: Ida237cd03e7006514120f9b2e37c7ad5c3897294
CRs-Fixed: 2532170
2019-10-02 16:25:12 -07:00
Jianmin Zhu
4f9f13876e qcacld-3.0: Fix insmod HST driver failed on auto platform
Insmod failed for:
wlan: Unknown symbol ol_cfg_set_tx_free_at_download (err 0)
wlan: Unknown symbol ol_txrx_soc_attach (err 0)

The 2 functions are only implemented on legacy platform like
Helium.
Fixed by copy config from default_defconfig to
qca6390_defconfig.

Change-Id: I5e8838c6653571507e6143c28ad6a0f7e7b228e9
CRs-Fixed: 2535963
2019-09-27 09:11:59 -07:00
Hangtian Zhu
9a28ed0437 qcacld-3.0: Enable configurable dfs_pri_multiplier
Enable configurable dfs_pri_multiplier. The ETSI typ2 type3 radar
detection ratio is lower than expected(>80%) while channel loading is
high(>30%). The host improvement for this are:
	1. Add configurable dfs_pri_multiplier, controlled by
	   DFS_PRI_MULTIPLIER. Default value 2, min 1, max 10.
	2. Lower adrastea ETSI type 2/3/4 radar filter rssi_threshold,
	   controlled by DFS_OVERRIDE_RF_THRESHOLD, dfs log shows that
	   QCS405 target report RSSI range [18, 45] while radar power
	   is 3 dbm. By using default rssi_threshold 24 will reject
	   many radar pulses, which leads to low detection ratio.
	3. Calculate deltapri for each searchpri based on dfs_pri_multiplier
	   in dfs_count_the_other_delay_elements(), check deltapri
	   between [1, dfs_pri_multiplier] * refpri and searchpri, if
	   the primargin is desired, mark it as matched pulse.
	4. Pick lowpri as refpri for the radar filter with
	   rf_ignore_pri_window equals to 0 while DFS_PRI_MULTIPLIER is
	   enabled. Observed original findref logic has some problems
	   which selects refpri is bigger than lowpri, which leads to
	   the lowpri pulses pri_match are set to 0, and in this case,
	   radar was not detected. Example for the issue, assume
	   rf->rf_pulseid 34 (ETSI type 2) has 7 pulses with pri:
	   1489, 2978, 2978, 2978, 1489, 2978, 1489 us in this case,
	   highscore is 4 (2978), scoreindex is 5, refpri is 2978, which
	   leads to: index 0, 4, 6 pulses with pri_match 0 in
	   dfs_count_the_other_delay_elements(). The fix is to select
	   lowpri as refpri(1489 in this case).

Change-Id: I1f3ca3298c9ab1f1e2651ad6b4a0a4810f83f8a1
CRs-Fixed: 2522506
2019-09-25 06:14:10 -07:00
Wu Gao
18596aeaea qcacld-3.0: Update nan policy to allow SAP+NDP
Allow NDP if there is SAP, and remove duplicate codes.

Change-Id: Ibb59ad8bc9a2eb8638a0f11e78e8f0994422dfb7
CRs-Fixed: 2508265
2019-09-25 02:30:54 -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
Hangtian Zhu
c7642605cc qcacld-3.0: Add CONFIG_MULTI_IF_LOG to support multi if log
This is a propagation of qcacld-2.0 commit 98821c7dcf49d ("qcacld-2.0:
Add CONFIG_MULTI_IF_LOG to support multi if log"). Add CONFIG_MULTI_IF_LOG
to support multi if log by assigning the specific netlink protocol
when dual wlan cards are loaded.

Change-Id: I3ea9574899c23a8d2ebbdea5b958cc3ad7947fe5
CRs-Fixed: 2525483
2019-09-20 01:06:04 -07:00
Saket Jha
9953150a8f qcacld-3.0: Featurize legacy Helium DP
Memory optimization of legacy Helium DP (ol_*.*,htt_*.*)

Change-Id: I8f3a1f7edeeb8f793c4d3c74d22231d86ff124a6
CRs-Fixed: 2508723
2019-09-19 20:54:47 -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
Lin Bai
a8df73b72a qcacld-3.0: Enable monitor mode for SDXPRAIRIE
Enable monitor mode for SDXPRAIRIE.

Change-Id: I70015845ea0d8dcc3aa2019ab8fdb300dc8eb49d
CRs-Fixed: 2529073
2019-09-18 01:19:40 -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
Ajit Pal Singh
9c098859c1 qcacld-3.0: usb: Enable WLAN_FEATURE_WOW_PULSE for OOB
Enable WLAN_FEATURE_WOW_PULSE for OOB wakeup support

Change-Id: I788d60a62a979a6bcbb775d2153fcf5cfa90c426
CRs-Fixed: 2524631
2019-09-12 06:23:01 -07:00
Tiger Yu
bf14ba81a9 qcacld-3.0: Add protection for type_specific_data in ath_pktlog_hdr
The member of type_specific_data is not valid for ROME module. Add macro
protection for type_specific_data in the ath_pktlog_hdr to avoid offset
error when getting the msdu id info during  processing pktlog TX info.

Change-Id: Icb8b95cef9a32732116522e4fc3b39067ff36037
CRs-Fixed: 2522277
2019-09-11 01:32:44 -07:00
Visweswara Tanuku
2e839e540c qcacld-3.0: Genoa: SDIO: Handle Tx Padding & Credits
In Genoa SDIO ADMA implementation Host sends packets to FW in
multiples of SDIO Block size.
If the packet/bundle is not block aligned Host adds padding at the
end of Packet/Bundle.

If the TX packet plus padding exceeds one FW TX Buffer, Padding data
will occupy the next FW TX buffer. Same applies for bundle TX packet.

For above scenario, HTC_FLAGS_PADDING_CHECK of HTC header Flags is used
to notify the FW that - Padding data follows the currentHTC packet

Since the padding data will take one extra FW Tx Buffer, host need to
handle the extra Tx credit being used by the padding data/buffer

CRs-Fixed: 2516619
Change-Id: Ie2d2292fabb30e1a13eebe4d11b57f452e42afa8
2019-09-08 07:37:21 -07:00
Visweswara Tanuku
c3f26d77b0 qcacld-3.0: Genoa: SDIO: Update Genoa SDIO Configs
Use 64 bit HTT header instead of 32 bit &

Enable CONFIG_QCN7605_SUPPORT for Genoa SDIO

Enable CONFIG_PLD_SDIO_CNSS2 for Genoa SDIO

CRs-Fixed: 2520815
Change-Id: Ib94bb2f24db838dcec7ad037a2c9149c8183b0c8
2019-09-06 06:22:57 -07:00
Visweswara Tanuku
a7f98a37d5 qcacld-3.0: Enable adma config option for Genoa SDIO
Set CONFIG_SDIO_TRANSFER to adma for Genoa SDIO

Change-Id: Iee6575f53e4ca5cb900d0175a5aeec982f902054
CRs-Fixed: 2429660
2019-09-06 06:22:53 -07:00
Hangtian Zhu
39e2e21a83 qcacld-3.0: Use QCS40X instead of QCS405 in config files
Use QCS40X instead of QCS405 in config files. Kernel defconfig files for
QCS405 and QCS403 has been separated recently, and the arch has been
changed between these two chips. But all QCS related features and changes
in cld should all be included, so use CONFIG_ARCH_QCS40X to replace
CONFIG_ARCH_QCS405.

Change-Id: I6f0837bb3d3f1530aea5b2d4912741beb8c313bd
CRs-Fixed: 2519267
2019-09-04 17:38:18 -07:00
stonez
5f9a622e30 qcacld-3.0: Including MPTA helper and Coex configuration feature
MPTA helper and Coex configuration features are not included
after latest system compilation updating. Modify configure
file qcs40x.snoc.perf_defconfig to include them.

Change-Id: I8ecad6c84bd4ca2d8e1b69f0cea14b61b2545ca3
CRs-Fixed: 2511723
2019-08-27 12:22:14 -07:00
Subrat Dash
b1e61b2083 qcacld-3.0: Add support for gpio based strobe to capture tsf
Add configuration for gpio pin used to send strobe to wlan hw.

The host driver will latch the current time and toggle the gpio
to generate a strobe to wlan hw.

The tsf will be latched on detecting the strobe and it will be
made available in a register for sw access.
The wlan fw will read this tsf and report it to driver using tsf event.

Change-Id: I4365d97d22836ddbbd2bf9913d4f723e5a870369
CRs-Fixed: 2495152
2019-08-21 00:06:01 -07:00
Guisen Yang
7d6e03669e qcacld-3.0: Enable IPA3 for sdxprairie arch
Enable IPA3 in qca6390 for sdxprairie platform. The IPA
over gsi and smmu are also enabled to make IPA workable.

Change-Id: I5ce6b22dcc4a6678deb6a5ac2d712fb82b6c5bf3
CRs-Fixed: 2496838
2019-08-12 05:35:15 -07:00
Yeshwanth Sriram Guntuka
fcb37b7cf7 qcacld-3.0: Disable FW log parsing feature for Lithium targets
Disable fw log parsing feature config flag for Lithium
targets as firmware will no longer use WMI events for
sending logs.

With Lithium config flag disabled:
   text    data     bss     dec     hex  wlan.ko size
6767311  251817 2424616 9443744  9019a0       17096KB

With Lithium config flag enabled:
   text    data     bss     dec     hex  wlan.ko size
6699206   81613 2423872 9204691  8c73d3       16768KB

Change-Id: I536a20a0c0d7c4abcee775e3007d1749a21b648b
CRs-Fixed: 2504803
2019-08-09 08:57:36 -07:00
Rakshith Suresh Patkar
e0b7640468 qcacld-3.0: Enable SMMU S1 TRANSLATION for ATOLL
Enable SMMU S1 TRANSLATION flag for ATOLL

Change-Id: Ia22060bd0c158602a3b7a9f31690a44cb94b2b49
CRs-Fixed: 2502129
2019-08-08 09:52:35 -07:00
Visweswara Tanuku
322348dfce qcacld-3.0: Enable Motion Detection Feature for Genoa USB
Enable Motion Detection Feature for Genoa USB interface
using config flag CONFIG_FEATURE_MOTION_DETECTION

Change-Id: If345705619f231d195d79e50a9bb2478641bd4df
CRs-Fixed: 2501957
2019-08-06 10:16:18 -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
jiad
b5d9cdb0ff qcacld-3.0: Support CNSS2 as dlkm
Support CNSS2 as kernel dynamic loadable module.

Change-Id: I2d341de8d7a1f23dbd9074b41606b59f64dbfa9b
CRs-Fixed: 2498780
2019-07-30 07:58:06 -07:00
Rakshith Suresh Patkar
7d24ef494c qcacld-3.0: Enable SMMU S1 TRANSLATION for SM7150
Enable SMMU S1 TRANSLATION flag for SM7150

Change-Id: I5ad9b7fec096897b45e9297e42cb31ce3a204d0a
CRs-Fixed: 2425317
2019-07-29 06:29:32 -07:00
Alan Chen
7d331618cd qcacld-3.0: Remove unit-test framework for Lithium
Do not enable unit-test framework by default for all Lithium
targets. Unit-test framework should only be enabled in debug builds.

Change-Id: I709d13ebb35302787377c8f36a8db0f04c2e794e
CRs-Fixed: 2498069
2019-07-26 21:21:23 -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
Jianmin Zhu
fa587a8fe1 qcacld-3.0: Config special 4 ports dual SAP+dual STA
Enable following special 4 ports concurrency for Auto HST
platform.
(SAP+STA) (2.4G MAC SCC)+(SAP+STA) (5G MAC SCC).

Change-Id: I6ab34606a98c1e4a670de63e12e54f2becd4d1d4
CRs-Fixed: 2457713
2019-07-18 12:10:28 -07:00
Guisen Yang
f97e7b0963 qcacld-3.0: Update defconfig for qca6390
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.
The monitor mode should not be supported by sdxprairie arch.

Change-Id: I583af70dfdba8f14e4967c805672ecd8a17640d1
CRs-Fixed: 2481850
2019-07-17 09:45:25 -07:00
Saket Jha
8d70a68163 qcacld-3.0: Add WAR to ignore duplicate RX desc
Check if host is reaping a descriptor which is already
reaped then drop RX desc processing instead of asserting.
Macro DUP_RX_DESC_WAR added before dp_rx_dump_info_and_assert function
which does not assert for the case WAR is enabled.

Change-Id: I8a095d33e4f7e868340d9a76618c064af764386d
CRs-Fixed: 2487793
2019-07-16 12:14:45 -07:00
Paul Zhang
da2970b777 qcacld-3.0: Add OEM DATA vendor command support
This command is used to send OEM data binary blobs
from application/service to firmware.

Change-Id: I0b5d7dd5a030b70e59c8581fb51d99079b38385f
CRs-Fixed: 2477332
2019-07-11 00:52:04 -07:00
Ashish Kumar Dhanotiya
2168aadfa4 qcacld-3.0: Add support to configure avoid acs freq list
Currently there is no ini support to configure frequencies
which needs to be avoided for the acs channel list which
may allow SAP to come up on a channel which is not preferred.

For Example there are many legacy clients which supports
2.4GHz but don't support channel 12 and 13 (or does not have
the capability to detect country change where channel 12 and
13 is valid).
In that case, if SAP comes up on channel 12/13, those legacy
clients won't be able to connect to AP.

Hence, Add a feature flag and ini to configure the frequency
list which can be avoided during acs.

Change-Id: Id106b38228f837ba056eb916004dc012e919ddd2
CRs-Fixed: 2472004
2019-07-03 08:55:49 -07:00
Rakshith Suresh Patkar
63b21d7154 qcacld-3.0: Enable SMMU S1 TRANSLATION for TALOS
Enable SMMU S1 TRANSLATION flag for TALOS

Change-Id: I4864f5b433b769e35de206aad8453d6352ae9119
CRs-Fixed: 2425321
2019-07-02 06:01:28 -07:00
bings
49895279c0 qcacld-3.0: Disable dfs tx leakage for HST onwards
CONFIG_CHNL_MATRIX_RESTRICTION should not be defined by default.
CONFIG_CHNL_MATRIX_RESTRICTION should not be defined by HST.

Change-Id: I36154976c4e106d9910977b5990f796b889eaf82
CRs-Fixed: 2476488
2019-06-26 22:45:33 -07:00
Vevek Venkatesan
dba9bc045b qcacld-3.0: add dummy feature flags for DP compilation
Add dummy feature flags for WIN/MCL converged data path
compilation.

Change-Id: Ia13757fcdcf21d050226fcc0e187658f6eda7b6d
CRs-Fixed: 2467183
2019-06-21 03:09:11 -07:00
Venkata Sharath Chandra Manchala
af9e44acd9 qcacld-3.0: Enable per ring type configuration
Add flag WLAN_DP_PER_RING_TYPE_CONFIG
to enable per ring type configuration.

Change-Id: I14b078cf3c20f07a377ecc53b12f4c114ceb62b2
CRs-Fixed: 2474287
2019-06-20 20:15:14 -07:00
Tiger Yu
e40e7836a5 qcacld-3.0: Add support for TCP delayed ack in driver
qcacld-2.0 to qcacld-3.0 propagation

This change adds support for driver supported TCP
delayed ack to increase TCP RX performance in
third-party platform which does't support kernel
TCP delayed ack feature.

TCP delayed ack is dependent on count and timer
values. Whatever is achieved first will trigger
sending TCP ack.

This feature can be controlled through ini values.
gDriverDelAckTimerValue - timer value in ms
gDriverDelAckPktCount - delayed ack count
gDriverDelAckEnable - enable/disable feature

Change-Id: I8105bbb90965295b5a4aefeb00d344a90155974d
CRs-fixed: 2414224
2019-06-18 22:27:35 -07:00
Pragaspathi Thilagaraj
2071e3380e qcacld-3.0: Disable LFR2 for cld-3.2 mainline
Disable LFR2 in cld-3.2 mainline as roaming is offloaded
to firmware in LFR3. Also fix linker issues with lfr2 disabled.
Featurize LFR2 properly with adding correct header files
and bringing LFR2 only functions under WLAN_FEATURE_HOST_ROAM
compile time flag.

Change-Id: Iac81b693feaab503d371753a4d16cc3e70df2a87
CRs-Fixed: 2459786
2019-06-18 07:51:20 -07:00
Vevek Venkatesan
f2956ad09a qcacld-3.0: add feature flags to featurize DP operations
Add feature flags DP_FLOW_CTL to featurize DP flowctl ops,
DP_PEER_MGMT to featurize peer handling in DP,
DP_POWER_SAVE to featurize power saving ops in DP.

Change-Id: I02f487fec846e9dd9ffcaf53a10e49e7a3365fff
2019-06-17 22:25:10 -07:00
Rakesh Pillai
f41fe0c28a qcacld-3.0: Add feature flag for event history logging
Add a feature flag enabling support in defconfig
for the datapath event history logging feature.

CRs-Fixed: 2466616
Change-Id: I8fc2c76a927aea3e2e723cde87c69e59e03a9848
2019-06-17 10:22:52 -07:00
Nirav Shah
8d6862c001 qcacld-3.0: Enable CONFIG_AR900B for Genoa
Enable CONFIG_AR900B feature to use FW stats
version 2.

Change-Id: Ia2d9ad34477ecc50858f8e2f65425b719339c916
CRs-Fixed: 2468812
2019-06-15 00:26:11 -07:00
guangde
4853c40d31 qcacld-3.0: Add get antenna isolation command
Propagation from qcacld2.0 to qcacld3.0.
The WMI CMD and EVENT of "get antenna isolation" are already defined,
but not used before in qcacld3.0.
Now, The host driver uses vendor command to get this information
instead of iwpriv command in qcacld-2.0.
The attribution of this feature is already defined in file
"qca_vendor.h". The name is "QCA_WLAN_VENDOR_ATTR_ANTENNA_ISOLATION".
So host driver will use vendor command
"QCA_NL80211_VENDOR_SUBCMD_GET_HW_CAPABILITY" to get the information
from lower layer.

Change-Id: I915768f622ddc9a70a95ce4fe952f19917a8f901
CRs-Fixed: 2447360
2019-06-14 01:49:41 -07:00
hangtian
b9c9136eaf qcacld-3.0: Fix QCA_LL_PDEV_TX_FLOW_CONTROL invalid memory access
Add QCA_LL_PDEV_TX_FLOW_CONTROL for both
QCA_LL_LEGACY_TX_FLOW_CONTROL and QCA_LL_TX_FLOW_CONTROL_V2
disabled platform, avoid frame drop in driver which leads to bad TCP
TX throughput. Change NUM_TX_QUEUES to 5 for this case to avoid invalid
memory access in wlan_hdd_netif_queue_control().

Change-Id: Ifa649e31a41d1bf89eadc8cc7e9520f0e27b9fe4
CRs-Fixed: 2466996
2019-06-13 04:10:25 -07:00
hangtian
67888e2e8d qcacld-3.0: Configure CFG_TGT_NUM_MSDU_DESC through driver config
Configure CFG_TGT_NUM_MSDU_DESC through driver config.

Change-Id: I9667414e526fa7e3e735a209b074db4777c6e86e
CRs-Fixed: 2463898
2019-06-13 04:10:21 -07:00
Sachin Ahuja
a5d29f71c1 qcacld-3.0: Disable the export symbols in the driver
Currently the export symbols are enabled in the driver
which is increasing the text section of driver.

Since driver does not need export symbols, disable it.

Change-Id: I463835107fc2a86ee6b4ab36edc75571f644499f
CRs-Fixed: 2462388
2019-06-13 02:48:03 -07:00
Nirav Shah
ca7ab5ce64 qcacld-3.0: Disable packetlog for QCN7605
Disable packetlog for QCN7605.

Change-Id: Id0737e8857ac5fdebd6becd3addb84f10c0033d0
CRs-Fixed: 2467273
2019-06-10 09:15:37 -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
gaurank kathpalia
3ebc17b3e5 qcacld-3.0: Link BLM to the legacy APIs
Link BLM exposed APIs to the following:-

1. csr_get_scan_result:- Link this API with filter bssids in
the reject ap list maintained by the blacklist mgr.

2. lim_assoc_rej_add_to_rssi_based_reject_list:- Link this API
with the the blacklist mgr add bssid to reject list to add the
OCE and BTM related assoc rejects.

3. Userspace avoid list parsing logic for the userspace to set
the BSSID as avoided.

Change-Id: Id51ffb80cea3f845fefe14db25d0f7acda6ea0f3
CRs-Fixed: 2461281
2019-06-02 01:51:34 -07:00
bings
616cd434b8 qcacld-3.0: Make AP+AP in DFS channel in DBS mode work for SDXPRAIRIE
WiFi chip in SDXPRAIRIE supports DBS, and it is OK to start AP+AP in
DFS channel in DBS mode.
If CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE is defined, AP+AP in
DFS channel in DBS mode fails to start.

Remove CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE definition to make
AP+AP in DFS channel in DBS mode work for SDXPRAIRIE.

Change-Id: I1947b480aca2acb3245350c73935f6a4f9af964f
CRs-Fixed: 2459215
2019-05-28 00:53:21 -07:00
Paul Zhang
3718567245 qcacld-3.0: Implement api for interop issues ap
Implement the interface to transfer the info between
host driver and firmware about the ap which has interop
issues with the DUT. It is detected by firmware and
forwarded to user sapce for persistent storage. And
user space configs these APs to firmware when the DUT
starts up next time.

CRs-Fixed: 2425202
Change-Id: I2e828d521f0e04862a01fa1c90626f51b7f65796
2019-05-24 16:00:44 -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
Varun Reddy Yeturu
cbaa004c02 qcacld-3.0: Add compile time flag RX_DESC_MULTI_PAGE_ALLOC
Add a compile time feature flag by name RX_DESC_MULTI_PAGE_ALLOC
which will enable the memory allocation of RX descriptors using
multiple pages instead of large contiguous memory.

Change-Id: Ia3803a3685c605c79a34a0c2c000d7ed4adb7d97
CRs-Fixed: 2456267
2019-05-23 20:34:56 -07:00
Frank Liu
7314020cf4 qcacld-3.0: Add genoa defconfig for multiple ko support
To build multipel ko for different wlan targets, add genoa support
which will be used on AUTO platform.

Change-Id: I55e8591624ca4fe03bc06572cd2c46510eded366
CRs-Fixed: 2429383
2019-05-23 09:30:41 -07:00
Sravan Kumar Kairam
dbb89a7c2f qcacld-3.0: Enable SMMU S1 flag for Kona
Enable IPA SMMU S1 translation feature flag for
kona target.

Change-Id: Ia16867dd730c658b043e58ac832a05d6abe58f05
CRs-Fixed: 2457687
2019-05-22 14:15:11 -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
Rakshith Suresh Patkar
03eee08aad qcacld-3.0: Enable SMMU S1 TRANSLATION for LITO
Enable SMMU S1 TRANSLATION flag for LITO

Change-Id: If4bcdbbb5ac4036588383c83338a6e1fe4760272
CRs-Fixed: 2451546
2019-05-14 03:51:52 -07:00
Abhinav Kumar
dbbfd2c3ff qcacld-3.0: Support asynchronous beacon reporting feature
Add new vendor cmd : QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING.
This subcommand is used to implement asynchronous beacon
reporting feature. Userspace can request driver/firmware to
report details of each beacon received whose bssid is same as
currently connected BSS's mac address. The driver will encapsulate
the details of these beacons as an asynchronous event within this
command id until userspace requests to stop sending beacons.

Change-Id: I9a32fe5431767b077983c7db90a2f825709f368c
CRs-Fixed: 2431351
2019-05-10 19:06:56 -07:00
Rachit Kankane
3621f7b32a qcacld-3.0: Enable WLAN_FEATURE_PACKET_FILTERING
Enable WLAN_FEATURE_PACKET_FILTERING for Genoa

Change-Id: I7d438e42015217585e6145d52ec8c3469e149680
CRs-Fixed: 2449886
2019-05-10 01:34:32 -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
Pragaspathi Thilagaraj
1f3f99fd1f qcacld-3.0: Add support for adaptive 11r
Adaptive 11r feature that enables the AP to support FT-AKM
without configuring the FT-AKM in the network. The AP will
advertise non-FT akm with a vendor specific IE having Adaptive
11r bit set to 1 in the IE data. The AP also advertises the
MDE in beacon/probe response.

The STA should check the adaptive 11r capability if the AP
advertises MDE in beacon/probe and adaptive 11r capability in
vendor specific IE.  If adaptive 11r capability is found,
STA should advertise the FT equivalent of the non-FT AKM.

Introdue a compile time flag WLAN_ADAPTIVE_11R_ENABLED to
enable/disable adaptive 11r support.

If the AP is adaptive 11r capable, set the is_adaptive_11r_ap
flag in bss descrtiptor. This flag will be sent in join request
and populated to pe_session. Also mark the CSR session as
adaptive 11r session based on this flag.

Add changes to check for the adaptive 11r service capability
advertised by firmware. If the host driver connects to adaptive
11r AP, enable RSO only if the firmware advertises adaptive
11r capability, else RSO should be disabled.

If the connection is adaptive 11r connection and if the adaptive
11r ini is enabled, set the adaptive_11r flag in
wmi_roam_11r_offload_tlv_param sent over the wmi command
WMI_ROAM_SCAN_MODE to the firmware. This will enable firmware to
filter the adaptive 11r AP from roam scan results.

Change-Id: If27a2393e3f4bb68942f5ebcec0135f57627f16b
CRs-Fixed: 2437988
2019-05-02 08:15:49 -07:00
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
Lin Bai
3da65d478c qcacld-3.0: Disable DP_TRACE for SDXPRAIRIE perf build
For perf build on SDXPRAIRIE, no requirement for DP_TRACE feature.

Change-Id: I170e21e22614d926a5e48b99d64c218f30776ad1
CRs-Fixed: 2418590
2019-04-24 02:28:26 -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
Ajit Pal Singh
17634e1e48 qcacld-3.0: Add config to enable/disable RX PN_check offload
Add config to enable/disable RX PN_check offload.
Offload PN check to FW for QCN7605 HL data path.

Change-Id: Ieab4442d73957a9e0314d637a513452616f7a48c
CRs-Fixed: 2433079
2019-04-18 00:28:12 -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
hangtian
1c37fb9ccc qcacld-3.0: Memory optimize for QCS403 platform
Memory optimize for QCS403 platform, 1x1 chip. Reduce CE1 htt data
dest ring buffer from 512 to 256, reduce CE2 wmi dest ring buffer from
128 to 64, reduce CE9 & CE10 desg ring buffer from 512 to 64, disable
CE11 pktlog. Note: this change only affect specific WLAN build config for
extremely saving memory, for debug purose, there is another build
selecting default WLAN config for reference HW.

Change-Id: I868e74b09cdb11df3dccaa3f9e051da55724983d
CRs-Fixed: 2432631
2019-04-12 05:20:10 -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
Subrat Dash
5f36fbef77 qcacld-3.0: Add gettime of PTP for NON-QC platform
Implement NON-QC platform TSF and TSF PLUS.
Implement gettime of PTP.
Implement TSF PLUS for SAP/GO

CRs-Fixed: 2399624
Change-Id: Id4f41a94256a8f035ae408c168c246569185c534
2019-04-09 11:56:39 -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
Rakshith Suresh Patkar
3c0d283987 qcacld-3.0: Enable SMMU S1 TRANSLATION for TRINKET
Enable SMMU S1 TRANSLATION flag for TRINKET

Change-Id: I95b42e712d2db7805b8e38ccc67acb56ad6f24e0
CRs-Fixed: 2423359
2019-04-04 01:52:18 -07:00
Mohit Khanna
cf139fe9b6 qcacld-3.0: Enable RX_DESC_DEBUG_CHECK debug flag
Enable the flag in kbuild file for SLUB builds.

Change-Id: I4fbf3b775258567d7f9651b52b9f61401fb3a270
CRs-Fixed: 2390775
2019-04-02 11:17:24 -07:00
hangtian
c847946ced qcacld-3.0: Add qcs40x.snoc.perf_defconfig
Add qcs40x.snoc.perf_defconfig. Enable CONFIG_FEATURE_TSO_DEBUG by
default, avoid spinlock bad magic issue(without spin_lock_init() for
tso_stats_lock).

Change-Id: If2fb00bd2298aa6f43418b3e4694aa995887b4f3
CRs-Fixed: 2424181
2019-03-31 20:56:47 -07:00
jiad
bce4f0f520 qcacld-3.0: Enable SMMU S1 for sdxprairie
Enable ENABLE_SMMU_S1_TRANSLATION option for sdxprairie.

Change-Id: I3eedee61bce6fbe2442fd15b282c054b5dd935d2
CRs-Fixed: 2425028
2019-03-30 04:53:12 -07:00
Arun Kumar Khandavalli
deda5a812c qcacld-3.0: Add support to improve coex logging
Add support to get the various Coex data from the debugfs.
This commit adds the support to get the various coex data:
            * COEX STATE
            * COEX DPWB STATE
            * COEX TDM STATE
            * COEX IDRX STATE
            * COEX ANTENNA SHARING STATE
The specific state information can be read via the debugfs.
Example to read the COEX STATE logging:
            sm6150:/ # cat /sys/kernel/debug/wlan/mws_coex_state
                    vdev_id = 0
                    coex_scheme_bitmap =  0
                    active_conflict_count = 0
                    potential_conflict_count = 0
                    chavd_group0_bitmap = 0
                    chavd_group1_bitmap = 0
                    chavd_group2_bitmap = 0
                    chavd_group3_bitmap = 0

Change-Id: I92272ad7edf44df22730ac0fa992d876840ba632
CRs-Fixed: 2413943
2019-03-29 00:47:53 -07:00
Nirav Shah
6f26133120 qcacld-3.0: Disable sw index inline update for Genoa PCIe
Disable sw index inline update for Genoa PCIe.

Change-Id: I80c6947604dbe61cc68f61a2daefb29e124e0663
CRs-Fixed: 2424876
2019-03-28 09:04:34 -07:00
Sravan Kumar Kairam
7efc0136ea qcacld-3.0: Resolve ipa compilation issue
Resolve ipa compilation issue for targets with config
ipa unified api enable and have kernel version 4.9.

Change-Id: Ibf7c51e32850024ceeb154f18a272044482af5ba
CRs-Fixed: 2422172
2019-03-25 14:24:21 -07:00
Jiani Liu
00d2dc0cb8 qcacld-3.0: Disable coex priorities configuration module for mainline
Disable coex priorities configuration module by default for mainline

Change-Id: I1b640b4fc53b654913ef8fd2a13171f284ce692f
CRs-Fixed: 2410493
2019-03-22 03:08:47 -07:00
Nirav Shah
cd8405ca09 qcacld-3.0: Disable BMI for Lithium architecture
Disable BMI for Lithium architecture instead of
CNSS2 as CNSS2 also used for Rome architecture.

CRs-Fixed: 2416745
Change-Id: I2d646eac483ca44689445faa1b3bbf7b0b3a05bb
2019-03-21 23:04:29 -07:00
Ajit Pal Singh
1d28d35436 qcacld-3.0: Disable packet log for Genoa USB
Disable packet log for Genoa USB

Change-Id: Ie7621540659aa6eabb558042992c2711f26e0134
CRs-Fixed: 2419936
2019-03-21 05:11:45 -07:00
Lin Bai
de6c5537d3 qcacld-3.0: Disable monitor mode for SDXPRAIRIE
Monitor mode feature not required on SDXPRAIRIE, and disable
it to save memory.

Change-Id: I206ef4441cc64218cbdcea08aaa3ce584aa99bf0
CRs-Fixed: 2418590
2019-03-20 22:09:18 -07:00
hangtian
9a05f43a18 qcacld-3.0: Disable QCA_LL_TX_FLOW_CONTROL_V2 for QCS405
Disable QCA_LL_TX_FLOW_CONTROL_V2 for QCS405, for SCC imbalance issue:
when there is a vdev running TCP RX traffic, another vdev is running
UDP/TCP TX, the UDP TX vdev will be paused/unpaused frequently and
interfered by the TCP RX vdev, which is sending few TCP ack frames and
it's never get paused, successfully sending TCP ack will trigger more
TCP data packets from peer which compete with the UDP TX vdev for channel
access. When disable QCA_LL_TX_FLOW_CONTROL_V2, no vdev could send
packets to firmware when the tx_desc is in shortage, which makes the
throughput between vdevs more balance.

Change-Id: I2c4a36dae9a81905e6b92a80db9703a7342742c8
CRs-Fixed: 2376550
2019-03-19 02:24:18 -07:00
Jiani Liu
a5f17228c1 qcacld-3.0: Set Coex priorities among WLAN/BT/ZB
Coex priority on some scenarios need to be updated.
Host will transfer the chosen coex config attributes
by WMI command.

Change-Id: Ic28ad6af462b305ec9aaf3027d76bce9ae6320b1
CRs-Fixed: 2410493
2019-03-18 13:07:08 -07:00
stonez
2d68648140 qcacld-3.0: Add MPTA helper support
Due to PTA matser limitation, zigbee joining network success rate
is low while wlan is working. Wlan host driver need to configure
some parameters including Zigbee state and specific WLAN periods
to enhance PTA master. This mechanism is called MPTA helper.
Vendor subcommand QCA_NL80211_VENDOR_SUBCMD_MPTA_HELPER_CONFIG
is added to realize this feature. NL attributes
qca_mpta_helper_vendor_attr is used to deliver parameters from
uplayer to host driver.

Change-Id: Ic76130e4b92c88e8034f6a0c6c0447c9c6dee945
CRs-Fixed: 2407801
2019-03-15 07:46:59 -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
Ajit Pal Singh
f9a4a38bcf qcacld-3.0: Remove flag CONFIG_PER_VDEV_TX_DESC_POOL
Remove flag CONFIG_PER_VDEV_TX_DESC_POOL.
Legacy per vdev flow control implementation under
CONFIG_PER_VDEV_TX_DESC_POOL was never used in cld3.0 driver.
For a Genoa a new per vdev flow control implementation for HL systems,
was added under the flag QCA_HL_NETDEV_FLOW_CONTROL.
Hence remove CONFIG_PER_VDEV_TX_DESC_POOL and replace it with
QCA_HL_NETDEV_FLOW_CONTROL or QCA_LL_LEGACY_TX_FLOW_CONTROL whereever
applicable.

Change-Id: Ibdf88e60cff7d3be46924ce7605f468781b5b856
CRs-Fixed: 2373790
2019-03-11 11:14:27 -07:00
Sravan Kumar Kairam
5c802f74f7 qcacld-3.0: Enable IPA offload for lithium dp
In default config file enable IPA offload feature for
lithium dp.

Change-Id: Id51d424bcb685be9387f800133af11eaf85b9cb9
CRs-Fixed: 2377094
2019-03-09 04:06:50 -08:00
Krunal Soni
888d401f27 qcacld-3.0: Add ENABLE_VERBOSE_DEBUG macro to Kbuild
Add ENABLE_VERBOSE_DEBUG macro to Kbuild to trigger DP/HAL/HIF
excessive logging controlling mechanism.

CRs-fixed: 2405032
Change-Id: I2af5f9bf39540f952138aa8308401a387fe62bf1
2019-03-07 05:15:15 -08:00
Sandeep Puligilla
feba0b1d96 qcacld-3.0: Enable VDEV manager module
Modify configuration file to enable the VDEV
manager functionality.

Change-Id: I97787eb2a94db87b33fd0eb33146cca783e8a04d
CRs-Fixed: 2402489
2019-03-06 10:59:46 -08:00
Ajit Pal Singh
a70e315601 qcacld-3.0: Add config option for CFG_TGT_NUM_MSDU_DESC
Add driver config option for CFG_TGT_NUM_MSDU_DESC

Change-Id: I9c738de779d03819e6920e9d3e260ec3d1fbd524
CRs-Fixed: 2390958
2019-03-02 13:31:05 -08:00
Qun Zhang
ef65562bcd qcacld-3.0: Support firmware state check through cfg80211 vendor cmd
Add the support to allow user space applications through cfg80211
vendor command to check if wlan firmware is alive or not.

Change-Id: I96bb16e01974f7689493577741a36e3832963996
CRs-Fixed: 2399508
2019-03-01 09:23:49 -08:00
Nirav Shah
6aeecf9cc4 qcacld-3.0: Fix epping mode for QCN7605
Epping mode is currently borken in qcacld-3.2 codebase.
Fix epping mode for QCN7605 for USB and PCIe interface.

Change-Id: I12a11989d86f255e7ec61c98e328fbb755fc39ae
CRs-Fixed: 2400179
2019-02-21 01:46:24 -08: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
Ashish Kumar Dhanotiya
ddeb4d7b6d qcacld-3.0: Move 11d offload to separate file
Currently 11d offload functionality is in reg_host_11d.c and
reg_host_11d.h files and are getting controlled with a
feature flag HOST_11D_SCAN.
HOST_11D_SCAN flag is to enable host 11d scan and 11d offload
feature should not be controlled with this flag.

Move 11d offload functionality to separate files
reg_offload_11d_scan.c and reg_offload_11d_scan.h and
compilation rule for these files.

Change-Id: I9bb73a5d995083cb746b76901a2db0d37a9b9827
CRs-Fixed: 2382525
2019-02-07 07:53:26 -08:00
Krunal Soni
f9ba53dbbc qcacld-3.0: Implement iwpriv cmd to get WLM stats from FW
As per new requirements to debug game latency related issues,
implement an iwpriv command which:
1) sends a bitmask to FW's Wireless Latency Manager module (WLM).
2) receives from WLM a measurement header along with measurement data.
3) converts both the header and data to a hexadecimal encoded string.
4) returns the hexadecimal encoded string to userspace

Change-Id: Ic79c4b757fe2d4e806306750250e3c102745c486
CRs-Fixed: 2388920
2019-02-05 23:44:10 -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
Sandeep Puligilla
1952217001 qcacld-3.0: Enable MBSSID feature
Enable MBSSID feature through compilation flag.

Change-Id: If8cdfad35bb55d201d4b90f78f57406e404edbf6
CRs-Fixed: 2382918
2019-01-30 14:31:24 -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
hangtian
2b9856fdde qcacld-3.0: Bind ol_rx_thread to perf CPU
When RX_PERFORMANCE is set, bind ol_rx_thread to perf CPU.
Do not update tdls stats and acquire rx_wakelock while
throughput is high, to avoid station drop packets caused
by slow process of ol_rx_data_cb(hdd_rx_packet_cbk).

Change-Id: I411f5ce67b04a70b194b0e8a7f8014b9c2c9bef7
CRs-Fixed: 2373936
2019-01-29 14:31:39 -08:00
Jeff Johnson
0187c628e3 qcacld-3.0: Implement temporary WAR for BT coex issue
Implement a WAR to address a BT coex issue, along with a private ioctl
which can be used to switch the WAR on or off dynamically.

Change-Id: I9d29c141106db479039789d67c45a455e96a118b
CRs-Fixed: 2383150
2019-01-24 12:30:04 -08:00
Jeff Johnson
ba19429916 Revert "qcacld-3.0: Bind ol_rx_thread to perf CPU"
Revert change I4e2a8d7f98907c205cc6988d8af309e7a5515b89 since
it introduced a build failure on some platforms along with an
inappropriately copyright change.

Change-Id: I1450c69211347afaa79642d99dd153f99f349694
CRs-Fixed: 2386432
2019-01-24 12:30:00 -08:00
Ashish Kumar Dhanotiya
aa9fdbb777 qcacld-3.0: Add support for new regulatory files
Regulatory component is getting updated to reduce the
code size based on different regulatory features. In this
process new regulatory files are getting added and some
of the files are getting removed.

To compile the newly added files update the required changes
in driver Kbuild file.

Some of the functins which are not supposed to be invoked from
outside the component directly, replace those function calls
with the appropriate wrapper functions.

Change-Id: I31a25268250b99f4f156c4f149966213746d999e
CRs-Fixed: 2373780
2019-01-23 15:14:09 -08:00
hangtian
0ec24dc0ab qcacld-3.0: Bind ol_rx_thread to perf CPU
When RX_PERFORMANCE is set, bind ol_rx_thread to perf CPU.
Do not update tdls stats and acquire rx_wakelock while
throughput is high, to avoid station drop packets caused
by slow process of ol_rx_data_cb(hdd_rx_packet_cbk).

Change-Id: I4e2a8d7f98907c205cc6988d8af309e7a5515b89
CRs-Fixed: 2373936
2019-01-23 06:37:20 -08:00
Arunk Khandavalli
5ff0375477 qcacld-3.0: Enable beacon reception stats only if sys is enabled
In some platforms sysfs entry is not enabled, beacon reception stats
which is dependent on sysfs is not correctly protected under sysfs
definition this can lead to symbol missing error in these platforms.

WARNING: "hdd_sysfs_destroy_adapter_root_obj"
WARNING: "hdd_sysfs_create_adapter_root_obj"

Also when the CONFIG_MOBILE_ROUTER is disabled there is an
skip_acs_scan_timer leak. skip_acs_scan_timer is initialized in the
ACTIVE_DOMAIN, move it to the INIT_DOMAIN to resolve the timer leak.

Change-Id: I75fb97aa69d7f84ead4a8b693123162d9940d78c
CRs-Fixed: 2379766
2019-01-20 05:52:40 -08:00
hangtian
cd2b2860b9 qcacld-3.0: Set cds_ol_rx_thread schedule policy to SCHED_RR
On QCS405 platform, it's observed that cds_ol_rx_pkt_freeq is empty
while receiving UDP packets, driver try to allocate cds_ol_rx_pkt in
ol_rx_data_process but failed. This leads to lots of frames got dropped.
Raise cds_ol_rx_thread scheduler policy to SCHED_RR to compete with
CE tasklet scheduler speed. With this change, found cds_ol_rx_pkt_freeq
is not going to be empty while receiving UDP packets.

Change-Id: I4bee3d69c2754ec6be10a2b623b4ebe8b2c0859b
CRs-Fixed: 2373936
2019-01-18 21:28: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
Ajit Pal Singh
25caf99381 qcacld-3.0: Enable QCN7605 support in Genoa USB config files
Enable QCN7605 support in Genoa USB config files

Change-Id: I540ab3aeaee40841696a26612c2d69f151946113
CRs-Fixed: 2369619
2018-12-26 01:21:09 -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
Dustin Brown
d315c4570c qcacld-3.0: Enable talloc feature
Enable the talloc feature, recently added in
I6308c96061e125b2e5a9c424ec2d2298c1c503ab.

Change-Id: I37c48d63dd1598710611d4c2ab5d26fec92c2250
CRs-Fixed: 2359468
2018-12-13 16:45:39 -08:00
Dustin Brown
ebb16d1886 qcacld-3.0: Enable qdf types tests
Enable the unit test cases for qdf_types, recently added in
I7536a973141a6311662390e42da749f48239bef8.

Change-Id: I4264696d61443acf1bd0993f91de06119471b25f
CRs-Fixed: 2359296
2018-12-11 17:25:55 -08:00
Arunk Khandavalli
ca56d4b488 qcacld-3.0: Add Host Driver support for Beacon reception stats
Implementation of Host driver support to collect per Vdev Beacon
reception  Stats from firmware and display the stats in sysfs.

	"adb shell cat /sys/class/net/wlan0/beacon_stats"
vdev id: 0
Total Beacon Count: 255
Total Beacon Miss Count: 21
Beacon Miss Bit map [0x800] [0x10000000] [0x22000400] [0x100]
[0x84000000] [0x4030002] [0x5034000] [0x28084]

Change-Id: Iadd31042320f7815a6a6f4733f5393dba93b5b3e
CRs-Fixed: 2360913
2018-12-11 12:27:05 -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
Abhishek Singh
5d921548f2 qcacld-3.0: Replace legacy string in vdevmgr with ext
Replace legacy string in vdevmgr with ext string.
Also adds new compile CMN_VDEV_MLME_CMPT_ENABLE macro
for VDEV MLME component.

Change-Id: I40ce0c2ee4d653d2f4ce68093e8ad1b2c78bece8
CRs-Fixed: 2361525
2018-12-06 10:27:50 -08:00
jiad
6ee0ab11de qcacld-3.0: Enable MOBILE_ROUTER feature on SDXPRAIRIE
Enable MOBILE_ROUTER feature flag on SDXPRAIRIE, which is
a MDM platform.

Change-Id: I039b56b639cd5afb13fba23f4463dc9979c82412
CRs-Fixed: 2359660
2018-12-03 05:48:05 -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
Rakshith Suresh Patkar
384a28ae48 qcacld-3.0: Add timestamp debug info in ol_tx_desc_t
Add descriptor timestamp debug info in ol_tx_desc_t and
add APIs to set these values.

Change-Id: I686fccff4268811474630dbea8369fabe82d1517
CRs-Fixed: 2333654
2018-11-10 04:02:04 -08:00
Dustin Brown
93abc2cb79 qcacld-3.0: Enable excessive logging detection
Excessive logging detection was recently added via
If83c6dfccb9d191b02a3a7166b065c0a0704f969. While we would like to enable
this feature with a maximum number of logs per second of 100, there are
still a few outstanding problem areas, like dumping stats via IOCTL.
Instead enable the feature with a max of 500 to catch egregious
regressions, and plan to decrease this to 100 or less once the problem
areas are addressed.

Change-Id: I5b880c2354ec4828e1773eeb43de43a4649d4803
CRs-Fixed: 2340011
2018-11-08 13:39:22 -08:00
Sandeep Puligilla
3a1e42a31c qcacld-3.0: Disable VDEV manager
Disable vdev manager feature through Kbuild option.

Change-Id: If89029c0f428b9b6d1d053ac23170192602e0333
CRs-Fixed: 2344437
2018-11-05 14:47:52 -08:00
Krunal Soni
457ec247dd qcacld-3.0: Enable Shadow register V2 in defconfig build
All the changes related to Shadow register V2 are added to
defconfig build for lithium platform.

Kickstart them by enabling CONFIG_SHADOW_V2 in config.

CRs-Fixed: 2343779
Change-Id: I07c93b5d43edc5010e501ab06cc7050a6e8c9c7f
2018-11-01 23:03:52 -07:00
Jeff Johnson
a0b912c10a qcacld-3.0: Correctly disable FASTPATH on Lithium
Change "qcacld-3.0: Compile hif_main_legacy file for non-lithium
architecture" (Idd8623612c057380e9bd9704be0538923f37be08) introduced
flawed logic to disable FASTPATH for lithium architecture, so fix the
logic.

Change-Id: I8010c04c7e9e7e4d74dfe1679b0e9b22f5d8ae18
CRs-Fixed: 2342057
2018-10-31 11:50:40 -07:00
Nirav Shah
3422e03e10 qcacld-3.0: Compile hif_main_legacy file for non-lithium architecture
Compile hif_main_legacy file for non-lithium architecture and
disable FASTPATH for lithium architecture.

Change-Id: Idd8623612c057380e9bd9704be0538923f37be08
CRs-Fixed: 2332442
2018-10-29 03:11:40 -07: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
Venkata Sharath Chandra Manchala
1619b73955 qcacld-3.0: Add config parameter to compile HALhwio.h file
Add SCALE_INCLUDES CONFIG parameter to compile HALhwio.h for QCA6390
as msmhwio.h file is now deprecated.

Change-Id: I4a883101a0ba15d2ab1efcd7bde312e22099a693
CRs-Fixed: 2332023
2018-10-22 15:06:37 -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
yuanl
2746f07242 qcacld-3.0: expose TSF to user space by file system on Vipertooth
Enable TSF for Adrastea arch on Vipertooth chip firstly and
expose TSF time mapping via file system

CRs-Fixed: 2320218
Change-Id: Ifda0d8035717ad21edb1a393ef32f1157ab59105
2018-10-13 15:23:10 -07:00
Ajit Pal Singh
ec65415389 qcacld-3.0: Genoa: USB: Use 64 bit HTT header
Use 64 bit HTT header instead of 32 bit for Genoa USB

CRs-Fixed: 2325600
Change-Id: I7a2cd0381e704f2317ccb244f36d13a4591fa873
2018-10-12 11:49:44 -07:00
Yue Ma
62c14eafcf qcacld-3.0: Enable CONFIG_QCA6290_11AX by default
QCA6290 non-AX chipset is deprecated, so enable changes for QCA6290 AX
chipset by default.

Change-Id: I09b52dc58c1a79e36502671de94021d5940d0072
CRs-fixed: 2331182
2018-10-11 17:37:44 -07:00
Abhishek Singh
ee0370d7c8 qcacld-3.0: Config changes to enable vdev state machine
Config changes to enable vdev state machine.

Change-Id: Ia7e6b3c37fb7ad27938a8029ab5a2b75bc4d1671
CRs-Fixed: 2321745
2018-10-09 06:12:18 -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
Alok Kumar
a8331e06b2 qcacld-3.0: Enabling METERING Feature for Talos
Enable CONFIG_QCACLD_FEATURE_METERING Feature for Talos
in default_defconfig

Change-Id: Ia67b60efdde435b7d5b2e96e95aa53a2191f9aca
CRs-Fixed: 2326805
2018-10-04 03:36:41 -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
Abhishek Singh
ed19748fcd qcacld-3.0: Add kbuild changes for VDEV SM
-Add VDEV MLME header file location to make file.
-Add VDEV manager compilation macros to config file.

Change-Id: Id5b4e1154aad0027ef91401fc4c900fcfd7a78a9
CRs-Fixed: 2309139
2018-09-14 08:16:32 -07:00
Rajeev Kumar
4a8d264d94 qcacld-3.0: Enable QDF lock stats feature in debug build
Enable QDF lock stats debug feature in defconfig builds to detect
spin lock abuse in driver and fix it.

Change-Id: I264120d1ca722bac871173f2268737a943c2f5e0
CRs-Fixed: 2311639
2018-09-11 18:27:07 -07:00
Ashish Kumar Dhanotiya
2af7f56cd4 qcacld-3.0: Enable mtrace logging
Enable the mtrace logging by adding CONFIG_ENABLE_MTRACE
flag in Kbuild and defconfig file.

Change-Id: I832ab008dc4b7eb7e3124382ebe395cb01464a20
CRs-Fixed: 2311833
2018-09-11 12:01:32 -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
Dustin Brown
099048b780 qcacld-3.0: Enable scheduler history for SLUB builds
Enable the scheduler history when compiling SLUB debug builds.

Change-Id: If06f9076bcb01fe5dbb3fd4d031fc87b7e883425
CRs-Fixed: 2307251
2018-09-06 18:56:00 -07:00
Krunal Soni
3de6853e17 qcacld-3.0: Enable policy manager utfw only in slub debug build
1) CONFIG_MPC_UT_FRAMEWORK should only be enabled for slub debug build
2) CONFIG_MPC_UT_FRAMEWORK should be protected under
gEnableUnitTestFramework INI setting.

CRs-Fixed: 2309562
Change-Id: I314ec928af2a350d518eb8f8dd62dbadee1746e8
2018-09-06 16:13:15 -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
Ryan Hsu
6e9db0b728 qcacld-3.0: add support to remove the ftm from configuration
Phase 1, after ftm componentization, we could now support to remove
the ftm related components when FTM is disable from the build
configuration.

Size changes: after removing the ftm related binaries, we could save
15KB from module size.

Change-Id: Ib363f1d6204b07947a46f32673c4f8ad6fb3dbd3
CRs-fixed: 2258441
2018-08-29 14:02:49 -07:00
Kai Liu
aa88d2f9c2 qcacld-3.0: Define macro WLAN_SYSFS for feature sysfs interface
Disable this feature for MOBILE_ROUTER product, since some MOBILE_ROUTER
platform will attach two wlan cards with separate wlan driver,
during second driver loading process, it will report a warning of
"cannot create duplicate filename" as node with same name has been
created after first driver was loaded.

Change-Id: I9e06439b3a6dacdf4eb5ae87898338ab1eeb8b16
CRs-Fixed: 2295391
2018-08-22 07:46:43 -07:00
Varun Reddy Yeturu
29044cd4d7 qcacld-3.0: Enable Crypto component
Make changes to the Kbuild and config files to
enable and compile crypto common component

Change-Id: Ie16acd71d7794aa8ffaf6e48596bc6f46294a1df
CRs-Fixed: 2294394
2018-08-17 04:40:08 -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
gaolez
9cb1c18cf8 qcacld-3.0: enable 4addr support for QCS405
Need support "iw dev wlan0 set 4addr on" command on QCS405.

CRs-Fixed: 2293037
Change-Id: I7aa1f59762dafe065714859d89a3013ab5cda408
2018-08-09 08:49:31 -07:00
Nirav Shah
b34413aa1f qcacld-3.0: Enable QCN7605 support
Enable QCN7605 support.

Change-Id: Id0553a6a022962733cbb71ea18ba76450c65ba04
CRs-Fixed: 2292179
2018-08-08 05:41:39 -07:00
Dustin Brown
6099ddc417 qcacld-3.0: Add Driver Synchronization Core (enablement)
The Driver Synchronization Core (DSC) is a set of synchronization
primitives for use by the driver's orchestration layer. It provides APIs
for ensuring safe state transitions (including bring up and tear down)
of major driver objects: a single driver, associated psocs, and their
associated vdevs.

APIs are divided into two categories: mutual exclusion of conflicting
transitions, and operation tracking, blocking, and waiting capabilities.

For part 6, enable the DSC component.

Change-Id: I0ac37f479a4a38e346fb91ad041a4f51ccc6c879
CRs-Fixed: 2290260
2018-08-06 19:03:09 -07:00
Nirav Shah
52d85aacf5 qcacld-3.0: Separate out HL and LL TX data path
Separate out HL and LL Tx Data Path in different files
to compile out features cleanly.

Change-Id: I9033a5bc83bbc95ff00be3f46dc6eda65eab9e71
CRs-Fixed: 2287346
2018-08-06 04:21:13 -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
Ashish Kumar Dhanotiya
3f78e68b92 qcacld-3.0: Add support to disable channel list
Propagation from prima to qcacld-3.0

Add support to disable channel list received with command
"SET_DISABLE_CHANNEL_LIST".

As part of this command, number of channels and list
of that many channels should be given. When SAP comes up, disable
the channels received in the command. If any of the interface
is up on any of the channel from the list, first disconnect
the interface and start the interface on the new channel.

Change-Id: I3c7810bfde78878a3e60570a13bf2741e1da599b
CRs-Fixed: 2205305
2018-07-27 09:09:37 -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
Ajit Pal Singh
cf33f9653b qcacld-3.0: sdio: Control HL flow control through defconfigs
Do not enable HL Flow Control config flags in Kbuild.
Instead depend on defconfig settings to enable/disable HL Flow
control flags.

Change-Id: I734c4cd26d056ce28ce064e8d353075ad22e39ee
CRs-Fixed: 2284686
2018-07-25 09:40:36 -07:00
Nirav Shah
d6fa0f8cd8 qcacld-3.0: Add compilation flag for enter/exit macros
Map all enter/exit log macros to enter/exit QDF TRACE macro
to provide option to compile out enter/exit logs if required.

Change-Id: I0c6cd633705e820fcfeb47e3f81a3522c9ef1974
CRs-Fixed: 2274850
2018-07-25 09:40:33 -07:00
Rajeev Kumar Sirasanagandla
4725ae4600 qcacld-3.0: Add support for action OUI extensions
Add support for action OUI extensions which can be used by station
to control mode of connection, connected AP's in-activity time and
Tx rate etc.,

Change-Id: Ie85e29c4b0ed7ac2815709d7a4e607c4ba46c6ca
CRs-Fixed: 2254502
2018-07-24 13:20:33 -07:00
Venkata Sharath Chandra Manchala
9220e32709 qcacld-3.0: Compile hal files based on QCA6390
Compile new hal header files based on CONFIG_CNSS_QCA6390

Change-Id: I1c4a55dbc8c74b9ea960a79653eb5f1f5f371c2b
CRs-Fixed: 2279698
2018-07-21 00:03:14 -07:00
Qiwei Cai
ad9b01ce3d qcacld-3.0: Reduce roam debug buffer size
Change WLAN_ROAM_DEBUG_MAX_REC from 256 to 64 to save memory

Change-Id: Ib70ab70bc6841251eb76db8ab6173eb0b58ad39e
CRs-Fixed: 2271408
2018-07-13 08:27:10 -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
Nirav Shah
fe28770307 qcacld-3.0: Enable Debugfs in usb/sdio debug build
Enable Debugfs in usb/sdio debug build for Genoa.

Change-Id: I3515efffce1091c8233f4aad769dc5debb05ad15
CRs-Fixed: 2274862
2018-07-11 14:28:59 -07:00
Ajit Pal Singh
6c6e81c714 qcacld-3.0: Add support for CNSS USB
Adds support in pld_usb.c for registering with CNSS driver.
pld_usb can now register directly with Linux USB stack or with
CNSS driver.
For QCN7605, registration is to be done with CNSS.

Change-Id: Ibf7e51679e1848bcd8e1acfa43c457f42ff40c0b
CRs-Fixed: 2269602
2018-07-11 14:28:41 -07:00
Dustin Brown
0ea8d3b85f qcacld-3.0: Add "unit_test" IOCTL
Add a unit test IOCTL for components to hook their unit tests into.

Change-Id: I676394771a35263454bc0f6d13174fbb7d957e67
CRs-Fixed: 2274538
2018-07-10 18:41:55 -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
Rachit Kankane
0dc3e850ea qcacld-3.0: Featurize WEXT support
Add feature flag and featurize WEXT support

Change-Id: I14d2640f66e022faaa38ff6c006dca8485234cf1
CRs-Fixed: 2266697
2018-07-03 22:04:46 -07:00
Ajit Pal Singh
0bd748ae95 qcacld-3.0: Add config files for Genoa USB
1) Add perf,debug config files for Genoa USB attach
2) Changes to sdio config files for Genoa HL data path flags

CRs-Fixed: 2269442
Change-Id: I720d7d2aa2167380e06251eab51629bd64117272
2018-07-02 07:21:28 -07:00
Nirav Shah
5d2520acda qcacld-3.0: Enable QXDM logging in Genoa perf build
Enable CONFIG_WLAN_LOGGING_SOCK_SVC feature to
enable QXDM logging in Genoa perf build.

Change-Id: Idc277d1767a3f63084bf810a9030361c0c8d56fa
CRs-Fixed: 2268742
2018-06-30 12:23:01 -07:00
Venkata Sharath Chandra Manchala
27a4296314 qcacld-3.0: Enable QCA6390
1. Enable emulation flags for QCA6390 bring up.
2. Select QCA6390 header files based on
   CONFIG_QCA6390_11AX flag.
3. Compile API's based on QCA_WIFI_QCA6390 flag.

Change-Id: I6330c734587ef772b25e722762e194eadd043d28
CRs-Fixed: 2259314
2018-06-27 16:14:14 -07:00
Nirav Shah
5847628edc qcacld-3.0: Add defconfig file for Genoa pci and sdio attach
Add new defconfig file for Genoa pci and sdio attach.

Change-Id: I0b2800c6a2557201be94859a54aa8a821ab65e7c
CRs-Fixed: 2267921
2018-06-27 07:24:29 -07:00
Nirav Shah
c8047a8a63 qcacld-3.0: Enable Flow Control Resize feature for Genoa
Enable Flow Control Resize feature for Genoa

Change-Id: I72640fc5847441111a904e1af5279ec87b46830f
CRs-Fixed: 2267979
2018-06-27 05:32:51 -07:00
Nirav Shah
1575dd7421 qcacld-3.0: Define new configuration parameters
Currently define flags CONFIG_PLD_SDIO_CNSS and
CONFIG_PLD_PCIE_CNSS are inferred by examining
two different configuration options in kbuild.
In order to configure it from defconfig files
create new configuration parameters
CONFIG_PLD_SDIO_CNSS_FLAG and
CONFIG_PLD_PCIE_CNSS_FLAG. Enable PCIE_CNSS_FLAG
only in case of PCIE build.

Change-Id: Ia1038f4aaf25f949005ec41c405232ec9981c988
CRs-Fixed: 2267172
2018-06-27 03:44:41 -07:00
Rachit Kankane
0868f8f18a qcacld-3.0: Allocate gplog_msg dynamically
Allocate memory for gplog_msg buffer dynamically.

Change-Id: I816624383cd8126a4a83bd31171d42a7705a7720
CRs-Fixed: 2266753
2018-06-27 02:11:27 -07:00
Rachit Kankane
95f3158770 qcacld-3.0: Disable features for Genoa
Disable all those features which are not required for GENOA IOT

Change-Id: I9aaf36b4aa632ab44de85e0da00081fded31ad91
CRs-Fixed: 2266976
2018-06-25 23:52:46 -07:00
Tushnim Bhattacharyya
673735cd2f qcacld-3.0: Enable SMMU S1 TRANSLATION
Enable SMMU S1 TRANSLATION

Change-Id: Ia1d947bbe4c2e95294fec3a673c9cc3ab128fcc9
CRs-Fixed: 2230564
2018-06-22 13:02:28 -07:00
Varun Reddy Yeturu
d33033f7d0 qcacld-3.0: Kbuild changes for TWT
Add the compilation flags for TWT feature to Kbuild.
Based on the compilation flag, include the source
files for compilation and also include the header
files path.

Change-Id: I45991b3c9e49e2aa0ff51a2650fde69ea447bf15
CRs-Fixed: 2238302
2018-06-20 00:42:47 -07:00
Sriram Madhvapathi
82ec8e31d0 qcacld-3.0: Add Kbuild options for SDIO transfer methods
SDIO transfer between host and target can have multiple methods.
Legacy methods use the mailbox dma transfer method. Newer IP shall
use the adma transfer method.

Add build option for the transfer method.

Change-Id: Ibf2e20869d93f631db25008a95bdebf03875fcc0
CRs-Fixed: 2252432
2018-06-19 14:54:08 -07:00
Qiwei Cai
d96c021eca qcacld-3.0: Featurize wlan roam debug
Add feature flag for wlan roam debug log to compile out in mission mode.

Change-Id: I52e41f5977b8fba12e70a24cf96368d8e019df5f
CRs-Fixed: 2241252
2018-06-19 01:46:08 -07:00
Nachiket Kukade
d0dd62e570 qcacld-3.0: Refactor APF related modules in separate files
File wlan_hdd_cfg80211.c is bloated and adding support for
upcoming Android Packet Filter v3 is going to increase its
size even more.

Create a new source file for APF related HDD modules and a
header file for declaring the API's.

Change-Id: I2fb3d7e017f4befbad7aacab3575ae2b48e88a45
CRs-Fixed: 2189825
2018-06-18 16:33:19 -07:00
Rachit Kankane
0106e38412 qcacld-3.0: Add INI support for number of vdevs
new INI gNumVdevs is added to allow number of VDEV support
for both Host and FW. Also Updated logic to calculate num_peers
and num_tids.

Change-Id: Ife5ff24e9594c8986913c06899ac5e41c83fc75c
CRs-Fixed: 2245506
2018-06-13 15:23:53 -07:00
Rachit Kankane
8863cba926 qcacld-3.0: Add Kbuild config for no of WoW filter
Total 16 number of WoW filters are PoRed for Genoa.
Define CONFIG_PMO_WOW_FILTERS in genoa defconfigs with value 16.

Change-Id: Iba3d9875c954b32a3f22cfd639f4508beb36a5d5
CRs-Fixed: 2257033
2018-06-13 14:10:55 -07:00
Nirav Shah
8ba94a5d59 qcacld-3.0: Enable size optimization compiler flag for genoa
Enable size optimization compiler flag for genoa

Change-Id: Ibda9f6baf07077b0fcc6ae4d7bd6c148252cc82b
CRs-Fixed: 2255923
2018-06-08 19:00:03 -07:00
Nirav Shah
997e083b0f qcacld-3.0: Configure log buffer size from Kbuild
Configure log buffer size from Kbuild.

Change-Id: If84653ea8f5ef2a94cc006b1c62ac468de2e408a
CRs-Fixed: 2255920
2018-06-08 19:00:00 -07:00
Nirav Shah
a72db1d340 qcacld-3.0: Kbuild: Cleanly featurize data path debug flags
Define separate configuration options for the various data path
debug features and use those options to set the associated
ccflags macros.

Change-Id: Ia410557bb9fa22731d83b46e61f394b14781d61f
CRs-Fixed: 2255915
2018-06-08 18:59:56 -07:00
Nirav Shah
91daea9427 qcacld-3.0: Remove duplicate config for ATH_11AC_TXCOMPACT
Remove duplicate config for ATH_11AC_TXCOMPACT feature.

Change-Id: I1a264c61d69f28feeae1bc2db496468456ae60f2
CRs-Fixed: 2255912
2018-06-08 18:59:53 -07:00
Nirav Shah
78136b7181 qcacld-3.0: Add config file for genoa perf build
Add config file for genoa perf build

Change-Id: I4f96a86e30942306cf5f8b7f1d94a15d1e2b5a7c
CRs-Fixed: 2255909
2018-06-08 18:59:50 -07:00
Wu Gao
a9d336b455 qcacld-3.0: PMO feature flag disable (part two)
This is the change for PMO feature flag disable.

Change-Id: I3e0624c034ddfcad567534ffbbcd85735b8ea0d6
CRs-Fixed: 2243952
2018-06-08 08:31:00 -07:00
Vignesh Viswanathan
9eab59313b qcacld-3.0: Remove unused SCAN code under NAPIER_SCAN define
Clean up unused legacy scan code under NAPIER_SCAN define.

Change-Id: I7e04b4488b10021d6815e76d0a55e040756b1794
CRs-Fixed: 2253647
2018-06-08 08:30:54 -07:00
Naveen Rawat
c9fab3e2b7 qcacld-3.0: Enable CP_STATs componet
Enable CP_STATs component.

Change-Id: I49917ca35109a468f601f417792704e866a7c432
CRs-Fixed: 2249397
2018-06-07 12:46:50 -07:00
Nirav Shah
bb8e47c200 qcacld-3.0: Featurize packet log
Featurize packet log.

Change-Id: Id747d142d72d02759b20bcf3091fd769261b8f67
CRs-Fixed: 2245422
2018-06-06 23:49:08 -07:00
Nirav Shah
73713f7e80 qcacld-3.0: Featurize monitor mode
Featurize monitor mode code.

Change-Id: I42d2d6a92d9097676ab3f8ec4a86958b8c0bc096
CRs-Fixed: 2245419
2018-06-06 23:49:05 -07:00
Nirav Shah
d2aa963490 qcacld-3.0: Introduce per-OEM profile defconfig files
Introduce per-OEM profile defconfig files.

Change-Id: Ifb94021320f9203e1a80e4ca3fd61248bbd7a432
CRs-Fixed: 2251556
2018-06-03 23:39:31 -07:00
Tushnim Bhattacharyya
a2c18de55c Revert "qcacld-3.0: Refactor Kbuild to add profile support"
This reverts commit Ic9eb552c183143b4a2e0738c52b2e0c50db63a93.

Change-Id: I45f232d2ed003de5ffebb2865815ec9f06f9f775
CRs-Fixed: 2200122
2018-03-27 23:38:35 -07:00
Nirav Shah
e8ac340750 qcacld-3.0: Refactor Kbuild to add profile support
Changes to enable/disable feature based on
profiles, debug mode, interface type and
architecture in Kbuild.

Change-Id: Ic9eb552c183143b4a2e0738c52b2e0c50db63a93
CRs-Fixed: 2200122
2018-03-27 12:16:15 -07:00