提交線圖

26913 次程式碼提交

作者 SHA1 備註 日期
Lin Bai
ec1ac7d8cf qcacld-3.0: Sanitize extn_eids before dereference
Sanitize extn_eids before de-reference.

Change-Id: I08a13fe785ebbf66f7ec3394d7aa72f685438619
CRs-Fixed: 3667854
2024-05-21 00:53:30 -07:00
Ravindra Konda
8c521e2828 Release 5.2.1.90L
Release 5.2.1.90L

Change-Id: I583f559407ddd25d0ca31b63b6597bf6d017ec2b
CRs-Fixed: 774533
2024-05-20 00:32:59 -07:00
Ravindra Konda
39c9744f9d Release 5.2.1.90K
Release 5.2.1.90K

Change-Id: I334ef84dc7b89b6911427b1dbe37d688c68795c5
CRs-Fixed: 774533
2024-05-19 22:59:42 -07:00
Jianmin Zhu
d8a41ba33c qcacld-3.0: Fix vdev WLAN_LEGACY_WMA_ID ref leak
If dyn_modulated_dtim enabled and activated, vdev WLAN_LEGACY_WMA_ID ref
leak may happen in wma_add_sta_req_sta_mode.

To fix it, release vdev ref in all cases in wma_add_sta_req_sta_mode.

Change-Id: Ib1d8262760fdc644a382c1405cdfda8498703440
CRs-Fixed: 3716752
2024-05-19 22:59:41 -07:00
Ravindra Konda
f61613e27f Release 5.2.1.90J
Release 5.2.1.90J

Change-Id: Ieb8b6c93074837d96f908c5641a14c63ff516633
CRs-Fixed: 774533
2024-05-19 08:26:13 -07:00
Jianmin Zhu
7bdd7e798e qcacld-3.0: Set link speed as 0 for inactive mlo link
For mlo inactive links, F/W always set RSSI as -128, but report good old
link speed to host which doesn't match RSSI.
To fix it, when RSSI is -128, keep rate and links speed as 0, don't fill
old link speed from F/W.

Change-Id: I38562e724aa751ffaaad05a753fd479339468c62
CRs-Fixed: 3804884
2024-05-19 08:26:12 -07:00
Ravindra Konda
73e822f3d3 Release 5.2.1.90I
Release 5.2.1.90I

Change-Id: I7da148b52d7f8d733695a54bb5dff485180c7179
CRs-Fixed: 774533
2024-05-17 15:11:00 -07:00
Asutosh Mohapatra
288a41b8e8 qcacld-3.0: Apply cached KEEPALIVE interval after STA connection
Currently host rejects SET_KEEP_ALIVE_INTERVAL command if STA
is not connected. Instead of rejcting cache the KEEPALIVE
interval and apply after STA connection.

Change-Id: Ic45bceb6248f37afd2ab6348545a8c1eeb9e56d0
CRs-Fixed: 3814077
2024-05-17 15:10:52 -07:00
Ravindra Konda
30fe20447c Release 5.2.1.90H
Release 5.2.1.90H

Change-Id: I3b8b45ed84b03f36d8074fe695d7e3886a095198
CRs-Fixed: 774533
2024-05-17 14:02:07 -07:00
Venkateswara Naralasetty
eb80f86a02 qcacld-3.0: log imps state during imps WMI cmd send
Currently there is no way to know the last imps state sent from host
to FW in case of WMI history overwritten, hence log the imps state
during WMI_PDEV_PARAM_IDLE_PS_CONFIG command send from
wma_enable_disable_imps().

Change-Id: I0e6605ce35d24a26b4056acc9864dbeefe0b53a9
CRs-Fixed: 3730533
2024-05-17 14:02:06 -07:00
Pragaspathi Thilagaraj
06894c9f62 qcacld-3.0: Use proper GFP flags for CFR vendor event allocation
GFP_KERNEL flag is used for vendor event allocation. But the
event is handled in IRQ context. So when kernel tries to
sleep while doing and event skb allocation, assert happens.

Pass the GFP flags based on the context in which allocation
is done.

Change-Id: Id58e417dc2ff203c512a14f06cd31b64e1834ef1
CRs-Fixed: 3812694
2024-05-17 14:01:55 -07:00
Chaoli Zhou
1fee2fd0aa qcacld-3.0: Support EAPOL over Netlink
Support EAPOL send/receive over netlink, and meanwhile
add new function to update the source address of EAPOL
for the legacy wlan client in the mlo sap case.

Change-Id: I138f6f8367501771149929f90b8ff31eeafc8b11
CRs-Fixed: 3693871
2024-05-17 14:01:43 -07:00
Ravindra Konda
bb68399e4d Release 5.2.1.90G
Release 5.2.1.90G

Change-Id: I44ad3d74c825e785d4da74a08b3dde591350853e
CRs-Fixed: 774533
2024-05-16 18:09:35 -07:00
Jianmin Zhu
f5936bf8d8 qcacld-3.0: Add SAP iface number check when iface up
If 3 SAP virtual iface are created first, then up, 3 MLD is
created during 3 vdev created, but 3rd failed to added to
g_mlo_ctx->ml_dev_list for WLAN_UMAC_MLO_MAX_DEV limit, when the vdev
deleted, assert will happen when remove MLD from g_mlo_ctx->ml_dev_list.

To fix it, need avoid the active number of SAP interface exceed
QDF_MAX_NO_OF_SAP_MODE, need add check when up SAP interface.

Change-Id: I0ba78d589dfc3c6351b48d4790e15c7d9da4961c
CRs-Fixed: 3795974
2024-05-16 18:09:35 -07:00
Ravindra Konda
02966c9b2c Release 5.2.1.90F
Release 5.2.1.90F

Change-Id: I81019a42005bbd2b04163027d9e82da84c4401a4
CRs-Fixed: 774533
2024-05-16 06:44:02 -07:00
Prasanna JS
d40cd31625 qcacld-3.0: Fix uninitialized pointer used issue
'sta_self_wmi_rsp' pointer might be used uninitialized
in wma_self_peer_remove func, To fix this issue,
initialize 'sta_self_wmi_rsp' to NULL

Change-Id: I8c6a0ebd8820ac0e1c303b9a932c7f8a8aadc1be
CRs-Fixed: 3687608
2024-05-16 06:44:01 -07:00
Ravindra Konda
d7d4d8c399 Release 5.2.1.90E
Release 5.2.1.90E

Change-Id: I893dbe5c11341c83ec4fd3a190cea2d5131d38e1
CRs-Fixed: 774533
2024-05-16 04:24:56 -07:00
Asutosh Mohapatra
35a44a585c qcacld-3.0: Set KEEPALIVE interval for connected ml vdevs
As part of SET_KEEP_ALIVE_INTERVAL command host configures
KEEPALIVE interval only for assoc vdev only and fails to
reset for assoc vdev during disconnect as partner vdev is
disconnected first this value gets reset during partner vdev
disconnection.

To address this issue set KEEPALIVE interval for all connected
vdevs and reset for both assoc and partner vdev during
disconnection.

Change-Id: Ib7d4e3208afa4d4a53f015cf8317d5e6f870daa3
CRs-Fixed: 3805847
2024-05-16 04:24:55 -07:00
Asutosh Mohapatra
cf626e1a3c qcacld-3.0: Reconfigure KEEPALIVE interval after link switch
As part of SET_KEEP_ALIVE_INTERVAL command host configures
KEEPALIVE interval for connected ml vdevs and resets to
default value as part of disconnect. In case of disconnect
as part of link repurpose host resets KEEPALIVE interval
and fails to set in connect case.

To address this issue, don't reset KEEPALIVE interval
incase of link repurpose and set it after connection.

Change-Id: Ia62109ceb32740844cfef3ef975ab15492e64b8c
CRs-Fixed: 3805788
2024-05-16 04:24:47 -07:00
Ravindra Konda
b2bf122f91 Release 5.2.1.90D
Release 5.2.1.90D

Change-Id: Ib79966e8bd7862e7ac8f4011ae4a2fe422f9e226
CRs-Fixed: 774533
2024-05-15 03:33:15 -07:00
Surya Prakash Sivaraj
08667d40c4 qcacld-3.0: Remove use-after-free of frame in tx mgmt send
The tx completion handler for the frame frees the buffer.
Therefore, usage of frame after tx completion causes undesired
effect.

Remove the dereference of tx frame buffer contents in
lim_tx_mgmt_frame() after the tx completion.

Change-Id: I32211e1bce4f96ba920a2212ef65aa39831666ab
CRs-Fixed: 3772014
2024-05-15 03:33:14 -07:00
Ravindra Konda
a461dcc111 Release 5.2.1.90C
Release 5.2.1.90C

Change-Id: Idd04b88793a47bf34f723ae67846765861d691d5
CRs-Fixed: 774533
2024-05-15 00:44:45 -07:00
Abhinav Kumar
6cc31cba53 qcacld-3.0: Support single PMK feature for AKM SAE_EXT_KEY
If host founds below all conditions are true:
1. Connected AP sends CCX IE in beacon/probe response
2. single PMK feature enabled via ini
   "sae_single_pmk_feature_enabled"
3. And current connection is SAE with AKM type
   WLAN_CRYPTO_KEY_MGMT_SAE_EXT_KEY or
   WLAN_CRYPTO_KEY_MGMT_SAE

Then host should mark connected AP supports
"single PMK feature" and update same to FW via RSO
command.

Change-Id: I831cfefb60271b03e5c5cbdfde0bd5277ee116e0
CRs-Fixed: 3795133
2024-05-15 00:44:44 -07:00
Ravindra Konda
606f641f70 Release 5.2.1.90B
Release 5.2.1.90B

Change-Id: Ibc581cd260d518c9eb3f6bf9565f889f84ff3368
CRs-Fixed: 774533
2024-05-14 05:02:52 -07:00
Balaji Pothunoori
1b80f4f622 qcacld-3.0: initialize structure parameters before use
Currently bool values are not initialized and results
in unexpected values for bool variables,
Hence this change is to initialize structure to
NULL before use.

Change-Id: I07ec3880d35441d3dc84eaa44640ad07eba0b3c9
CRs-Fixed: 3800965
2024-05-14 05:02:52 -07:00
Ravindra Konda
dab81942a7 Release 5.2.1.90A
Release 5.2.1.90A

Change-Id: I123a60e82ff8014f08a44a6d9f11ba4392e5dbe7
CRs-Fixed: 774533
2024-05-14 00:35:18 -07:00
Surya Prakash Sivaraj
99ad149bb6 qcacld-3.0: Allow firmware to auto detect tx bssid
In the case of of 5 GHz + non-tx 6 GHz MLO connection, the scan entry
generated from the ML-probe might not carry MBSSID information of the
non-tx partner. The RNR of the assoc link will also not be inherited.
Therefore, the mbssid info is not generated for this non-tx 6 GHz scan
entry. In such cases, if there is a vdev restart, host driver sends zero
mac address in trans bssid, leading to issues with connection.

To fix this:
1. Look up the RNR db for the 6 GHz link, and determine if the bss param
corresponding to the bssid is non-tx MBSSID.
2. If it is a non-tx MBSSID and there is no mbssid info in the scan cache,
then configure the tx-bssid as broadcast mac.
3. This allows the firmware to auto-detect the tx bssid from the upcoming
beacons.
4. Also, save the neighbor entries from the beacon/probes received from
the firmware during roam sync and other events to facilitate the look-up.
5. If there is no existing entry for the roamed non-tx link, then caching
the neighbor info from the assoc partner link would store the valid entry
into the rnr db.

Change-Id: Ie5ef03fc8504cd63f6db98d2ce4af7eb5c2d7e00
CRs-Fixed: 3789675
2024-05-14 00:35:17 -07:00
Ravindra Konda
e151bf3d8b Release 5.2.1.90
Release 5.2.1.90

Change-Id: Ie62c9e48a0b52afd7d3f54e63d9f7d532d6c6bb3
CRs-Fixed: 774533
2024-05-07 02:00:14 -07:00
Ravindra Konda
095cf5e962 Release 5.2.1.89Z
Release 5.2.1.89Z

Change-Id: I6592be70aa3484a637a0bd9741697f3519621407
CRs-Fixed: 774533
2024-05-06 00:53:29 -07:00
Vinod Kumar Pirla
9bab9cd8c2 qcacld-3.0: Enable peer trasition history by default
Enable peer transition history by default and remove
the compile time flag.

Change-Id: Idcce6f5e418d4e4571caaadce07d787c0deaecd8
CRs-Fixed: 3774914
2024-05-06 00:53:29 -07:00
Ravindra Konda
bdb82f09ee Release 5.2.1.89Y
Release 5.2.1.89Y

Change-Id: I1667d8af20e00c656c228118ea4114bde368d1c4
CRs-Fixed: 774533
2024-05-05 23:16:04 -07:00
Pragaspathi Thilagaraj
86769c359e qcacld-3.0: Extract channel info from EHT OP IE to fill PE session
After roaming to 11BE 320 MHz EHT AP, the channel width is wrongly
updated as 40 MHz in newly created pe_session. This causes wrong
channel info to be sent to kernel in the get sta channel request
and could result in disconnection. In lim_fill_ft_session(),
the chan_width is updated from VHT OP or Vendor VHT OP IE only
currently. But in 6 GHz EHT 320 mode, the VHT OP IE will not be
present and default 40 MHz is assigned.

So extract the channel info from EHT OP IE and use that to fill
the ft pe session created after roaming

Change-Id: I81b52391e69dfe87b103ca1ee90dd9658f02273a
CRs-Fixed: 3746276
2024-05-05 23:16:03 -07:00
Ravindra Konda
3b3fbdfce4 Release 5.2.1.89X
Release 5.2.1.89X

Change-Id: I143c86de99d1aa73629e086856a9b15bea063ae9
CRs-Fixed: 774533
2024-05-03 01:34:18 -07:00
Vijay Raj
4a8ee774c7 qcacld-3.0: Fix NSS update during TDLS setup
Fix NSS update during TDLS setup, by calling HDD API.

Change-Id: I0a27fca151f72f64460bd7cbca8d803ade81bd10
CRs-Fixed: 3796099
2024-05-03 01:34:17 -07:00
Ravindra Konda
e2cde6e2fc Release 5.2.1.89W
Release 5.2.1.89W

Change-Id: I8260d3ee757db98d97171e6e876bd33d52a8458f
CRs-Fixed: 774533
2024-05-02 07:50:55 -07:00
Liangwei Dong
f76b0dae55 qcacld-3.0: Add NULL check for tpc_level
Add NULL ptr check for tpc_level and tpc_attr.

Change-Id: I12f25f875517418efd3566747ae191ad343f153e
CRs-Fixed: 3714146
2024-05-02 07:50:43 -07:00
Ravindra Konda
b36c9edef8 Release 5.2.1.89V
Release 5.2.1.89V

Change-Id: I3cb24d64164bb7386503e04a9716c90bd5ef9bce
CRs-Fixed: 774533
2024-05-02 06:45:03 -07:00
Manoj Shanmugam
3798d44679 qcacld-3.0: Add null check for mac
Pointer mac is returned from function cds_get_context which might return
NULL. So NULL check for mac pointer is added before dereferencing it.

Change-Id: I9258dc625144650c077fd457827fc24610732b77
CRs-Fixed: 3746451
2024-05-02 06:45:02 -07:00
Ravindra Konda
1da365efd5 Release 5.2.1.89U
Release 5.2.1.89U

Change-Id: I91acdd3b605f1569baeccf7bd37bfbb4f4be66d4
CRs-Fixed: 774533
2024-05-02 01:10:00 -07:00
Ravindra Konda
fa303d4954 Release 5.2.1.89T
Release 5.2.1.89T

Change-Id: I2dea159ff4ae1dc9238fd12239bbeb2ac71ecb4f
CRs-Fixed: 774533
2024-05-01 12:19:59 -07:00
Ravindra Konda
d9b0f13b14 Release 5.2.1.89S
Release 5.2.1.89S

Change-Id: I6a4121c281c776f0a20d85dddfea214dff6fdf8d
CRs-Fixed: 774533
2024-05-01 10:40:31 -07:00
Ravindra Konda
ff5b1e229f Release 5.2.1.89R
Release 5.2.1.89R

Change-Id: Ia04ee006387f57bd4ef33801215dfcf986570457
CRs-Fixed: 774533
2024-04-29 06:47:02 -07:00
Asutosh Mohapatra
f1b4ea31ad qcacld-3.0: Add sta keep alive interval cmd support
Add support to dynamically set keep alive interval
for STA interfce.

Change-Id: I9aceaa03866f819e5ea169778a57feff053a39d6
CRs-Fixed: 3795405
2024-04-29 06:47:01 -07:00
Ravindra Konda
84557de6e4 Release 5.2.1.89Q
Release 5.2.1.89Q

Change-Id: Ia6fd4ca53775b3b80143810d08098503146828a2
CRs-Fixed: 774533
2024-04-26 09:45:33 -07:00
Surya Prakash Sivaraj
772f0d19e4 qcacld-3.0: Send RSO start/stop for CSA
Host driver doesn't disable RSO before restarting the vdev
for fw-initiated as well host-initiated CSA or BW change for
link vdev. Therefore, if the FW is in middle of roam(for host
initiated CSA) cases, this restart leads to race condition in FW.

Add a new reason code for VDEV restarts triggered due to CSA,
enable/disable the RSO SM based on this new reason code for
assoc as well as partner links.

Change-Id: I48925d76df62bb1c60f212048b95c434af18042f
CRs-Fixed: 3770973
2024-04-26 09:45:32 -07:00
Ravindra Konda
3ea4769e8d Release 5.2.1.89P
Release 5.2.1.89P

Change-Id: Ibb300a3bebfbdf5c6917a4002d2dd90291ed958c
CRs-Fixed: 774533
2024-04-25 10:10:57 -07:00
Vijay Raj
847c26d19d qcacld-3.0: Avoid NSS and Antenna mode change during TDLS connection
In the api hdd_set_nss_params() and hdd_set_antenna_mode()
change in nss parameter or antenna mode cause the TDLS
teardown.

Add a check in api hdd_set_nss_params() and
hdd_set_antenna_mode() to prevent change in parameter
if there is a existing TDLS connection.

Change-Id: I8a58b8b0a617a8de490907e4c3181b15d90e0dbb
CRs-Fixed: 3789892
2024-04-25 10:10:56 -07:00
Ravindra Konda
86a2632fa2 Release 5.2.1.89O
Release 5.2.1.89O

Change-Id: I50d55b2b8c093f0f34a9cf535e1ec37e197f2b63
CRs-Fixed: 774533
2024-04-23 07:47:46 -07:00
Prasanna JS
c366e42408 qcacld-3.0: Fix missing semicolon compilation error
Fix missing semicolon compilation error

Change-Id: I0b9092dbfbced656c518dcafb7394cb37f4cc6ef
CRs-Fixed: 3794351
2024-04-23 07:47:45 -07:00
Rachit Kankane
46a74af7d5 qcacld-3.0: Add PLD support for QMI Indication
Add PLD APIs to register callback for QMI Indication via CNSS2

Change-Id: I5a92250bf349b2b94e3ed74ed0b420f96c2c7461
CRs-Fixed: 3786384
2024-04-23 07:47:36 -07:00