Commit Graph

531 次程式碼提交

作者 SHA1 備註 提交日期
Tiger Yu
22b505a2d0 qcacld-3.0: Enable RX_PERFORMANCE for qca6174 module
Enable the RX_PERFORMANCE for qca6174 module to improve the RX performnace
for auto GVM platform.

Change-Id: Ib03f40585362f758d3d248ef3b94e8d0c83df41a
CRs-Fixed: 3054673
2021-11-16 22:14:00 -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
Sandeep Puligilla
bd6d20026c qcacld-3.0: Enable 11be feature for hamilton
Enable 11be feature through kbuild option.

Change-Id: Ia5e3a2bb832c06878d9aee25d0c563a7038172f9
CRs-Fixed: 3056856
2021-10-19 23:04:38 -07:00
Chaoli Zhou
5524ab1d48 qcacld-3.0: Add dependency for CONFIG_HAL_DEBUG
Enable CONFIG_HAL_DEBUG if CONFIG_SLUB_DEBUG_ON is Y
to fix the compile issue for HST.

Change-Id: I1fd8760f543f6d739af994b8b4b4ca3684dd3686
CRs-Fixed: 3054445
2021-10-14 22:02:11 -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
Tiger Yu
f08dcf582a qcacld-3.0: Enable the RX_PERFORMANCE for qca6390 module
Enable the RX_PERFORMANCE for qca6390 module to improve the RX performnace
for auto GVM platform.

Change-Id: Ic801f2621250d9f515be84149a6150a2728390c1
CRs-Fixed: 3002937
2021-09-28 21:12:01 -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
Aditya Kodukula
9115747214 qcacld-3.0: Add feature flag to support ICMP offload
Add Feature flag WLAN_FEATURE_ICMP_OFFLOAD to support
ICMP offload feature.

Change-Id: I7ef593c76eaf4a02651e67bcf53b7a607a58421e
CRs-Fixed: 3042400
2021-09-22 22:00:28 -07:00
Ashish Kumar Dhanotiya
33ec87f37a qcacld-3.0: Add feature flag for connection roaming ini
Currently driver don't have any feature flag for connection
roaming ini config and it directly tries to read the connection
roaming ini file, on some of the platforms if this ini file is
not present it returns failure message but some of the platforms
results in timeout which results in unexpected behavior.

To address above issue add a feature flag to read connection
roaming ini config.

Change-Id: Ica4159533e46ca5cc2048bf50eab2290bf5ae7d5
CRs-Fixed: 3035148
2021-09-16 10:47:19 -07:00
Wu Gao
1d47331183 qcacld-3.0: Required to support 64 peers on SDX65
This is requirement about support 64 peers for AP+AP case on SDX65
platform.

Change-Id: I2cdd42034f1f1e8e7907f50ad86a33f494a23d48
CRs-Fixed: 3017839
2021-09-15 21:40:58 -07:00
Aditya Kodukula
73d424f08d qcacld-3.0: Enable TSF feature for qca6490
Add following flags to enable TSF feature for qca6490.
CONFIG_WLAN_SYNC_TSF_PLUS,
CONFIG_WLAN_SYNC_TSF_TIMER

Change-Id: I22c77a668194bdabb41efe6e44e81a7f7082325b
CRs-Fixed: 3010812
2021-09-10 15:36:00 -07:00
Karthik Kantamneni
d49f188236 qcacld-3.0: Enable WLAN_SKIP_BAR_UPDATE support for lithium targets
Enable WLAN_SKIP_BAR_UPDATE support for lithium targets

Change-Id: Ic7ac34a6845b54005181f58081b389b2e79b29a8
CRs-Fixed: 3031396
2021-09-08 00:19:21 -07:00
Mohammed Siddiq
98a9798bf1 qcacld-3.0: Enable CONFIG_CNSS_QCA6750 in qca6750 config file
Enable CONFIG_CNSS_QCA6750 in qca6750 config file.

Change-Id: I5d199344a619fae64d14152417726edddb2f64c1
2021-08-31 05:39:19 -07:00
Yue Ma
2e49f1156d qcacld-3.0: Handle flags defined as modules properly
The current way in the driver to handle CONFIG_CNSS_UTILS=m and
CONFIG_WCNSS_MEM_PRE_ALLOC=m will not work if the flags are not
coming from kernel Kconfig directly (e.g. CNSS utils and prealloc
module sources are built out of kernel tree) since "cppflags-
$(CONFIG_FLAG) += -DCONFIG_FLAG" will not take effect if CONFIG_FLAG=m.
Fix it in a proper way which is same as handling CONFIG_CNSS_GENL.

Change-Id: Iab4bf34bd1ae89f947bc5f7080e18569810f5f58
CRs-fixed: 3022560
2021-08-27 15:12:16 -07:00
Utkarsh Bhatnagar
ac66479f44 qcacld-3.0: Add support to get thermal throttle stats
Add support for sending WMI_REQUEST_THERMAL_STATS_CMDID
to request for the thermal stats via vendor cmd:
QCA_WLAN_VENDOR_ATTR_THERMAL_CMD_TYPE_GET_THERMAL_STATS
This vendor cmd can either be used to clear the thermal
stats or to request for the thermal stats.
Added ini gThermalStatsTempOffset, which can
configure thermal temperature offset value for capturing
thermal stats in  thermal range such as Thermal STATS
starts capturing from temperature threshold to temperature
threshold + offset.
If this ini is set to 0, then the events are disabled.
Also, add support for the FW event where the requested
thermal stats are sent in FW event
WMI_THERM_THROT_STATS_EVENTID().
The following attributes are sent in the events for every
level:
	STATS_MIN_TEMPERATURE
	STATS_MAX_TEMPERATURE
	STATS_DWELL_TIME
	STATS_TEMP_LEVEL_COUNTER

Change-Id: If8acdeec5bde33be346332ccaf39d78d0151203d
CRs-Fixed: 3016818
2021-08-27 10:23:21 -07:00
Yu Tian
eee26f5710 qcacld-3.0: Disable delay reg write feature for MDM platform
Delay reg write feature is based on workqueue, for MDM platform
that only has one CPU, WQ is preempeted by NETRX/NETTX Soft IRQ
and lead to ring update delay, at last backpressue happens.
Change is aimed to disable delay reg feature for one CPU platform.

Change-Id: I133ab999739449009f18ecb030e9ca889ea63761
CRs-Fixed: 3002768
2021-08-25 07:25:07 -07:00
Yu Tian
624a79c941 qcacld-3.0: Enable delay reg write feature
Delay reg write is not enabled on Waipio,
but it's enabled on former platforms.
Change is to enable it.

Change-Id: I10b5e30fe4d5485d38636fcb34c90ff2772e50ae
CRs-Fixed: 3015389
2021-08-25 03:04:56 -07:00
Yu Tian
25c1a53711 qcacld-3.0: Keep using 4 RX threads for platform with no IPA
For platforms that don't have IPA module, 4 RX rings can be
enabled to map to 4 RX threads. This Change is to implement a
feature flag to separate the number of threads used for
different platforms.

Change-Id: I23744ca6333f29667b0860f386dc9fc45f29abe4
CRs-Fixed: 3018613
2021-08-23 15:43:57 -07:00
Aditya Kodukula
e5d87bf5d6 qcacld-3.0: Support Multicast Domain Name Server Offload
The purpose of the multicast Domain Name System (mDNS) is to resolve
host names to IP addresses within small networks that do not include
a local name server.

It utilizes essentially the same programming interfaces, packet formats
and operating semantics as the unicast DNS, and the advantage is zero
configuration service while no need for central or global server.
Based on mDNS, the DNS-SD (Service Discovery) allows clients to discover
a named list of services by type in a specified domain using standard
DNS queries.

Here, we provide the ability to advertise the available services by
responding to mDNS queries.

Change-Id: Id2a0468d49237c21062cfd1988e34903658cdad9
CRs-Fixed: 3008549
2021-08-20 22:02:01 -07:00
sheenam monga
e0c299d567 qcacld-3.0: Add WLAN_FEATURE_P2P_P2P_STA flag for p2p + p2p support
Add feature flag for conditional compilation of feature to enable
p2p+p2p on a device.

Change-Id: I2c95b39c3db6e51213f7625383c365799fff9e31
CRs-Fixed: 2991307
2021-08-16 12:52:55 -07:00
Chaoli Zhou
c01c25d97b qcacld-3.0: Add Modularization of monitor mode flag for qca6390
Adding flags to support FR of Modularization of
monitor mode for Hastings to avoid compile issue.

Change-Id: I7be63661dde17179c8eb5fb5e5fd9b2dc0c9f4af
CRs-Fixed: 3011407
2021-08-11 15:50:34 -07:00
Yeshwanth Sriram Guntuka
1ff2f766d9 qcacld-3.0: Disable FISA history for debug builds
Memory allocation for FISA history could possibly
happen from the cnss prealloc pool.

Fix is to disable FISA history until the allocation
is moved to DP prealloc.

Change-Id: I6c2e42d129d6642601ae59e08294c214907f5faf
CRs-Fixed: 3006138
2021-08-04 12:57:02 -07:00
Manjunathappa Prakash
c8e7eeb61a qcacld-3.0: Enable monitor mode config for HMT
Enable monitor mode support config on HMT.

Change-Id: I798f4035b71b1f73bc6100d6437e1811a211fe62
2021-08-03 22:12:20 -07:00
Manjunathappa Prakash
f568f2f627 qcacld-3.0: Prevent HELIUMPLUS from getting enabled for BERYLLIUM chips
Enabling CONFIG_ICNSS2 is enabling CONFIG_ICNSS2_HELIUM for BE chips.
Prevent it by making dependency on !CONFIG_BERYLLIUM.

Change-Id: Ifd5b5bb07cd753dec4da3c1f063a9e2739288f1c
2021-08-03 22:12:16 -07:00
Qun Zhang
d32b7f91fa qcacld-3.0: Use static memory allocation for DFS
In WLAN ON/OFF stress test, due to system memory fragment, it's hard
to dynamiclly allocate contiguous memory for DFS huge memory which
is greater than 64K. Normally memory allocations of order of 4 and
upwards are not recommended by memory team. So use static memory
allocation for DFS.

ROME and Hastings already changed, this change is for Geona.

Change-Id: I33aa3efd378518491f06b496344ed3034c4978d9
CRs-Fixed: 2851914
2021-08-01 23:05:27 -07:00
sandhu
a3c80b5790 qcacld-3.0: Modularizaton of monitor mode
adding Flags to support FR of Modularization of
monitor mode.

Change-Id: Idd4c963ab3132fb367b69b0fcaf2c8ddbeb2c571
CRs-Fixed: 2998547
2021-07-30 21:50:30 -07:00
Wu Gao
cd08fde85a qcacld-3.0: Correct the definition of CONFIG_AR900B
There is wrong logic and won't define CONFIG_AR900B for HSP platform.
So add this change to correct the logic and define CONFIG_AR900B
properly.

Change-Id: I60e3bf0a0f9778a821bbe89289cf88f4dbc432e0
CRs-Fixed: 2996497
2021-07-23 20:17:16 -07:00
Ben Wang
d413a78a15 qcacld-3.0: Add CONFIG_MOBILE_ROUTER for SA415M Platform
Enable CONFIG_MOBILE_ROUTER SA415M Platform for Rome Genoa
and Hasting, same as SA515 Platform

Change-Id: I7f0899c562ea8447296f3ddd1b237ea0d6a1b962
CRs-Fixed: 2924075
2021-07-23 14:41:09 -07:00
Jia Ding
5a32f6baad qcacld-3.0: Add build option for uplink delay feature
Add CONFIG_WLAN_TSF_UPLINK_DELAY option for uplink delay feature
and enable it on WAIPIO.

Change-Id: I91f8433e853efb177bb1d9aea42cdc7f625a0d4e
CRs-Fixed: 2996368
2021-07-23 01:55:02 -07:00
Ananya Gupta
466dc616fe qcacld-3.0: Enable HIF_CPU_CLEAR_AFFINITY flag
Enable CONFIG_HIF_CPU_CLEAR_AFFINITY flag to
change rx_err_ring irq cpu affinity.

Change-Id: I3d2475210ffd5ac6acef7e0418eef26cf92e1302
CRs-Fixed: 2950630
2021-07-22 12:53:01 -07:00
Yue Ma
7cf969fb7d qcacld-3.0: Enable CONFIG_CNSS_WCN7850 in WCN7850 config file
Device specific flags should be enabled from Device specific config
file itself. They don't need to be passed from upper level Makefiles.

Change-Id: Ic05cebb225cf63a6163f64cc72c02f38d2d25231
CRs-fixed: 2944594
2021-07-14 15:31:55 -07:00
Prateek Patil
17480cf50e qcacld-3.0: Enable FISA compilation for WHUNT
Enable FISA compilation for WHUNT for QCA6490

Change-Id: I042aa1f7300014fee5946fd00c3205f607ee04ce
2021-07-14 10:32:42 -07:00
Jianmin Zhu
d7866af8ae qcacld-3.0: enable DP pending memory flushing
Enable DP pending memory flushing by macro WLAN_DP_PENDING_MEM_FLUSH.

DP references of the peer will be removed once we receive PEER
unmap message from the firmware. If the firmware has failed to
send the peer unmap message (due to an assert in FW), then the
peer entries will remain the inactive peer list and will trigger
a explicit QDF_BUG() during driver unload.
Force clean the inactive peer/vdev list during driver unload in such
cases.

Change-Id: I2565cd4f1a4afea8536bcca86147d6fa028be554
CRs-Fixed: 2988733
2021-07-12 21:20:34 -07:00
Ashish Kumar Dhanotiya
55ab069325 qcacld-3.0: Move dump in progress feature to separate file
With this change introduce featurization for dump in progress
and move implementation related to this feature to new files.

Change-Id: I4614aecde57a9c5ffec765f3afaa943c58956132
CRs-Fixed: 2979226
2021-07-12 07:45:34 -07:00
Vevek Venkatesan
516ad4f689 Revert "qcacld-3.0: enable CONFIG_CLEAR_SW2TCL_CONSUMED_DESC support"
This reverts the change to do the memset of SW2TCL desc consumed by
HW to zero.

Change-Id: Ie56207cf483643f6e294df23f5445ca853a75d51
CRs-Fixed: 2984818
2021-07-06 17:33:26 -07:00
Zhaoyang Liu
2f774b0ab7 qcacld-3.0: add feature flags in qca6390 default config
As hardware based on CONFIG_LITHIUM feature flags enable/disable in Kbuild
file were removed in commit "f06df4c", use CONFIG_<FEATURE_FLAG> from
qca6390_defconfig file to enable DP feature flags.

Change-Id: I8051fc789c70766bb4519c345e04c278864e2f1b
CRs-Fixed: 2984207
2021-07-06 06:53:29 -07:00
wadesong
7d409b24f2 qcacld-3.0: Enable FW_LOG_PARSING for Genoa
Enable flag FW_LOG_PARSING for Genoa so cmd like dl_loglevel
can be sent to firmware.

Change-Id: I6fcecb6198907e56c94e5d8211ac0ea0ecadb7fc
CRs-Fixed: 2983102
2021-07-06 04:38:32 -07:00
Vevek Venkatesan
f2e5ea6182 qcacld-3.0: enable CONFIG_CLEAR_SW2TCL_CONSUMED_DESC support
Enable CONFIG_CLEAR_SW2TCL_CONSUMED_DESC support for moselle
targets.

Change-Id: I1ef8927c2af040cda67dab9347679f64a55493ac
CRs-Fixed: 2983561
2021-07-05 03:20:17 -07:00
Yu Wang
e7df98e50e qcacld-3.0: Enable DCS for QCA6490
Enable CONFIG_DCS for QCA6490 in default_defconfig.

Change-Id: I45726ff0032e72939efde6a73051796c788f9ff6
CRs-Fixed: 2976853
2021-07-01 04:24:03 -07:00
Mohit Khanna
f06df4c16a qcacld-3.0: Cleanup HW-based feature flags from Kbuild
Currently we use hardware based feature flags in Kbuild file to
enable/disable certain feature flags. In case hardware changes, then we
would also need to edit Kbuild file to enable feature flags for the next
target. Instead, use CONFIG_<FEATURE_FLAG> from defconfig files to
enable DP feature flags. This will limit the changes for hardware update
to defconfig files only.

Change-Id: Icc8aa6ad51904946f9141a0f41728ed72b1f6d2f
CRs-Fixed: 2964342
2021-06-30 13:47:24 -07:00
Mohit Khanna
41c2c3060a qcacld-3.0: Disable GENERIC_SHADOW_ENABLE feature for BE
Disable the feature as force wake recipe is expected to work on BE.

CRs-Fixed: 2971353
Change-Id: Ic4c4cd1d23272ddea00e9bb8bb23bf72b5a4bbff
2021-06-30 13:47:15 -07:00
Rakesh Pillai
5010352aea qcacld-3.0: Enable Near Full IRQ in Kbuild
Enable the Near Full IRQ feature flag in Kbuild
for WCN7850.

Change-Id: I3c3760133c3fb31233f8abf450dacbd9ba51f09c
CRs-Fixed: 2965085
2021-06-30 13:47:10 -07:00
Balaji Pothunoori
d56c5ea434 qcacld-3.0: revert Disable TX_AGGREGATION_SIZE ini for HSP
This reverts commit I9e49ad5218f913f116cf4472f768f572740f14df
since ini based tx aggregation is configured based on firmware
capability.

Change-Id: I54541cd282eda6606e75fa347989624a0e0fef01
CRs-Fixed: 2963280
2021-06-25 11:56:14 -07:00
Rakesh Pillai
e8621c7db8 qcacld-3.0: Enable SHADOW_WRITE_DELAY
When FEATURE_HAL_DELAYED_REG_WRITE enabled, also enabled
SHADOW_WRITE_DELAY to avoid back to back shadow reg write.

Change-Id: I8d48496814e063ebd441db3520e3a5406c5db13e
CRs-Fixed: 2967202
2021-06-24 22:25:02 -07:00
Alan Chen
27aeb4863e qcacld-3.0: Add debug log to print link vote id
Add debug log to print more details about the link vote id when
PCIe link suspend is not allowed.

Change-Id: I5069202436e0da37b8ae22f84e28ac06d35002b5
CRs-Fixed: 2964957
2021-06-24 16:32:02 -07:00
Tiger Yu
33c1df645b qcacld-3.0: Enable the wlan IPA events for P2P GO/CLI mode for qca6390
Enable the wlan IPA events for P2P GO/CLI mode for qca6390 to avoid RX
packets get dropped due to IPA interface context is not created.

Change-Id: I1e2c5e4085874280779d8d8d07efdb1f33e6d90b
CRs-Fixed: 2853271
2021-06-22 13:14:06 -07:00
Jinwei Chen
7fef8c3b3c qcacld-3.0: Add HW cookie conversion support
Add HW cookie conversion support for wcn7850 soc.

Change-Id: I2adedb13bcaeebb1715b391f790b639d422e08f6
CRs-Fixed: 2929512
2021-06-21 17:10:05 -07:00