Commit Graph

19383 次程式碼提交

作者 SHA1 備註 提交日期
Linux Build Service Account
e12217cab6 Merge "qcacmn: Add support to peer disable sched mode" 2023-04-21 09:15:22 -07:00
Linux Build Service Account
e44a3067c2 Merge "qcacmn: epping: Remove use of WLAN_OPEN_SOURCE" 2023-04-21 09:15:22 -07:00
Linux Build Service Account
d4a9ab32c5 Merge "qcacmn: Update the T2LM status code as 2 bytes" 2023-04-21 09:15:22 -07:00
Linux Build Service Account
c07b5ea104 Merge "qcacmn: Code movement to enable multipass support without WDS" 2023-04-21 09:15:21 -07:00
Linux Build Service Account
c9aa4d4cc3 Merge "qcacmn: Allow ds tx descpool to have max size of 64K descs" 2023-04-21 09:15:21 -07:00
Linux Build Service Account
d5900af48a Merge "qcacmn: Pebble bring-up changes in Umac and target_if layer" 2023-04-21 09:15:21 -07:00
Linux Build Service Account
f0b2cac0c6 Merge "qcacmn: Adding and parsing of bandwidth indication element" 2023-04-21 09:15:20 -07:00
Linux Build Service Account
c5a4e26d1b Merge "qcacmn: Optimize connect/roam and disconnect complete logs" 2023-04-21 09:15:20 -07:00
Linux Build Service Account
b17a083536 Merge "qcacmn: Add QCA vendor interface to get connected channels utilization" 2023-04-21 09:15:20 -07:00
Linux Build Service Account
6e2761031a Merge "qcacmn: Initial changes for QCN6432 bringup in Common dev to DP" 2023-04-21 09:15:19 -07:00
Linux Build Service Account
10227c5693 Merge "qcacmn: Add logs in MLO vdev flag set/clear API" 2023-04-21 09:15:18 -07:00
Linux Build Service Account
a515fb6ef8 Merge "qcacmn: Optimize DP Rx Error Handling (Part-2)" 2023-04-21 09:15:17 -07:00
Linux Build Service Account
eba7bbfa2f Merge "qcacmn: Add API qdf_file_read_bytes to read a file from host" 2023-04-21 09:15:16 -07:00
Linux Build Service Account
2c69804cfd Merge "qcacmn: Correct reg rules for APL25" 2023-04-21 03:18:23 -07:00
Linux Build Service Account
c662e22861 Merge "qcacmn: Correct reg rules for CC GB" 2023-04-21 03:18:22 -07:00
Linux Build Service Account
55db3a4db7 Merge "qcacmn: Change roam background scan abort log" 2023-04-21 03:18:22 -07:00
Linux Build Service Account
8993477441 Merge "qcacmn: Increase WMI CE buffer size for WCN6450" 2023-04-21 03:18:21 -07:00
Linux Build Service Account
70e97ae2fa Merge "qcacmn: add recommended err/debug function" 2023-04-21 03:18:21 -07:00
Linux Build Service Account
66b329c2c7 Merge "qcacmn: add recommended err/debug function" 2023-04-21 03:18:20 -07:00
Linux Build Service Account
c35c72a358 Merge "qcacmn: Correct spelling errors" 2023-04-21 03:18:20 -07:00
Linux Build Service Account
3d28fd8ee3 Merge "qcacmn: Add support for enabling TWO tx_pipe" 2023-04-21 03:18:19 -07:00
Linux Build Service Account
752d15e049 Merge "qcacmn: Avoid using small buffer address" 2023-04-21 03:18:18 -07:00
Linux Build Service Account
5362a28873 Merge "qcacmn: limit tx completion process count to napi quota" 2023-04-21 03:18:18 -07:00
Linux Build Service Account
ee21c80c5f Merge "qcacmn: Add MSD support in multi link ie" 2023-04-21 03:18:17 -07:00
Jinwei Chen
a7d358d70a qcacmn: add DP API to support RX peer meta data version update
add DP API to support RX peer meta data version update.

Change-Id: I010cd64d5d60e5f2313fa3c4387968e85ce96157
CRs-Fixed: 3469143
2023-04-21 03:17:10 -07:00
Jinwei Chen
bedb4f3049 qcacmn: Update rx_peer_metadata version to DP
Save rx_peer_metadata version to wlan_res_cfg, update this value
to DP.

Change-Id: If559d85ebb390b54d267f4bc4ba214631b547d32
CRs-Fixed: 3469154
2023-04-21 03:16:59 -07:00
Jeff Johnson
4612e27f35 qcacmn: Replace use of WLAN_OPEN_SOURCE
Currently the DebugFS logic in utils/fwlog/dbglog_host.c is protected
by the flag WLAN_OPEN_SOURCE. The WLAN_OPEN_SOURCE flag is a legacy
flag which had a specific use that is no longer valid. So replace the
use of WLAN_OPEN_SOURCE with a feature-specific flag.

Change-Id: I82c51efff8dfe6673c6b9d956f974cae2d21bb69
CRs-Fixed: 3464911
2023-04-20 21:28:06 -07:00
Chetan Kumar Sanga
0ce3d306f4 qcacmn: Increase max-vdev-counter integer capacity
Update counter to uint16_t to allow for max-client
count value more than 255.

Change-Id: I5a418d7b291194c996d52a257945fe06572746cb
CRs-Fixed: 3470589
2023-04-20 20:02:09 -07:00
Ripan Deuri
81504e9000 qcacmn: Add change to update tsf2 periodically
Target update tsf2 periodically in the scratch register. Add change to read
tsf2 from scratch register on receiving mlo timestamp indicator event.

Change-Id: Ic68d216d94ece8eddbf8af0f13a3f1876a893df3
CRs-Fixed: 3472165
2023-04-20 19:39:51 -07:00
Jinwei Chen
d1152e8af9 qcacmn: update dp_vdev for TDLS based on MLO connection
Update dp_vdev for TDLS based on MLO connection,
if TDLS connection is from secondary dp_vdev, then
(1) update vdev->osif_vdev same as primary vdev to support RX
(2) update primary vdev's TX search to support TX over TDLS peer
else if TDLS connection is based on primary vdev, then
keep same as earlier.

Change-Id: I4b76afaa481e98c36bb5374eede8046b6cc69b4c
CRs-Fixed: 3469845
2023-04-20 17:46:02 -07:00
Amrit Sahai
47c6e8b612 qcacmn: Add support to peer disable sched mode
Add wmi ops to send peer level disable sched mode cmd

Change-Id: I54956abcd09934c413fc60640e731af910d9ec64
CRs-Fixed: 3471451
2023-04-20 15:59:09 -07:00
Jeff Johnson
8b0dc8c2bb qcacmn: epping: Remove use of WLAN_OPEN_SOURCE
The macro WLAN_OPEN_SOURCE served a legacy purpose which is no longer
required, so remove the usage.

Change-Id: I28c8225d6a9d132f2492665463be385ad139864c
CRs-Fixed: 3463713
2023-04-20 15:58:58 -07:00
SHIVAM KUMAR
54e48589ba qcacmn: Update the T2LM status code as 2 bytes
In the T2LM context status code was used as 1 byte.
As per ieee802.11 spec, Status code value is 2 bytes.
Hence, add the changes in T2LM code to use the status
code as 2 bytes.

CRs-Fixed: 3464786
Change-Id: I4dd54d8a12f3bb1ca493ee0e9b1ec20b3590d97b
2023-04-20 11:34:14 -07:00
Rakesh Pillai
e2d92112b0 qcacmn: Code movement to enable multipass support without WDS
Currently the code to support Multipass on SAP is
present along with the code to support WDS. Hence with
the code in its current state, we will not be able to
enable Multipass support without enabling WDS.

Move the multipass support code out of the WDS support
code, to be able to enable Multipass for chipsets which
do not use WDS.

Change-Id: Iaafa8dc4f16314d9e3e160fe01251c3684adbf67
CRs-Fixed: 3468548
2023-04-20 08:50:29 -07:00
Pavankumar Nandeshwar
4066ad2431 qcacmn: Allow ds tx descpool to have max size of 64K descs
Allow the ppe ds tx descriptor pool to have a maximum
size of 64k tx descriptors.

Change-Id: I4c09b6337efaabedea93f36a3477f5bdcc32f288
CRs-Fixed: 3468613
2023-04-20 08:50:18 -07:00
Kannan Saravanan
e11f459ade qcacmn: Pebble bring-up changes in Umac and target_if layer
Add device Id and target type checks for qcn6432 target
compilation
Add CFR and spectral support for QCN6432

Change-Id: Ic908fa768aa1be7cfc40be7fcc7f9ca6aa85aaa6
CRs-Fixed: 3351747
2023-04-20 04:59:28 -07:00
Sai Rupesh Chevuru
4ed37b3507 qcacmn: received packet matches with mld mac address drop it
In extap mode if the received packet matches with mld mac address drop it.
for non IP packets conversion might not be possible,
due to that MEC entry will not be updated, resulting loopback.

Change-Id: I382cb2d525caa8bc23dc6bbadd0575e579645659
CRs-Fixed: 3470318
2023-04-20 16:55:51 +05:30
Tallapragada Kalyan
cf404ea304 qcacmn: check if net dev is valid in nbuf
check if dev field is NULL in nbuf, if NULL
return false

Change-Id: Ie7365197be18d0575ffc4180cb956c8c56f3c27b
CRs-Fixed: 3471249
2023-04-20 03:12:18 -07:00
Pavankumar Nandeshwar
84aff202e7 qcacmn: Set trigger action after checking Umac reset in progress
Set the Umac reset trigger action after checking if
Umac reset is already in progress.

Change-Id: Ifb4d9523d9f746eef657ef81e934ffe5c2800a6f
CRs-Fixed: 3472090
2023-04-20 02:16:25 -07:00
chunquan luo
f30b9994d9 qcacmn: Add a vendor specific roam status of background scan abort
When user space triggers a scan, the firmware aborts background scan,
and uses the roam status QCA_ROAM_FAIL_REASON_CURR_AP_STILL_OK instead
of "Invalid roam failures reason".

Change-Id: If25d725f610125039a3218ec741cff233c3cb8ef
CRs-Fixed: 3473404
2023-04-20 02:13:48 -07:00
Kenvish Butani
969c5bdf1f qcacmn: Optimize DP Rx Error Handling (Part-2)
In WBM2SW Rx Error path for BE
specific functionality
1) HAL API's/Function pointers are replaced
with specific function calls.
2) Efficient read/write of WBM Error Info
from HAL Rx desc.
3) Minimize reading data from Nbuf TLV.
4) Peer_id fix for MLO clients with security

Change-Id: I760694073a06c1829f28e7e92cd1657560d8eb06
CRs-Fixed: 3472220
2023-04-20 13:29:39 +05:30
Guru Pratap Sharma
42a7f2f1b4 qcacmn: Adding and parsing of bandwidth indication element
Adding and parsing of bandwidth indication element sub IE

Change-Id: I20fca6ecf370d5d20f0e6e8e4f873bf57da3d181
CRs-Fixed: 3464120
2023-04-20 00:15:51 -07:00
Abhishek Singh
b51c893b65 qcacmn: Optimize connect/roam and disconnect complete logs
Optimize connect/roam and disconnect complete logs.

Change-Id: I9e0af49ce27c245b6e88befbe113a472b3b455f9
CRs-Fixed: 3470874
2023-04-20 00:15:39 -07:00
Nidhi Jain
131ca49aff qcacmn: Change WLAN_UMAC_MAX_AID for 11az TBR RSTA
Change WLAN_UMAC_MAX_AID for reserving 1992-2007 value
from AID pool for 11az TBR RSTA ranging.

Change-Id: Iac2b198810cef975daa1cff7cb7012ad2a2f9df4
CRs-Fixed: 3468769
2023-04-20 12:33:52 +05:30
Kannan Saravanan
299a136fb1 qcacmn: Initial changes for Pebble bring up
Add HAL layer target specific files for Pebble in cmn_dev.

Change-Id: I27d7db6ef4fb1b3ab66424d2a62d80cf3aedee9c
CRs-Fixed: 3351769
2023-04-20 12:13:29 +05:30
abhinav kumar
520730494b qcacmn: Add QCA vendor interface to get connected channels utilization
Add a new vendor command to trigger computation of connected channel
statistics such as channel utilization in STA mode.

Change-Id: I868a85bbbee9f9b050636789c3d7217b71164852
CRs-Fixed: 3460890
2023-04-19 22:12:35 -07:00
Kannan Saravanan
20a57094a3 qcacmn: Initial changes for QCN6432 bringup in Common dev to DP
Add device Id and target type checks for qcn6432 target
compilation.

Change-Id: I4bc0fe66f9da9fb8be26fca8dc23524a4fb54009
CRs-Fixed: 3351564
2023-04-19 20:16:40 -07:00
Bing Sun
54c039bf07 qcacmn: Initialize local variable before using it
Do not use API to do variable initialization job.
Otherwise there is built error in some platform.

Change-Id: I1cf105adb72f890f167343d491fff832a2e16729
CRs-Fixed: 3471557
2023-04-20 09:14:10 +08:00
Jeff Johnson
b62151f8dd qcacmn: Fix utils/host_diag_log documentation
The kernel-doc script has identified multiple documentation issues in
the utils/host_diag_log folder, so fix them.

Change-Id: Iaaa241e7f2a18dd7952d491b31487c0b048cca52
CRs-Fixed: 3461770
2023-04-19 18:12:22 -07:00
Prakash Manjunathappa
50c9ab56a1 qcacmn: Do not subscribe for MC/BC frames for kiwi/peach
MC/BC frames are routed to FW ring based on routing config for MC/BC
data as SRC: FW2RXDMA and DST: RXDMA2DFW.
Data offload features in FW will take care of routing the MC/BC frames
to FW in both active and low power modes.

Make this change only for kiwi/peach using hal ops.

Change-Id: Id8665261a512c9db3e808f95082ff82b47f01ade
CRs-Fixed: 3464036
2023-04-19 18:12:11 -07:00