Commit Graph

1098 Commits

Author SHA1 Message Date
Jeff Johnson
be9f081b3f qcacld-3.0: Set upper bound for nested composite image support
The Android Common Kernel (ACK) accepted change [1] to 5.10.20 which
enables support for nested composite objects in the Kbuild
system. This was introduced to fix the "Argument list too long" error
that can occur when there are too many filenames passed by the build
system to the "ar" command.

The expectation at that time was that this patch would be maintained
for all future ACK kernels. However the ACK maintenance team has
decided not to maintain this patch beyond the 5.10 kernel, so update
the logic that determines if an ACK kernel has support for the
feature.

Subsequent changes will need to be made to address the "Argument list
too long" error when using an ACK that does not have this support.

[1] 21c713f8e8

Change-Id: Ief9a74a24d58796a90e19bd86fa269e64bcf4c73
CRs-Fixed: 3139401
2022-06-09 05:37:44 -07:00
Aditya Kodukula
e92560b70c qcacld-3.0: Add support to enable WLAN HW
As part of protected dynamic interface control feature,
if the user space disables WiFi, then the platform driver
disables the WLAN HW as well. Until the user enables WiFi,
the WLAN HW stays disabled.

So, add support to enable the WLAN HW, when the WiFi is
enabled by user space.

Change-Id: If6b90ae57c4471f4c613ead8310fd0a7ada818f3
CRs-Fixed: 3215335
2022-06-08 19:07:24 -07:00
Manikandan Mohan
d4498674f3 qcacld-3.0: Add config file for Mango WLAN device
Add config file for Mango WLAN device and enable emulation flag for
Mango WLAN device.

In addition, use static symbolic link '.mango -> .' for multi-ko support.

Change-Id: I0cebf11407e5625fd6475723496b9cda72cf5165
CRs-Fixed: 3210120
2022-06-07 08:18:32 -07:00
Rakesh Pillai
1f7aaef741 qcacld-3.0: Enable Shadow config v3 for beryllium chipsets
Enable feature flag for shadow config v3 for all
the beryllium chipsets.

Change-Id: I8fb7facb51f017fa880109e12face1f31366797b
CRs-Fixed: 3167764
2022-05-19 01:56:59 -07:00
Dundi Raviteja
b59f96fb33 qcacld-3.0: Add osif callbacks for pre cac
Add osif callbacks for pre cac component.

Change-Id: Ic49f61c413e4630bba8fd2e5ff3e69560fb52b52
CRs-Fixed: 3174540
2022-05-17 22:57:53 -07:00
Dundi Raviteja
e63bf7f295 qcacld-3.0: Add pre cac component
Add support for pre cac component.

Change-Id: I883febac103fc462fcd09f1534fda78c23b96466
CRs-Fixed: 3174505
2022-05-17 22:57:46 -07:00
Dundi Raviteja
d3bb29db4c qcacld-3.0: Move pre cac hdd code to new file
Move pre cac code related to hdd into a new file
wlan_hdd_pre_cac.c

Change-Id: Ia6b2e92a1bea03d7efe12a7dad27e345dc5ef53d
CRs-Fixed: 3174488
2022-05-17 13:50:08 -07:00
Karthik Kantamneni
dd3ab5f8dd Revert "qcacld-3.0: build script changes for DP component"
This reverts commit I1e99466cff805f22411f9bfa5a1842d0ffda265f.

Change-Id: Iaf5766d372558eb28085610191f1d66b340fbd8a
CRs-Fixed: 3196571
2022-05-16 18:58:18 -07:00
Karthik Kantamneni
ff74017c8d Revert "qcacld-3.0: Code cleanup from HDD module"
This reverts commit I66d52b1af7ae52dfde330c7a1b5046f77ab5fe70.

Change-Id: I11e52f785ef0e1d6ba8481f7e98d7ca9e45f249c
CRs-Fixed: 3196571
2022-05-16 18:57:53 -07:00
Surabhi Vishnoi
9c959bdc3a qcacld-3.0: Update auth_status and mac addr of roamed peer to dp
This change updates the auth_status and mac address of
roamed peer received in roam_sync_indication from FW to dp.

Change-Id: I27744017c87a956927108c5b3b0f9220d7e42965
CRs-Fixed: 3185110
2022-05-13 07:16:23 -07:00
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