提交線圖

1178 次程式碼提交

作者 SHA1 備註 日期
Jianmin Zhu
589a32f847 qcacld-3.0: Enable dynamic puncture for DFS radar
Once the radar is found, identify the affected sub 20 MHz channels in the
current channel. From the  position(s) of the sub 20 MHz subchannels, find
the nearest valid puncturing pattern.
If a valid puncturing pattern is found, find the corresponding reduced
bandwidth new channel for the legacy ( <= 11AX) devices and send CSA. At
the end of CSA, do a vdev restart so that the 11BE devices see a new
puncturing pattern.
And If not found, then fallback to the default behavior of changing channel
using Random channel selection.

Change-Id: I41e6206f310722bc3dacc9ce8d024f679ff1af3e
CRs-Fixed: 3386022
2023-02-07 11:32:10 -08:00
Prakash Manjunathappa
bfc3d11564 qcacld-3.0: Add support for peach device
Add support for peach device. Enable HIF and HW header corresponding
to PEACH

Change-Id: I3c6690fbe8e3e6398ad6ba25fba0b7bb0856cc2b
CRs-Fixed: 3394196
2023-02-07 00:53:28 -08:00
Abhishek Singh
18aafbb0a6 qcacld-3.0: Increase the scan database size to 500 from 300
In very noisy environment and with 6 GHz co-located AP, scan
database size of 300 might not be enough.

So increase the size to 500.

Change-Id: I26077b2ab0d24f73a7c8e29990504d5b284eccf4
CRs-Fixed: 3395834
2023-02-05 04:32:38 -08:00
Vijay Raj
2d5ac65bf2 qcacld-3.0: remove WLAN_ENABLE_AGEIE_ON_SCAN_RESULTS macro
Remove WLAN_ENABLE_AGEIE_ON_SCAN_RESULTS macro as BSS age
is calculated using NL80211_BSS_SEEN_MS_AGO

Change-Id: I5473f9cea216df4968a43551875b0385605f616f
CRs-Fixed: 3391078
2023-01-31 02:35:08 -08:00
Paul Zhang
66fcbb5894 qcacld-3.0: add critical update feature
Add critical update feature code. If BSS parameters change
count (BPCC) is changed, the value of cu_flag returns from
function lim_check_cu_happens is true. It can try to update
the critical update IEs code logic per cu_flag.

Change-Id: I39445a75e747e6e00a29be726fd447b9fbc7fb17
CRs-Fixed: 3296181
2023-01-26 01:24:45 -08:00
Mohammed Ahmed
2200834742 qcacld-3.0: add peach flag in kbuild
Current code does not have peach flag, fix by adding peach flag
in kbuild

Change-Id: Ica003b2b0a12ab688f50702844c09e183dfc3fda
CRs-Fixed: 3387064
2023-01-25 19:35:04 -08:00
Mohammed Ahmed
776c4cc10e qcacld-3.0: add SSR host log collection API usage
Current code does not use the SSR host log collection API.
Fix this by adding SSR host log collection API usage.

Change-Id: I364bd6281e886e8c50dfd6f45f78fb98e822f962
CRs-Fixed: 3339953
2023-01-19 20:43:32 -08:00
Rakesh Pillai
56c9e8a47c qcacld-3.0: Enable datapath config events history
Enable datapath config events history for debug builds.

Change-Id: If76a5592177ba844736a1ec01e82a8cbe20e408f
CRs-Fixed: 3379155
2023-01-19 02:53:59 -08:00
Roopavathi Lingampalli
38bf757799 qcacld-3.0: Add Component APIs for required ucfg APIs in DP component
When component dependent functions calling from higher
modules or any other components, it uses ucfg APIs pattern.
Calling ucfg dependent APIs is acceptable for higher modules
like HDD, OSIF but for another components like DP to avoid
using ucfg APIs here, implementing component APIs for existing
ucfg APIs to other components like NAN, vdev_mgr in DP
component module.

Change-Id: Ia5431c7de7fc944aacf5c8a328072a8ec31e8f3f
CRs-Fixed: 3351496
2023-01-17 21:04:25 -08:00
Vinod Kumar Myadam
096eb8ce07 qcacld-3.0: Add support to disable concurrency
Add feature flag to disable concurrency

1. STA+P2P+P2P
2. STA+SAP+P2P
3. SAP+P2P
4. P2P+P2P
5. SAP+NAN
6. STA+SAP
7. STA+NAN

Change-Id: Ibbdfa866e5cdefc036ea7f401997a8ab71e0629b
CRs-Fixed: 3345359
2023-01-13 23:20:16 -08:00
Aditya Kodukula
a0878dc902 qcacld-3.0: Remove unused config flag
Remove legacy unused config flag from defconfig files.

Change-Id: Iec3c760be7e6cf2cc789d6bd916642e922ae43a1
CRs-Fixed: 3380334
2023-01-13 20:23:14 -08:00
Ananya Gupta
ec471e92f2 qcacld-3.0: Create sysfs file and ini for direct link unit test
Create sysfs file for direct link unit test command to
generate traffic from LPASS.
Add ini to enable direct link unit testing.

Change-Id: I5b143bc6751eedb1a65cd836ea738744b72cc2cc
CRs-Fixed: 3365576
2023-01-11 03:46:53 -08:00
Aditya Kodukula
6e68981b63 qcacld-3.0: Enable CNSS HW Disable feature based on config flag
Enable the feature CNSS HW Secure Disable only when
CONFIG_CNSS_HW_SECURE_DISABLE is enabled.

Change-Id: Ib0e01360f8ee9390290487c097c3d821f17485f8
CRs-Fixed: 3360826
2023-01-10 23:06:13 -08:00
Jianmin Zhu
a03a3dc504 qcacld-3.0: Enable driver puncture cap
Fix issue that driver doesn't report puncture cap to kernel and hostapd for
undefined MACRO.

Enable a new build flag CFG80211_RU_PUNCTURE_SUPPORT when kernel code
contains nl80211_put_ru_punct_supp_bw.

Change-Id: Ib375c248065b4899f2d336155b1f71a5359e6fb7
CRs-Fixed: 3356751
2023-01-01 20:16:21 -08:00
Divyajyothi Goparaju
ee4ca3b005 qcacld-3.0: Optimize pdev set param command frequency
Currently wlan_mlme_configure_chain_mask API sends many
pdev set param commands separately to firmware.

Combine all pdev set params of wlan_mlme_configure_chain_mask
send to WMI to reduce number of transactions.
Also replace target wmi pdev params with host wmi
pdev params to fix existing broken layering
violation.

Change-Id: If0b7bce9a7c87d0f07e7a9f1d2cd80139f027308
CRs-Fixed: 3151438
2022-12-26 05:51:59 -08:00
VIJAY RAJ
453bc8d113 qcacld-3.0: Add vendor command for Green AP power save mode
Introducing vendor command for Green AP power save mode.

Change-Id: I23b5c12ed3ca3c3b134c59e6c93df72a9072b174
CRs-Fixed: 3265087
2022-12-26 03:23:18 -08:00
Rakesh Pillai
62942097b1 qcacld-3.0: Enable WAR for incorrect first_msdu flag indication
Enable the WAR to handle incorrect setting of first msdu
in mpdu flag for an mpdu with more than 6 msdu.

Change-Id: I7f7219828f2787b889a26092476bd76b97dee149
CRs-Fixed: 3363780
2022-12-20 11:56:23 -08:00
Will Huang
9029c332a6 qcacld-3.0: Enable AFC feature for sdxlemur
Add AFC common include path to regulatory include path.
Enable AFC feature for sdxlemur.

Change-Id: I6b936b3f6443868f05cf86351bcf31d24d65bbbc
CRs-Fixed: 3154178
2022-12-14 11:57:13 -08:00
Jinwei Chen
ad9fd42f9f qcacld-3.0: enable TX completion ring desc sanity check
set CONFIG_DP_TX_COMP_RING_DESC_SANITY_CHECK for Def build to
enable TX completion ring desc sanity check.

Change-Id: Ia9cd28f6bcce234d0e7bf7f621cc33208479e899
CRs-Fixed: 3349744
2022-12-12 09:54:32 -08:00
Roopavathi Lingampalli
b81f52931c qcacld-3.0: Add Rx thread feature support for Dp component
Add Rx thread and Rx refill thread support for
DP componentization.

Change-Id: I2c0a0f7780280a0c2304f026d2580a81123de312
CRs-Fixed: 3316814
2022-12-06 07:35:08 -08:00
Li Feng
980420444e qcacld-3.0: Add timeout of NAPI polling for single MSI case
Observed NAPI of REO2SW1 hard to complete caused by slow CPU/schedule
on REO2SW1, hence IRQ of REO2SW1 keep disabled during the polling which
impact other MSI as well in single MSI case, until hit REO2TCL timeout
and crash.

The fix is complete the dp rx NAPI poll and re-enable the irq if the
irq disabled for long time.

Change-Id: Iad53b39c8b8d6a99a9006149e7579f8dc3c93e39
CRs-Fixed: 3134851
2022-12-04 10:08:32 -08:00
Amruta Kulkarni
a9850cfe67 qcacld-3.0: Parse and save t2lm ie
Adds support to parse and save t2lm ie from beacon or
probe response in t2lm database

Change-Id: Ieea735200ab0ae120c01b632687a82ca972459dc
CRs-Fixed: 3337174
2022-12-02 01:24:26 -08:00
Yeshwanth Sriram Guntuka
bff1e3aa36 qcacld-3.0: Add support for DP QMI WFDS client
Add support for QMI client for WiFi Driver
Service (WFDS) in DP component.

Change-Id: Id0a8a51c32aa9f058e57e622b3ad65d405806148
CRs-Fixed: 3328386
2022-11-23 13:54:33 -08:00
Yeshwanth Sriram Guntuka
c589e67a42 qcacld-3.0: Add QMI files for WFDS service
Add initial version of QMI files that are used for
communication between WLAN host driver on APSS and
WiFi driver on LPASS.

Change-Id: If7352490d73457479e85958b90066f9c397bb310
CRs-Fixed: 3328378
2022-11-23 00:30:07 -08:00
Yeshwanth Sriram Guntuka
d2cc52d5ae qcacld-3.0: Add support for QMI component
Add support for QMI component.

Change-Id: I63735800ea1166e875ff12bfd22df3c3d9c6312f
CRs-Fixed: 3337043
2022-11-23 00:30:01 -08:00
Vinod Kumar Pirla
4f491c277c qcacld-3.0: Increase the max MLD dev context for kiwi_v2
For kiwi_v2 target increase the value of max MLD dev contexts
to three. Define WLAN_UMAC_MLO_MAX_DEV with the new value in
kiwi_v2 defconfig file.

Change-Id: If9f86cbf5c98f69b9f56b0e4226fcf26f2b663c3
CRs-Fixed: 3337651
2022-11-19 07:43:53 -08:00
chunquan
dcbebde9e4 qcacld-3.0: Optimize wlan memory for kuno
Disable CFR/EPPING/NAN/more_tx_desc/OEM DATA and
RSSI_MONITOR/APF/P2P_DEBUG/P2P_LISTEN/SPECTAL_SCAN

Update wlan_hdd_debugfs_offload.c for APF compile error.

Change-Id: I8ede890b0b821cec5f03f2ede535f34d8883638d
CRs-Fixed: 3332742
2022-11-18 00:31:15 -08:00
Venkateswara Naralasetty
1b32411a89 qcacld-3.0: Enable HIF_LATENCY_PROFILE_ENABLE in debug mode
Enable NAPI schedule latency histogram stats in debug mode
which helps to debug the NAPI shcedule delay issues.

Change-Id: Idc58a5c2eab6fcb9ac55ab04cf083982d0aed003
CRs-Fixed: 3318049
2022-11-10 09:33:04 -08:00
Amruta Kulkarni
67e405ee90 qcacld-3.0: Add new files for T2LM handling
Add new files for TID to Link mapping handling.

Change-Id: I296a898e09b67490b85f4f7fba29322dbc3a757f
CRs-Fixed: 3322944
2022-11-04 03:18:47 -07:00
Vishal Miskin
4e95648b6f qcacld-3.0: Measure TSF latency between host TSF sync enabled devices
The feature raises a pulses at specified interval in TSF time domain.
The pulses can be used to determine driver level latency between hosts
as they are operating in same TSF time domain.
Add ini "g_tsf_accuracy_configs" to configure parameters for TSF accuracy
feature to customize GPIO pins and interval.

Change-Id: I49609d5beba8043ac2ecc086e97b01d1e0b2d3f6
CRs-Fixed: 3277992
2022-10-31 09:09:19 -07:00
Rakesh Pillai
400ac6a862 qcacld-3.0: Enable feature to drop packets from non-monitor PMAC
Enable the feature to drop the packets which are
arriving from PMAC on which monitor vdev is not running.

Change-Id: I2a5056f40e961102d01b5776577bd11a551a780d
CRs-Fixed: 3319409
2022-10-27 19:38:31 -07:00
Yu Wang
4d9dfe08fd qcacld-3.0: Introduce CONFIG_WLAN_TRACE_HIDE_SSID
Introduce the feature to hide SSID in the logs.
To enable this feature, set CONFIG_WLAN_TRACE_HIDE_SSID to y.
If this feature is enabled, SSID 'my_ssid' will be printed as
'*' in the logs.

Change-Id: I97ef84ecdcbfd1b36b7874cfc30760f5fda5df14
CRs-Fixed: 3294520
2022-10-18 16:30:28 -07:00
Mohammed Ahmed
00fba42e78 qcacld-3.0: move wlan_coex_public_structs.h to qcacmn
Current code has wlan_coex_public_structs.h in qcacld, when it should
be in qcacmn due to convergence of the COEX feature.
Fix this by moving the header file to qcacmn.

Change-Id: Id45c85e0ff492d149cac71c8c0ca5443b879ef15
CRs-Fixed: 3289250
2022-10-18 07:13:31 -07:00
Vinod Kumar Pirla
8c5680c852 qcacld-3.0: Link params embedded in station param struct
In kernel 5.15 and above a new member is introduced in
station_parameters structure to move link specific variables.

This change will port the driver code to make it compatible.

Change-Id: I3a1a05961bb5e747d946ffa8314319f898ef7b97
CRs-Fixed: 3304240
2022-10-17 19:59:21 -07:00
Sheenam Monga
93c62a8893 qcacld-3.0: Compile spatial reuse files based on flag
Currently, files related to spatial reuse are compiled
based on 11AX feature flag instead of SRP feature flag
and OBSS_PD feature is disabled always.

Fix is to avoid dependency of spatial reuse compilation
on 11AX and conditionally compile spatial reuse based on
SRP feature flag and Enable OBSS_PD feature based on 11AX
feature flag.

Change-Id: Ia5a882f7c842c3c2979da9b73139c59af765d23c
CRs-Fixed: 3306965
2022-10-17 06:47:55 -07:00
Rachit Kankane
983623c4b8 qcacld-3.0: Spatial Reuse enhancement for SAP
Add below two enhancements for SAP
1. Spatial Reuse enabled in single MAC concurrency
2. Set bit HESIGA_Spatial_reuse_value15_allowed in SRP IE

Change-Id: Id2d3d04ae1b3b9a2e6d84f30749b577bc7b79061
CRs-Fixed: 3305447
2022-10-17 06:47:26 -07:00
Jia Ding
1b3e7ed476 qcacld-3.0: Fix WLAN_SYSFS componentization
Move 11be_rate sysfs entry implementation from HDD EHT main body
to separate source files and define WLAN_SYSFS_EHT_RATE feature
flag accordingly in Kbuild.

All sysfs implementations shall be built only if CONFIG_WLAN_SYSFS=y.
Hence correct dp_tx_delay_stats and the closing endif.

Change-Id: I84aa7fc34aeff932bb51800e70c4c3611bf0d627
CRs-Fixed: 3309689
2022-10-14 08:31:09 -07:00
Rakesh Pillai
0481bbb9af qcacld-3.0: Enable the flag setting for NO_MSDU_START for kiwi
For kiwi target, there is no MSDU_START tlv, and hence
the tlv information has to be obtained based on MSDU_END.

Enable this flag, which is used for monitor mode frame
processing for KIWI target.

Change-Id: I160133a92b5f8b79573717b53f248c24935a67eb
CRs-Fixed: 3304764
2022-10-10 01:10:57 -07:00
Jeff Johnson
01bf3d1808 qcacld-3.0: Kbuild: Fix misspelling
Fix misspelling in Kbuild: distingush => distinguish

Change-Id: Ia36e914df27a8a25367ed32e59a86ea7ac38ca02
CRs-Fixed: 3303619
2022-10-03 11:26:56 -07:00
Abhilash
1db3572886 qcacld-3.0: Move COAP related INCS into feature flag
Currently implemented change for COAP causes to append
header files to INCS even if CONFIG_WLAN_FEATURE_COAP
is disabled. This leads to compilation hard stop due to
overflow of argumnets to shell.

ie, by moving COAP related code under feature flag can
help to reduce shell arguments when COAP is disabled.

Change-Id: If1f8334229a601f7415cbad876a7c9e0fcfb1370
CRs-Fixed: 3299853
2022-10-03 06:44:59 -07:00
Sheenam Monga
dca999a564 qcacld-3.0: Add feature flag to support SR
Add WLAN_FEATURE_SR to enable/disable
Spatial Reuse support which is futher
dependent on 11AX support.

Change-Id: Iaa6f2a50c073eb279f967b6820bf5551bf100e3f
CRs-Fixed: 3301884
2022-10-01 11:35:06 -07:00
Pragaspathi Thilagaraj
34600ce17a qcacld-3.0: Update wifi_pos_vdev_delete_all_ranging_peers_cb call
Update wifi_pos_vdev_delete_all_ranging_peers_cb call to call from
rx_ops instead of wifi pos tx ops.

Change-Id: Ic62d4a733ad3ea2e0064215e94e52b1444fcc4ec
CRs-Fixed: 3298483
2022-09-30 07:48:56 -07:00
Azmath Mohammed
aacfd1d3d0 qcacld-3.0: Implement DP component for FISA feature
Add FISA feature support for DP componentization.

Change-Id: I748a20ec44d1c299aab8d31facd059eb2e35e680
CRs-Fixed: 3243693
2022-09-28 22:31:29 -07:00
Yu Ouyang
85f34a3bb9 qcacld-3.0: Shutdown WLAN in system suspend prepare
This re-introduces the orignal patch which shutdowns WLAN in system
suspend prepare.

Orignal patch Id1f5172a7fc1792c83c8c1c20127de815f7e4980 is reverted by
Ic82db9dc0ca9d6686df99926335af27abc61cdb5 for deadlock issue.

However, deadlock between cnss_pm_notify and unregister_pm_notifier is
not caused by Id1f5172a7fc1792c83c8c1c20127de815f7e4980. So restore it
and add flag to enable/disable feature shutdown wlan in system suspend.

Deadlock issue is caused by "up_write(&cnss_pm_sem) is invoked before
down_write(&cnss_pm_sem) in function cnss_pm_notify". The issue can be
fixed by changes I533c373b85f554fbcceb562d9f56c6b88e5155bb and
I7768fdbeb1fa8cd6ef3b260eb0aafb231aeed324.

Change-Id: I25e4398a8d3b1a52cf7bc554af74d123ec797c6e
CRs-Fixed: 3287742
2022-09-27 11:57:08 -07:00
Amit Mehta
ce75c0c4f0 qcacld-3.0: Enable QCA_GET_TSF_VIA_REG for kiwi_v2
Enable feature to get TSF timestamp by reading scratch registers instead
of getting it via WMI.

Change-Id: If910b54b3c56499af0967312cbcc4654e09b43fe
CRs-Fixed: 3287540
2022-09-26 16:16:54 -07:00
Aditya Kodukula
1472d9ad6d qcacld-3.0: Disable 11be when not supported by target
Disable 11be when not supported by target

Change-Id: Iecf9ab3eab5a9e69b01fb03b30b028b57019b10d
CRs-Fixed: 3291961
2022-09-22 06:09:24 -07:00
Mohammed Ahmed
d0751ac42f qcacld-3.0: Reduce time between Ref Leak prints
Currently the Vdev Ref Leak functionality prints holders of references
every 10 seconds, resulting in only two prints before a device crash.
Fix this by reducing the timeout macro from 10 seconds to 4 seconds.

Change-Id: Icc1046a5678d4b224c2bc715d27fed092836e269
CRs-Fixed: 3292752
2022-09-16 23:36:17 -07:00
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