Графік комітів

31151 Коміти

Автор SHA1 Повідомлення Дата
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
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
Ravindra Konda
029e93145e Release 5.2.1.91M
Release 5.2.1.91M

Change-Id: Ie213abd1f3149dbe195c85f2009be803dcec9742
CRs-Fixed: 774533
2024-06-17 01:51:06 -07:00
Lin Bai
709d013002 qcacld-3.0: Enable DBAM feature for volcano
Enable DBAM feature for volcano.

Change-Id: I57a2b524a27326ca9e020600db2b82e16cc7ea96
CRs-Fixed: 3838631
2024-06-17 01:51:05 -07:00
Ravindra Konda
adb44df92c Release 5.2.1.91L
Release 5.2.1.91L

Change-Id: I60b61226f1b68bfc72bed678d194ef3d4c5530f5
CRs-Fixed: 774533
2024-06-13 03:12:32 -07:00
Shashank Reddy Vulupala
ab1073ae2d qcacld-3.0: Add NULL check for pmo_psoc_ctx
This change is to add NULL check for pmo_psoc_ctx.

Change-Id: I8e762fc344ce8ffba56b3fbb2f1b16c2215a0cc1
CRs-Fixed: 3776522
2024-06-13 03:12:32 -07:00
Shashank Reddy Vulupala
3ffb15e2b9 qcacld-3.0: Add NULL check for hif_ctx
This change is to add NULL check for hif_ctx.

Change-Id: Ie8d13e13a7dcb7071a2e492c4e34a26b96b01d1c
CRs-Fixed: 3776529
2024-06-13 03:12:21 -07:00
Ravindra Konda
a03f3479a8 Release 5.2.1.91K
Release 5.2.1.91K

Change-Id: I7a2d5466500b24907e11b4c992228bba8a5513b5
CRs-Fixed: 774533
2024-06-12 17:34:22 -07:00
Vinod Kumar Pirla
18cdbce177 qcacld-3.0: Clear copied connect ies from connect req
Active connection req fetch may allocate memory to copy the
connect IEs, free after use.

Change-Id: Ida4892cd9efef8a4ebfaf925908eedc19a3d9d7b
CRs-Fixed: 3832469
2024-06-12 17:34:21 -07:00
Ravindra Konda
1ba2470d35 Release 5.2.1.91J
Release 5.2.1.91J

Change-Id: Ib5edac32ff01eea8e8170853db41c0107fb2b9ec
CRs-Fixed: 774533
2024-06-12 15:30:43 -07:00
Jianmin Zhu
2b69562ed6 qcacld-3.0: Address race between ap stop and system suspend
A race between cfg80211 ap stop and wiphy system suspend can lead
to either DPM WD or serialization VDEV disconnect active command
timeout since scheduler thread gets suspended as part of wiphy
suspend and both cfg80211_disconnect and wiphy suspend/resume acquire
RTNL lock.
To address this race condition avoid ap stop when wiphy
suspend is already completed since scheduler thread gets suspended
as part of wiphy suspend and it can't process ap stop.

Change-Id: I5792b524a27326ca9e020600db2b82e16cc7ea96
CRs-Fixed: 3834305
2024-06-12 15:30:42 -07:00
Krupali Dhanvijay
727a1ebf9a qcacld-3.0: Pack TPE IE manually to avoid beacon malform
As part of 802.11be_D4.1 new param Ext Max Tx power is added
in TPE for 320 MHz and while packing the TPE IE in beacon frame
max tx power will be calculated based on max_tx_pwr_interpret.
And max_tx_pwr_interpret is filled irrespective of channel bandwidth
which leads to TPE IE length more than 9 for legacy case also.

Pack tpe ie manually to consider max_tx_pwr_interpret to calculate
tx power only for 320 MHz and legacy method for less than 320 MHz.

CRs-Fixed: 3750566
Change-Id: Ibacb634c24d08886ccf2848a8dc8e2ecdf6b247a
2024-06-12 15:30:38 -07:00
Ravindra Konda
32db3c49f4 Release 5.2.1.91I
Release 5.2.1.91I

Change-Id: Id47ed14d946b37672cfb458208306d018afb20ba
CRs-Fixed: 774533
2024-06-10 02:10:06 -07:00
Jianmin Zhu
9a5f598d02 qcacld-3.0: Fix SAP start delay issue
When driver mode is changed from other mode to mission mode, regulatory
update will happen, flag is_regulatory_update_in_progress is set.
country_change_work thread is used to clear the flag, if other threads
holding OP lock, the work thread exits without clearing flag
is_regulatory_update_in_progress. SAP start is
blocked until timeout later.

To fix it, if failed to update regulatory, country_change_work thread
clears flag is_regulatory_update_in_progress too.

Change-Id: I97440ec14e5153f44a6a1b6028eb8dd9e75ccb5d
CRs-Fixed: 3831855
2024-06-10 02:10:05 -07:00
Ravindra Konda
9114d54947 Release 5.2.1.91H
Release 5.2.1.91H

Change-Id: I8c0049c4b07bd072bb16c08cacefc6b78f443689
CRs-Fixed: 774533
2024-06-07 00:40:35 -07:00
Abhinav Kumar
f1b52bf46a qcacld-3.0: Handle ROAM_SYNC in RSO_STOPPED state
Currently if Host receives ROAM SYNC event in
RSO STOPPED state, Host drops ROAM_SYNC event and
fails to send ROAM COMPLETE response to FW. This
results assert in fw with reason ROAM COMPLETE
response timeout.

If ROAM SYNC come to host in below scenario:
1. HOST sends RSO stop command with scan mode 4,
   in order to process supplicant disabled roaming
   request
2. FW already queued the roam sync event before
   RSO STOP command receive from host
In this case host should send RSO STOP with
scan mode = 0 to FW. So that FW can stop roam sync
timer and change roam state to RSO STOP state
along with other internal cleanup in FW.

Change-Id: I8b25be98b30d7f8185d5f8dcd67a4b52f502fd37
CRs-Fixed: 3810436
2024-06-07 00:40:34 -07:00
Ravindra Konda
200d4d359b Release 5.2.1.91G
Release 5.2.1.91G

Change-Id: I4bd4cf0453a76271b98066f27bee67d0fdefc90d
CRs-Fixed: 774533
2024-06-05 03:26:42 -07:00
Liangwei Dong
897a0fac50 qcacld-3.0: Update gNeighborLookupThreshold INI comment
After the change in commit I75f0b76ae920c885a1150d95ea011e5612ef62fd,
the gNeighborLookupThreshold INI value will be a negative number. This
update ensures that the INI comment accurately reflects the change.

Additionally, existing INI files may still include a positive number
(e.g., 76). To maintain compatibility, the default value is updated to
-76 in case the INI files haven't been updated to use negative numbers.

Change-Id: I1c588fcbc5716d9efadf1272842d60a29c26eba6
CRs-Fixed: 3826341
2024-06-05 03:26:41 -07:00
Liangwei Dong
953d21b3e1 qcacld-3.0: Fix peer mac address invalid when delete peer
wma_self_peer_remove call wma_remove_peer with
del_vdev_req->self_mac_addr as peer mac address.
But wma_remove_peer still uses the pointer of self_mac_addr
to reference it after call wmi_unified_peer_delete_send.
Potentially the peer deleate event wma_peer_delete_handler
may come first and free the del_vdev_req memory.
In that case wma_remove_peer may access invalid memory,
wma_remove_objmgr_peer may fail to release the ref count on peer.

Fix by save del_vdev_req->self_mac_addr to local stack to
use it after send wmi_unified_peer_delete_send.

Change-Id: Idd9d765a13287144917d4774287da8b7ec4ea7ed
CRs-Fixed: 3815077
2024-06-05 03:26:32 -07:00
Ravindra Konda
48a53af6e6 Release 5.2.1.91F
Release 5.2.1.91F

Change-Id: I1ae62cfb6ebbf7552fa629ffa2c8ec026bbd34a4
CRs-Fixed: 774533
2024-06-03 10:20:26 -07:00
Asutosh Mohapatra
e31eec92a7 qcacld-3.0: Change max value for SET_KEEP_ALIVE_INTERVAL_LEGACY command
Change maximum value for SET_KEEP_ALIVE_INTERVAL_LEGACY command
to 255 as per new requirement.

Change-Id: Icfb7ec4700131685eb17feba4bf68e82bb2b6316
CRs-Fixed: 3830310
2024-06-03 10:20:26 -07:00
Ravindra Konda
c240ba5f6b Release 5.2.1.91E
Release 5.2.1.91E

Change-Id: I517987cc5d719bc19ba0549a6a6b54ff449f7fdc
CRs-Fixed: 774533
2024-06-03 02:20:49 -07:00
Krupali Dhanvijay
dd1a568e13 qcacld-3.0: Fix potential OOB read in lim_cu_info_from_rnr_per_link_id
Currently while fetching the cu info from rnr, data length is checked only
for max rnr element which leads to possible out-of-bound reads with
invalid information elements.

Add fix to update the data length checks in the while loop to ensure
sufficient bytes are there.

CRs-Fixed: 3754687
Change-Id: I93f2fbc21fc5adfd848ebb27264cc18f7f553438
2024-06-03 02:20:48 -07:00
Ravindra Konda
b10bc753f3 Release 5.2.1.91D
Release 5.2.1.91D

Change-Id: I1020ac67fabf51a63f2cb1d3af748821d7eac730
CRs-Fixed: 774533
2024-06-02 20:20:02 -07:00
Jianmin Zhu
dcb8aef352 qcacld-3.0: Add go_ignore_non_p2p_probe_req in probe rsp template
Add config to enable go ignore non-p2p probe req feature. If set,
don't need to send probe rsp to STA, hence save power.

Change-Id: I8b4776e4ffd1315bf30e210797b22a673cf2a6c2
CRs-Fixed: 3812361
2024-06-02 20:20:02 -07:00
Ravindra Konda
ab7e52fd17 Release 5.2.1.91C
Release 5.2.1.91C

Change-Id: Id6d20e3c1bd5ecf86a157c4cb2a5ea48f2677908
CRs-Fixed: 774533
2024-05-31 00:49:01 -07:00
Asutosh Mohapatra
33d2fdb523 qcacld-3.0: Handle self roam for legacy with caution
Currently while processing roam synch legacy case
is not handled properly for self-roaming case and
host is sending roam as it finds peer is
already attached to a vdev.

To address this issue don't send roam stop if peer
is attached to same vdev.

Change-Id: I75bbeb23e2b94458e0709b8b27178549c7104ea1
CRs-Fixed: 3690348
2024-05-31 00:49:00 -07:00
Ravindra Konda
498498c0f6 Release 5.2.1.91B
Release 5.2.1.91B

Change-Id: I2ab9a3df216c2e0e430744374488317048d5037b
CRs-Fixed: 774533
2024-05-30 23:53:41 -07:00
Surya Prakash Sivaraj
8cf3cbfcd7 qcacld-3.0: Fix set_mac_address failure
Host driver opens adapter with ML-support having 2 vdevs and
1 MLD self peer. Now, during runtime, the country changes to
a non-11be supported region. This is followed by a set mac
address request from userspace, but since the EHT support
is disabled due to country change, the driver tries to
lookup the self peer using link mac address. But, since the
peer is created using MLD mac, the set mac address fails
leading to issues with DP-peer creation during connection.

To fix this, remove the EHT capability check from the adapter
routine and look up the peers and mac address only based on
the ML adapter configuration.

Change-Id: Iaabdf6c6b59d3b168c719b6dc0afd272a5725912
CRs-Fixed: 3800291
2024-05-30 23:53:40 -07:00
Surya Prakash Sivaraj
3b8ce6fa19 qcacld-3.0: Populate proper channel width for HT40 STA
Currently, get_channel call doesn't consider the secondary
channel to compute the ccfs1. Therefore, in 2.4 GHz
HT40+/HT40- cases, get_channel returns wrong ccfs1.

To fix this, if STA connection is in HE/HT/EHT40 in 2.4 GHz,
then use secondary channel frequency for channel parameter
computation.

Change-Id: I44310192f8dcb5e02003f60b22fdae95d76a1870
CRs-Fixed: 3815126
2024-05-30 23:53:35 -07:00
Ravindra Konda
f26faf733d Release 5.2.1.91A
Release 5.2.1.91A

Change-Id: I258389da8e10cd3a71afed7350d15307de64ceeb
CRs-Fixed: 774533
2024-05-30 10:33:36 -07:00
Prasanna JS
ffdffc8735 qcacld-3.0: Add chipset stats for CSA event
Add chipset stats for CSA event

Change-Id: I933975c7cfe9cab8c75df77878f74ee47baeb75b
CRs-Fixed: 3804997
2024-05-30 10:33:35 -07:00
Ravindra Konda
60968cb9e2 Release 5.2.1.91
Release 5.2.1.91

Change-Id: I36f0fc12b5242080d4574784f868aa1eb9c38c5f
CRs-Fixed: 774533
2024-05-30 09:24:35 -07:00
Prasanna JS
d1e852ef32 qcacld-3.0: Fix missing NAN discovery enable chipset stats
os_if_cstats_log_nan_disc_enable_req_evt is defined but not
called when there is a NAN discovery enable event, this resulted
in missing of NAN discovery enable stats in the chipset stats

Fix this by calling os_if_cstats_log_nan_disc_enable_req_evt
when there is a NAN discovery enable event

Change-Id: Ic9610e01fb0449c5233d6e651c42d395cb1f21c5
CRs-Fixed: 3804972
2024-05-30 09:24:34 -07:00
Prasanna JS
59ec37bb05 qcacld-3.0: Fix missing time_tick val of TDLS chipset stats evt
Fix missing time_tick val of TDLS chipset stats events

Change-Id: Ie0050638979249936aade6d49aba86fd2c5efaf5
CRs-Fixed: 3804998
2024-05-30 09:24:29 -07:00
Prasanna JS
5a4b009a56 qcacld-3.0: Add chipset stats for deauth evt
Add chipset stats for deauth event when roam
is trgiggered due to deauth frame from AP

Change-Id: I21125d1fde5805a3893ff8d0f9ec2be49082f994
CRs-Fixed: 3804975
2024-05-30 09:24:24 -07:00
Prasanna JS
5e55c17777 qcacld-3.0: Add kernel ver check for pld_pcie_register_qmi_ind
Add kernel version check for pld_pcie_register_qmi_ind func

Change-Id: I2b12c2c614a16576578780a90aec244d4868f4ca
CRs-Fixed: 3804973
2024-05-30 09:24:18 -07:00
Ravindra Konda
e38aededab Release 5.2.1.90Z
Release 5.2.1.90Z

Change-Id: Id49627d9456665726de637dc60123b4e0182195c
CRs-Fixed: 774533
2024-05-29 10:29:43 -07:00
Arun Kumar Khandavalli
8a2760bbc5 qcacld-3.0: get the hif handle directly rather than with spinlock
Currently nack status is read using the pmo lock with bottom half
disabled, but if the wow wakeup irq is triggered at the sametime
it is waiting for the same psoc lock resulting in the dead lock.

Hence get the hif handle directly rather than with spinlock api.

CRs-Fixed: 3798619
Change-Id: Ic2d5cd07c2dafb525003ec7e9e02bc17d0876dd0
2024-05-29 10:29:42 -07:00
Ravindra Konda
ddd31e98e1 Release 5.2.1.90Y
Release 5.2.1.90Y

Change-Id: I3df06bfd654de71ca5a30194c3115fa11f15190a
CRs-Fixed: 774533
2024-05-29 04:22:41 -07:00
Abhinav Kumar
99708500c0 qcacld-3.0: Update correct chan info to kernel
Scenario here is:
1. AP configured in 320 MHz
2. Set country code = KR in DUT, It means DUT does not
   support connection in 320 MHz.
3. Trigger connection with AP, while processing driver
   founds, country code is KR, so downgraded connected
   channel with to next max supported channel width as
   per regulatory rule (which is 160 MHz here) and
   successfully associated with AP in 160 MHz.
4. After connection Host receives “get_channel” request
   from kernel.
5. Host gets currently connected BSSID and fetch
   corresponding channel information from scan cache.
6. As scan cache gets updated via beacon/probe response
   from AP and here advertise beacon/probe response in
   320 MHz. This results value of channel width for
   connected BSSID is 320 MHz and same host fill in
   get_channel response.
7. By this time driver connected in 160 MHz and
   connected channel width indicated to kernel is 320 MHz.
   Due to mismatch in channel width, kernel triggered
   disconnection.

Fix is to update connected channel width in response to
“get_channel” request.

Change-Id: I7c4a262d337f9deb8cb4436cae537d0069a98de1
CRs-Fixed: 3810073
2024-05-29 04:22:40 -07:00
Ravindra Konda
b6d1057c2a Release 5.2.1.90X
Release 5.2.1.90X

Change-Id: I268a2e711094d48a1be38dee39efed1b4c4039ba
CRs-Fixed: 774533
2024-05-28 01:23:01 -07:00
Shashank Reddy Vulupala
ff2309615f qcacld-3.0: Add NULL check for vdev
Pointer returned from tdls_process_mlo_choice_tdls_vdev can be
NULL. Add NULL check to avoid dereference.

Change-Id: Ibd7f8914a721517d7b959b864c033686b1160648
CRs-Fixed: 3757772
2024-05-28 01:23:00 -07:00
Shashank Reddy Vulupala
7be3bd7509 qcacld-3.0: Add check for station count
This change is to check for station count with maximum
number of concurrent connections.

Change-Id: I539ae0b78deadf5e514f00d57542b4dd871e0e4e
CRs-Fixed: 3776536
2024-05-28 01:22:55 -07:00