提交图

738 次代码提交

作者 SHA1 备注 提交日期
Alan Chen
5fef728db3 qcacld-3.0: Fix bazel-related changes
With changes to bazel in upstream kernel, driver is currently not
building properly. Fix these bazel-related changes to be in line with
upstream kernel changes and resolve the build issues.

Change-Id: I99fb7b1aaa8cd70b4326a858d46de7c034b0549f
CRs-Fixed: 3539623
2023-06-30 00:55:26 -07:00
Karthik Kantamneni
0b79b57c13 qcacld-3.0: Enable DP profile support for QCA6750 target
Enable DP profile support for QCA6750 target

Change-Id: Id2cd8dc6c1a7b31f811a025c37e227d0165615d0
CRs-Fixed: 3542111
2023-06-29 04:59:57 -07:00
Rakesh Pillai
4566e7ff03 qcacld-3.0: Enable feature to defer freeing of REO queue desc
Enable the feature to defer freeing of REO queue desc.

Change-Id: I33f52c820aeb9429ad9560120e1ada69c7bdc6fc
CRs-Fixed: 3540809
2023-06-28 05:04:51 -07:00
Amit Mehta
9eb4baa9eb qcacld-3.0: Enable per link stats for kiwi v2
Enable per link stats support for kiwi v2 target

Change-Id: Ic97c562154e812d939394e3fe5173a63beecc191
CRs-Fixed: 3446807
2023-06-22 22:01:42 -07:00
Mohammed Ahmed
f73476eb40 qcacld-3.0: Additional GKI config change
GKI config was missing some config values. Fix this
by adding them.

Change-Id: I1dc285f9e4701966ea52ec61790399899f14411e
CRs-Fixed: 3533890
2023-06-21 22:48:43 -07:00
Alan Chen
baf6433a8f qcacld-3.0: Add additional bazel-related changes
Add additional bazel-related changes to resolve build errors.

Change-Id: I891556a81d217fded38915293aeea83a389d6782
CRs-Fixed: 3517415
2023-06-21 16:53:13 -07:00
Alan Chen
085a77b29f qcacld-3.0: Convert additional configs to feature
Convert additional configs under findstring if defines to feature.

Change-Id: Iaabe8c13781db1ae3bf569fbf5dc9377bafaee23
CRs-Fixed: 3517367
2023-06-20 06:38:46 -07:00
Mohammed Ahmed
ecd6d40096 qcacld-3.0: Add GKI pineapple defconfig
Current code does not have a GKI variant of DDK pineapple
defconfig. Fix this by adding a GKI variant.

Change-Id: I91ae63ae2c1a1dd4ac30eb3da31c6394f523d750
CRs-Fixed: 3530783
2023-06-17 10:31:29 -07:00
Rakesh Pillai
c8540b10f6 qcacld-3.0: Enable feature to disable vdev self peer creation
Kbuild change to disable vdev self peer creation.

Change-Id: Id436cc9ca96aa22ff21d810c078bc16572cc98de
CRs-Fixed: 3517849
2023-06-08 05:08:46 -07:00
Chaoli Zhou
7bec066717 qcacld-3.0: Enable shadow register write delay for HST
Enable force wakeup and shadow register write delay
feature for HST to avoid shadow register update failure.

Change-Id: Ia49f44127174b30f66c388c9c440020b9e4434fb
CRs-Fixed: 3519513
2023-06-06 09:52:25 -07:00
Rakesh Pillai
6b0be7af79 qcacld-3.0: Enable Datapath support for Multipass feature
Kbuild changes to enable datapath support for multipass
feature on QCA6490 and kiwi targets.

Change-Id: Ia4d33557fec6dd1b5681e20d19590604cc2affe1
CRs-Fixed: 3513719
2023-06-05 13:52:49 -07:00
Alan Chen
b7a90ba009 qcacld-3.0: Convert configs to feature
Create a new header file that has all configs converted to features.

Change-Id: I6f15d4746f636e0ac139858b23934f0150e6d9eb
CRs-Fixed: 3492624
2023-06-03 04:27:32 -07:00
Srinivas Girigowda
63dfb1a98c qcacld-3.0: Support local packet capture for pineapple
Support local packet capture for pineapple.

Change-Id: Ib0d5ccc439fe86f6be5de3812cf8667ec49ba1e3
CRs-Fixed: 3517167
2023-06-02 16:47:46 -07:00
Mohammed Ahmed
0dabb4c0e2 qcacld-3.0: create a sorted kiwi_v2 defconfig for bazel
Currently the configs in kiwi_v2_defconfig are not sorted
alphabetically. Fix this by creating a separate defconfig
which is sorted.

Change-Id: Ic0731c450a6e2a3ee9d71e08780381e72afda1c9
CRs-Fixed: 3495343
2023-05-31 21:20:26 -07:00
Jia Ding
b3b5cf9d2d qcacld-3.0: Enable WLAN_SYSFS on sdxpinn target
To set fixed 11be rate, 11be_rate sysfs entry is the only
option. sdxpinn target supports Wifi-7 and hence 11be_rate
sysfs entry is needed.

Change is to enable WLAN_SYSFS feature on sdxpinn target and
at the same time disable CONFIG_WLAN_SYSFS_RANGE_EXT, which
is not needed.

Change-Id: Id468ee15b3ddc82794ab12487f21e06a0b61b209
CRs-Fixed: 3510104
2023-05-27 03:55:21 -07:00
Amit Mehta
bf563718bf qcacld-3.0: Enable changes to affine away taken CPUs
Enable changes to affine away CPUs taken during pro
audio use case for kiwi_v2.

Change-Id: Ie27009ae0c89b5a08887863658ccc8cfae47c324
CRs-Fixed: 3490850
2023-05-25 17:57:23 -07:00
Jeff Johnson
4013420fea qcacld-3.0: Remove CONFIG_CRYPTO_COMPONENT flag
The crypto component is always enabled. As a result, the feature flag
CONFIG_CRYPTO_COMPONENT is pointless, so remove it.

Change-Id: I97c22f3bf1224ecd967212d762545890f71764bc
CRs-Fixed: 3496915
2023-05-21 20:15:40 -07:00
Krupali Dhanvijay
d8a6ea4e49 qcacld-3.0: Add API to set/reset CPU frequency
Add API to set/reset CPU frequency, which is used to
enable the tx queues faster during roam.

Change-Id: I8594dacc9b3e8bc3fcdce575102cecef573cbf06
CRs-Fixed: 3487568
2023-05-18 09:36:37 -07:00
Tiger Yu
a8d57a4bf7 qcacld-3.0: Enable tracepoints for qca6390 module
Enable the tracepoints for qca6390 module in the wlan host for latency
debugging.

Change-Id: I9f69a5d9cc08a63185961bf2a88d403bb62799e8
CRs-Fixed: 3497709
2023-05-17 16:11:15 -07:00
Rakesh Pillai
a265a33e91 qcacld-3.0: Add config for number of perf clusters in SoC
Kbuild changes to define the number of perf clusters
in an SoC.

Change-Id: Ibbc58dbe425ac560c86a56d63ed39e4ac80acfa4
CRs-Fixed: 3498169
2023-05-16 17:33:03 -07:00
Jinwei Chen
485213758f qcacld-3.0: enable TX ILP for KIWI
Enable TX ILP for KIWI

Change-Id: I8bf44fdf5cb3917c699971c6856189ef1627e95e
CRs-Fixed: 3463701
2023-05-14 08:11:17 -07:00
David Oladunjoye
032ace6233 qcacld-3.0: Remove CONFIG_CONVERED_TDLS_ENABLE
TDLS code is converged and the CONFIG_CONVERTED_TDLS_ENABLE
flag is no longer used.

Change-Id: I33c6c950afb829cad566a6587121de157901c959
CRs-Fixed: 3488525
2023-05-12 16:37:48 -07:00
Jeff Johnson
a1c61c1fee qcacld-3.0: Finish removing CONFIG_MCL_REGDB
Change I12af832d81815277ec6014ff5047bf960f01534a ("qcacld-3.0: Replace
CONFIG_MCL_REGDB with CONFIG_REG_CLIENT") replaced all usage of
CONFIG_MCL_REGDB.

Subsequently Change If2fb00bd2298aa6f43418b3e4694aa995887b4f3
("qcacld-3.0: Add qcs40x.snoc.perf_defconfig") added a new
instance. Since this instance is pointless, remove it.

Change-Id: If464eb9f510ded7fe9f2cfac3e16263f35fe3af6
CRs-Fixed: 3489450
2023-05-10 17:08:34 -07:00
Jeff Johnson
29f6779efc qcacld-3.0: Finish removing CONFIG_WLAN_FEATURE_NAN_DATAPATH
Change If98ecaace17f8724e9c28325ef61e721f42e1d8f ("qcacld-3.0: Combine
all NAN related flags with WLAN_FEATURE_NAN") removed all usage of
CONFIG_WLAN_FEATURE_NAN_DATAPATH, but did not remove the references
from the defconfig files, so do it now.

Change-Id: I1484a8917c1128637bd16009bd2237b6e99976f0
CRs-Fixed: 3489449
2023-05-10 17:08:28 -07:00
Srinivas Girigowda
8189869ef9 qcacld-3.0: Enable local pkt capture feature
Enable local pkt capture feature.

Change-Id: Ib674027f84d30ed20b28187e83deb5b420c5c91c
CRs-Fixed: 3415890
2023-05-10 11:47:55 -07:00
Srinivas Girigowda
ad537fb8e7 qcacld-3.0: Enable WLAN_PKT_CAPTURE_TX_2_0
Enable WLAN_PKT_CAPTURE_TX_2_0.

Change-Id: I33f225f08140fbcdd86057b148cedcc04505ed39
CRs-Fixed: 3415889
2023-05-10 11:47:48 -07:00
Srinivas Girigowda
9af1145749 qcacld-3.0: Add config CONFIG_WLAN_DP_LOCAL_PKT_CAPTURE
Add config CONFIG_WLAN_DP_LOCAL_PKT_CAPTURE.

Change-Id: I221af4dda5e752c9e0775131b3d693aa8e9afdd1
CRs-Fixed: 3415866
2023-05-10 11:46:52 -07:00
Srinivas Girigowda
16c70081b9 qcacld-3.0: Add build flag for WLAN_PKT_CAPTURE_TX_2_0
Add build flag for WLAN_PKT_CAPTURE_TX_2_0.

Change-Id: Ia0a6f0161a029f71f976c76b67c7c2648ac41952
CRs-Fixed: 3415863
2023-05-10 11:46:47 -07:00
Jeff Johnson
c891c35282 qcacld-3.0: Finish removing WLAN_FEATURE_NAN_CONVERGENCE
Changes I0045dcccd36524cbcd4253347c9e0a5704193c2b ("qcacmn: Combine
all NAN related flags with WLAN_FEATURE_NAN") and
If98ecaace17f8724e9c28325ef61e721f42e1d8f ("qcacld-3.0: Combine all
NAN related flags with WLAN_FEATURE_NAN") removed all usage of
WLAN_FEATURE_NAN_CONVERGENCE, but did not remove it from Kconfig or
from all defconfigs, so do that now.

Change-Id: Ib19f30d2be5c2ddaad13a2526442d3d7266e4754
CRs-Fixed: 3487376
2023-05-07 23:21:58 -07:00
Jeff Johnson
2c46e00441 qcacld-3.0: Finish removing CONFIG_WLAN_FEATURE_11W
Change Id3a2127e9ecb343ad2a0354dcbc331c22167d7fb ("qcacld-3.0: Remove
feature flag WLAN_FEATURE_11W for pmf") removed all of the conditional
code for CONFIG_WLAN_FEATURE_11W. However, the actual Kconfig entry
was not removed, nor was the configuration setting removed from the
defconfig files, so do that now.

Change-Id: I0ba83841346fc47673231fba6aa22da9317caf09
CRs-Fixed: 3487375
2023-05-07 20:44:59 -07:00
Mohammed Ahmed
5b5c5949f0 qcacld-3.0: set CONFIG_WLAN_DIAG_VERSION to y in peach config
Currently the CONFIG_WLAN_DIAG_VERSION is not being set in the
peach defconfig, causing compilation errors for peach builds.
Fix this by replacing duplicate CONFIG_WLAN_DEBUG_VERSION
with CONFIG_WLAN_DIAG_VERSION.

Change-Id: I1fc2fcfc987d63c3f038e41652ea4c43667bbe42
CRs-Fixed: 3483501
2023-05-02 12:23:11 -07:00
Aditya Kodukula
273e40a49f qcacld-3.0: Enable PRE_CAC feature flag by default
In peach defconfig file, the CONFIG_FEATURE_WLAN_PRE_CAC
feature flag is not enabled for mobile router profile.
But it is need by all profiles. So, enable the flag by default.

Change-Id: I0281481d0ad227a716000b52447e77c6db5eb168
CRs-Fixed: 3472782
2023-04-25 16:05:41 -07:00
Prakash Manjunathappa
a2e7dfd21b qcacld-3.0: Disable HAL_SRNG_REG_HIS_DEBUG enable it only for debug
Order 7 allocation is coming from hal_soc allocation.
This is caused by debug change.
Regression cause is:: Ib98e48e1d32defb0d8b30b854b5b0c23691cca59
With above change struct hal_srng size increased from 320B to 1376B
In turn this increased the struct hal_soc size from 71648B to 310232B
Disable the debug feature from enabling it by default

Change-Id: I3e2fde17defc677401343c158ec40698b1dcb603
CRs-Fixed: 3469599
2023-04-24 23:36:16 -07:00
Aditya Kodukula
1a076aab29 qcacld-3.0: Rename BUILD_DIAG and BUILD_DEBUG flags
Currently in defconfig files, the naming convention of
config flags BUILD_DIAG_VERSION and BUILD_DEBUG_VERSION
is not aligning   with rest of them. So, rename the flags
to CONFIG_WLAN_DIAG_VERSION and CONFIG_WLAN_DEBUG_VERSION

Change-Id: Ia9357588cdbfc09199d7d44bd024beb0f92b9755
CRs-Fixed: 3472570
2023-04-21 06:51:08 -07:00
Namita Nair
1eb6c68dd3 qcacld-3.0: Enable Opt Wifi Dp feature
This change enables optional wifi dp
feature.

Change-Id: I3789f3a551e5532f4547d49959958fdc15da0a0d
CRs-Fixed: 3466644
2023-04-14 20:24:56 -07:00
Manikanta Pubbisetty
bfd3c67fcf qcacld-3.0: Enable TX descriptor history on WCN6750
Enable software and hardware TX descriptor history on WCN6750;
this will aid in TX data path debugging.

Change-Id: Ia5f84d79c1f721ea959beec48088fd3823d75ce0
CRs-Fixed: 3460664
2023-04-14 00:34:15 -07:00
Deeksha Gupta
35ef57fc82 qcacld-3.0: Add Ref Leak related flags outside CONFIG_CNSS2_DEBUG
Currently Peer Ref leak functions (eg: wlan_objmgr_print_ref_func_line)
are not being compiled in defconfig due to flag is under 
CONFIG_CNSS2_DEBUG.
To fix it by moving appropriate flags outside the 
CONFIG_CNSS2_DEBUG flag.

Change-Id: I4501a895611c7339b6842ea3ad4b4bc50e78bb7e
CRs-Fixed: 3459656
2023-04-13 21:45:43 -07:00
Manikanta Pubbisetty
ec1b5c0064 qcacld-3.0: Send DSCP-TID map config to firmware
For WCN6450, it is required to send DSCP-TID map config to
the firmware. Enable the required configs for this.

Change-Id: I9327739aaed0fd1555a0cf2c99d6aceecc568ed0
CRs-Fixed: 3460632
2023-04-12 22:47:02 -07:00
Namita Nair
a01bddd65a qcacld-3.0: Revert: Disable Opt Wifi Dp feature
This change disables IPA optional wifi
datapatah feature flag.

Change-Id: I9f8876a3f6bd7f0bbe65cbc7a991b4d3c798d326
CRs-Fixed: 3463581
2023-04-12 19:06:10 -07:00
Jeff Johnson
9aa287b1e2 qcacld-3.0: Refactor fixed macros from Kbuild
In some build environments the length of the C compiler command line
exceeds the maximum length of the underlying shell, resulting in the
shell reporting: Argument list too long.

Kbuild has many definitions which add -D switches to the C compiler
command line to define macros to be used for conditional compilation.
Most of these are set conditionally, but there are some that are set
unconditionally.

As one step in the process of shortening the command line, refactor
the macros that are set unconditionally out of Kbuild, and put them in
a separate .h file which is then included in every build. As long as
the added -include switch takes up less room than the sum of the -D
switches, then this will result in a shorter command line.

Change-Id: I95e0e8237d15dee58e519ea526a74c52eeb7dbd2
CRs-Fixed: 3460064
2023-04-11 16:36:16 -07:00
Prakash Manjunathappa
df814d725b qcacld-3.0: Add config for peach 4 byte TLV tags
Add config support for 4 byte TLV tag in peach case.

Change-Id: I724624472c36f6c848c74f2a21f765a94d1c57e4
CRs-Fixed: 3460204
2023-04-10 13:19:28 -07:00
Namita Nair
2a0b6e9c0f qcacld-3.0: Enable Opt wifi dp feature flag
Enable IPA Offload add Optional wifi dp feature
flag.

Change-Id: I023a767141de1f4d47b80b784f6c119ae04533ba
CRs-Fixed: 3450899
2023-04-10 05:44:34 -07:00
Namita Nair
1eaef39bcf qcacld-3.0: Optional wifi dp feature flag
Enable IPA Config and add Optional wifi dp
feature flag

Change-Id: Ief277ff393625196b224705b0934dbacc213fb45
CRs-Fixed: 3410390
2023-04-10 05:44:28 -07:00
Liangwei Dong
b3b796b915 qcacld-3.0: Increase the max MLD dev context for SDXPINN
For SDXPINN to support 4 SAP concurrency, set
CONFIG_WLAN_UMAC_MLO_MAX_DEV = 4.

Change-Id: I3005efad37a28055492c8297ec21da8851faa34b
CRs-Fixed: 3442194
2023-03-29 01:12:55 -07:00
Karthik Kantamneni
f84c7cc43c qcacld-3.0: Add defconfig and Kbuild changes for WCN6450
Add wcn6450_defconfig configuration file and corresponding
Kbuild changes for WCN6450 platform.

Change-Id: I7189e718aac427f76a251284799ec2169b2495a8
CRs-Fixed: 3382931
2023-03-28 01:26:50 -07:00
Lin Bai
1c7d1fd54a qcacld-3.0: Enable FEATURE_OEM_DATA on sdxpinn
Enable CONFIG_FEATURE_OEM_DATA on sdxpinn target.

Change-Id: I494c68152e998983a4d6e4ced7bed7f0b2ba3907
CRs-Fixed: 3440053
2023-03-21 11:50:56 -07:00
Jinwei Chen
9b10ef6737 qcacld-3.0: enable SRNG pointer register writing history
enable SRNG pointer register writing history for DEF build.

Change-Id: I8426eb7f81cb47633dbe3d1c9efea541f9781a04
CRs-Fixed: 3438306
2023-03-21 07:50:34 -07:00
Aditya Kodukula
b4d34e5284 qcacld-3.0: Add sysfs replacement for dfsnol command
WEXT ioctls are no longer supported by the wlan driver.
So, add a sysfs replacement to setdfsnol and getdfsnol commands.

file path: sys/class/net/wlanxx/dfsnol
	where wlanxx is the adapter interface

usage:	echo arg_0 > /sys/class/net/wlanxx/dfsnol
	cat /sys/class/net/wlanxx/dfsnol

Change-Id: Ia8475b5c6ef39142def38eab0e777840af885c33
CRs-Fixed: 3431517
2023-03-20 13:16:48 -07:00
Mohammed Ahmed
5600f0123e qcacld-3.0: add hdd_dump_log_buffer output to sysfs
Current code doesn't allow output of hdd_dump_log_buffer to sysfs.
Fix this by adding sysfs output functionality.

Change-Id: I077c10e379e542ac99d8ebe01d68fe76a7470e39
CRs-Fixed: 3426193
2023-03-17 17:07:12 -07:00
jinbaoliu
9ed1e2f656 qcacld-3.0: Enlarge the array size of qdf_nbuf_history
Given the fact that the RX nbuf history array size is not enough,
sometimes the dump fails to capture the problematic buffer address
records, leading to failing to identify sources of buffers. This
change is to increase the array size of qdf_nbuf_history, which
makes it possible to record more RX history buffers to be traced.

Change-Id: I7982873daf6fafcb31e77d2aec380f1c00401ee5
CRs-Fixed: 3405585
2023-03-02 14:49:44 -08:00