Graf commitů

1197 Commity

Autor SHA1 Zpráva Datum
Prakash Manjunathappa
df814d725b qcacld-3.0: Add config for peach 4 byte TLV tags
Add config support for 4 byte TLV tag in peach case.

Change-Id: I724624472c36f6c848c74f2a21f765a94d1c57e4
CRs-Fixed: 3460204
2023-04-10 13:19:28 -07:00
Namita Nair
2a0b6e9c0f qcacld-3.0: Enable Opt wifi dp feature flag
Enable IPA Offload add Optional wifi dp feature
flag.

Change-Id: I023a767141de1f4d47b80b784f6c119ae04533ba
CRs-Fixed: 3450899
2023-04-10 05:44:34 -07:00
Deeksha Gupta
c461b492c1 qcacld-3.0: Add a new flag to enable ML external auth support
Add a new flag to enable the ML external auth support.

Change-Id: Id424de25ac770e4ea47cb56b521142ddcc0b774e
CRs-Fixed: 3450137
2023-03-31 22:26:57 -07:00
Amit Mehta
881fb8bb91 qcacld-3.0: Add change to update peer map unmap version
Add change to update peer map unmap version.
Change to get peer map event v3 and peer unmap
event v2 for 11BE target.

Change-Id: I77fa354807ef66effaeb37a845ccebccd5f66ff4
CRs-Fixed: 3442448
2023-03-30 20:19:02 -07:00
Aasir Rasheed
c7f2940417 Revert "qcacld-3.0: Replace CONFIG_WLAN_TWT_CONVERGED"
This reverts commit I849387c751a6d5f1c6d338ac9c2dfdb72244c137

Change-Id: Ibadeb635d9ddc31dad6c189ca13bb124b55c1dc2
CRs-Fixed: 3450256
2023-03-30 05:26:29 -07:00
David Oladunjoye
d5f6682047 qcacld-3.0: Replace CONFIG_WLAN_TWT_CONVERGED
Componentization is complete, therefore, TWT component
should be used whenever TWT is enabled. Replace CONFIG_WLAN_TWT_CONVERGED
with CONFIG_WLAN_FEATURE_TWT to always enable component for TWT.

Change-Id: I849387c751a6d5f1c6d338ac9c2dfdb72244c137
CRs-Fixed: 3300364
2023-03-29 19:54:55 -07:00
Venkateswara Naralasetty
1d8033627a qcacld-3.0: Kbuild changes for dp_peer file split
Kbuild changes for dp peer file split.

Change-Id: I64eb8a8d5babe47a3b1b4a1a99eab31267349d77
CRs-Fixed: 3393711
2023-03-29 02:59:21 -07:00
Karthik Kantamneni
f84c7cc43c qcacld-3.0: Add defconfig and Kbuild changes for WCN6450
Add wcn6450_defconfig configuration file and corresponding
Kbuild changes for WCN6450 platform.

Change-Id: I7189e718aac427f76a251284799ec2169b2495a8
CRs-Fixed: 3382931
2023-03-28 01:26:50 -07:00
Deeksha Gupta
9864be8a5a qcacld-3.0: Create per link data structure in hdd_adapter
To support multiple links in single adapter, create a new
structure to hold per link info inside the hdd_adapter.
Create a new member in hdd_adapter to point to link zero
of this array of link info.

Move STA and AP context fields into per link info.

Change-Id: Ia1f01865277c3e08254f44a39ba6675a9fea6c65
CRs-Fixed: 3354572
2023-03-23 03:48:19 -07:00
Karthik Kantamneni
a506f01514 qcacld-3.0: Enable compilation for new dp_rings_main.c file
Add support to compile new dp_rings_main.c file.
This new file is having refactored code of all the DP rings.

Change-Id: I7cd467df8d3f7c4b60d448c88b5cedc76cd62b07
CRs-Fixed: 3423636
2023-03-21 10:13:37 -07:00
Jinwei Chen
9b10ef6737 qcacld-3.0: enable SRNG pointer register writing history
enable SRNG pointer register writing history for DEF build.

Change-Id: I8426eb7f81cb47633dbe3d1c9efea541f9781a04
CRs-Fixed: 3438306
2023-03-21 07:50:34 -07:00
Aditya Kodukula
b4d34e5284 qcacld-3.0: Add sysfs replacement for dfsnol command
WEXT ioctls are no longer supported by the wlan driver.
So, add a sysfs replacement to setdfsnol and getdfsnol commands.

file path: sys/class/net/wlanxx/dfsnol
	where wlanxx is the adapter interface

usage:	echo arg_0 > /sys/class/net/wlanxx/dfsnol
	cat /sys/class/net/wlanxx/dfsnol

Change-Id: Ia8475b5c6ef39142def38eab0e777840af885c33
CRs-Fixed: 3431517
2023-03-20 13:16:48 -07:00
Jianmin Zhu
d1dde88d53 qcacld-3.0: Update puncture bitmap to upper layer
Update puncture bitmap along with channel to upper layer when channel
or puncture bitmap changed.

Change-Id: Idc0ffbd4358c328ba22453c6b523843c8d4fc486
CRs-Fixed: 3436336
2023-03-20 09:57:51 -07:00
Mohammed Ahmed
5600f0123e qcacld-3.0: add hdd_dump_log_buffer output to sysfs
Current code doesn't allow output of hdd_dump_log_buffer to sysfs.
Fix this by adding sysfs output functionality.

Change-Id: I077c10e379e542ac99d8ebe01d68fe76a7470e39
CRs-Fixed: 3426193
2023-03-17 17:07:12 -07:00
Chaoli Zhou
2b9308c737 qcacld-3.0: Export CONFIG_ENABLE_VALLOC_REPLACE_MALLOC
Export CONFIG_ENABLE_VALLOC_REPLACE_MALLOC to
make it configurable while need to replace malloc
with valloc for some big size memory request case.

Change-Id: I8d138f3b4565aa2d6d5efde531560dafeb906106
CRs-Fixed: 3429232
2023-03-15 01:25:24 -07:00
Mohammed Ahmed
69e6d64b64 qcacld-3.0: add rtpm stats sysfs functionality
Current code allows for viewing Runtime PM stats via debugfs only.
Fix this by adding sysfs viewing functionality.

Change-Id: I2b439f0bb608292dc1390a5529f9dc287b7262bc
CRs-Fixed: 3414306
2023-02-25 01:29:13 -08:00
Jianmin Zhu
748f7555ed qcacld-3.0: Get roam stats by vendor cmd
Cache roam information in wlan driver, when qca vendor
cmd of QCA_NL80211_VENDOR_SUBCMD_ROAM_STATS get roam
information, driver send all the cached information to
user space.
Extend WMI_ROAM_STATS_EVENTID event information for
requirement of:
1.Roam trigger related information, include timestamp,
  trigger reason, trigger condition, abort reason,
  scan type, roam status and fail reason.
2.Roam scan related information, include scan channel
  number, dwell type, max dwell time of each channel
  and total scan time.
3.all types of roam related frame information, include
  timestamp and successful or failed status for Preauth,
  Reassoc, EAPOL-M1/M2/M3/M4.

Change-Id: I2a694b7c1df8f5da09505f65c9c797be2177b398
CRs-Fixed: 3391601
2023-02-23 22:06:34 -08:00
Namita Nair
5e819e461c qcacld-3.0: Disable Optional wifi datapath feature
This change disables IPA offload and optional
wifi datapath feature. This change will be used
until kernel changes are merged.

Change-Id: Ib47d69ba8da2e1fa3f0a1bd05926bbf3d74f51e4
CRs-Fixed: 3401190
2023-02-23 05:37:24 -08:00
Chaoli Zhou
d00ac1644e qcacld-3.0: Fix Argument list too long compile issue
Change absolute path to relative to fix below compile
issue for yocto system:
make[4]: /bin/sh: Argument list too long

And just need to do like this in the bb recipes files:
1. set LINUX_BUILD_TOP="${WORKDIR}/WLANSRC"
2. keep WLAN_ROOT=""

Change-Id: I2f03eb9aa5501eae887b41b4e6a134b55da16462
CRs-Fixed: 3408645
2023-02-17 11:00:09 -08:00
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