Commit Graph

1059 Commitit

Tekijä SHA1 Viesti Päivämäärä
Sheenam Monga
752b104fc2 qcacld-3.0: Set new macro for 6G power mode
Set the new macro CONFIG_REG_6G_PWRMODE for all targets. This enables
the new for power mode APIs which will replace the for freq APIs.

Change-Id: Ibb17616fdfc8bd110b3a68b4636c9b3c1bc9ca97
CRs-Fixed: 3136314
2022-02-24 10:42:17 -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
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
Bing Sun
5db23d13ab qcacld-3.0: Compile target_if_son.o for SON feature
Include target_if_son.c when building driver with SON feature enabled.

Change-Id: I8838bd400f509b48750161dcd72c418cc33d9b3f
CRs-Fixed: 3118833
2022-02-10 08:19:21 -08:00
jinbliu
b15e12678e qcacld-3.0: Delete a repeated MACRO in Kbuild
The duplicated MACRO in Kbuild is:
cppflags-$(CONFIG_HTT_PADDR64) += -DHTT_PADDR64

Change-Id: I0da070efcedf1af58bf0443f3402e6750c36a351
CRs-Fixed: 3111174
2022-02-07 17:56:27 -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
Divyajyothi Goparaju
df1aa31d4b qcacld-3.0: move wlan_cfg80211_mc_cp_stats.h file from cmn to qcacld
Currently wlan_cfg80211_mc_cp_stats.h file is present at
qca-wifi-host-cmn/cmn/os_if/linux/cp_stats/inc.
With this change, move file to 	qcacld-3.0/os_if/cp_stats/inc
as this file contain MCC specific code.

Change-Id: Ia531094fb15ae86f5afab2b9c3bdde197feaac6c
CRs-Fixed: 3108266
2022-02-01 23:35:31 -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
Surya Prakash Sivaraj
83e21ad43e qcacld-3.0: Compile mlme_utils files
Compile serialization API files under mlme_utils.

Change-Id: I81f3c4a9496f2c8d7e93c1cc745a6a83e4b4e98d
CRs-Fixed: 3113392
2022-01-27 03:12:29 -08:00
Aditya Kodukula
e205f330d1 qcacld-3.0: Add macro for partial offload regulatory
Add macro WLAN_REG_PARTIAL_OFFLOAD to support
partial offload regulatory.

Change-Id: Ie53851c72645a16b86e877255328e8d7a5675c63
CRs-Fixed: 3114560
2022-01-24 17:00:15 -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
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
Surabhi Vishnoi
31d8576ebd qcacld-3.0: Add kbuild cpp flag for low power mode feature
Add cpp flag support for CONFIG_ENABLE_LOW_POWER_MODE in Kbuild.
Currently, this config is enabled for wearables only.

Change-Id: I2fb08930290f5c23641e1d76796ab829b31aae04
CRs-Fixed: 3110291
2022-01-18 18:56:10 -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
Tiger Yu
65fcdade4d qcacld-3.0: Enable delayed peer obj freed for qca6174 module
Define the CONFIG_FEATURE_DELAYED_PEER_OBJ_DESTROY to enable delayed
peer obj freed for qca6174 module.

Change-Id: Ia80c3d1abdf0acf9fcc778e6fc77d917cb9f6baf
CRs-Fixed: 3101393
2021-12-28 10:51:39 -08:00
Bapiraju Alla
0de141916d qcacld-3.0: Add support to dynamic MAC address update
Currently, MAC address update is supported only when interface is down.
Because of this framework needs to issue interface down and interface
up to update the MAC address. Interface down and up will lead to VDEV
delete and VDEV create commands to the FW.

To optimize Host-FW interactions during set MAC address, add support
to update the MAC address without bringing the interface to down state.

Change-Id: I76afa8f8c2504e8271bf689392d526f994afff0a
CRs-Fixed: 3063201
2021-12-27 20:58:55 -08:00
Vulupala Shashank Reddy
b5e2542a4d qcacld-3.0: Add support for qos null filters in packet capture
Add support to send qos null frames received from firmware on
STA interface to mon interface based on config value. The config
value get update based on vendor command set by user.

The packet filter check in ucfg_pkt_capture_process_mgmt_tx_data
moved to target_if_mgmt_offload_data_event_handler. So that we
will not allocate any buffer if filter is not set.

Change-Id: I426b340c5a65711ada971062af95ae039d18d0bd
CRs-Fixed: 3076241
2021-12-22 14:06:50 -08:00
chunquan
d73a9a326c qcacld-3.0: Move ipa code to cmn
Move qcacld-3.0/components/ipa to qca-wifi-host-cmn/ipa.
Move qcacld-3.0/components/target_if/ipa to
qca-wifi-host-cmn/target_if/ipa

Change-Id: I07cda872809397be92ed4ad9b10f951a170586e4
CRs-Fixed: 3043943
2021-12-20 22:44:30 -08:00
Srinivas Dasari
804f4647a7 qcacld-3.0: Add MLO mgr include directory in INC list
New files are added in qcacld-3.0 to have cld
specific (e.g. roaming) MLO manager changes. But the inc
directory path is not added to INC list in Kbuild and
it's causing compilation issues while compiling the
source file wlan_mlo_mgr_roam.c

Change-Id: I2801a3a5fd04dac7e35fca3a43017bb1d6fd2b10
CRs-Fixed: 3095730
2021-12-16 21:19:36 -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
Amruta Kulkarni
a32e3f1a0c qcacld-3.0: Add new files for mlo roaming
Add new files for mlo roaming and update Kbuild file.

Change-Id: I3e672a5e068648fd836ecccb0edbac084850f11d
CRs-Fixed: 3090925
2021-12-14 14:09:03 -08:00
Yu Wang
10aa99f14f qcacld-3.0: Compile target_if APIs for MLO manager
Update Kbuild to compile target_if APIs for MLO manager.

Change-Id: If7c2ce106aaae98024892b400eca2ad6764b7ec0
CRs-Fixed: 3060585
2021-12-06 23:55:18 -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
sandhu
4938a636b7 qcacld-3.0: Add path of cleaned-up HW header files
Add path of final version (E3.0 R38) of cleaned up HW header files
with comments removed and appropriate copyright added.

Change-Id: I5b65141d68672da6368f71132ad583ed1fc3db53
CRs-Fixed: 3076670
2021-11-23 15:25:04 -08:00
Zhaoyang Liu
f9a17cae5a qcacld-3.0: enable pci low power int reg configuration
Enable PCIe low power interrupt mask register config for QCA6174.

Change-Id: Id05e4eb0c0c6b824ddfb05ea4fe8efd191015d88
CRs-Fixed: 3075919
2021-11-21 22:23:01 -08:00
Yeshwanth Sriram Guntuka
01acacfcfa qcacld-3.0: Enable irq affinity feature config flag for LI
Enable irq affinity feature config flag for Lithium.

Change-Id: I0a97dd85369aae66450e4869b591c7af74a66960
CRs-Fixed: 3073375
2021-11-12 22:52:07 -08:00
Ke Huang
b43015863f qcacld-3.0: Add the Full Power Down feature support
Add the support for the feature of Full Power Down while
in low power mode.
For this feature, it need to power down wlan chip when
suspend, and power up wlan chip when resume, so need to
change to call wlan driver shutdown and then power off the
wlan chip instead of calling wlan driver suspend when do
suspend, and changing to do power on wlan chip, download
wlan firmware, and calling wlan driver reinit instead of
calling wlan driver resume when do resume.

Change-Id: I293647175c151da0fd6628345f98ea65c83b1bb3
CRs-Fixed: 3061366
2021-11-11 03:12:28 -08:00
Will Huang
eb218a1c61 qcacld-3.0: Add vendor attribute to configure ARP/NS offload
In some scenario, it is required to receive every ARP/NS packet even
it is not to solicit address itself. So add this vendor attribute
configuration to enable/disable ARP/NS offload on fly.

On some platform, if target suspend to WoW mode, APF filter will drop
such ARP/NS packet in the front, so prevent runtime suspend happen
if disable ARP/NS offload. System suspend still allow in consideration
of potential power impact.

It only support on STA/P2P-Client mode device, and this configure is
optional, while default behavior is ARP/NS offload enable. It will
restore to default behavior if interface being closed.

Change-Id: Icd49e230024bc1ce51519cd9fafee9bc9f79f382
CRs-Fixed: 3058494
2021-11-10 23:02:37 -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
Yu Wang
b5bf07d319 qcacld-3.0: Update Kbuild to compile wmi_unified_11be_api APIs
Update Kbuild to compile wmi_unified_11be_api APIs.

Change-Id: I226cfd9b0d42e4d239a2b966da73c61f3998803e
CRs-Fixed: 3054742
2021-11-06 11:51:52 -07:00
Balaji Pothunoori
517caa56e6 qcacld-3.0: add os_if layer for monitor mode configuration
Add os_if layer for monitor mode vendor configuration.

Change-Id: I20488e0e398b1761745b24a70e9888fe487b88ac
CRs-Fixed: 3055069
2021-11-05 16:31:41 -07:00
Yeshwanth Sriram Guntuka
21958305b5 qcacld-3.0: Add support for multiple queues per AC in TX
Add support for multiple queues per access category and
flow steering in TX.

Change-Id: I40385ab300fc2f7ef83a0f052b95e32a25accfb0
CRs-Fixed: 3059758
2021-11-05 07:59:31 -07:00
Utkarsh Bhatnagar
40d0e1ae42 qcacld-3.0: Cleanup WMA HWMODE
Cleanup WMA HWMODE and WMA HWMODE List
as the same functionality is already taken
care by policy manager

Change-Id: I5dc1342422e70737111f882013ed3a6351a85336
CRs-Fixed: 3064739
2021-11-05 02:34:33 -07:00
Jinwei Chen
3cd06e5ecf qcacld-3.0: RX packet FW reinjection check for FISA
For beryllium, use sw_exception bit to indentify is it FW
reinjected frame or not, if sw_exception bit is marked, then
skip FISA for these kind of frame.

Change-Id: I6ca74c244c366641a7bcfddff2834550b1e5b472
CRs-Fixed: 3056157
2021-10-28 10:21:10 -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
Vevek Venkatesan
0ea8b922c2 qcacld-3.0: remove FEATURE_HAL_DELAYED_REG_WRITE_V2 from Kbuild
Since the code under FEATURE_HAL_DELAYED_REG_WRITE_V2 has been
removed and cleaned up, removing the build flag from Kbuild.

Change-Id: I66072af952877881fb700869ae4774e4f1a388cc
CRs-Fixed: 3056477
2021-10-14 15:04:47 -07:00
Mohit Khanna
35736804a8 qcacld-3.0: Update path for monitor files
Monitor mode code has been restructured into 1.0 and 2.0 directories.
Update Kbuild path to reflect the same.

Change-Id: I59e79decd269a394b21c30e0685015e6ff16e772
CRs-Fixed: 3027215
2021-10-12 02:28:04 -07:00
Aditya Kodukula
37026bc3ff qcacld-3.0: Add Support to offload icmp feature to fw
Add support to offload icmp feature to fw in case of
suspended state to avoid high power consumption.

Change-Id: I3ff19d71eac530c75be57e6b52b975e755ff2a53
CRs-Fixed: 3042452
2021-10-12 00:08:44 -07:00
Srinivas Dasari
fbd5ee5c48 qcacld-3.0: Cleanup ROAM_TARGET_IF_CONVERGENCE usage
wma to target_if convergence code is guarded under the feature
flag ROAM_TARGET_IF_CONVERGENCE and it's is enabled currently.
Remove the flag usage and remove the deprecated code(else part)
also.

Change-Id: I6973d9c366ec6a9c6164dd19f6f4775dd3ebf5f0
CRs-Fixed: 3049942
2021-10-06 00:02:06 -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