Commit Graph

1088 Commits

Author SHA1 Message Date
Wade Song
2502638cbf qcacld-3.0: Code condensing for sme
When build kiwi_v2 driver, it reports below error
"make[3]: /bin/sh: Argument list too long". It's because when ar
process kiwi_v2.o, current driver generates too many characters which
over bash's limitation, so create sme.c file to includes all sme layer
common files to save some room.

Change-Id: Ib15fcb29efd6d06d48d305dcfac44de258dba259
CRs-Fixed: 3194081
2022-05-11 13:21:10 -07:00
Amit Mehta
4bb6f92ab3 qcacld-3.0: Code cleanup from HDD module
Cleanup HDD code which is refactored to
DP component.

Change-Id: I66d52b1af7ae52dfde330c7a1b5046f77ab5fe70
CRs-Fixed: 3169985
2022-05-11 13:20:54 -07:00
Amit Mehta
939457884c qcacld-3.0: build script changes for DP component
build script changes to include DP component files

Change-Id: I1e99466cff805f22411f9bfa5a1842d0ffda265f
CRs-Fixed: 3164969
2022-05-11 13:20:35 -07:00
Mohit Khanna
281ac750ad qcacld-3.0: Enable min rates for special frames
Enable feature flag -DQCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES
for KIWI_v2 chips.

Change-Id: Iaf609fb9a389dc8f4d7eed5313f76333620ede7e
CRs-Fixed: 3155097
2022-05-06 06:14:27 -07:00
Aditya Kodukula
c4ca02df28 qcacld-3.0: Add infra to disable/enable wifi
As part of protected dynamic interface control feature, add
infra to disable/enable wifi, when invoked from user space.

Change-Id: I3f6c2abcef1ef89cbd0a735820de9b54d37bfa29
CRs-Fixed: 3166467
2022-04-26 14:59:18 -07:00
Utkarsh Bhatnagar
658e6789d3 qcacld-3.0: Cleanup MPC_UT_FRAMEWORK Config
Cleanup MPC_UT_FRAMEWORK Config

Change-Id: Ifd05bdae81070c948e63d753bd671e7b41c0228c
CRs-Fixed: 3179082
2022-04-25 10:15:28 -07:00
Utkarsh Bhatnagar
7c666d30a8 qcacld-3.0: Cleanup MPC Unit Test Framework
Cleanup MPC Unit Test Framework.

Change-Id: I76aa0ad227069b68b9efedbbc7e87573e9a004c0
CRs-Fixed: 3178591
2022-04-25 10:15:22 -07:00
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
Srikanth Marepalli
e2e3e0326e qcacld-3.0: Use WLAN_WEAR_CHIPSET to modify INI path
On Wear HL based target with keystone kernel, it generates
WLAN driver with name "qca_cld3_wlan.ko" based on macro
definition WLAN_WEAR_CHIPSET. But the driver was not loading
because of the old INI path and /dev path.
This commit modifies the INI path and /dev path based on
macro defined i.e. WLAN_WEAR_CHIPSET.

Change-Id: I6d457a3bb708de3175c40b0f2b3ba0ebde915838
CRs-Fixed: 3168115
2022-04-21 07:24:32 -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
Qun Zhang
3f80fae5f0 qcacld-3.0: Refine roam event processing for LFR2/LFR3
Currently wmi_roam_event_id event handler only register under feature
WLAN_FEATURE_ROAM_OFFLOAD, but it's needed for LFR2 roaming too. So
refine roam event processing for LFR2/LFR3.

Change-Id: Ic07fd8a543142fc1e151f484979ab99ff55ce802
CRs-Fixed: 3161973
2022-04-09 01:22:20 -07:00
Liangwei Dong
36accba316 qcacld-3.0: Add files for MCC Quota event feature
Add files of MCC Quota event functions when WLAN_FEATURE_MCC_QUOTA
feature is enabled.

Change-Id: If8ab364223f7f3236230fc0fbbc953f184c02528
CRs-Fixed: 3101880
2022-04-06 21:26:46 -07:00
Surya Prakash Sivaraj
edc56c445f qcacld-3.0: Remove the old SAP/CSR flow
Remove the old SAP-CSR flow for start bss, stop bss and
channel change req processing which is disabled currently
under the SAP_CP_CLEANUP macro.

Cleanup the redundant checks in the deauth, disassoc
response processing in CSR.

Change-Id: I5a360fc267688b51ca645551108b65646a3c8c1a
CRs-Fixed: 3164259
2022-04-03 17:55:50 -07:00
Surya Prakash Sivaraj
4ebb87035a qcacld-3.0: Enable SAP_CP_CLEANUP flag
Activate the new SAP flow for start bss,
stop bss and channel change request.

Change-Id: If6971438af803bd0e9d2b9f3bd162b7096f1fb88
CRs-Fixed: 3157399
2022-03-25 17:04:27 -07:00
Rakesh Pillai
d6e6f8a861 qcacld-3.0: Disable TX credit cmd and status rings for Kiwi
Kiwi target does not use the TX credit cmd ring and the
TX status ring.
Hence disable these srngs for Kiwi target.

Change-Id: I2473aad5b16316e3033c7d7ee9f81ee518dd2097
CRs-Fixed: 3157132
2022-03-25 01:36:20 -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
Subrat Dash
19e3d0b415 qcacld-3.0: Add support for WDS repeater feature
Enable source port learning for SAP to add AST entry for the
remote stations with next hop. The SAP should use 4-address
frame format for the remote destinations.

Add support to handle data packets for WDS destination.

Change-Id: I6002e6dd9c9bb2c7b2e4f85bf06156dbb7feebee
CRs-Fixed: 2997812
2022-03-24 01:44:27 -07:00
Pragaspathi Thilagaraj
d19ee8c7dc qcacld-3.0: Kbuild changes for new wifi pos files
Add Kbuild changes for the below new wifi pos files:
target_if_wifi_pos_tx_ops.c
target_if_wifi_pos_rx_ops.c

Change-Id: Icf64ace3fdcd359d7248cdbe1a009faeedcd5f8d
CRs-Fixed: 3139942
2022-03-23 19:42:06 -07:00
Pragaspathi Thilagaraj
a5de781f47 qcacld-3.0: Advertise 11az security related wiphy ext flags
Call the Wifi Pos API to advertise 11az security
related wiphy ext flags. Add Kbuild changes for new
file to advertise Wiphy Feature flag.

Change-Id: Id8c9c51770c3153c9c8a140f965249d1b0d1a844
CRs-Fixed: 3150582
2022-03-23 19:42:00 -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
chunquan
abefa5a8b4 qcacld-3.0: Rename folder of blacklist_mgr
Rename folder of blacklist_mgr.

Change-Id: I426d1150d91a8fc97fc483836c954b742e8c8211
CRs-Fixed: 3102372
2022-03-15 20:43:56 -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
chunquan
03c551de67 qcacld-3.0: Rename files with blacklist/whitelist
Rename files with blacklist/whitelist to denylist/whitelist.
Rename files with blm to dlm.

Change-Id: Ief7ce0a797f74460c9708f8d2dd440412af5b7eb
CRs-Fixed: 3099864
2022-03-14 08:50:05 -07:00
Madhvapathi Sriram
79e13b55ab qcacld-3.0: User MCC quota setting
Set the MCC quota for a given interface.

Change-Id: I313cdf1673f8fc5f50a049d429c0d88fd213e66f
CRs-Fixed: 3106146
2022-03-14 00:43:35 -07:00
Kai Liu
c8bc7b1b08 qcacld-3.0: Use simple lim.c to include lim layer common files
When build kiwi_v2 driver, it reports below error
"make[3]: /bin/sh: Argument list too long". It's because when ar
process kiwi_v2.o, current driver generates too many characters which
over bash's limitation, so create lim.c file to includes all lim layer
common files to save some room.

Change-Id: Ic4a1a71ebc9e42fde5e1a11b5342a7f17a9e0d91
CRs-Fixed: 3138823
2022-03-09 04:07:16 -08: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
Kai Liu
4ca1fafe71 qcacld-3.0: Provide chip version to platform driver
Add chip version info in driver structure, platform driver
can use this info to decide whether accept this registration or not.

Change-Id: I37ba897954147ad75515f88e7ff35417e5de39e4
CRs-Fixed: 3125766
2022-03-07 21:42:30 -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
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