Grafik Komit

321 Melakukan

Penulis SHA1 Pesan Tanggal
Nisha Menon
8958f63a28 qcacld-3.0: Enable device force wake recipe in driver
Enable force wake recipe feature DEVICE_FORCE_WAKE_ENABLE
and disable the generic shadow register write feature
GENERIC_SHADOW_REGISTER_ACCESS_ENABLE.
Enable feature  HIF_REG_WINDOW_SUPPORT to enable the
windowed register read/write from HIF layer.

Change-Id: Ic19d80b686639eb12a2e0a7c0ebf991740a576e7
CRs-Fixed: 2850592
2021-02-24 19:35:04 -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
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
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
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
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
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
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
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
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
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
Paul Zhang
67c55db07a qcacld-3.0: Fix compiler issue about cnss_set_pcie_gen_speed
Since some platform driver does not support for PCIE gen switch,
Using macro PCIE_GEN_SWITCH to control whether function
cnss_set_pcie_gen_speed is invoke or not.

Change-Id: I478cd6426b005014e85c0b3c1c31963045d7322b
CRs-Fixed: 2767110
2020-09-17 21:09:00 -07:00
Yeshwanth Sriram Guntuka
232b5c6b0b qcacld-3.0: Enable SMMU S1 unmap config flag for Lahaina
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: I751044003d1cd91f6520fdbc15585b7bb0f63256
CRs-Fixed: 2775487
2020-09-16 21:04:42 -07:00
Jia Ding
26981ec085 qcacld-3.0: Enable SMMU S1 unmap config for SDXPRAIRIE
Enable SMMU S1 unmap config flag to do SMMU unmap of
IPA TX/RX doorbell registers as part of IPA cleanup.

Change-Id: I056a82592928aa1dde0e9c1ed43c1135424750a8
CRs-Fixed: 2777804
2020-09-16 21:04:38 -07:00
Jinwei Chen
a11d408201 qcacld-3.0: remove pktlog feature for lithium based target
For lithium based target, rx pktlog depends on monitor status ring
and this ring is reaped by timer in host. if host try to disable
pktlog and high DL T-put traffic is ongoing in parallel, there is
no guarantee that HW stop to update PPDU status to monitor status
ring after host stopped reaping timer, unless host add some delay
between HTT ring reset msg and timer stopping, then FW will have
enough time to reset ring configuration.
Since FW side has disabled pktlog and looks pktlog is not necessary
for lithium based target, remove pktlog support by macro
FEATURE_PKTLOG, macro REMOVE_PKT_LOG is not preferred as it will
remove WDI_EVENT support that impact CFR feature.

Change-Id: I723f65ba3d2ffa58469b886e6795956f69d4e891
CRs-Fixed: 2763095
2020-09-13 22:31:33 -07:00
Rakesh Pillai
7ffb80cd98 qcacld-3.0: Enable Software latency manager
Enable the Software Latency Manager in the Kbuild

Change-Id: Icc4b8ef4014508a99d155fc7a2807b99c2de11cc
CRs-Fixed: 2769031
2020-09-11 21:15:56 -07:00
Mohit Khanna
e3d78d5d9d qcacld-3.0: Enable DP_MEM_PRE_ALLOC flag
Add support for DP SRNG consistent memory pre-alloc.

Change-Id: I867ff901aa6d26f86b16167fb3955096d318d61c
CRs-Fixed: 2740424
2020-09-10 21:00:38 -07:00
Sandeep Puligilla
e15b17acf0 qcacld-3.0: Kbuild change to enable interface manager
Build file changes to compile interface manager files

Change-Id: I8370e49853d83a6b8adcc130d7aa92ead00f4ff5
CRs-Fixed: 2759251
2020-09-03 19:27:14 -07:00
Arun Kumar Khandavalli
92d2e8b530 qcacld-3.0: Add thermal mitigation support for moselle
For older targets thermal mitigation is supported for the apps.
In moselle there a new processor wpps on which firmware runs,
this commit adds the support for the thermal client wpps.

Change-Id: I89896dce808807486ef56b90812369f3d5f4b270
CRs-Fixed: 2757566
2020-08-24 22:03:56 -07:00
Abhishek Ambure
2fd9237100 qcacld-3.0: Enable CFR for QCA6750 target
Add CFR support for QCA6750 targget.

Change-Id: I58209c31c6b24c97beacfb6bec6a2b12423f7d39
CRs-Fixed: 2754918
2020-08-24 12:40:06 -07:00
Srinivas Girigowda
89bf334852 qcacld-3.0: Introduce CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS
MAC address is of the format (XX:XX:XX:XX:XX:XX),
This feature is to hide logging 2nd, 3rd and 4th octet of the
MAC address in the logs.

To enable this feature set CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS to y.
For example, if this feature is enabled, then
mac address ae:45:9c:f1:c0:98 shall be printed as ae:**:**:**:c0:98

If this feature is disabled, then QDF_MAC_ADDR_FMT translates to
"%pM" and by default this feature disabled.

Change-Id: Ib4086c1390c3ecafa637616954939f7d2c9c0e5b
CRs-Fixed: 2752355
2020-08-22 16:00:56 -07:00
Arun Kumar Khandavalli
13fafa90a0 qcacld-3.0: Enable the Hangevent for mainline
Enable hang event for the mainline targets.

Change-Id: I7249c2d89d8c87cf000670bf053f82429857f190
CRs-Fixed: 2743829
2020-08-17 05:33:33 -07:00
Manjunathappa Prakash
5bf1513217 qcacld-3.0: Override EAPOL BC Tx frame with AP mac addr
Take care to update the EAPOL Tx frame DA with AP mac addr if
DA is broadcast address as EAPOL BC doesnot make sense.

Change-Id: Id58b7b7971f5a7c11de0b46c6189a6e6ad1917ab
CRs-Fixed: 2745826
2020-08-14 12:34:39 -07:00