Commit Graph

1131 Commits

Author SHA1 Message Date
Roopavathi Lingampalli
6d4df6c2da qcacld-3.0: Modify Pre_alloc memory support for Dp component
Modify Pre_alloc memory support for DP componentization.

Change-Id: I274e3163bc6623a7a4e08f8ce30d3bc17a0b444b
CRs-Fixed: 3285947
2022-09-16 11:52:08 -07:00
Ananya Gupta
32625de061 qcacld-3.0: Enable HAL_RECORD_SUSPEND_WRITE in debug mode
Enable FEATURE_HAL_RECORD_SUSPEND_WRITE when SLUB_DEBUG
mode is enabled.

Change-Id: I10b2ba6cf3d8c736926f1bc1a1eb281d9277b5c1
CRs-Fixed: 3284508
2022-09-12 10:15:11 -07:00
Surabhi Vishnoi
603ebd0743 qcacld-3.0: Enable SAP ACS optimization feature config
Enable SAP ACS optimization config in default_defconfig and
add corresponding kbuild flag.

Change-Id: I9f741cf5e17c8258136c2ebbd6a975888989fa66
CRs-Fixed: 3280853
2022-09-06 04:23:24 -07:00
Amit Mehta
be7a5a4e10 qcacld-3.0: Add feature flag to skip msi int mask set
Add feature flag to skip MSI interrupt mask set of
mon rx ring if device mode is not monitor mode to
fix double free issue resulting from call
to api from two different contexts.

Change-Id: Ie065c1034ef8b9f2cf4eb762c4a9be23d9799efd
CRs-Fixed: 3277477
2022-08-27 22:57:27 -07:00
Yu Wang
0f0d2fc927 qcacld-3.0: add build support for CoAP
Add build support for CoAP(Constrained Application Protocol)
component.

Change-Id: I1578091ddc6348398d3a0dbc1c7378deddf10712
CRs-Fixed: 3257891
2022-08-21 22:18:29 -07:00
Arun Kumar Khandavalli
6c9cb8b5b4 qcacld-3.0: Add a new flag to enable the mlo key operation support
Add a new flag to enable the Mlo key operation support.

Change-Id: I528526dd3787ae9ff50d00be0d8e36e33443557c
CRs-Fixed: 3267043
2022-08-19 05:05:31 -07:00
nakul kachhwaha
55b4c8f1b5 qcacld-3.0: Add sysfs support for traffic end indication
Add sysfs entry to configure status and dscp values
used by application for regular traffic and last packet
to mark traffic end.

Change-Id: Ib0e0aaf64e24da3b402b695840850b01c19a4991
CRs-Fixed: 3207451
2022-08-16 09:14:22 -07:00
Jinwei Chen
823f94a3e3 qcacld-3.0: enable NO_RX_PKT_HDR_TLV feature for KIWI
enable NO_RX_PKT_HDR_TLV feature for KIWI

Change-Id: I7be006efc02ee23c770330b8f446dd1c30c97486
CRs-Fixed: 3262878
2022-08-16 06:00:41 -07:00
Ashish Kumar Dhanotiya
d9dd8cc039 qcacld-3.0: Create wifi features sysfs file
Based on new requirement, create wifi features sysfs file.

Change-Id: I4ff20e515f87ffc43f9f315582340922106e990f
CRs-Fixed: 3262797
2022-08-12 13:48:27 -07:00
Ashish
04f31c81d4 qcacld-3.0: Enable FEATURE_SET feature
Enable feature set feature flag to report required feature
set information.

Change-Id: Ib0a83f9ef9fadea5fd1188464b6b9ad44cb3dfc6
CRs-Fixed: 3262636
2022-08-12 00:39:37 -07:00
Jinwei Chen
e9a3221c8f qcacld-3.0: enable DP packet statistics per lmac
enable DP packet statistics per lmac

Change-Id: I00f4145834b90f88d876a09a00b7728e106435e9
CRs-Fixed: 3251814
2022-07-30 11:11:59 -07:00
Roopavathi Lingampalli
865eaba7f4 qcacld-3.0: Implement DP component for SWLM feature
Implement SWLM feature support in DP componentization
model.

Change-Id: I4cd03c768fe9d9bd66d484a8c5e2f2613e55f4e6
CRs-Fixed: 3243889
2022-07-27 13:25:56 -07:00
Ananya Gupta
33d6134296 qcacld-3.0: Disable feature to deliver all OOR frames to stack
Disable DP_RX_DELIVER_ALL_OOR_FRAMES feature
This reverts commit I3ad59fc3b3fc8e70b2f05a7cfa23e2646c1e03a4.

Change-Id: I786b03daebbf412e75015b5eabe561dfa36614c8
CRs-Fixed: 3235707
2022-07-19 03:33:35 -07:00
Amit Mehta
aed549d3a9 qcacld-3.0: build script changes for DP component
build script changes to include DP component files

Changes were backed out because of association issue
introduced by MLO adapter to DP interface mapping issue
and to avoid any further regression.
Re-introduce changes after preforming complete sanity
to vet out any regression which might be introduced
by these changes.

Change-Id: I8c185e7496a8c7315b7bdd2c0bd98bb60a047f86
CRs-Fixed: 3198619
2022-07-18 03:21:56 -07:00
Amit Mehta
08d727ece3 qcacld-3.0: Code cleanup from HDD module
Cleanup HDD code which is refactored to
DP component.

Changes were backed out because of association issue
introduced by MLO adapter to DP interface mapping issue
and to avoid any further regression.
Re-introduce changes after preforming complete sanity
to vet out any regression which might be introduced
by these changes.

Change-Id: If5f1cf432b5c02848202debee7de696b2f20be9a
CRs-Fixed: 3198619
2022-07-18 03:21:19 -07:00
Aditya Kodukula
2d9a20e46f qcacld-3.0: Add infra to support DBAM feature
Add infra to support Dedicated Bluetooth Antenna Mode (DBAM)
feature. It is used to switch between dedicated antenna for
BT and shared antenna for WLAN and BT.

Change-Id: I20b08a2fd446da4e3c17813aa64e368750286114
CRs-Fixed: 3239896
2022-07-17 23:12:16 -07:00
jinbliu
95d8c151df qcacld-3.0: Skip special frame rate info update
To avoid unmeaningful rate fluctuation, when report
rx linkspeed to upper layer, exclude special frames:
arp/ssdp/dhcp/eapol/ipv6 NA/NS/DHCPV6 in low rate.

Change-Id: Ie8989dde506c654525099f9d154abe93162a0bac
CRs-Fixed: 3199636
2022-07-15 13:34:52 -07:00
Tiger Yu
3c7cbe4fd7 qcacld-3.0: Add VCPU_TIMESTOLEN for Hypervisor system
Per feedback from some hypervisor system vendor, a virtual CPU can
have some stolen time imposed by the physical CPU scheduling, this
can result in some tasks' handling taking longer time than expected,
even when spin lock is held by code running on the vCPU.

With the stolen time existing, wlan driver's timeout for spinlock
holding must be different on hypervisor systems as compared to metal
platforms.

Change-Id: I607895f8afc9ad745a7a68939202a66560f31637
CRs-Fixed: 3242535
2022-07-15 05:01:16 -07:00
Pragaspathi Thilagaraj
832fee1036 qcacld-3.0: Refine PASN peer delete all & pasn auth status path
Refine PASN peer delete all path, to post message to
scheduler thread to process the peer delete all
message for PASN peers. Handle response timeout in WMA.
Resume vdev deletion after removing pasn peers

Add vendor command support to parse below vendor commands:
QCA_NL80211_VENDOR_SUBCMD_PASN
QCA_NL80211_VENDOR_SUBCMD_SECURE_RANGING_CONTEXT

Send install key command to firmware to install the
PTK upon receiving
QCA_NL80211_VENDOR_SUBCMD_SECURE_RANGING_CONTEXT
vendor command. If LTF keyseed is also received,
send the LTF keyseed to firmware.

Sent PASN auth status to firmware upon receiving
QCA_NL80211_VENDOR_SUBCMD_PASN command.

Change-Id: Idc9c69f7288b0774cc6d9bdcfed13ba3684bbc72
CRs-Fixed: 3231205
2022-07-14 04:12:30 -07:00
Jayachandran Sreekumaran
e728680f11 qcacld-3.0: Add spatial reuse feature support
Add SAP mode support for non-srg spatial reuse.

Change-Id: Ic575eefd0d36b6750d826c9bccbd53f07ae9ea75
CRs-Fixed: 3213404
2022-07-11 23:12:40 -07:00
Rakesh Pillai
f81930044e qcacld-3.0: Enable SRNG usage high watermark feature
Enable the tracking of SRNG usage high watermark
feature for KIWI target.

Change-Id: I66c32f8c8f147aea0331c81d7b2c91ac88572fea
CRs-Fixed: 3235422
2022-07-11 10:23:58 -07:00
Pragaspathi Thilagaraj
e33def8324 qcacld-3.0: Add support to create ranging peer
Add support to send ranging peer create command from WMA

Change-Id: I67966983b157efaecaad7209b679483f010e84a5
CRs-Fixed: 3150075
2022-07-07 17:46:28 -07:00
Pragaspathi Thilagaraj
129b265449 qcacld-3.0: Add support for PASN cfg80211 ops
Add support for PASN cfg80211 ops:
1. set_ltf_keyseed
2. pasn_auth

Change-Id: Icfda1664a9d5e9a14c54066c4c2344fec368bec6
CRs-Fixed: 3159890
2022-07-06 23:07:08 -07:00
Dundi Raviteja
a258f3cd42 qcacld-3.0: Clean up code under PRE_CAC_COMP flag
pre cac componentization is done, so clean up
code under PRE_CAC_COMP flag.

Change-Id: I6465bce9fc883797f42358aaeb8dabf70e449cde
CRs-Fixed: 3232820
2022-07-04 11:52:02 -07:00
Rakesh Pillai
b87648dd65 qcacld-3.0: Enable Monitor status buffer tracking history
Enable monitor status buffer tracking history.
Also enable the allocation of memory for the monitor
status buffer tracking history via prealloc.

Change-Id: Iafec8e68c85b3f2d9b0bf0523a19b7a32869e20a
CRs-Fixed: 3229689
2022-07-02 11:28:04 -07:00
VIJAY RAJ
ee9e38f2b0 qcacld-3.0: Send Connectivity diag event through netlink
Connectivity logs are sent through the vendor event to the
supplicant.

Modify the connectivity log flow through the diag event to
the supplicant in order to maintain single logging infrastructure.

Change-Id: Id5429349e00c16c23b76894744fef404b2266e9e
CRs-Fixed: 3218152
2022-06-29 15:46:26 -07:00
Huashan Qu
a49743aa13 qcacld-3.0: Add new macro for automotive platform regdomain
Regdomain revision 39 version add a specific AUTO regdomain table for
automotive platform, so add new macro and enable the macro for
automotive platform to choose AUTO regdomain table usage.

Change-Id: I5fded1a6fa9c9b7c06b6be77e25c56f2a660922e
CRs-Fixed: 3210729
2022-06-29 11:24:13 -07:00
Rakesh Pillai
e4efc48048 qcacld-3.0: Disable sanity of sw_cookie in RX error for KIWI
Disable the sanity of sw_cookie in RX error path for
KIWI target.

Change-Id: I6d0e5c4c643007bfec2232d2f7c200842508ec44
CRs-Fixed: 3228794
2022-06-26 03:25:32 -07:00
abhinav kumar
4a19256692 qcacld-3.0: Add vendor handoff service bit caps support
Add vendor handoff service bit capability support
WLAN_SOC_VENDOR_HANDOFF_CONTROL to check whether the FW
supports vendor handoff feature or not.

Change-Id: Ifdf541761716df9ca5b764c05714a8b501642354
CRs-Fixed: 3224573
2022-06-23 08:50:44 -07:00
Vinod Kumar Myadam
a24510696e qcacld-3.0: Add flag CONNECTIVITY_PKTLOG
Add new flag CONNECTIVITY_PKTLOG to make independent of
FEATURE_PKTLOG and REMOVE_PKT_LOG for packet logging.

This is because 32 tx/rx pkt logging is connection related
and this feature is independent of pkt log feature. Here
driver will send first 32 tx/rx pkts consisting of mgmt
and data pkts to userspace which can be used for debugging

Change-Id: If987ac8b6cb10b464a4ec2ace1c55215c0aa3614
CRs-Fixed: 3222970
2022-06-23 07:03:31 -07:00
Dundi Raviteja
433730002e qcacld-3.0: Enable precac component
Enable pre cac component.

Change-Id: If013d802d8e921acd227544efb13a7929130814a
CRs-Fixed: 3216744
2022-06-10 13:19:07 -07:00
Yu Ouyang
6b2b1cfb27 Revert "qcacld-3.0: Add the Full Power Down feature support"
This reverts commit I293647175c151da0fd6628345f98ea65c83b1bb3.

New solution idle shutdown in suspend prepare is better.

Change-Id: I69a0e7401c811e4a9656fcc8e3dd069f4317cc35
CRs-Fixed: 3213236
2022-06-09 19:37:09 -07:00
Madhvapathi Sriram
acb7e8644b qcacld-3.0: Command to configure peer tx queue flush
This enables configuration from user if and when the stale
packets from peer TID queues can be flushed.

Change-Id: Ic7427cdb8b70eeefea1b99d1f9be505a9cae76e6
CRs-Fixed: 3130419
2022-06-09 19:36:38 -07:00
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