Commit Graph

442 Commits

Author SHA1 Message Date
abhinav kumar
f95d76a857 qcacld-3.0: Add multi-client service bit caps and INI support
Add multi-client latency level service bit capability support,
WLAN_SOC_WLM_MULTI_CLIENT_LL_SUPPORT, to check whether the FW
supports multi-client latency level event or not.

Add INI "wlm_multi_client_ll feature" to enable/disable multi
client latency level feature from the host side.
 * @min: 0
 * @max: 1
 * @default: 0

If firmware sends multi-client latency level service
bit capability to host and host enables multi-client latency
level feature via INI, the host waits for an event
WMI_VDEV_LATENCY_LEVEL_EVENTID as a response to a request
command WMI_WLM_CONFIG_CMDID.

Change-Id: I5cbea89e67caabac5db70b7f0a91c18bdd512e9b
CRs-Fixed: 3180928
2022-04-25 05:38:05 -07:00
Prateek Patil
32afe61a53 qcacld-3.0: Enable FISA compilation for WHUNT for moselle
Enable FISA compilation for MSL WHUNT
Change-Id: I36e975096cb1bd982396b0cdcf4c4b84a72a5048
CRs-Fixed: 3177543
2022-04-25 01:37:20 +05:30
Jia Ding
e19974e4a1 qcacld-3.0: Enable uplink delay feature for WCN6750
Enable uplink delay feature for WCN6750 chipset.

Change-Id: Ie37172a0b845529fc4b82c9812a84077d6d4a282
CRs-Fixed: 3180279
2022-04-22 10:57:46 -07:00
Rahul Gusain
89a0498939 qcacld-3.0: Enable Multi-Client feature for Thermal throttle service
Currently, for Thermal Throttle service, Multi-Client feature is enabled
for QCA6750 only but now it is enabled for all the targets.

Change-Id: I0afd48c481193d02c473bc7daa2226c9225968ed
CRs-Fixed: 3174679
2022-04-15 21:30:10 -07:00
Dundi Raviteja
990e73237e qcacld-3.0: Featurize pre cac code
Featurize pre cac code under PRE_CAC_SUPPORT macro.

Change-Id: I4379e667d4e0ddd3c4d91b5d624fc2325f87022e
CRs-Fixed: 3172393
2022-04-14 03:54:42 -07:00
Bing Sun
2b7fe880eb qcacld-3.0: Add CONFIG_QCACLD_FEATURE_SON dependency configs
Enable configs which are needed by SON, if SON is enabled.

Change-Id: Ib781804a03472aa8c4ab7cdef0a5a4e6e89dcc7e
CRs-Fixed: 3062225
2022-04-11 02:44:22 -07:00
Yeshwanth Sriram Guntuka
e64efc518f qcacld-3.0: Add new sysfs entry to enable tx_delay
Add new sysfs entry to enable or disable capture of
datapath tx delay stats per vdev.

Enable HW_TX_DELAY_STATS config flag for Lithium targets
to support capture of tx delay stats at runtime.

Change-Id: I838961daf27e08c4b6e693852c62f9f894f499a5
CRs-Fixed: 2981004
2022-03-24 06:46:50 -07:00
Mohit Khanna
b2bc131098 qcacld-3.0: Enable DELAYED_REG_WRITE for CONFIG_PCI_MSM
Enable delayed register write feature for PCI based WLAN socs
in MSM platforms.

Change-Id: I8261c776ea2adcbe92fa87d3eed7d48ae9933730
CRs-Fixed: 3146740
2022-03-23 17:03:26 -07:00
Ananya Gupta
d38c336051 qcacld-3.0: Enable feature to deliver all OOR frames to stack
Enable feature DP_RX_DELIVER_ALL_OOR_FRAMES for lithium DP
which will allow all OOR frames to stack.

Change-Id: I3ad59fc3b3fc8e70b2f05a7cfa23e2646c1e03a4
CRs-Fixed: 3152334
2022-03-21 19:05:50 -07:00
Wu Gao
f508db20c0 qcacld-3.0: Enable CFR support for KIWI
This change adds CFR support for KIWI.

Change-Id: I24be320cb74df03b278e2752f7c8386b70fcfb94
CRs-Fixed: 3119029
2022-03-15 00:10:30 -07:00
Prakash Manjunathappa
61641f0ec8 qcacld-3.0: Make 1:1 mapping of REO to rx_thread
Remove CONFIG_WLAN_FEATURE_REDUCE_RX_THREADS compile flag.
Keep num rx_thread dependent on rx REO rings, 1 rx_thread for
each rx REO ring. It is controlled via INI dp_reo_rings_map.

Change-Id: I701e5cec79a8968b540c9437fe297ca1db8cd5d3
CRs-Fixed: 3048265
2022-03-14 22:31:00 -07:00
Jia Ding
ab1f6b5682 qcacld-3.0: Mark first packet after wow wakeup
Add feature flag to support marking first packet after wow wakeup
and enable it for QCA6490.

Change-Id: Icbda6dabe61a113a8aaa87f7a8fd1d95555226a1
CRs-Fixed: 3137627
2022-03-08 15:09:58 -08:00
Amit Mehta
22de5a5cf9 qcacld-3.0: Affine refill thread to performance cluster
Currently refill thread is not getting chance to update
refill buffer pool, which is causing the increase in
rx thread time.
To fix issue move refill thread to performace cluster.

Change-Id: I839352ff09da692f801e97f7938a67ab8f09742b
CRs-Fixed: 3138081
2022-03-07 05:06:05 -08:00
chunquan
64fb0c9f8a qcacld-3.0: Disable monitor mode on sdxlemur platform
Disable monitor mode on sdx65, it will save 5MB buf,
and improve iperf performance.

Disable WIFI_MONITOR_SUPPORT for pdev/vdev/peer do
nothing of monitor mode.

Enable MONITOR_MODULARIZED_ENABLE for monitor_soc
attach do nothing.

Disable QCA_MONITOR_PKT_SUPPORT for monitor ring
which are not initialized in dp_queue_mon_ring_stats.

Change-Id: I9865ad38dbbee56abee567fded17f39ee299ac42
CRs-Fixed: 3069269
2022-02-22 04:54:32 -08:00
Rakesh Pillai
31716fb03c qcacld-3.0: Enable parsing of common user info for KIWI
Enable the support to parse the common user info from
the tlv in monitor status ring for KIWI.

Change-Id: Id54817efb65c005578c7cc28286feabde1bea652
CRs-Fixed: 3129126
2022-02-17 06:24:42 -08:00
Srinivas Girigowda
94762ba42a qcacld-3.0: Build configuration changes for kiwi v2 hw files
Changes to build for kiwi v2 hw files.

Change-Id: Ic32408256fb5d96ee580d8e12573c422401bf6cd
CRs-Fixed: 3122914
2022-02-11 19:12:33 -08:00
Srinivas Girigowda
e65daa027b qcacld-3.0: Enable TWT componentization feature
Enable TWT componentization feature.

Change-Id: I322dd0b2ee73a41a1c2f2dd3528e3d10b85a1a49
CRs-Fixed: 3085670
2022-02-11 00:23:44 -08:00
Srinivas Girigowda
840a791d8c qcacld-3.0: Add build configurations for TWT componentization files
Add build configurations for TWT componentization files.

Change-Id: Ib71b4ee2d32967f27f43720c19c38b4042a1ad89
CRs-Fixed: 3085502
2022-02-11 00:21:12 -08:00
Nirav Shah
1caaa01a17 qcacld-3.0: Add support to update tsf timestamp in data packet
Add support to update tsf timestamp on driver entry and
exit in data packet. This helps debug latency issue in
XR usecases.

Change-Id: I49d190a55b7ab3081225b7a226f1bbe4f717a20f
CRs-Fixed: 3090104
2022-02-04 07:10:35 -08:00
VIJAY RAJ
3d11cb41da qcacld-3.0: Add OFDM Scrambler seed ini support
Add "gEnableUpdateScramSeed" ini support to send
WMI_PDEV_PARAM_EN_UPDATE_SCRAM_SEED command to firmware
to enable OFDM scrambler seed.

Change-Id: Ie5c244a7ea418eec0af1f576e8521804ee85a665
CRs-Fixed: 3106348
2022-02-03 09:29:06 -08:00
Ananya Gupta
33a6064363 qcacld-3.0: Disable IPA offload driver compilation
Disable WLAN IPA offload compilation in WLAN driver
for MSM platform.

Change-Id: I4e22126f785405dc20b0c87afb4d3594d2a9dfd1
CRs-Fixed: 3116333
2022-01-28 05:20:32 -08:00
Jinwei Chen
e9e0ad3744 qcacld-3.0: use feature macro to enable PLD lock for window register
Use feature macro WINDOW_REG_PLD_LOCK_ENABLE to enable PLD lock for
window register accessing.

Change-Id: If839494691fa1e3093ddb762f525b934e818b62e
CRs-Fixed: 3116195
2022-01-27 23:00:32 -08:00
Jingxiang Ge
60b9b77da6 qcacld-3.0: Enable ce debug history always
Always enable ce debug history feature, but there
is difference for perf&debug build.
On perf build, only ce2/ce3 histroy is enabled.
And for ce debug history memory init/deinit happens
when driver is loading&unloading, even it use when start
module, this will help to check some cases when
stop_module happens.

Change-Id: I4b825f91bc9ede8372291f9d94cb7fae23942a49
CRs-Fixed: 3058735
2022-01-26 01:04:06 -08:00
Ananya Gupta
6b792f40f0 qcacld-3.0: Enable DP_TX_TRACKING flag
Enable DP_TX_TRACKING flag for lithium

Change-Id: I952dcf44ce6cb282f839d5af13482a4272d62693
CRs-Fixed: 3111510
2022-01-21 11:42:17 -08:00
Jyoti Kumari
e1fc3f8fad qcacld-3.0: Add twt sap sta and pdev count in hmt config
CONFIG_WLAN_TWT_SAP_STA_COUNT and CONFIG_WLAN_TWT_SAP_PDEV_COUNT
are missing for HMT config.

Add this two macro in HMT config

Change-Id: Ib72c91e720711e72761f0a5526fd48c1e6e2ea1b
CRs-Fixed: 3099486
2022-01-21 06:27:22 -08:00
sheenam monga
8261fe17ac qcacld-3.0: Provide LP/VLP/SP valid freq list for curr country code
Add support to provide valid frequency list for provided power mode

Change-Id: I5855258402604c5ca20b9f0a3eaebe7412b7db4b
CRs-Fixed: 3103671
2022-01-20 10:00:47 -08:00
Namita Nair
c22b7a5e0a qcacld-3.0: Enable multi SW2TCL and Tx completion IRQ affinity for KIWI
The flags, CONFIG_TX_MULTI_TCL for multi SW2TCL and DFEATURE_IRQ_AFFINITY
for Tx completion IRQ affinity, were turned on for KIWI.

Change-Id: I44a7b1c889d7113f078a75c549a632809dbebad0
CRs-Fixed: 3110299
2022-01-19 17:27:00 -08:00
Balaji Pothunoori
08a8867c8c qcacld-3.0: Enable extended avoid frequency update config
Enable compile macro to include extended avoid frequency update
for sub vendor command QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT.

Change-Id: Ibdec18b9b749f18b1e9d704974f4cbaabbc4e612
CRs-Fixed: 3098824
2022-01-19 09:31:00 -08:00
chunquan
51509a327f qcacld-3.0: Replace blacklist/whitelist for denylist/allowlist
Replace blacklist/whitelist with denylist/allowlist for
blacklist manager component. and replace blm with dlm.

Change-Id: I8dec146d8cb3b61dc891b72bea44704b8ab733fe
CRs-Fixed: 3087575
2022-01-14 03:50:03 -08:00
Divyajyothi Goparaju
df5e68bdef qcacld-3.0: Add support to query BMISS stats from fw
Currently there is no support to read bmiss stats from fw.
With this change, add support to read bmiss stats from fw.

Change-Id: I77594d05fbcd295aff4c625ba5f4f33cbc491063
CRs-Fixed: 3097304
2022-01-03 02:19:36 -08:00
Yu Wang
4a0857dacd qcacld-3.0: enable CONFIG_DBR_HOLD_LARGE_MEM for QCA6490
Enable CONFIG_DBR_HOLD_LARGE_MEM for QCA6490, to avoid
large memory allocation failure during idle restart.

Change-Id: I8f504f278bab6f4d974e8cf6b778e6c5ab9ec838
CRs-Fixed: 3101976
2021-12-31 02:14:15 -08:00
sandhu
afc4244d94 qcacld-3.0: Remove IP from code
Remove qualcomm IP from code

Change-Id: Icc3f239fbb6874a07272618b1be84d613b8fdc84
CRs-Fixed: 3073862
2021-12-29 04:28:21 -08:00
Jinwei Chen
bc1e4e111c qcacld-3.0: Enable forcing UMAC out of power collapse
For Kiwi, forcing UMAC out of power collapse mechanism is not
enabled yet, this might result in UMAC register writing failure.

Enable forcing UMAC out of power collapse for Kiwi

Change-Id: I2d474bbb6b5d2b8c5a9e9621a4f65a5728be74ea
CRs-Fixed: 3086182
2021-12-27 13:00:21 -08:00
Will Huang
150f343230 qcacld-3.0: Add configure to support 4 SAP concurrency
Make CFG_TGT_DEFAULT_BEACON_TX_OFFLOAD_MAX_VDEV configurable in code.
Add configure file to support 4SAP concurrency and maximum 4 IPA
interface for sdxlemur.

Change-Id: I18e86aa0eac2902d831d1fb8a4f0fc03666fb6f2
CRs-Fixed: 3092382
2021-12-23 22:36:53 -08:00
Sandeep Puligilla
395cbbc21d qcacld-3.0: Enable 11BE MLO feature
Enable CONFIG_WLAN_FEATURE_11BE_MLO in the driver
using Kbuild configuration.

Change-Id: Ib959e80f0d76797ffe3b7549b02fad2efff99d66
CRs-Fixed: 3099309
2021-12-23 06:48:39 -08:00
Rakesh Pillai
4355e8bf0b qcacld-3.0: Enable Monitor mode for WCN7850
Enable monitor mode for WCN7850.
Enable the interrupt based processing in monitor
mode for WCN7850.

Change-Id: I6f8c6951794d0754977fa0d45086a95df25a13e6
CRs-Fixed: 3095456
2021-12-16 11:07:19 -08:00
Yeshwanth Sriram Guntuka
46d86f50df qcacld-3.0: Enable wlan tracepoints config flag for LI/BE
Enable wlan tracepoints config flag for Lithium and
Beryllium.

Change-Id: Idf40e510f084a9b4e2b3d67160c80dba8a49f7e2
CRs-Fixed: 3080798
2021-12-14 21:22:33 -08:00
Jinwei Chen
8c9674d9c4 qcacld-3.0: enable FISA for HMT
Enable FISA for HMT

Change-Id: I94d078381d397c6eb5d02a13e85b6b6f22b170de
CRs-Fixed: 3085397
2021-12-13 11:15:51 -08:00
sandhu
f24d8cd260 qcacld-3.0: enable REMOVE_PKT_LOG for lithium and berrylium
enable REMOVE_PKT_LOG for lithium and berrylium

Change-Id: I5c467addea56f7010f01e97a59281b292d580959
CRs-Fixed: 3080216
2021-12-08 20:47:21 -08:00
Bapiraju Alla
63867fd076 qcacld-3.0: Add support to calibration failure events parsing
Currently there is no provision to get the calibration failure
information from the driver. Because of this it is getting difficult
to debug the calibration failure issues.

To simplify the calibration failure issue debugging, add support to
parse calibration failures events in the driver.

Change-Id: I6d831804cca259862fea3e8bb4af33d556138d43
CRs-Fixed: 3078926
2021-12-06 22:33:20 -08:00
Jinwei Chen
d3fc2dc056 qcacld-3.0: Enable TX AST index search for HMT STA
Enable TX AST index search for HMT STA which is more efficient
compared with older source address search.

Change-Id: Ie5ebf4199ada959ebd33351929cf642c21657c51
CRs-Fixed: 3084026
2021-12-01 00:06:46 -08:00
Rakesh Pillai
c613af5c5e qcacld-3.0: Disable timer irq for CE in WCN7850
Kbuild change to
- Disable timer irq for CE in WCN7850
- Disable status ring timer WAR in WCN7850

Change-Id: I59a247bf14450c5e1ec194c505f3a00eb5f3619f
CRs-Fixed: 3075871
2021-11-24 01:14:14 -08:00
Mohit Khanna
f81d89ccca qcacld-3.0: Use CONFIG_SLUB_DEBUG_ON to enable debug flag
Use CONFIG_SLUB_DEBUG_On to enable certain flags. This ensures that
these flags are not enabled for PERF builds.

Change-Id: I8c8e032ca1a0344f12fbad4dca543e333d601916
CRs-Fixed: 3045963
2021-11-22 15:09:37 -08:00
Yeshwanth Sriram Guntuka
f8264f70dc qcacld-3.0: Enable multiple TX ring pairs for qca6750
Enable config flag to use multiple tx and tx completion
ring pairs for qca6750 when IPA is disabled.

Change-Id: Ide99b2f4d912b3bca551438cba522c2f9366b5d2
CRs-Fixed: 3075385
2021-11-19 05:49:29 -08:00
Yeshwanth Sriram Guntuka
f819fd2149 qcacld-3.0: Enable multiple TX ring pairs for qca6490
Enable config flag to use multiple tx and tx completion
ring pairs for qca6490 when IPA is disabled.

Change-Id: Iafa6df504d7be55cbc5a233d6975963f0e118df5
CRs-Fixed: 3059736
2021-11-09 15:34:35 -08:00
Yeshwanth Sriram Guntuka
931a150a12 qcacld-3.0: Enable TX multiq per AC config for LI/BE
Enable TX multiple queues per AC config flag for
Lithium and Beryllium.

Change-Id: I491991716fdddbd4c9e972d5fd3f6c1a67f3bb6f
CRs-Fixed: 3069651
2021-11-05 12:32:26 -07:00
Rakesh Pillai
b716b9746c qcacld-3.0: Enable Reduced peer_id field width feature
Enable the below datapath MLO features in Kbuild
- DP_USE_REDUCED_PEER_ID_FIELD_WIDTH

The above feature reduces the width of peer_id from
peer_metadata, thereby reducing the size of the peer
object array.

Change-Id: I58533c241a40184129786f11a47f3722cf005a61
CRs-Fixed: 3059637
2021-10-27 01:11:21 -07:00
sandhu
cff5dc24a9 qcacld-3.0: create a sysfs to display stats on console
Add a sysfs to display DP stats on console. Sysfs file
displays requested stats on console and wlan logs.

Change-Id: Ifd56d1bf6f578a4ce3f1d963040e6d3cd138c64a
CRs-Fixed: 3035860
2021-10-05 02:51:12 -07:00
Pragaspathi Thilagaraj
7e90b8b5f5 qcacld-3.0: Fix missing attributes in connectivity logging events
Fix few missing attribute in below connectivity events:
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAP_RESPONSE
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_ROAM_SCORE_CURR_AP

Also send the roam candidate info properly to userspace.

Change-Id: Ia9c4f095316adf8f40294f1e119cad648749bb72
CRs-Fixed: 3037650
2021-09-28 21:11:51 -07:00
Guisen Yang
c99958a9f2 qcacld-3.0: Fix the usage of 'filter' key word
Remove the comma between the text of filter key word. So
the macro CONFIG_MOBILE_ROUTER will be enabled.

Change-Id: Ie69aae479470017eee7a266abf3b7456ac38ef26
CRs-Fixed: 3038353
2021-09-28 11:53:38 -07:00