Commit Graph

72443 Commits

Author SHA1 Message Date
Abhishek Singh
908cf6b29c qcacmn: Add API to dump mgmt frame in hex
Add API to dump mgmt frame in hex

Change-Id: I444ed40714184d14025a72aa8a08856a6dae3a68
CRs-Fixed: 3841017
2024-06-26 01:59:21 -07:00
Ravindra Konda
fdc0f4d311 Release 5.2.1.91R
Release 5.2.1.91R

Change-Id: I86ce47d6e2dc5956651db093675d93141eaa51c0
CRs-Fixed: 774533
2024-06-26 01:58:23 -07:00
Abhishek Singh
89f532d762 qcacld-3.0: Use mgmt_txrx_frame_hex_dump to dump mgmt frame
Use mgmt_txrx_frame_hex_dump to dump mgmt frame and optimize
frame dump and logs

Change-Id: I56f244fecfa2602c6b763f5734d36199b8c3f165
CRs-Fixed: 3838935
2024-06-26 01:58:22 -07:00
Akash Puliyadi Jegannathan
533ee451e6 msm: camera: sensor: TOCTOU error handling in eeprom
IO config can be modified due to access to shared memory.
This change scopes the data locally so as to avoid
vulnerability of count being modified by external
means while executing due to being in shared memory.

CRs-Fixed: 3777635
Change-Id: Ia5dd9138dcf8449e2d800aca9ffed73d9c4ba3ea
Signed-off-by: Akash Puliyadi Jegannathan <quic_apuliyad@quicinc.com>
2024-06-26 01:51:30 -07:00
Akash Puliyadi Jegannathan
f6a5a3a9a7 msm: camera: sensor: TOCTOU error handling in eeprom
I2C cmd can be modified due to access to shared memory.
This change scopes the data locally so as to avoid
vulnerability of count being modified by external
means while executing due to being in shared memory.

CRs-Fixed: 3777534
Change-Id: I4637f49db67d1bd1d5ca418435e3627b5652f604
Signed-off-by: Akash Puliyadi Jegannathan <quic_apuliyad@quicinc.com>
2024-06-26 01:51:10 -07:00
Songrui Wu
0f8a1943ec securemsm-kernel: Enable the smmu proxy driver on Matrix
Enable the compilation of smmu proxy driver on Matrix.

Change-Id: I8abfeb5e34fb2a583f77773d425bee289ffcd601
Signed-off-by: Songrui Wu <quic_songrui@quicinc.com>
2024-06-26 15:40:46 +08:00
Ananya Gupta
75b9be8f82 qcacmn: Reset filters for buffer ring when deleting monitor mode
Currently, when monitor interface is going down, buffer ring filters
are not being reset.
To fix this, set mv_dev to NULL after filter reset.

Change-Id: I7555acd6b4a54a362e36a43a970ab1c75e3c24c8
CRs-Fixed: 3841235
2024-06-25 23:14:50 -07:00
Jianmin Zhu
eaf52f4541 qcacmn: Fix RSO stopped after roam from MLO to SLO
When roamed from MLO to SLO, clean up vdev1 link, and disable RSO,
but RSO isn't re-enabled when disconnect completed for vdev0 link in
same MLD existed, can't roam until next reconnect.

To fix it, When roamed from MLO to SLO, clean up vdev1 link, don't
disable RSO since it's internal disconnect, no wmi like vdev stop is
sent to F/W too, vdev1 is stopped by F/W already.

Change-Id: Ib83b15352e91cb8ef73fd42bc9a5e1c6181f4ea9
CRs-Fixed: 3844460
(cherry picked from commit ecbd818bb6)
2024-06-25 22:11:55 -07:00
Jianmin Zhu
b47081bdc9 qcacmn: Send RSO stop to assoc vdev before link vdev stop
RSO stop isn't sent to F/W before link vdev stop when MLO
disconnect, F/W will assert later

To fix it, Send RSO stop to assoc vdev before link vdev stop when MLO
disconnect.

RSO stop for internal link cleanup has no side effect, only RSO disable
clears the RCL in firmware.

Change-Id: Id11da42ebebf0d9966974cc913cf6618cea0cfbb
CRs-Fixed: 3835214
(cherry picked from commit b03b971b86)
2024-06-25 22:11:12 -07:00
Yuhui Zhao
0d15edc0e2 asoc: update curr_micbias2 val with mb->micb2_mv
Curr_micbias2 val should be same with mb->micba2_mv.
for some customers, their micbias is not 1800mv,
so we should set the curr_micbias as mb->micb2_mv which
was the actual micbias val the customer use.
remove the dev_up check from micbias, since with this check,
Headset may be detected as a incorrect type.

Change-Id: Ia5a1fd434a09617a57096531c69956479c69f079
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-06-26 12:52:10 +08:00
Nishant Pandey
38a7d22953 securemsm-kernel: smcinvoke: Decrement the server object ref count in mutex context
Decrement the smcinvoke server object refcount in mutex context so that
we never get an object which is being freed.

Change-Id: I16c9c7f2518e8f2d7749d4556f5c7bf2ef5878af
Signed-off-by: Nishant Pandey <quic_nishpand@quicinc.com>
2024-06-25 02:24:52 -07:00
Anjaneya Prasad Musunuri
0d9d979c76 disp: msm: sde: flush reg dma during encoder disable
Color features are disabled during encoder disable, but reg dma
flush is not triggered. This change does reg dma flush for the
features to be disabled during encoder disable.

Change-Id: Ia74d4c43ad7b699f0097b49d86ad59529c0b3230
Signed-off-by: Anjaneya Prasad Musunuri <quic_aprasad@quicinc.com>
2024-06-25 14:48:49 +05:30
QCTECMDR Service
89c5866e4b Merge "disp: msm: sde: factor qsync min fps in vblank time out" 2024-06-25 01:21:21 -07:00
QCTECMDR Service
87c86961c5 Merge "disp: msm: sde: fix cwb crop ctrl enablement flow" 2024-06-24 22:59:22 -07:00
Ravindra Konda
052b823b10 Release 5.2.1.91Q
Release 5.2.1.91Q

Change-Id: I0be71ca8b343fb9f98ad117e9ef8140efccf9d2a
CRs-Fixed: 774533
2024-06-24 20:30:11 -07:00
Jianmin Zhu
3f6e8cf491 qcacld-3.0: Allow to connect AP in denylist if no other candidate
If there is only 1 AP candidate, and it has been added to denylist by F/W,
it is not allowed to connect, it's bad user experience to end users.

To fix it, if there is only 1 AP candidate, and it has been added to
denylist by F/W, but deny reason is neither critical nor certificate
required, such as REASON_STA_KICKOUT, need allow user to connect it if no
other candidates.

Change-Id: I2ae66ceba943dcfbc927568684218b7120c1e490
CRs-Fixed: 3785252
2024-06-24 20:30:10 -07:00
Santosh
4cb6d58c44 dsp-kernel: Validate the CID before accessing the channel mutex
In the early stages of fastrpc_internal_invoke, we validate the user CID
and handle failure cases. However, in the error scenario, an invalid CID
can lead to issues when accessing the channel mutex. To prevent this, we
should validate the CID before accessing the channel mutex via fastrpc
user structure.

Change-Id: Ic1f7ae01a749b57c9b9e69210314d694ebcf300b
Signed-off-by: Santosh <quic_ssakore@quicinc.com>
2024-06-24 10:13:18 -07:00
Akash Gajjar
68257149e7 disp: msm: sde: factor qsync min fps in vblank time out
update kickoff timeout based on qsync minimum frame rate.

Change-Id: Ie9c80111bf5103fde0399921777ca64f76574a5a
Signed-off-by: Akash Gajjar <quic_agajjar@quicinc.com>
2024-06-24 18:16:50 +05:30
Santosh
a4afa6832a dsp-kernel: Validate the CID before accessing the channel mutex
In the early stages of fastrpc_internal_invoke, we validate the user CID
and handle failure cases. However, in the error scenario, an invalid CID
can lead to issues when accessing the channel mutex. To prevent this, we
should validate the CID before accessing the channel mutex via fastrpc
user structure.

Change-Id: Ic1f7ae01a749b57c9b9e69210314d694ebcf300b
Signed-off-by: Santosh <quic_ssakore@quicinc.com>
2024-06-24 04:46:59 -07:00
Srikanth Marepalli
348149d83b qcacmn: Sanitize skb before dereference
Sanitize skb before de-reference.

Change-Id: I6b810e6826f2ffd539bb822d497d3d9e45c0c0f8
CRs-Fixed: 3779961
2024-06-24 02:56:51 -07:00
Ravindra Konda
bb4e62a8a1 Release 5.2.1.91P
Release 5.2.1.91P

Change-Id: Ia9c3610fcefa60f60187ceb92c928e07f8e28401
CRs-Fixed: 774533
2024-06-24 02:55:41 -07:00
Srikanth Marepalli
1b974317d2 qcacld-3.0: Sanitize vdev before dereference
Sanitize vdev before de-reference.

Change-Id: Icb16de8be51f9fcf58f0c538453baa9146843a55
CRs-Fixed: 3779763
2024-06-24 02:55:41 -07:00
Srikanth Marepalli
0490cc922a qcacld-3.0: Sanitize tdls_vdev before dereference
Sanitize tdls_vdev before de-reference.

Change-Id: I098cf07546315e504da73b6f2d2480be9c026f4b
CRs-Fixed: 3779763
2024-06-24 02:55:35 -07:00
Srikanth Marepalli
542d78f42e qcacld-3.0: Sanitize dlm_entry before dereference
Sanitize dlm_entry before de-reference.

Change-Id: Ide6601738f8be3db08a3d3c82a441f0f295802d6
CRs-Fixed: 3779763
2024-06-24 02:55:30 -07:00
Ravindra Konda
e2855367df Release 5.2.1.91O
Release 5.2.1.91O

Change-Id: Ie4f27b99c37d857255f0f240a3dc3afc4401a783
CRs-Fixed: 774533
2024-06-21 06:40:18 -07:00
Chunquan Luo
e2660a5ccb qcacld-3.0: Update roam stats by event to user space
When roam happened in F/W and send roam stats to host driver,
host driver send these roam stats info to user space by event
without cache them.

Change-Id: I772c0a5035896715204f6eee277090ed1f33e97c
CRs-Fixed: 3790270
2024-06-21 06:40:18 -07:00
Akhil Jaiswal
79ec84f506 disp: msm: sde: fix cwb crop ctrl enablement flow
When partial fb is sent from userspace to dump only partial
frame roi, cwb crop feature needs to be enabled.
'commit fded005881
("disp: msm: sde: add support for CWB + single LM partial update")'
is overriding this crop ctrl enable bit. Due to this cwb xin is idle
always and wb timeouts are seen. Add changes to move the cwb setup
with false to happen early to fix overriding the crop ctrl enablement.

Change-Id: If187319d59026f43db71e6655a74bfd62acf2dc3
Signed-off-by: Akhil Jaiswal <quic_akhijais@quicinc.com>
2024-06-21 00:22:19 -07:00
QCTECMDR Service
562dff031d Merge "msm: ipa: Add additional cleanup in finish rt rule addition" 2024-06-21 00:08:26 -07:00
Abhishek Singh
dab8bb801d dsp-kernel: Handle the spinlock recursion
Currently, in print_debug_data, kref_put is being called inside the
global lock, and the same lock is taken in the release callback of
kref_put, leading to spinlock recursion. There is no need to get and
put the reference for the fastrpce file inside this function because
we have already taken the reference inside the update_ramdump_status
while adding the init memory entry to the chan->initmems list.
Moreover, the same list will be used in print_debug_data.

Signed-off-by: Abhishek Singh <quic_abhishes@quicinc.com>
Change-Id: Ifdc8b3e0c2bbc5cc4237eedaa24c8cd766262dfe
(cherry picked from commit 3463a894b8)
2024-06-20 23:58:54 -07:00
Rajathi S
34b885bf2f video: driver: Set Default session priority to high for volcano SKU1
- When the Client doesn't configure priority for a session
    set Default session priority to high for SKU1 device

Change-Id: I0d02b5da4294bbb92dad299db3f5487b5126d6b1
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-06-20 23:23:09 -07:00
QCTECMDR Service
0d143ad36a Merge "asoc: update the gnd mic swap for hsj connection" 2024-06-20 08:31:32 -07:00
Soutrik Mukhopadhyay
856ef8009f disp: msm: Check for hdr properties of connected receiver
This change checks for hdr capability of connected receiver based on
vsc support of the same. If vsc support is not present, the parsing of
hdr extented block is avoided.

Change-Id: I5db5d1fe3e287123241ade10b698bb32f430ec43
Signed-off-by: Soutrik Mukhopadhyay <quic_mukhopad@quicinc.com>
2024-06-20 05:36:12 -07:00
Jianmin Zhu
ecbd818bb6 qcacmn: Fix RSO stopped after roam from MLO to SLO
When roamed from MLO to SLO, clean up vdev1 link, and disable RSO,
but RSO isn't re-enabled when disconnect completed for vdev0 link in
same MLD existed, can't roam until next reconnect.

To fix it, When roamed from MLO to SLO, clean up vdev1 link, don't
disable RSO since it's internal disconnect, no wmi like vdev stop is
sent to F/W too, vdev1 is stopped by F/W already.

Change-Id: Ib83b15352e91cb8ef73fd42bc9a5e1c6181f4ea9
CRs-Fixed: 3844460
2024-06-19 22:18:13 -07:00
Linux Build Service Account
c1ff9cd986 Merge ad72bdf79c on remote branch
Change-Id: I9c81ac301bf77c8ceec02cac935ee64769eac3b4
2024-06-19 14:10:32 -07:00
Linux Build Service Account
cca263c03c Merge 61fc164aa6 on remote branch
Change-Id: Ib3e83e4e152f8cb76a7d429f8d637173c2fdc089
2024-06-19 08:01:56 -07:00
Linux Build Service Account
efb2e9b453 Merge 91e7a6d3a6 on remote branch
Change-Id: I864d24f21c259b705ee081b2886502c9f02ad992
2024-06-19 07:58:14 -07:00
Linux Build Service Account
1e18b6ca02 Merge d0a0b026b9 on remote branch
Change-Id: I06dda2e38f217ac728ace2eccfac703282a7bdeb
2024-06-19 07:58:06 -07:00
Linux Build Service Account
1241a14614 Merge e60f66098e on remote branch
Change-Id: I405f401ada053de520bc22955bd74dd646fc1fc5
2024-06-19 07:57:59 -07:00
Linux Build Service Account
c40698e611 Merge f3f5767b03 on remote branch
Change-Id: I6990293fdb7f5894eb84e0e4c48f6e3ab6b15c69
2024-06-19 07:57:49 -07:00
Linux Build Service Account
a167b03697 Merge 36906b6d5c on remote branch
Change-Id: I2839625dbfad36a27e164d0080fa1101795177f1
2024-06-19 07:57:19 -07:00
Linux Build Service Account
f1b09c1e95 Merge fa602270db on remote branch
Change-Id: I493c9683c51f14001c3302c8e494b604e5be7c96
2024-06-19 07:56:43 -07:00
Linux Build Service Account
4c19dbe07a Merge 200d4d359b on remote branch
Change-Id: I72903c7426a9db71350e383137d435122f727a3a
2024-06-19 07:49:48 -07:00
Linux Build Service Account
9b24b103d8 Merge 51c64ab0e1 on remote branch
Change-Id: Idb61b3e0a5a7bc7eb21c7a82137b67f85a4b9ee7
2024-06-19 07:49:18 -07:00
Linux Build Service Account
9744ba9b08 Merge 759abacde0 on remote branch
Change-Id: Ia910669b1ddfa301999f404b9c97fec3aeb72046
2024-06-19 06:28:29 -07:00
Linux Build Service Account
b6b35a89f6 Merge 8bdffe141e on remote branch
Change-Id: I692f9f775261a7dd0250e4f5ef41706ced7be3ab
2024-06-19 03:24:49 -07:00
Linux Build Service Account
5dc77bda32 Merge a7b13bf76d on remote branch
Change-Id: Ibe4b1b716dee741e8db0b105aa18acb2fe29de04
2024-06-19 02:09:08 -07:00
Jianmin Zhu
b03b971b86 qcacmn: Send RSO stop to assoc vdev before link vdev stop
RSO stop isn't sent to F/W before link vdev stop when MLO
disconnect, F/W will assert later

To fix it, Send RSO stop to assoc vdev before link vdev stop when MLO
disconnect.

RSO stop for internal link cleanup has no side effect, only RSO disable
clears the RCL in firmware.

Change-Id: Id11da42ebebf0d9966974cc913cf6618cea0cfbb
CRs-Fixed: 3835214
2024-06-19 00:44:30 -07:00
Ravindra Konda
02daca55fe Release 5.2.1.91N
Release 5.2.1.91N

Change-Id: I503214e8cf8267468204df0055cecfbf050e04e7
CRs-Fixed: 774533
2024-06-19 00:42:28 -07:00
Arun Kumar Khandavalli
86620d4a21 qcacld-3.0: Register EHT action frames for wake up
Currently the bitmap of action frames that can wake up the host
is sent via the wmi command WMI_WOW_SET_ACTION_WAKE_UP_CMDID.
This bitmap doesn't include EHT action frames so currently the
host doesn't wake up for EHT action frames.

Enable wake up for EHT action frames during runtime/system suspend.

CRs-Fixed: 3811796
Change-Id: I2c6ab7b7fba5572a02ff0db0f5198f2e9138a97e
2024-06-19 00:42:27 -07:00
Arun Kumar Khandavalli
47afce51f1 qcacld-3.0: Add ini config for enabling EPCS
Currently EPCS is enabled only via the vendor command hook,
add the ini configuration to enable/disable the EPCS

CRs-Fixed: 3838932
Change-Id: I1a887fa2a91dd68877d96169d39ea868ee675241
2024-06-19 00:42:21 -07:00