提交图

28760 次代码提交

作者 SHA1 备注 提交日期
Madan Koyyalamudi
c5a40a94b6 Release 5.2.1.64L
Release 5.2.1.64L

Change-Id: Id1148d423c91df6d7eb73610d2381df57bc56268
CRs-Fixed: 774533
2023-04-26 08:23:54 -07:00
Deeksha Gupta
e3f3adbce6 qcacld-3.0: Add support to get Async tid to link response info
Add the following fixes to get Async TID to link map info:
1. Add APIs to register and unregister the T2LM callback.
2. Add HDD callbacks.
3. Send T2LM info, when receiving TID-to-link mapping response
   from the associated AP MLD.

Change-Id: Ia98605b3244b24cc3cac41d2decf22ff6aa82f88
CRs-Fixed: 3431518
2023-04-26 08:23:53 -07:00
Madan Koyyalamudi
02ee1e3f41 Release 5.2.1.64K
Release 5.2.1.64K

Change-Id: I2b941bc6b0499a055cc48268a4b081f6d13cc419
CRs-Fixed: 774533
2023-04-25 22:30:48 -07:00
Paul Zhang
41881c7d5d qcacld-3.0: Resolve compiler issue for Fillmore
There is implicit declaration of function wlan_mlo_get_tdls_link_vdev
issue when compiling Fillmore devSP. To resolve it, add the
corresponding header file.

Change-Id: I6bc4dc01b82f3a0805e79fb7e25c4c4c7642c4e6
CRs-Fixed: 3477725
2023-04-25 22:30:47 -07:00
Madan Koyyalamudi
4cbb309df0 Release 5.2.1.64J
Release 5.2.1.64J

Change-Id: Id144549ba28a6990106696d12ef9da365ab5a74b
CRs-Fixed: 774533
2023-04-25 21:12:20 -07:00
Meng Yuan
fe7e0a4d53 qcacld-3.0: fix the mismatch issue about the macro definition
The macro definition for struct mlo_adapter_info in wlan_hdd_main.h 
is #if (defined(WLAN_FEATURE_11BE_MLO) && defined(CFG80211_11BE_BASIC)),
but in wlan_hdd_main.c defined as #if (defined(WLAN_FEATURE_11BE_MLO). 
Actually, "defined(CFG80211_11BE_BASIC)" can't be satisfied here, so we 
change it in wlan_hdd_main.c to keep it consistent with the head file.

Change-Id: Ic8e49f541459c6712d15a1d55f361dd22042235a
CRs-Fixed: 3474597
2023-04-25 21:12:19 -07:00
Madan Koyyalamudi
c5a5c05de4 Release 5.2.1.64I
Release 5.2.1.64I

Change-Id: I0abbd04290ca547c5af63aaa7f53ca993c18c306
CRs-Fixed: 774533
2023-04-25 19:50:23 -07:00
Venkateswara Naralasetty
3259b29030 qcacld-3.0: compile ol rx thread code only for legacy targets
Currently ol rx thread code is under QCA_CONFIG_SMP macro, which is
enabled for all the targets. But LI, BE and RH family targets don't
use this ol rx thread implementation. Hence, compile out ol rx thread
code for LI, BE and RH targets.

Change-Id: I1a1dfd09f5364ddb519c846e6c456d10f81e369c
CRs-Fixed: 3468499
2023-04-25 19:50:23 -07:00
Madan Koyyalamudi
375f9417ec Release 5.2.1.64H
Release 5.2.1.64H

Change-Id: Iaa36ae33240ffcd105eba2acef3282bc357348cd
CRs-Fixed: 774533
2023-04-25 16:05:41 -07:00
Aditya Kodukula
273e40a49f qcacld-3.0: Enable PRE_CAC feature flag by default
In peach defconfig file, the CONFIG_FEATURE_WLAN_PRE_CAC
feature flag is not enabled for mobile router profile.
But it is need by all profiles. So, enable the flag by default.

Change-Id: I0281481d0ad227a716000b52447e77c6db5eb168
CRs-Fixed: 3472782
2023-04-25 16:05:41 -07:00
Madan Koyyalamudi
186e2c5a3e Release 5.2.1.64G
Release 5.2.1.64G

Change-Id: Ie315f7b67d534e5f9c2c9c11ee288d56a8af30f9
CRs-Fixed: 774533
2023-04-24 23:36:16 -07:00
Prakash Manjunathappa
a2e7dfd21b qcacld-3.0: Disable HAL_SRNG_REG_HIS_DEBUG enable it only for debug
Order 7 allocation is coming from hal_soc allocation.
This is caused by debug change.
Regression cause is:: Ib98e48e1d32defb0d8b30b854b5b0c23691cca59
With above change struct hal_srng size increased from 320B to 1376B
In turn this increased the struct hal_soc size from 71648B to 310232B
Disable the debug feature from enabling it by default

Change-Id: I3e2fde17defc677401343c158ec40698b1dcb603
CRs-Fixed: 3469599
2023-04-24 23:36:16 -07:00
Aditya Kodukula
5ffe7de03c qcacld-3.0: Enable DWARFv4 to unblock compilation issues
Currently when DWARFv5 is enabled, wlan driver compilation fails
with error, INT DW_ATE_unsigned_1024 Error emitting BTF type.

To unblock this compilation issue, temporarily switch
back to DWARFv4.

Change-Id: I2e37aff054e8a6161a80e97a227153eb2df68a74
CRs-Fixed: 3475979
2023-04-23 20:53:51 -07:00
Madan Koyyalamudi
4af4d95928 Release 5.2.1.64F
Release 5.2.1.64F

Change-Id: I7f9a7e37c043a31ea74c8ae717d826efbce02244
CRs-Fixed: 774533
2023-04-21 06:51:09 -07:00
Aditya Kodukula
1a076aab29 qcacld-3.0: Rename BUILD_DIAG and BUILD_DEBUG flags
Currently in defconfig files, the naming convention of
config flags BUILD_DIAG_VERSION and BUILD_DEBUG_VERSION
is not aligning   with rest of them. So, rename the flags
to CONFIG_WLAN_DIAG_VERSION and CONFIG_WLAN_DEBUG_VERSION

Change-Id: Ia9357588cdbfc09199d7d44bd024beb0f92b9755
CRs-Fixed: 3472570
2023-04-21 06:51:08 -07:00
Vinod Kumar Pirla
ed66985f0d qcacld-3.0: Check NULL value of hdd_adapter_get_mac_handle()
The return of hdd_adapter_get_mac_handle() API can be NULL.
Check the NULL pointer before accessing.

Change-Id: Iad0c6be8932323442bc0080ea311092207bf32e6
CRs-Fixed: 3463354
2023-04-21 06:51:03 -07:00
Aditya Kodukula
f40f4779ff qcacld-3.0: Refactor wlan_hdd_get_sta_stats function
Breakdown wlan_hdd_get_sta_stats function into individual
functions to improve code readability.

Change-Id: I4b2745d3b65e4a779ca22445650add0504d68acc
CRs-Fixed: 3468138
2023-04-21 06:50:57 -07:00
Madan Koyyalamudi
c48d15712a Release 5.2.1.64E
Release 5.2.1.64E

Change-Id: I8bde87da9419ae19a77c9ae46caea16376fdaf49
CRs-Fixed: 774533
2023-04-20 23:38:53 -07:00
Gururaj Pandurangi
daa45ef22b qcacld-3.0: Configure the default values for MSD subfields
An AP MLD advertises Medium Synchronization Delay support
and parameters to ML STA in assoc response frame. Host
extracts these values and sends it to FW via peer assoc
command. If the MSD support is absent in assoc response,
Host sends zeroes for MSD subfields. Change this to
configure specific default values as defined in 802.11BE
draft 3.0.

Change-Id: Idd044b23d350634d96b010176b0d8922e793290a
CRs-Fixed: 3416241
2023-04-20 23:38:52 -07:00
Madan Koyyalamudi
5fb79b8754 Release 5.2.1.64D
Release 5.2.1.64D

Change-Id: I4507fd826e7925c22fbb7a376eb5061fb3bee0af
CRs-Fixed: 774533
2023-04-20 19:39:22 -07:00
Deeksha Gupta
1c117ec2b2 qcacld-3.0: Add new cfg80211 command to get T2LM info
Add new cfg80211 command to get TID to link map info.
Below command can be used to get the T2LM info:
"DRIVER GET_ML_TID_MAPPING_STATUS"

Change-Id: I2a06cd615f89dec240a48a25d820c28f9dfdd7d1
CRs-Fixed: 3431486
2023-04-20 19:39:22 -07:00
Madan Koyyalamudi
0fb27e2a87 Release 5.2.1.64C
Release 5.2.1.64C

Change-Id: I700c4fb1b5cae49f8be6a31f340cb49dc0701323
CRs-Fixed: 774533
2023-04-20 00:15:09 -07:00
Surya Prakash Sivaraj
0c49f87280 qcacld-3.0: Pack Supported channel IE based on range
In current design, each supported channel is packed
individually with range count as 1. This bloats the
size of the supported channel IE.

Instead as an optimization, break the supported channel
list into contiguous range of channels and encode only
the start frequency of the range and count of channels
in that range.

Change-Id: Ic5ba530ee6a8422ffc0c67acb621e76826775fa7
CRs-Fixed: 3467712
2023-04-20 00:15:08 -07:00
Madan Koyyalamudi
8544834544 Release 5.2.1.64B
Release 5.2.1.64B

Change-Id: Ie370979ff0f1fc2cc97a49f3ea3ca00d284672a3
CRs-Fixed: 774533
2023-04-19 22:12:05 -07:00
Surya Prakash Sivaraj
aa653210fc qcacld-3.0: Prevent RTPM during vdev destroy
Prevent RTPM during vdev destroy as part of the
stop adapter. RTPM during vdev destroy leads to
unnecessary wait times for suspend/resume operations.

This delay becomes huge when the overall CPU performance
is bad and leads to PEER DELETE TIMEOUT/VDEV DELETE TIMEOUT.

Change-Id: I5de1b5459fb03a0799d869077c7d30a9043bf3f7
CRs-Fixed: 3463758
2023-04-19 22:12:05 -07:00
David Oladunjoye
a89ab838b2 qcacld-3.0: r-TWT related changes
Need to add support for rTWT feature in host. Host needs to define rTWT
ini, and set rTWT bit in EHT Cap. rTWT ini will allow users to
enable/disable rTWT feature. We define rTWT ini and function to get ini
value. EHT Cap  will advertise rTWT support to peer. To populate EHT Cap
we must validate rTWT is supported in driver. To do this, we check rTWT
and bTWT params.

Changes are as follows.
1) Define rTWT ini
2) Get rTWT ini value
3) Get rTWT support
4) Set rTWT bit in EHT Cap

Change-Id: Id5676c6b7c3d4f48a0010f2e9ae369d9dfa710e9
CRs-Fixed: 3446652
2023-04-19 22:12:00 -07:00
Pragaspathi Thilagaraj
58b0a2bb4a qcacld-3.0: Fix invalid vdev validation in tdls teardown
Fix invalid vdev validation in wlan_tdls_teardown_links_sync()
api.

Change-Id: Ie47797a6fdc1ba9851c6d39f7cdc699afb22b208
CRs-Fixed: 3472182
2023-04-19 22:11:54 -07:00
Madan Koyyalamudi
cb69116068 Release 5.2.1.64A
Release 5.2.1.64A

Change-Id: I861fdaa2665c62476c5585478849f830a3f91b98
CRs-Fixed: 774533
2023-04-19 20:16:07 -07:00
abhinav kumar
38a0fbbf01 qcacld-3.0: Save initial connection ch width in mlme
To process get_cu_for_each_subbw request from upper layer,
host needs to trigger scan for initial connection ch width
on every get_cu request.

Change-Id: I2bbf20c9207f46983b14dcd95bf81f32cfd7c060
CRs-Fixed: 3466958
2023-04-19 20:16:07 -07:00
Surya Prakash Sivaraj
b4da8fd330 qcacld-3.0: Dump per-band HE CAPS
For easier debugging, dump the 5 GHz and 2.4 GHz HE
CAPS extracted from the target.

Change-Id: Iafea2cb9186ad4d52ae2808e4f4b7a98cf8d4b77
CRs-Fixed: 3471653
2023-04-19 20:16:01 -07:00
Jingxiang Ge
3e2b569a81 qcacld-3.0: add ini gActionOUIAuthAssoc6Mbps2GHz
Some AP doesn't honor CCK rate for auth/assoc.
this ini is added to detect specified AP and
send auth/assoc/reassoc(non-offload) with 6 Mbps
rate on 2.4 GHz, then AP will ack to STA.

Change-Id: I8a164471198842368add40ca726420569dd82430
CRs-Fixed: 3412381
2023-04-19 20:15:56 -07:00
Madan Koyyalamudi
25a64b453c Release 5.2.1.64
Release 5.2.1.64

Change-Id: I3391b5ec952c1f5b7533d0c8c5205132aa606701
CRs-Fixed: 774533
2023-04-19 18:11:43 -07:00
Paul Zhang
48a9159efd qcacld-3.0: Initialize variable meta_data
Variable meta_data does not initialize properly in
function lim_handle_frame_genby_mbssid().

Change-Id: Ia842a1e12d9340a6f35bb06eb7e3cbaa8c273c50
CRs-Fixed: 3463362
2023-04-19 18:11:43 -07:00
Paul Zhang
86e99ec175 qcacld-3.0: Release vdev ref count for TDLS
The vdev ref count does not release properly for
WLAN_OSIF_TDLS_ID, it causes driver crash when
rmmod wifi module.

To address this issue, release the vdev ref count
properly for TDLS module.

Change-Id: I9c206f212ff5ba5a362c91d32519bc7903cbec3d
CRs-Fixed: 3470275
2023-04-19 18:11:38 -07:00
Madan Koyyalamudi
41477f0be4 Release 5.2.1.63Z
Release 5.2.1.63Z

Change-Id: I4796c13f8f518a2594326299b62c84703db048ea
CRs-Fixed: 774533
2023-04-19 14:19:49 -07:00
David Oladunjoye
92962bfbaa qcacld-3.0: Remove smps params in pe_session
Currently smps params are stored to pe session and read from it.
Fix is to directly read from mlme cfg and remove pe session params.

Change-Id: I0edd568e505ef80e8e9ef1b8f1938fd01812cb28
CRs-Fixed: 3449560
2023-04-19 14:19:49 -07:00
Madan Koyyalamudi
926f6f9075 Release 5.2.1.63Y
Release 5.2.1.63Y

Change-Id: I8b800e8cb0cc1611746f181b5717b816b4b796c2
CRs-Fixed: 774533
2023-04-19 10:36:32 -07:00
Gururaj Pandurangi
bc5b48f9de qcacld-3.0: Add fixes for peer-level T2LM negotiation
Add the following fixes in case of peer-level tid-to-link
mapping negotiation.
1) Copy peer-level mapping to wlan_prev_t2lm_negotiated_info
from wlan_t2lm_onging_negotiation_info after negotiation
is completed as the former structure is used for mapping
reference.
2) Currently, the Host sends peer-level negotiated mapping
to FW, followed by an action frame response to the AP.
Reverse this order to align with the design flow.

Change-Id: I0e0db95c539cfd9aee27b481683e3e807a1f712e
CRs-Fixed: 3423125
2023-04-19 10:36:31 -07:00
Liangwei Dong
2d1de39605 qcacld-3.0: Enable 4th connection table for MDM
When MLO STA is supported in MDM, driver needs to
use the new PCL table for 4th connection.
Move the existing PCL table under macro MDM_PLATFORM
to support this.

Change-Id: I494e7a8d6ecc0a550027ff7f64de5deb11b987a9
CRs-Fixed: 3467738
2023-04-19 10:36:26 -07:00
Pragaspathi Thilagaraj
7a71e4211e qcacld-3.0: Cleanup few redundant tgt TDLS API
Cleanup redundant TDLS tgt wrapper API's

Change-Id: I8c9bbbdbbdcb26af096038998bc32499dfee7ebb
CRs-Fixed: 3469210
2023-04-19 10:36:20 -07:00
Madan Koyyalamudi
2a63930645 Release 5.2.1.63X
Release 5.2.1.63X

Change-Id: I143ee4b161b8337638780e3fe3b1c64374121942
CRs-Fixed: 774533
2023-04-19 00:01:34 -07:00
Amruta Kulkarni
7eca35c643 qcacld-3.0: Handle t2lm action response frame
Add support to handle t2lm action response frame.

Change-Id: Ia7072d3050f6ee6eb078233c6129e532144740f4
CRs-Fixed: 3468073
2023-04-19 00:01:33 -07:00
Jingxiang Ge
2069b79a16 qcacld-3.0: change mask for gActionOUIDisableDynamicQosNullTxRate
Change mask for OUI as the 2nd byte will change dynamically
for each powerup/powerdown.

Change-Id: Ia742f96956e470fd0c02ae4ee8813f0f84e96556
CRs-Fixed: 3460525
2023-04-19 00:01:26 -07:00
Vinod Kumar Pirla
9a9e93f8d2 qcacld-3.0: Restrict no of conc ML SAP instances to one
Allow a maximum of one ML SAP instance at a time and restrict any
other ML SAP start. The existing code allows secondary ML SAP to
come up if no other concurrent connections are present.

Add the condition to check only SAP mode in the policy manager list
so that other opmodes are not considered.
Allow new ML SAP instance only if no other ML SAP instance exists.

Change-Id: I3ea08b2c8de92f84e288e078a19cac0da261e69e
CRs-Fixed: 3460774
2023-04-19 00:01:19 -07:00
Madan Koyyalamudi
be0dd8695a Release 5.2.1.63W
Release 5.2.1.63W

Change-Id: If2412ad773c09107d59acb6201c60f88ce7a436d
CRs-Fixed: 774533
2023-04-18 22:02:25 -07:00
Ashish Kumar Dhanotiya
f3fedee966 qcacld-3.0: Avoid use of uninitialized variables
In set featureset info function, there is a possibility that host driver
may use uninitialized variables which may lead to unexpected behavior.
To address this issue, initialize the uninitialized variables.

Change-Id: Iaf2fdcf511ceca609c154d2a6e3f412d4f40d0bb
CRs-Fixed: 3434878
2023-04-18 22:02:25 -07:00
Jianmin Zhu
6c0bb852ed qcacld-3.0: Fix SAP vdev MAC different from adapter MAC
When switch wlan0 from STA to SAP mode, single link flag isn't set,
hdd_adapter_is_sl_ml_adapter returned false,
hdd_get_assoc_link_adapter didn’t return SAP adapter,
wrong MAC was copied to vdev in hdd_populate_vdev_create_params.
SAP started with wrong mac addr, which was different from real SAP
adapter mac.

To fix it, for SAP, copy MAC from adapter directly to vdev in
hdd_populate_vdev_create_params.

Change-Id: I5567cb83e4cc7d9f79979c3eea42760dab6c8926
CRs-Fixed: 3458921
2023-04-18 22:02:20 -07:00
Madan Koyyalamudi
8c538faef4 Release 5.2.1.63V
Release 5.2.1.63V

Change-Id: Id985b4b3a69a05643131c830b148219bac0509c5
CRs-Fixed: 774533
2023-04-18 20:04:07 -07:00
Ashish Kumar Dhanotiya
d1a7b462dd qcacld-3.0: Set out psoc as NULL at the end of dsc psoc destroy
Currently host driver sets value of out psoc to NULL once it
assigns value of out_psoc to a local variable. Now if there is
any issue after this assignment, this global out_psoc is not
available for debugging purpose.
To debug some complex issues, set out_psoc to NULL at the end
of the psoc destroy function.

CRs-Fixed: 3469397
Change-Id: I479b0c4aedd77f374d8dff085cfade00a8e5cc5b
2023-04-18 20:04:06 -07:00
Vishal Miskin
d63de10615 qcacld-3.0: Move regular tsf sync prints to debug log level
Move regular tsf sync prints to debug log level

Change-Id: Ieb732fe53fef2a439ef57e05bf15f516b70fed30
CRs-Fixed: 3466978
2023-04-18 20:04:01 -07:00