Enable FEATURE_HAL_DELAYED_REG_WRITE_V2 support for Tx rings
register writes and QCA_OL_DP_SRNG_LOCK_LESS_ACCESS support
for Rx rings register writes, for moselle platforms.
Change-Id: I6b2469d22a37a097fa721269d311c0076c3b89a0
CRs-Fixed: 2873528
1) Enable skb accounting for rm/gno/hst on auto platforms.
2) Remove an unused ini item name.
Change-Id: I19f8b70a409bb6485eea08fdbdf3a8e34839bf59
CRs-Fixed: 2872544
To make it generic, rename the flag QCA_WIFI_NAPIER_EMULATION
as QCA_WIFI_EMULATION.
Change-Id: I8e654262a38a7a701a5a34e2bbd5394c8985c65a
CRs-Fixed: 2871313
Decouple BW monitor from WDI3_STATS_UPDATE and add as a
separate feature flag WDI3_STATS_BW_MONITOR.
Change-Id: I77fb5658d995daceaada6a7d64f669da706ead9c
CRs-Fixed: 2868582
Enable the RX_DESC_MULTI_PAGE_ALLOC for qca6390_defconfig to enable the
memory allocation of RX descriptors using multiple pages instead of large
contiguous memory to fix potential memory allocation failure when system
is in the heavy memory fragmentation.
Change-Id: I611850374dce62f8c326b16f95cc162fec32c5e3
CRs-Fixed: 2852534
Adding history to track the FST lock/unlock events; this
would come in handy in debugging deadlock issues.
Change-Id: I40f783e72e516330fdf71ac91553bc7c4338b82a
CRs-Fixed: 2854397
Make CONFIG_MAX_LOGS_PER_SEC configurable because some platforms would
like to print more information in dmesg in some situations, like FW is
crashed in some CE projects.
Change-Id: Ib12854a7254afe5ace07c616a21400e446a80d4d
CRs-Fixed: 2838214
Configure TWT SAP PDEV count using CONFIG_WLAN_TWT_SAP_PDEV_COUNT
and SAP STA count CONFIG_WLAN_TWT_SAP_STA_COUNT for QCA6490
Change-Id: I74ef054d9cb64ccf66d7e1e788a8cc75aec70cb9
CRs-Fixed: 2843660
Enable CONFIG_HIF_CPU_PERF_AFFINE_MASK for Genoa PCIE to enable CPU perf
affine feature.
Change-Id: Ic3eb3ea092a265c98f10a4801ec74d17c06d8298
CRs-Fixed: 2839728
Nbuf allocation failure is observed when refill rx buffers
due to momentary low memory.
To fix this, enable feature Rx prealloc buffer pool.
Change-Id: I111d84f3ad5b33024e6add4bed7561ae58e1a018
CRs-Fixed: 2841734
Since the filter macro is not working, separate CONFIG_SLUB_DEBUG_ON
and CONFIG_CNSS2_DEBUG such that debug features are enabled if either
CONFIG_SLUB_DEBUG_ON or CONFIG_CNSS2_DEBUG is defined.
Change-Id: Ifa526946887b21967e8f2d561711a61148c032a4
CRs-Fixed: 2841082
Enable the athdiag live debug mode when CNSS2_DEBUG or SLUB_DEBUG_ON
enabled to enhance host debug.
Change-Id: I5241d60ff7e4e02acc74db312640aa299e5a356b
CRs-Fixed: 2831288
Use the macro CONFIG_ARCH_SA515 instead of CONFIG_ARCH_SDXPRAIRIE
for SA515 projects.
Change-Id: If4d7d62a64c509fa69c2c59890ffaaf7b763e01c
CRs-Fixed: 2832357
Enable ll stat support on Genoa to satisfy the kernel/driver
interfacing requirement imposed by msm-5.4.
Change-Id: I7a1e52908cd8a6d818070c51234ad3c8f1f54c55
CRs-Fixed: 2830079
With perf kernel config file, it usually will not
set CONFIG_DEBUG_FS=y, which will cause implicit
declaration of function 'hdd_debugfs_process_mib_stats'
such compile error. And MIB STATS feature also depend
on debug fs, so enable it as long as CONFIG_DEBUG_FS=y
Change-Id: Ice1ddce07eb5eb251e766d3952ca15b00321b3b2
CRs-Fixed: 2829413
Enable the support, in Kbuild, to mark ICMP request to be
sent to FW at a regular interval.
Change-Id: I0b8828b31550973590dd222cc1fbaee52daaf88a
CRs-Fixed: 2813173
There are default four adapters wlan0/wlan1/p2p0/wifi-aware0
opened with auto genoa, in AP_AP on GUI case, another wlan2
interface needs to be created, but failed due to
CONFIG_WLAN_MAX_VDEVS setting to four, CONFIG_WLAN_MAX_VDEVS
will limit how many opened adapters can be opened. max_vdev_count
will limit how many vdevs can be created with firmware,
max_vdev_count is the minimum between target maximum vdev count
and CONFIG_WLAN_MAX_VDEVS value.
Fix is to extend CONFIG_WLAN_MAX_VDEVS from four to five.
Change-Id: Ib98ccec1b0cd35604b1bb342129046cff066fd45
CRs-Fixed: 2819588
On MDM platforms, STA only IPA offload is supported.
Therefore there'll be scenarios when STA is connected
and APPS is suspended, IPA offload traffic will still
flow through WLAN HW.
Thus define a feature flag FEATURE_STA_MODE_VOTE_LINK
and allow to vote link for STA mode on MDM platforms.
Change-Id: I5c7aa3b35e3cd56249a5b34996fcea538b0da69d
CRs-Fixed: 2803802
GENOA FW doesn't support WMI_REQUEST_LINK_STATS_CMDID. So, add this
change to disable link layer statistics for GENOA chip. This change
also fixed compilation issue without WLAN_FEATURE_LINK_LAYER_STATS.
Change-Id: Ib800c9717908767e390ccc234c577a5300f82cf2
CRs-Fixed: 2805832
Enable pld_smmu_unmap support for ICNSS2 Adrestea targets.
This is needed to enable SMMU-S1 geometry support.
Change-Id: I8aa612810cc468269fa5c633276f9b3ba8135542
CRs-Fixed: 2808041
Enable interface manager on all the targets
through common build file modification.
Change-Id: I9e1f2b552bd1170a5bf84bf5af096bbcf275247f
CRs-Fixed: 2799889
Add feature GENERIC_SHADOW_REGISTER_ACCESS_ENABLE to enable
shadow reg write for generic shadow registers.
This is enabled only for HSP.
Change-Id: I90302aa050baa9128313dbaf0c4ab57e426289b3
CRs-Fixed: 2794917
In latest builds, CONFIG_SLUB_DEBUG is not getting set for debug builds,
which is causing wlan debug features to get disabled. Hence, enable
wlan debug features when either CONFIG_SLUB_DEBUG_ON or CONFIG_CNSS2_DEBUG
are defined.
Change-Id: I8fd94e095f2e5ebc459e73a6ae39e143944cc5f7
CRs-Fixed: 2789834
Enable more TX descriptors flag for QCA6750 target.
This helps to increase TX and completion descriptors size.
Change-Id: I038d5e376aec68741b172d963c9f96925b71d68a
CRs-Fixed: 2769769
Enable CE descriptor ring history in non slub_debug_on build.
This is required to debug CE ring slow reaping issue in non
slub_debug builds
Change-Id: Id2955eb79f4759784b68cbb0270a7794484bb73c
CRs-Fixed: 2786647
IOVA address returned as part of pld_smmu_map for IPA
rx ready doorbell register exceeds the IOVA range
configured in FW by Host. This is because smmu unmap
support is not enabled and due to IOVA range validation
issue in cnss SMMU map API.
Fix is to enable SMMU S1 unmap config flag to enable
SMMU unmap as part of IPA cleanup.
Change-Id: I588f3536c2eb2a9fc77bbe69c9b6a6eb02a39842
CRs-Fixed: 2784174
Currently ll_stats and get_station requests are sent back to back
from user space. The firmware time difference between these two commands
results in extra sleep and wakeup for Q6.
To avoid this extra Q6 sleep and wake, send both requests in a single
command from the driver if the firmware supports that operation. Cache
the get_station results in the driver until user space request reach
to the driver.
Change-Id: Ic7c6232558b9411106bf3fb88ec8d9b0b28b045d
CRs-Fixed: 2778476
Enable feature to send EXIT_POWER_SAVE QMI from host instead of
HOST_WAKEUP_FROM_SLEEP WMI. When FW receive EXIT_POWER_SAVE QMI,
it will implicitly consider that it also received HOST_WAKEUP_FROM_SLEEP
and send ACK for it through CE2.
Change-Id: I14515b62ff3ff1b4ed66397039ce180a99d49d43
CRs-Fixed: 2779383