Commit Graph

72443 Commits

Author SHA1 Message Date
Linux Build Service Account
0abb70a15b Merge dd441e0e97 on remote branch
Change-Id: If71cb9694631aca1bbaec01243b7fc244a4632c6
2024-09-11 06:16:14 -07:00
Linux Build Service Account
54afb87acc Merge 681c14539a on remote branch
Change-Id: I90b968b5c69981f489b3e34de0db40fb5b6f6065
2024-09-11 06:16:03 -07:00
Linux Build Service Account
c743113db7 Merge b23ae7f5e4 on remote branch
Change-Id: If08b53e6188781fb8fac42ce0929da5a064a1330
2024-09-11 06:15:53 -07:00
Linux Build Service Account
3c72258e79 Merge dc29e1d7f3 on remote branch
Change-Id: Ife9a81ff625602b5eb70bd855e0808ebe6637c17
2024-09-11 06:14:39 -07:00
Linux Build Service Account
f5a566817a Merge f86b658d0a on remote branch
Change-Id: I21c5383fcd99d3616f91c19dd51920bb9753696c
2024-09-11 06:04:50 -07:00
Linux Build Service Account
723e0826fb Merge 27e5d776c3 on remote branch
Change-Id: Iafd8c089296077202d0ce506153c1ff6f48a60fe
2024-09-11 06:04:10 -07:00
Linux Build Service Account
a6005ceed2 Merge e70d6c0afe on remote branch
Change-Id: I3e2fb9463a92738b996c98293252df3c47bb1092
2024-09-11 06:03:41 -07:00
Linux Build Service Account
971d4062cc Merge 065610f845 on remote branch
Change-Id: I04de031893e50db404bd7cd8478d827a12665ab7
2024-09-11 04:21:04 -07:00
Linux Build Service Account
d0f80c27ee Merge 4e4eb52fb3 on remote branch
Change-Id: Ida0979dccbf774bb3e69f4f477fb4a670ae78c7c
2024-09-11 02:31:42 -07:00
QCTECMDR Service
e0e6fa6203 Merge "asoc: wcd9378: keep comp on when headphones power off" 2024-09-02 02:03:14 -07:00
Kuldeep Singh
e70d6c0afe Revert "securemsm-kernel:qseecom: Fix possible race condition"
This reverts commit 95bbe68e9c.

Change-Id: Ide541bd7cf634b97f4d193e9abb8bb9e2715cd53
2024-08-29 05:19:49 -07:00
Yuhui Zhao
c029b4aa1f asoc: wcd9378: keep comp on when headphones power off
Keep compander on when headphones power off, but
disconnect comp port. it can fix the pop issue
when device switch to speaker,
and it won't cause any issue.

Change-Id: I6c166fb59609bc26044329300441978b81f61784
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-08-29 14:36:46 +08:00
Yuhui Zhao
c5629b5184 asoc: wcd9378: change the tx clk scale for different swr clk
when swr clk is 48Mhz, the swr base clk and clk scale
should be 19.2Mhz and DIV4.
when swr clk is 96Mhz, the swr base clk and clk scale
should be 19.2Mhz and DIV2.

Change-Id: I5beda01b024946cd7b54785ecfab91e3d0edc94f
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-08-28 18:32:38 +08:00
Pavan Kumar M
b23ae7f5e4 msm: ipa3: Cleanup unused deepsleep API's
Deepsleep & hibernate entry/exit SSR API's are same as
regular SSR usecases. Clean up the unused deepsleep API's.

Change-Id: I82745f13b679c473184a31c561a12c56a54b08ca
Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
2024-08-28 11:15:09 +05:30
Pooja TC
dc29e1d7f3 qcacmn: Fix length check to parse non-inheritance list
Fix length check and add sub_copy and length
subie_len checks before accessing extn_elem to avoid any
OOB read.

Change-Id: I85ea636d5fe64e8508e91b06f0302d5f6258e583
CRs-Fixed: 3800831
2024-08-27 03:46:49 -07:00
Amit Mehta
6663744725 qcacmn: Fix wrong tlv field access for peach
Currently HAL_RX_GET_64 is used in monitor API to access TLV fields
In case of kiwi TLVs has 64-bit tlv fields. But in case of peach
tlv fields are changed to 32-bit which is results in wrong value
access.

To fix the issue use HAL_RX_GET and define common 32-bit HAL macros
to access TLV fields.

CRs-Fixed: 3694842
Change-Id: I9eee7e7e25147863f11f59655693dfea2b1832a0
2024-08-27 03:46:42 -07:00
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