Commit Graph

1273 Commits

Author SHA1 Message Date
Vinod Kumar Pirla
9bab9cd8c2 qcacld-3.0: Enable peer trasition history by default
Enable peer transition history by default and remove
the compile time flag.

Change-Id: Idcce6f5e418d4e4571caaadce07d787c0deaecd8
CRs-Fixed: 3774914
2024-05-06 00:53:29 -07:00
Vinod Kumar Pirla
8b22fbb1a3 qcacld-3.0: Enable peer transition history
Enable flag to save peer transition history in host.

Change-Id: I28110748aa42dfee8f29b02764647367d3c0cd8d
CRs-Fixed: 3755803
2024-03-28 01:35:31 -07:00
Liangwei Dong
1ed9249cd9 qcacld-3.0: Add SAP interface number check
In LA by default, the max supported SAP interface number -
QDF_MAX_NO_OF_SAP_MODE is 2. In third party framework or using
command line to add SAP interface, the active number of SAP
interface may exceed the number of QDF_MAX_NO_OF_SAP_MODE.
To avoid running into unexpected scenario, add check the active
SAP interface number with configuration of macro QDF_MAX_NO_OF_SAP_MODE
when adding virtual interface.
And in MDM we support 4 SAP, so make the QDF_MAX_NO_OF_SAP_MODE
configurable by Kbuild.

Change-Id: I7b64ae8f580d2b11ab5bd46c9346567f4ceabc39
CRs-Fixed: 3673518
2023-12-20 16:35:16 -08:00
Rakesh Pillai
c47a54c310 qcacld-3.0: Enable feature DP_RX_PEEK_MSDU_DONE_WAR for kiwi_v2
Kbuild and bazel changes to enable the feature
DP_RX_PEEK_MSDU_DONE_WAR for kiwi_v2 target.

Change-Id: I7a0195acd8d5bd0566b9dd74b60f7d3a907af495
CRs-Fixed: 3667710
2023-11-28 04:07:50 -08:00
Rakesh Pillai
a39e53f73d qcacld-3.0: Enable msdu done failure history for kiwi_v2
Kbuild and bazel changes for enabling msdu done
failure history for kiwi_v2 target.

Change-Id: I6698014e673ac5eb9d065447af697b2ca6c8f4b3
CRs-Fixed: 3662202
2023-11-27 08:54:46 -08:00
Will Huang
a4715adff4 qcacld-3.0: Optimize GC connection speed by skipping JOIN
Currently STA/GC connection will have JOIN which actively probe AP/GO
in this state to get latest bss entry, but before connection scan
already trigger and bss entry updated in scan db so can skip JOIN
in some scenario.

There is requirement to optimize GC connection speed, and to skip
JOIN state is one of the subtask to achieve it. Add a build option
to skip JOIN for GC connection.

Change-Id: I1f8beaa41ea398601a17fa80997029b8ac8849ae
CRs-Fixed: 3598283
2023-11-21 22:21:52 +05:30
Ashish Kumar Dhanotiya
793694f8f7 qcacld-3.0: Add bearer switch WMI interface changes
When there are more than one audio transport mediums
are available, there is a possibility to switch the
audio transport medium from one medium to another
medium.
To provide this support to switch the audio transport
medium, and to indicate the status of the bearer
switch to fw, add WMI interface changes.

Change-Id: I236e2d9a954191c104d56d286332ace644190e6e
CRs-Fixed: 3653962
2023-11-14 12:09:28 -08:00
Ashish Kumar Dhanotiya
8e04c8446a qcacld-3.0: Register os_if callback with the bearer switch state machine
Based on the new requirement, host driver needs to send the audio
transport switch request from host driver to user space, to
support this requirement, register os_if callback function with
bearer switch state machine

Change-Id: Ib94ff4d9876e79d984401262253602c975b0fb1e
CRs-Fixed: 3626952
2023-10-10 19:36:41 -07:00
David Oladunjoye
a00091f1b5 qcacld-3.0: 2-link MLO Sap Simulation
Current SAP is unable to bringup 2 vdevs and connect 2-link MLO.
To unblock validation we simulate 2link connection on SAP.

Changes are as Follows:
- Add MLD caps to Beacon Frame
- Add RNR IE to Beacon/Probe Rsp Frame
- Add Per-Sta Profile to Probe Rsp Frame
- Add Per-Sta Profile to Assoc Rsp Frame

Change-Id: Ice2d3557e00426ead044ec6b4b507746db4148d4
CRs-Fixed: 3591637
2023-10-07 00:00:29 -07:00
Ashish Kumar Dhanotiya
44ac03a6ee qcacld-3.0: Add bearer switch infra
When there are more than one audio transport mediums
are available, there is a possibility to switch the
audio transport medium from one medium to another
medium.
To provide this support to switch the audio transport
medium, add a bearer switch infra in host driver.

Change-Id: I9d828d52a2c03e8e4e2c0a284ff0dd7510798dbe
CRs-Fixed: 3609864
2023-10-04 08:12:53 -07:00
Aasir Rasheed
ec2ac22c08 qcacld-3.0: Fetch max num of active links
Fetch max num of active links recommended by AP
from beacon ie in case of ML connection.

CRs-Fixed: 3599428
Change-Id: I82581cbf7b3f6c6ac7f1b31040dad178a3fad27d
2023-10-01 18:12:03 -07:00
Aasir Rasheed
c03f357db6 qcacld-3.0: Notify firmware on CSA rejection
The host driver now sends a notification to the
firmware when a CSA (Channel Switch Announcement)
is rejected due to no change in channel, bandwidth,
or puncture.

Change-Id: I5d8a424459898d15a7931baf7ca4c3de8308c64e
CRs-Fixed: 3595843
2023-09-26 05:25:31 -07:00
Yu Wang
33b2ada4cb qcacld-3.0: add support for transmit latency stats
Add support for per-link transmit latency statistics

Change-Id: If5f2f7785e45379491f085690b7fc9ea109e1148
CRs-Fixed: 3597015
2023-09-18 15:31:44 -07:00
jinbaoliu
c34bfe823f qcacld-3.0: make rx refill buffer pool size configurable
This change makes two rx refill buffer pool size MACROs configurable,
so that they can be customized according to different platforms.

Change-Id: I638c71be0cd0b53f2db8351931abd54f80c5525c
CRs-Fixed: 3601396
2023-09-15 21:08:29 -07:00
Aravind Kishore Sukla
28952dec4f qcacld-3.0: Add rf test mode sysfs functionality
Add support to configure rf_test_mode_enabled.

Change-Id: I6a42cb078549ecccc5f5c769b97de14fc6f1ee79
CRs-Fixed: 3581791
2023-09-12 14:40:31 -07:00
Yu Wang
35c0700b17 qcacld-3.0: decouple TSF auto report from uplink delay feature
TSF auto report is a stand alone feature, which can
be used to sync TQM clock and TSF clock, more than
one features depend on it.
Introduce a new build flag WLAN_FEATURE_TSF_AUTO_REPORT
to decouple it from uplink delay feature.
And also introduce trigger source for TSF auto report to
identify different triggers and maintain the enablement
state.

Change-Id: I61005d0ba29e62995aeb88067d18ad48767bd8b5
CRs-Fixed: 3560239
2023-09-05 15:13:48 -07:00
Ashish Kumar Dhanotiya
a0ad067df0 qcacld-3.0: Add support for audio transport switch vendor command
Based on the new requirement, add support for vendor command
to switch the audio transport bearer.

Change-Id: I1d3b74c18976b0927ebba228b73af5a10cc67391
CRs-Fixed: 3582788
2023-09-04 18:34:20 -07:00
Venkateswara Naralasetty
7fce92dbaa qcacld-3.0: Kbuild changes for FEATURE_ENABLE_CE_DP_IRQ_AFFINE
Kbuild changes FEATURE_ENABLE_CE_DP_IRQ_AFFINE.

Change-Id: Ifbcc443416219f0708b7767b1e4e58cf2e807810
CRs-Fixed: 3590605
2023-08-25 15:14:26 -07:00
Prasanna JS
1b2deb10ec qcacld-3.0: Enable CONFIG_BCN_RATECODE_ENABLE
Enable CONFIG_BCN_RATECODE_ENABLE config flag for
lithium onwards target.

Change-Id: I9d39e9d6f71d14aa85e9f12f160f203906328c90
CRs-Fixed: 3593196
2023-08-25 09:06:12 -07:00
Venkateswara Naralasetty
bc22dea1ae qcacld-3.0: Kbuild changes to enable interrupts in monitor mode
Kbuild changes to enable interrupts in monitor mode for wcn6450.

Change-Id: I6fc5efdad3bf251e9166a3d018caa7d406a00f04
CRs-Fixed: 3565745
2023-08-25 03:02:59 -07:00
Meng Yuan
0624aa8b53 qcacld-3.0: Support the case to unload driver successfully
Enforce the chip to complete steps of unloading driver
instead of ASSERTION in the case of powered off.
Enforce the chip to complete pld_pcie_remove to
avoid memory leak.

Change-Id: Iaaadde91dd6329990d28659b283b1be8216a970f
CRs-Fixed: 3590444
2023-08-23 10:32:45 -07:00
Nijun Gong
75b8edf980 qcacld-3.0: Add support for contiguous multi-page allocation
Add config option for enabling physically contiguous multi-page
allocation, and enable the same for qca6174.

CRs-Fixed: 3588484
Change-Id: Ib649cbb6e3d3e5b00a5e8f94cde99f621fa9b124
2023-08-15 06:28:31 -07:00
Bing Sun
fb4305e446 qcacld-3.0: add roam trigger bitmap sysfs functionality
Add support to configure roam_trigger_bitmap.

Change-Id: I1a7329910e5276469fa7cf0711d412cc8850d98b
CRs-Fixed: 3563225
2023-08-06 22:46:47 -07:00
Bing Sun
25f5c0058e qcacld-3.0: add wds mode sysfs functionality
Add support to configure wds_mode.

Change-Id: I19b7c797083a75d2aebf53d574484def5a4ec9e1
CRs-Fixed: 3563193
2023-08-06 22:46:42 -07:00
Karthik Kantamneni
6c8df0d481 qcacld-3.0: Update configs for WCN6450 platform
Disable special packet handling in RX error path.
Enable marking offloads handled frame in RX path.

Change-Id: I75f7f240c3f7a2728c5d7e9d94bb8de8c57ceafc
CRs-Fixed: 3540540
2023-08-03 03:40:58 -07:00
Manikanta Pubbisetty
ed37d33b4e qcacld-3.0: Enable HIF CE RX reusable nbufs feature
Enable HIF CE RX reusable nbufs feature for qca6750 (Moselle)
target.

Change-Id: If476e6eb4559b31d45799b1d7f168bd89fafd608
CRs-Fixed: 3554491
2023-07-21 01:16:23 -07:00
Vinod Kumar Pirla
149ccf8825 qcacld-3.0: Enable WLAN_HDD_MULTI_VDEV_SINGLE_NDEV flag
Enable the flag to move to single netdev multi vdev model.

Change-Id: I2d17111fa6512a740202004a0fe8bb2e191a76d5
CRs-Fixed: 3524055
2023-07-20 13:39:26 -07:00
Amit Mehta
af94327676 qcacld-3.0: Add WALT_GET_CPU_TAKEN_SUPPORT flag
set WALT_GET_CPU_TAKEN_SUPPORT if walt_get_cpus_taken
is present to avoid issue on target where changes are
not present in kernel branch.

Change-Id: I550291b5fb2dc38b6a26eaece3fbe3ede5604a7d
CRs-Fixed: 3559245
2023-07-17 05:01:05 -07:00
Jyoti Kumari
1c4333ac79 qcacld-3.0: Create new file in ll_sap component
Create new file in ll_sap component to add api's
related with ll_sap

Change-Id: Ic3829ecd1f00268dae9ddf138caeb4288a47fb3c
CRs-Fixed: 3550283
2023-07-14 01:11:24 -07:00
Arun Kumar Khandavalli
f7864c0c78 qcacld-3.0: Enabling link switch in kbuild
Include link switch source files in Kbuild.

Change-Id: If5c20399a550918add444fad9eafbdaf75cb823e
CRs-Fixed: 3530145
2023-07-12 19:03:03 -07:00
Venkateswara Naralasetty
d70118f951 qcacld-3.0: Kbuild changes for hif delayed reg write
Kbuild changes for hif delayed reg write support for wcn6450.

Change-Id: I8e028acc50ac4c4d33203b91b24607e7ea2b79d1
CRs-Fixed: 3519709
2023-07-10 12:13:11 -07:00
Deeksha Gupta
e6770d16fb qcacld-3.0: Add new field for N-link MLO connection in wmi_service
Extends the wmi_service_ready_ext2_event_fixed_param
structure with a new field to support N-link MLO
connections.

The host will now calculate the maximum number of
links per MLD value by intersecting the firmware
capability and the ini value present in MLME component.
And this calculated value will be stored in the MLME
component.

Change-Id: I89bf3553781cd809cdb5496fbf0f68e59569033a
CRs-Fixed: 3512343
2023-07-10 12:12:41 -07:00
Jia Ding
6d5db78bf8 qcacld-3.0: Cleanup multiple include compiler options
Multiple include directories only contains .c source files
without any .h header files. Hence remove those include
compiler options.

Add monitor include path under feature flag
CONFIG_WIFI_MONITOR_SUPPORT.

Change-Id: Iec59a592c60b27cb22bf712e883dd5895044874a
CRs-Fixed: 3543857
2023-06-30 23:48:28 -07:00
Karthik Kantamneni
0b79b57c13 qcacld-3.0: Enable DP profile support for QCA6750 target
Enable DP profile support for QCA6750 target

Change-Id: Id2cd8dc6c1a7b31f811a025c37e227d0165615d0
CRs-Fixed: 3542111
2023-06-29 04:59:57 -07:00
Jia Ding
3ff2407562 qcacld-3.0: Properly define ENABLE_HAL_REG_WR_HISTORY
With CONFIG_ENABLE_HAL_REG_WR_HISTORY=y, feature flag
ENABLE_HAL_REG_WR_HISTORY should be defined instead of
CONFIG_ENABLE_HAL_REG_WR_HISTORY.

Change-Id: Iad04b2036ae4fd47b05ee2d87ab3c8b0697f7a5a
CRs-Fixed: 3536167
2023-06-28 15:24:30 -07:00
Liangwei Dong
2958ab1b39 qcacld-3.0: Handle link id bitmap from set link state response
Convert link id bitmap to vdev bitmap and update policy mgr
connection table.
Record the current force link command state to mlo context.

Change-Id: I0b28222de10a9493a153ee00189b87e4275a4231
CRs-Fixed: 3515467
2023-06-28 05:04:46 -07:00
Amit Mehta
9eb4baa9eb qcacld-3.0: Enable per link stats for kiwi v2
Enable per link stats support for kiwi v2 target

Change-Id: Ic97c562154e812d939394e3fe5173a63beecc191
CRs-Fixed: 3446807
2023-06-22 22:01:42 -07:00
Alan Chen
baf6433a8f qcacld-3.0: Add additional bazel-related changes
Add additional bazel-related changes to resolve build errors.

Change-Id: I891556a81d217fded38915293aeea83a389d6782
CRs-Fixed: 3517415
2023-06-21 16:53:13 -07:00
Will Huang
2150c9edd1 qcacld-3.0: Add AFC osif vendor command support
Add HDD osif AFC vendor command support and PLD send AFC response
data to target support. Call AFC common API to init/deinit AFC
component.

CRs-Fixed: 3375786
Change-Id: I84342b6ea3b2f14c75eba8745cb17070f404b8d1
2023-06-12 23:35:47 -07:00
Rakesh Pillai
c8540b10f6 qcacld-3.0: Enable feature to disable vdev self peer creation
Kbuild change to disable vdev self peer creation.

Change-Id: Id436cc9ca96aa22ff21d810c078bc16572cc98de
CRs-Fixed: 3517849
2023-06-08 05:08:46 -07:00
Paul Zhang
2d474a4947 qcacld-3.0: Add code to process EPCS logic
Add code logic to process EPCS (Emergency Preparedness
Communications Service).

CRs-Fixed: 3511102
Change-Id: I8ed0b98beede5d06b2a118bf8d26af41d9207c64
2023-06-07 04:31:01 -07:00
Jianmin Zhu
fade300d71 qcacld-3.0: Set puncture cap
Set new puncture cap, clear old puncture cap.

For SAP with fixed freq instead of ACS mode, need support puncture too,
need use API sap_phymode_is_eht(sap_ctx->phyMode).

Change-Id: I4bbbd742c3c49111d1725137739557bce18588f9
CRs-Fixed: 3518498
2023-06-06 09:52:14 -07:00
Rakesh Pillai
6b0be7af79 qcacld-3.0: Enable Datapath support for Multipass feature
Kbuild changes to enable datapath support for multipass
feature on QCA6490 and kiwi targets.

Change-Id: Ia4d33557fec6dd1b5681e20d19590604cc2affe1
CRs-Fixed: 3513719
2023-06-05 13:52:49 -07:00
Zhiwei Yang
b5cb91eed4 qcacld-3.0: Add Kbuild configuration
Add QCA_PADDR_CHECK_ON_3RD_PARTY_PLATFORM configuration
in Kbuild.

Change-Id: I1a0c2e5666ba1d608f56767c15591e8f4a367363
CRs-Fixed: 3459203
2023-06-01 09:38:54 -07:00
Jianmin Zhu
de01e2b171 qcacld-3.0: Set feature flag for puncture
Set feature flag for puncture.

Change-Id: I9f2c3ed6f027299c831dc23f7205c5d23f4451a1
CRs-Fixed: 3511145
2023-05-31 19:08:08 -07:00
Ashish Kumar Dhanotiya
b1fac44abe qcacld-3.0: Create new component for low latency sap
This change creates a new component for low latency SAP
and also does the init and de-init of this new component.

Change-Id: I4a8192feb6edb30b1898ef30675cbc01235a8e42
CRs-Fixed: 3482510
2023-05-30 10:21:33 -07:00
Arun Kumar Khandavalli
8abc6e1ae3 qcacld-3.0: update the ml client parameters as per cfg80211_new_sta
In case of SAP, update the cfg80211_new_sta with the support for the
ML STA client with below info:

1) MLO link ID of the AP
2) Station's MLD address
3) (Re)Association Response IEs sent to the station

Change-Id: I5647d5bcfac43255bc0ae1d9f3b7a1b563ef5250
CRs-Fixed: 3485476
2023-05-29 22:39:06 -07:00
Amit Mehta
bf563718bf qcacld-3.0: Enable changes to affine away taken CPUs
Enable changes to affine away CPUs taken during pro
audio use case for kiwi_v2.

Change-Id: Ie27009ae0c89b5a08887863658ccc8cfae47c324
CRs-Fixed: 3490850
2023-05-25 17:57:23 -07:00
Jeff Johnson
52dcf788de qcacld-3.0: Fix reg_db.h include path
Currently in cds_regdomain.h the following file is included:
"../../qca-wifi-host-cmn/umac/regulatory/core/src/reg_db.h"

While transitioning to the Bazel DDK build system this results in a
build error because the build is done in a sandbox with the root at
the qcacld-3.0 folder, and hence there is no way to access
"../qca-wifi-host-cmn."

To address this issue add the following -I path to the Kbuild:
qcacld-3.0/cmn/umac/regulatory/core/src

And then cds_regdomain.h can just include "reg_db.h".

Change-Id: Ib33300f3593e39caeace1238f2b40c819539ff10
CRs-Fixed: 3497251
2023-05-22 16:45:51 -07:00
Jeff Johnson
4013420fea qcacld-3.0: Remove CONFIG_CRYPTO_COMPONENT flag
The crypto component is always enabled. As a result, the feature flag
CONFIG_CRYPTO_COMPONENT is pointless, so remove it.

Change-Id: I97c22f3bf1224ecd967212d762545890f71764bc
CRs-Fixed: 3496915
2023-05-21 20:15:40 -07:00