Gráfico de commits

434 Commits

Autor SHA1 Mensaje Fecha
Surabhi Vishnoi
a827632b2d qcacld-3.0: Add new defconfig for wearable targets
Add new defconfig file for wear targets.

Change-Id: I52a3df959e75a28efe037d4951f12915556bc98b
CRs-Fixed: 2873236
2021-02-15 06:21:22 -08:00
Vevek Venkatesan
d478e8a285 qcacld-3.0: enable HAL_DELAYED_REG_WRITE_V2 and LOCK_LESS_ACCESS
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
2021-02-12 05:02:58 -08:00
wadesong
5c90d3b56e qcacld-3.0: Enable skb accounting
1) Enable skb accounting for rm/gno/hst on auto platforms.
2) Remove an unused ini item name.

Change-Id: I19f8b70a409bb6485eea08fdbdf3a8e34839bf59
CRs-Fixed: 2872544
2021-02-08 04:18:39 -08:00
Aditya Kodukula
a9f651f6ba qcacld-3.0: Rename the flag QCA_WIFI_NAPIER_EMULATION
To make it generic, rename the flag QCA_WIFI_NAPIER_EMULATION
as QCA_WIFI_EMULATION.

Change-Id: I8e654262a38a7a701a5a34e2bbd5394c8985c65a
CRs-Fixed: 2871313
2021-02-05 12:43:51 -08:00
Vulupala Shashank Reddy
f8d388d249 qcacld-3.0: Add compilation flag of pkt capture mode for lithium
Add compilation flag of packet capture mode for lithium

Change-Id: I0a0cd43d3846761c18224c79068f2ec16179d735
CRs-Fixed: 2845616
2021-02-05 07:00:55 -08:00
Vevek Venkatesan
7ddad6e2cb qcacld-3.0: decouple bw monitor from WDI3_STATS_UPDATE
Decouple BW monitor from WDI3_STATS_UPDATE and add as a
separate feature flag WDI3_STATS_BW_MONITOR.

Change-Id: I77fb5658d995daceaada6a7d64f669da706ead9c
CRs-Fixed: 2868582
2021-02-02 13:08:13 -08:00
Tiger Yu
0cfdc3456f qcacld-3.0: Enable the multiple pages for rx desc pool for auto prjs
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
2021-02-02 07:49:23 -08:00
Manikanta Pubbisetty
ccb7f24a64 qcacld-3.0: add history for FST locking
Adding history to track the FST lock/unlock events; this
would come in handy in debugging deadlock issues.

Change-Id: I40f783e72e516330fdf71ac91553bc7c4338b82a
CRs-Fixed: 2854397
2021-01-21 17:04:27 -08:00
Alan Chen
c281068c27 qcacld-3.0: Add feature flag option for QDF_TIMER_MULTIPLER_FRAC
Add feature flag config option for QDF_TIMER_MULTIPLER_FRAC

Change-Id: Ie53ec703965311235971340251fe92fcb980a0d5
CRs-Fixed: 2855518
2021-01-19 23:24:17 -08:00
Ananya Gupta
05545a9cc0 qcacld-3.0: Add DP event history in non debug mode
Enable DP event history for perf mode.

Change-Id: I2c7acccdf23e253fb63adaff72e9bab5f010f2db
CRs-Fixed: 2850887
2021-01-19 19:02:34 -08:00
ngong
0598258169 qcacld-3.0: enable MBSSID feature for qca6390
added CONFIG_WLAN_FEATURE_MBSSID := y to enable MBSSID feature.

Change-Id: I43a1a1fca771fa159ab3bfcfb5ee34ac1d11da9e
CRs-Fixed: 2842583
2021-01-07 14:35:48 -08:00
bings
25b60aee58 qcacld-3.0: Make CONFIG_MAX_LOGS_PER_SEC configurable
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
2021-01-07 12:30:58 -08:00
Rajasekaran Kalidoss
599f3291b3 qcacld-3.0: Configure TWT SAP PDEV and SAP STA Count
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
2021-01-07 08:17:36 -08:00
Yeshwanth Sriram Guntuka
ed863c00a4 qcacld-3.0: Enable IPA set/reset tx doorbell paddr feature for Lithium
Enable set/reset tx doorbell paddr feature for Lithium.

Change-Id: I440372b89e20037e54da6b187f79254af421a718
CRs-Fixed: 2846872
2021-01-06 13:52:24 -08:00
Tiger Yu
8c14e077c1 qcacld-3.0: Enable CONFIG_HIF_CPU_PERF_AFFINE_MASK for Genoa PCIE
Enable CONFIG_HIF_CPU_PERF_AFFINE_MASK for Genoa PCIE to enable CPU perf
affine feature.

Change-Id: Ic3eb3ea092a265c98f10a4801ec74d17c06d8298
CRs-Fixed: 2839728
2020-12-29 03:15:56 -08:00
Ananya Gupta
c9ac18cb8c qcacld-3.0: Enable preallocation for rx buffer pool
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
2020-12-22 22:47:52 -08:00
Alan Chen
7ba7f6bee3 qcacld-3.0: Separate CONFIG_SLUB_DEBUG_ON and CONFIG_CNSS2_DEBUG
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
2020-12-18 05:49:01 -08:00
Jinwei Chen
e1268726f0 qcacld-3.0: enable rx packet dropping for perf build
Enable rx packet dropping for perf build.

Change-Id: I340338dfc4928fb322ec48274c00cb719c8a5e88
CRs-Fixed: 2837577
2020-12-17 17:39:49 -08:00
Mohammed Siddiq
b8a901f159 qcacld-3.0: Update the ICNSS2 flags based on CONFIG_LITHIUM
Update the ICNSS2 flags based on CONFIG_LITHIUM and
device specific flag for Yupik spf.

Change-Id: I579bcd5a2a543d652fc91bc006247a607bd907b2
2020-12-17 05:11:42 -08:00
Tiger Yu
8b3cd3b4b8 qcacld-3.0: Enable athdiag live debug mode in debug version
Enable the athdiag live debug mode when CNSS2_DEBUG or SLUB_DEBUG_ON
enabled to enhance host debug.

Change-Id: I5241d60ff7e4e02acc74db312640aa299e5a356b
CRs-Fixed: 2831288
2020-12-10 15:45:07 -08:00
Wu Gao
67d68a5872 qcacld-3.0: Enable SMMU for IPA on SDXLEMUR
Required to enable SMMU for IPA on SDXLEMUR.

Change-Id: I0149d3e68a521c97ba417019c9485ec01b55cc01
CRs-Fixed: 2835024
2020-12-10 13:37:18 -08:00
Guisen Yang
984527972c qcacld-3.0: Use new arch macro CONFIG_ARCH_SA515
Use the macro CONFIG_ARCH_SA515 instead of CONFIG_ARCH_SDXPRAIRIE
for SA515 projects.

Change-Id: If4d7d62a64c509fa69c2c59890ffaaf7b763e01c
CRs-Fixed: 2832357
2020-12-07 14:58:25 -08:00
Yeshwanth Sriram Guntuka
1cbef73e16 qcacld-3.0: Add base code for Bus Bandwidth Manager
Add the init and de-init APIs for Bus Bandwidth
Manager.

Change-Id: I63c9bf0dbcbac458dd6467e5b073a5cb569ce502
CRs-Fixed: 2810496
2020-12-03 07:38:09 -08:00
Chaoli Zhou
982b98c6e3 qcacld-3.0: Add bootup kpi marker for some wlan events
Add the API to record some key wlan events
to "/sys/kernel/debug/bootkpi/kpi_values" from
HDD layer.
Examples:
108 KPI_MARKER 860s389434814ns qca6696 START LOADING
108 KPI_MARKER 860s634063720ns qca6696 DRIVER LOADED
108 KPI_MARKER 869s427276611ns qca6696 wlan0:SAP TRY
TO START
108 KPI_MARKER 869s576171875ns qca6696 wlan0:SAP START
with SUCCESS

Change-Id: I2e40305ee4100248348e9a284df71d1ee340e1e4
CRs-Fixed: 2816054
2020-12-02 20:49:25 -08:00
wadesong
bb5ebe7dd0 qcacld-3.0: Enable ll stat support on Genoa
Enable ll stat support on Genoa to satisfy the kernel/driver
interfacing requirement imposed by msm-5.4.

Change-Id: I7a1e52908cd8a6d818070c51234ad3c8f1f54c55
CRs-Fixed: 2830079
2020-12-02 03:29:13 -08:00
Chaoli Zhou
324d7d4c1e qcacld-3.0: Fix mib stats feature compile error on perf image
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
2020-12-01 20:51:12 -08:00
Manikanta Pubbisetty
60a2bb258e qcacld-3.0: remove Kbuild configuration for pktlog
Remove Kbuild configuration for pktlog for WCN6750.

Change-Id: Ia1506857531c5477392da8308e602e03f2df81b9
CRs-Fixed: 2827729
2020-11-27 13:37:16 -08:00
Rakesh Pillai
0569f1d9de qcacld-3.0: Enable support to mark ICMP request to be sent to FW
Enable the support, in Kbuild, to mark ICMP request to be
sent to FW at a regular interval.

Change-Id: I0b8828b31550973590dd222cc1fbaee52daaf88a
CRs-Fixed: 2813173
2020-11-24 17:43:38 -08:00
hqu
38e4aa57c3 qcacld-3.0: Enable maximum five vdevs for auto genoa
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
2020-11-23 08:40:06 -08:00
Jia Ding
e6afd40dd6 qcacld-3.0: Allow to vote link for STA mode
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
2020-11-12 03:28:25 -08:00
Liangwei Dong
82cc63c710 qcacld-3.0: Enable objmgr ref id tracing
Enable WLAN_OBJMGR_REF_ID_TRACE macro to tracing
objmgr ref id ref/deref logging.

Change-Id: I017ac15d4064c53432ceaa5b3e2c1adc99653002
CRs-Fixed: 2803773
2020-11-04 09:11:31 -08:00
Wu Gao
491fb8246f qcacld-3.0: Disable link layer statistics for GENOA
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
2020-11-04 05:02:42 -08:00
Vevek Venkatesan
c6e9b184d2 qcacld-3.0: enable pld_smmu_unmap support for icnss2 helium
Enable pld_smmu_unmap support for ICNSS2 Adrestea targets.
This is needed to enable SMMU-S1 geometry support.

Change-Id: I8aa612810cc468269fa5c633276f9b3ba8135542
CRs-Fixed: 2808041
2020-10-29 15:41:35 -07:00
hqu
55fbe3e774 qcacld-3.0: Enable RSO ROAM_OFFLOAD_V1 path for all configs
Enable roam scan offload ROAM_OFFLOAD_V1 path for all configs.

Change-Id: Id3386c2f391f98fb67734fdd17919782d0240f18
CRs-Fixed: 2798357
2020-10-23 20:02:06 -07:00
Sandeep Puligilla
e9f1d269c9 qcacld-3.0: Enable interface manager
Enable interface manager on all the targets
through common build file modification.

Change-Id: I9e1f2b552bd1170a5bf84bf5af096bbcf275247f
CRs-Fixed: 2799889
2020-10-23 20:02:01 -07:00
Min Liu
b78f78e3cb qcacld-3.0: Enable medium assess APIs on AUTO HST
Enable medium assess APIs in qca6390_defconfig

Change-Id: I4a9a6052f303b0a35d7f02e5c8ebf631917a79a0
CRs-Fixed: 2800035
2020-10-19 22:49:36 -07:00
Nisha Menon
3acddc2be1 qcacld-3.0: Add feature to enable generic shadow reg write
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
2020-10-16 17:37:59 -07:00
Min Liu
47d4029c67 qcacld-3.0: API to report congestion
API to report congestion to userspace.

Change-Id: I324ae6701dace590daaa2c3f80412d6633cbf8f0
CRs-Fixed: 2766432
2020-10-13 23:18:32 -07:00
Abhinav Kumar
c526619159 qcacld-3.0: Trigger MSCS action frame
Add logic to send MSCS action frame to AP based on
voice tx packet.

Change-Id: I272addfcb60e459043426950d00ba5957b594505
CRs-Fixed: 2791796
2020-10-09 02:14:13 -07:00
Alan Chen
0a2ba18b6c qcacld-3.0: Enable wlan debug features when CONFIG_CNSS2_DEBUG is defined
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
2020-10-08 15:33:45 -07:00
Amruta Kulkarni
0a338a021d qcacld-3.0: Enable interface manager
- Enable interface manager config flag.

Change-Id: I7e460cd98de20f335f558cf1dcb33c3a2a93360d
CRs-Fixed: 2791468
2020-10-06 06:50:24 -07:00
Abhishek Singh
80692a0322 qcacld-3.0: Enable ROAM_OFFLOAD_V1 path for RSO
Enable ROAM_OFFLOAD_V1 path for roam scan offload.

Change-Id: Ib3182be1b389d8d7ad59f64955da070c4caa96e9
CRs-Fixed: 2788881
2020-10-06 01:28:08 -07:00
Karthik Kantamneni
47d425d0de qcacld-3.0: Enable more TX descriptors flag for QCA6750
Enable more TX descriptors flag for QCA6750 target.
This helps to increase TX and completion descriptors size.

Change-Id: I038d5e376aec68741b172d963c9f96925b71d68a
CRs-Fixed: 2769769
2020-10-01 12:28:47 -07:00
Manjunathappa Prakash
1a5743d1ce qcacld-3.0: Enable CE descriptor ring reap history in perf build
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
2020-09-30 23:09:42 -07:00
Yeshwanth Sriram Guntuka
09f25e5313 qcacld-3.0: Enable SMMU S1 unmap config flag for Kona
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
2020-09-30 20:40:28 -07:00
Bapiraju Alla
5191713c4b qcacld-3.0: Send get_station and ll_stats req in a single command
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
2020-09-30 11:10:21 -07:00
Karthik Kantamneni
a1952c8ae6 qcacld-3.0: Send connect request for WMI DIAG SVC
Send connect request for WMI DIAG events over CE7.
Enable WMI DIAG over CE7 feature for QCA6750 target.

Change-Id: Iaa9e030383a3f8fea07ddccde3d260e60742b862
CRs-Fixed: 2787003
2020-09-30 11:10:13 -07:00
Paul Zhang
bb86844661 qcacld-3.0: setting perodic tx pattern config
Setting the defaul perodic tx pattern config to 3 for Genoa platform.

Change-Id: I8211d1de9d7bc98c6151b71d50360db74960eab9
CRs-Fixed: 2773710
2020-09-30 08:38:33 -07:00
Liangwei Dong
1b088ec2f2 qcacld-3.0: Enable thermal mgmt feature for AUTO
Enable CONFIG_FW_THERMAL_THROTTLE build flag for 6390 AUTO.

Change-Id: Iea34da72ba52a034856009fa362f9a89e43cb3f5
CRs-Fixed: 2786680
2020-09-29 00:56:29 -07:00
Naman Padhiar
1ba18d2523 qcacld-3.0: Enable Host Wake Up over QMI feature for WCN6750
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
2020-09-21 16:55:42 -07:00