Gráfico de commits

72427 Commits

Autor SHA1 Mensaje Fecha
Jinwei Chen
390062031e qcacmn: add HAL files for peach
Add HAL files for peach.

Change-Id: If38aa7767bee700e414c82e8bf9aa2acee450250
CRs-Fixed: 3674686
2024-08-27 03:46:34 -07:00
Ravindra Konda
f86b658d0a Release 5.2.1.93C
Release 5.2.1.93C

Change-Id: I139b20ca40ebd78299c48979480ec06805eae5fc
CRs-Fixed: 774533
2024-08-27 03:45:20 -07:00
Dharmendra Tiwari
642f82ef5e qcacld-3.0: Fix static code analysis issues in different API
Change 1. In the API hdd_get_roam_chan_from_fw
Changed the return type form static uint32_t to static int

Change 2. In the API set_first_connection_operating_channel
Changed the wrong return value -EINVAL to return set_value

Change 3. In the API set_second_connection_operating_channel
Changed operating_channel == 0 to !operating_channel and
return -EINVAL to return set_value

Change 4. In the API hdd_update_tgt_cfg
Removed the unused variable status = false

Change 5. In API sme_set_ht2040_mode
Changed the cb_mode condition from if(!session->cb_mode) to
session->cb_mode==PHY_SINGLE_CHANNEL_CENTERED

CRs-Fixed: 3891029
Change-Id: I697a915bf10ed2b331198a1621f75ffe7259628d
2024-08-27 03:45:19 -07:00
Alan Z. Chen
f064ac8d54 qcacld-3.0: Create defconfig files for peach v2
Create defconfig files to add support for peach v2.

Change-Id: I3978bdcce92933856cab18461c060317f28df4a3
CRs-Fixed: 3715406
2024-08-27 03:45:13 -07:00
Amruta Kulkarni
28a296b921 qcacld-3.0: Advertise emlsr capability based on new hw modes
-Add check for new hw modes, while advertising emlsr capability
in mlo ie and assoc request.
-Add new config emlsr feature flag for ganges.

CRs-Fixed: 3636676
Change-Id: I13038efe4d5001d480ae24fe7da135474eb8a3f1
2024-08-27 03:45:08 -07:00
Jinwei Chen
c4344f829f qcacld-3.0: Add peach HAL file support
Add peach HAL file support.

Change-Id: I47d9363edff2a46b774fa15b784a803fa22c3936
CRs-Fixed: 3674721
2024-08-27 03:45:03 -07:00
Divisha Bisht
95bbe68e9c securemsm-kernel:qseecom: Fix possible race condition
Fix possible race condition in data->type value in case of multithreaded
listener or app IOCTLs.

For example, below could cause inconsistent data->type value while
racing belows IOCTLs

Thread1 with QSEECOM_IOCTL_REGISTER_LISTENER_REQ
Thread2 with QSEECOM_IOCTL_UNREGISTER_LISTENER_REQ.

Change-Id: Id4f0ffcbff70bfbf13423f9f080fbaf51759ad82
Signed-off-by: Nishant Pandey <quic_nishpand@quicinc.com>
Signed-off-by: Divisha Bisht <quic_divibish@quicinc.com>
2024-08-27 01:21:05 -07:00
QCTECMDR Service
065610f845 Merge "kgsl: pwrctrl: Add sub_type constraint check to update expiry" 2024-08-26 01:29:59 -07:00
QCTECMDR Service
605f49f27d Merge "msm: ipa: workaround to ignore gsi pending irq type for XR platform" 2024-08-23 04:48:47 -07:00
QCTECMDR Service
f42b639114 Merge "msm: ipa: Update uC HFI cmd queue payload size param" 2024-08-23 02:31:10 -07:00
QCTECMDR Service
cf4b11fbae Merge "msm: ipa: allow both tcp and udp for the debugfs wlan filters" 2024-08-22 22:42:25 -07:00
QCTECMDR Service
97f0d1ab45 Merge "msm: ipa: Add debugfs nodes to install/remove xr wlan filters" 2024-08-22 16:04:02 -07:00
QCTECMDR Service
f9b1b2eeb0 Merge "msm: ipa3: Initiate filter reservation during filter addition" 2024-08-22 13:46:45 -07:00
Ravindra Konda
0654395145 Release 5.2.1.93B
Release 5.2.1.93B

Change-Id: I7026e7a83503e53a301b55ae05961784e229ed17
CRs-Fixed: 774533
2024-08-22 11:53:09 -07:00
Surya Prakash Sivaraj
8c71bb28e3 qcacld-3.0: Do not create empty RSNXE
Driver re-generates the RSNXE with length 1, if the peer AP
supports only 1 octet of RSNXE. During this IE creation,
driver creates an empty RSNXE if none of the caps are set
by userspace in the first octet.

To fix this, do not re-generate the RSNXE if none of the caps
are set in first octet.

Change-Id: I6ca855cd907e49af62d9afe804b9f73eea97332e
CRs-Fixed: 3901178
2024-08-22 11:53:08 -07:00
Ravindra Konda
91421805a0 Release 5.2.1.93A
Release 5.2.1.93A

Change-Id: Ie83ae4d7fe0fbb4b3c1487dbd1dbe7d562642c2c
CRs-Fixed: 774533
2024-08-22 06:33:52 -07:00
Surya Prakash Sivaraj
06a3bacbe1 qcacld-3.0: Validate pe session before access
In lim_send_probe_req_mgmt_frame(), validate the pe session
before accessing it.

Change-Id: I96ebfc62c04e2e7323017732b6208da83919346c
CRs-Fixed: 3880869
2024-08-22 06:33:51 -07:00
ANANDU KRISHNAN E
99c2a35413 msm: adsprpc: Avoid taking reference for group_info
Currently, the get_current_groups API accesses group info, which
increases the usage refcount. If the IOCTL using the
get_current_groups API is called many times, the usage counter
overflows. To avoid this, access group info without taking a
reference. A reference is not required as group info is not
released during the IOCTL call.

Change-Id: Iec31c90f9fd1a837fb697d5d7d1baba7d285374d
Signed-off-by: ANANDU KRISHNAN E <quic_anane@quicinc.com>
2024-08-22 03:54:18 -07:00
Jagadeesh Ponduru
528993cef4 msm: ipa: workaround to ignore gsi pending irq type for XR platform
remove the gsi pending irq check for xr platform as we are observing
discrete ieob irq set for wdi use case and in a way it is taken care
by msi interrupts.

Change-Id: I306cad1f63cd9cf156567fc6b0cb210f7bf0152c
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
2024-08-21 23:40:33 -07:00
Prasad Arepalli
41c6b23c1d msm: ipa: Update uC HFI cmd queue payload size param
Retrieve the HFI queue payload size parameter directly
from synX driver and update it to uC.

Change-Id: I6ab34853f92740795fd0de6c2a144707facca7e7
Signed-off-by: Prasad Arepalli <quic_parepall@quicinc.com>
2024-08-21 23:39:55 -07:00
Jagadeesh Ponduru
d8e985cde2 msm: ipa: allow both tcp and udp for the debugfs wlan filters
allow both tcp and udp protocols when we install wlan filters
through ipa debugfs nodes.

Change-Id: I543b7b914fe3f15f53ba3e6baca9bc93147f398c
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
2024-08-21 23:32:01 -07:00
spuligil
27e5d776c3 fw-api: CL 27444604 - update fw common interface files
Change-Id: I6911bdb80988b788cf623a4a308c43f0311c5d1a
CRs-Fixed: 3830439
2024-08-21 06:28:10 -07:00
spuligil
39a2d7b904 fw-api: CL 27418163 - update fw common interface files
Change-Id: Ie80049a32e0c33c74e364df6038d9ce52260ea21
CRs-Fixed: 3830439
2024-08-21 06:28:07 -07:00
spuligil
fccfe234c1 fw-api: CL 27407027 - update fw common interface files
Change-Id: Ie96cc4822bb6c6216cfe20a1d9a9ca5d23894766
CRs-Fixed: 3830439
2024-08-21 06:28:04 -07:00
spuligil
2655e15978 fw-api: CL 27360144 - update fw common interface files
Change-Id: I49389ad036b484273bc49a413106dd6259d21b1e
CRs-Fixed: 3830439
2024-08-21 06:28:00 -07:00
spuligil
8442e417e5 fw-api: CL 27338232 - update fw common interface files
Change-Id: I1545378f2d3814c82c9cdc975fca319d22357b05
CRs-Fixed: 3830439
2024-08-21 06:27:57 -07:00
spuligil
ece2d2a7a0 fw-api: CL 27334210 - update fw common interface files
Change-Id: I435ab923ccced1b33fc45c51b9efda15f1603bb0
CRs-Fixed: 3830439
2024-08-21 06:27:54 -07:00
spuligil
c253c49218 fw-api: CL 27314804 - update fw common interface files
Change-Id: Ia26d8270d0a284c3ed1d5d30fd177b5116619d1e
CRs-Fixed: 3830439
2024-08-21 06:27:51 -07:00
QCTECMDR Service
0c6d46e7df Merge "asoc: wcd9378: add the hph volume register in regmap" 2024-08-21 04:35:42 -07:00
Srinivas Dasari
34798e7b00 qcacmn: Use atomic APIs to check the event_flag in logger thread
Currently, qdf_set_bit()/qdf_clear_bit()/qdf_test_bit() APIs are
used to operate on the event_flag in logger_thread. These APIs
use non-atomic kernel APIs __set_bit()/__clear_bit()/__test_bit()
and the operation is indeterministic when system syspend/resume
happens.
Use atomic APIs(qdf_atomic_*) to avoid this.

Change-Id: I52d1c608f9845ed6c98975f2455035c8587bfd72
CRs-Fixed: 3890216
(cherry picked from commit 3aaddb2c45)
2024-08-20 09:57:27 -07:00
QCTECMDR Service
efdc8bbc8e Merge "msm: ipa: Updating the con pipe TRE structure as per uc" 2024-08-20 09:05:15 -07:00
Ravindra Konda
ea45fd6da7 Release 5.2.1.93
Release 5.2.1.93

Change-Id: Ie931858b3af7266c0101a70c4f3d8e305fa97edb
CRs-Fixed: 774533
2024-08-20 05:32:46 -07:00
Ananya Gupta
b74a18ea3f qcacld-3.0: Do not take wakelock if ip multicast packet
Currently, wakelock is taken for all unicast packets.
Do not take wakelock if packet is IP multicast packet.

Change-Id: If197cbb58d1414adedb1d29f9c2bd67be83e95b4
CRs-Fixed: 3807621
2024-08-20 05:32:45 -07:00
Ananya Gupta
50422eee58 qcacld-3.0: Do not take wakelock for non-local ARP request
Currently, wakelock is being taken for all unicast packets.
Do not take wake lock if it is a ARP packet but not local to
host.

Change-Id: Iff5de2b83a4b12692b2f3b82d58e0fc400326529
CRs-Fixed: 3838502
2024-08-20 05:32:40 -07:00
Ananya Gupta
ecbe06079f qcacmn: Fix multicast checks
IP multicast check for IPv4 was failing as the big endian
conversion was not being done and wrong values were being checked.
Do ntohs conversion on macros to check if packet is mcast packet.
In IPv6 check, the word is being checked instead of first byte.
Check only first byte when checking for ipv6 multicast address.

Change-Id: I686cdef7957778f9c60f2dc919421d39c4b8b71c
CRs-Fixed: 3824229
2024-08-20 03:32:16 -07:00
Ravindra Konda
d5a360d359 Release 5.2.1.92Z
Release 5.2.1.92Z

Change-Id: I438828138c396c705d77271503edd56d664391e8
CRs-Fixed: 774533
2024-08-20 03:30:58 -07:00
Ananya Gupta
6b022c4d0e qcacld-3.0: Do not take wake lock for non local ARP packet
Do not take wake lock if the packet is unicast and a non local
ARP packet.

Change-Id: I7e76f5ddde41c026355c4f7fe938f20ea819c0f6
CRs-Fixed: 3831823
2024-08-20 03:30:57 -07:00
Anand Tarakh
55ec06a914 Revert "disp: msm: dsi: wait for mdp idle before roi update"
This reverts commit 9184f0dbd383af314112f1f6038a4143c44a5837.

Reason for revert: Janks are observed with bouncing ball test.

Change-Id: I5fd3dd5c7abf83cdaa141ccc42271e3ff899cfce
Signed-off-by: Anand Tarakh <quic_atarakh@quicinc.com>
2024-08-20 02:50:02 -07:00
Ravindra Konda
c592ec0eb7 Release 5.2.1.92Y
Release 5.2.1.92Y

Change-Id: Icdfefab124bcb4320ff2dc029f9479950ae60adb
CRs-Fixed: 774533
2024-08-19 21:06:39 -07:00
Jianmin Zhu
119765c7b9 qcacld-3.0: Use full SAE auth when connect specified AP
When MLO STA connects to a specified buggy MLO AP with PMKID in assoc
req, it consistently fails and then retries with a downgraded SLO
candidate, which eventually succeeds. However, the customer expects MLMR
connection.

To address this, when select this buggy AP, we avoid generating
downgraded SLO/11AX candidates, use full SAE auth instead of existed
PMKSA, and don't add PMKID in RSNIE of assoc req when connect.

If the MLMR assoc fails, assoc rejection is sent to upper layer,
not retry with SLO/11AX candidates. Instead, wpa_supplicant/aosp will
clear the PMKSA upon receiving an association rejection, and subsequent
retries will use full SAE authentication, resulting in a successful MLMR
connection.

Change-Id: I85f39f52e4dae8393bbf559969710f35447b8c0c
CRs-Fixed: 3888073
2024-08-19 21:06:38 -07:00
Jianmin Zhu
256544b37b qcacmn: Don't allow SLO candidate for specified AP
When MLO STA connects to a specified buggy MLO AP with PMKID in assoc
req, it consistently fails and then retries with a downgraded SLO
candidate, which eventually succeeds. However, the customer expects MLMR
connection.

To address this, when select this buggy AP, we avoid generating
downgraded SLO/11AX candidates, use full SAE auth instead of existed PMKSA,
and don't add PMKID in RSNIEof assoc req when connect.

Change-Id: I8e446544b2fdbae089840713bc8bc93c601f1863
CRs-Fixed: 3888074
2024-08-19 14:57:46 -07:00
Jianmin Zhu
ee88dcad93 qcacmn: Fix NULL pointer dereference when out of buffers
When util_scan_copy_cache_entry return NULL for out of buffers,
NULL pointer dereference happens.

To fix it, check return pointer of util_scan_copy_cache_entry
before use it.

Change-Id: Iec5e6f10c8e0bbe6b88d844cc00320f3f23191a4
CRs-Fixed: 3885075
2024-08-19 14:57:39 -07:00
Sheenam Monga
9e1ef54291 qcacmn: Update Candidate list with 11AX scan entry
Currently, When connection failure happens with MLO
AP then all combinations of that MLO AP are tried until
the partner links become 0/SLO.If AP configured links are
more than supported links and AP doesn't support EHT then
AP disconnects with reason EHT not supported and STA will not
be able to connect to that AP as STA tries combination till SLO
but all combinations are 11BE only.

To Fix above scenario add a 11AX entry in candidate table, so that
connection can be tried with 11AX if all combination fails or failure
reason clears that 11BE association is not possible.

Change-Id: Ibde68f44a1367c9af160201bc677dd97b1897c06
CRs-Fixed: 3779644
2024-08-19 14:57:32 -07:00
Sheenam Monga
718001ff6a qcacmn: Consider MLO AP first in list if NON-ML and ML score same
There could be a case when SLO and 11AX entry has same score. In
that case consider MLO candidate first and then move to 11AX in case
of failure.

Change-Id: I4e24ff45a23e9f620b7c2894f26223c55828c8bd
CRs-Fixed: 3779623
2024-08-19 14:57:25 -07:00
Jianmin Zhu
33997eac03 qcacmn: Fix single link score is higher than MLO link issue
As current MLO RSSI algorithm, MLO RSSI score is quite worse
than that of better link if worse link RSSI is poor, which may
make MLO candidate score worse than link candidate score, SLO
candidate is selected to connect instead of MLO candidate.

To fix it, for DBS/HBS MLO candidate, boost total score 10%.

Optimize MLO rssi score algorithm as following:
MLO-RSSI = [BW1/(BW1+BW2) ]* RSSI1 +  [BW2/(BW1+BW2) ]* RSSI2.

CRs-Fixed: 3776301
Change-Id: I16d65b2a70cd0ca0daba47b116c8627f995d5157
2024-08-19 14:57:18 -07:00
Ravindra Konda
13d3a2057a Release 5.2.1.92X
Release 5.2.1.92X

Change-Id: I0e2dc8107fa0fbc10b56134035c90d88df214c83
CRs-Fixed: 774533
2024-08-19 14:56:04 -07:00
Asutosh Mohapatra
3eeeb7714c qcacld-3.0: Enable relevant ICNSS configs for parrot66 Adrastea
Currently CONFIG_PLD_SNOC_ICNSS_FLAG and CONFIG_ICNSS2_HELIUM
configs are not enabled in Bazel GKI config file of Adrastea for
parrot66 target. As a result host is not calling relevant PLD
API for driver registration during load. As a result seeing
Adrastea driver loaded for Moselle device.

To address this issue, enable CONFIG_PLD_SNOC_ICNSS_FLAG and
CONFIG_ICNSS2_HELIUM configs.

Change-Id: I7419eb1f6339e134a85729f25301913adf02e484
CRs-Fixed: 3898745
2024-08-19 14:56:03 -07:00
QCTECMDR Service
c18749919b Merge "kgsl: Enable AHB timeout detection for gen_8_3_0" 2024-08-19 00:54:12 -07:00
QCTECMDR Service
3f61ac09bc Merge "kgsl: Add ACD feature for Gen8_3_0 GPU" 2024-08-19 00:24:58 -07:00
Yu Tian
98e66d3da1 qcacmn: Fix use after free reported by KASAN
Vdev id is freed after wmi send, it can't be referenced anymore.

Change-Id: I2cb63a28daa36f292903261df1c23c717ec63a9f
CRs-Fixed: 3834424
2024-08-18 11:33:31 -07:00