Gráfico de commits

28225 Commits

Autor SHA1 Mensagem Data
Madan Koyyalamudi
ea13440a5f Release 5.2.1.56V
Release 5.2.1.56V

Change-Id: I70e89197d0c85bceb2c75a3397314159a44f7fb9
CRs-Fixed: 774533
2023-02-28 16:56:57 -08:00
Liangwei Dong
cd92f3902a qcacld-3.0: Do not ACS optimize on DFS channel
DFS channel always has lowest preference when do ACS
channel selection.

Change-Id: Ia551cbca90629f0fefc79d4e4647f6a4d070e3de
CRs-Fixed: 3415611
2023-02-28 16:56:56 -08:00
Madan Koyyalamudi
b9848a522e Release 5.2.1.56U
Release 5.2.1.56U

Change-Id: If0b2b3cf3db223ab6fc951d80a54f420951fc9f9
CRs-Fixed: 774533
2023-02-27 20:53:41 -08:00
Bing Sun
ce30288d9b qcacld-3.0: Fix HE capability miss in LFR2 reassoc request
When filling ft session in lim_fill_ft_session, eht_config and he_config
should be copied just like what we do in lim_fill_pe_session.

Otherwise there is no HE capability IE in reassoc request for LFR2.

Change-Id: Ib0ad7fc5b43ee0fa122ac9d014e8c614f0661d7e
CRs-Fixed: 3412832
2023-02-27 20:53:41 -08:00
Madan Koyyalamudi
fc6723243c Release 5.2.1.56T
Release 5.2.1.56T

Change-Id: Iaa528c509b8ef1889a890e5dd40ec3fb6428e085
CRs-Fixed: 774533
2023-02-27 19:29:58 -08:00
Arun Kumar Khandavalli
04460763ae qcacld-3.0: Don't take psoc lock while check for objmgr leaks
While forcefully releasing the reference leaks driver is taking a
psoc lock and forcefully releasing the object references, which
in turn try to acquire the same lock resulting in deadlock.

Don't take psoc lock while forcefully releasing the psoc lock.

Change-Id: I25d2c84f66927888220ecd61e7fa5c6137002069
CRs-Fixed: 3414339
2023-02-27 19:29:58 -08:00
Madan Koyyalamudi
72a258b50d Release 5.2.1.56S
Release 5.2.1.56S

Change-Id: I3dd951821b56921d35aad9f5d65298404146e48d
CRs-Fixed: 774533
2023-02-27 00:13:05 -08:00
Ashish Kumar Dhanotiya
a9d997e83a qcacld-3.0: Do not consider wakeup from runtime PM to trigger SSR
Currently host driver considers wakeup from runtime PM because
of pagefult as well to trigger the SSR. Based on new requirement
do not consider wakeup from runtime PM to trigger the SSR.

Change-Id: I61837ee876fffa33d56035ee41c8e8a2b68e8ca7
CRs-Fixed: 3402848
2023-02-27 00:13:05 -08:00
Jeff Johnson
a8d5cd0905 qcacld-3.0: Fix misspelling "partiular"
Fix misspelling "partiular" in ani_global.h.

Change-Id: I8f4f245c83d69f7c73cfdce048f6e4674f2d17c6
CRs-Fixed: 3417366
2023-02-27 00:12:56 -08:00
Madan Koyyalamudi
14f22c7838 Release 5.2.1.56R
Release 5.2.1.56R

Change-Id: I61ad298f42d4fd2d25d2e4a7135780b3cbe09e59
CRs-Fixed: 774533
2023-02-26 21:30:02 -08:00
Bing Sun
74bdded6d9 qcacld-3.0: Initialize variable before using it
In hdd_wmm_classify_pkt_cb, local variable user_pri and is_critical
should be initialized in hdd_wmm_classify_pkt_cb. we can't expect
hdd_wmm_classify_critical_pkt to do it.

Invalid user_pri is set to skb->priority because user_pri and
is_critical is not initialized.

Change-Id: I6d57251bcb8c7bc3d0f031f2d9b127e3e16d1b47
CRs-Fixed: 3408478
2023-02-26 21:30:01 -08:00
Madan Koyyalamudi
5ec946968c Release 5.2.1.56Q
Release 5.2.1.56Q

Change-Id: Ib18ce359ef2b579ad8fb927efe541afb97eb5f68
CRs-Fixed: 774533
2023-02-25 01:29:13 -08:00
Mohammed Ahmed
69e6d64b64 qcacld-3.0: add rtpm stats sysfs functionality
Current code allows for viewing Runtime PM stats via debugfs only.
Fix this by adding sysfs viewing functionality.

Change-Id: I2b439f0bb608292dc1390a5529f9dc287b7262bc
CRs-Fixed: 3414306
2023-02-25 01:29:13 -08:00
Madan Koyyalamudi
244a193a16 Release 5.2.1.56P
Release 5.2.1.56P

Change-Id: I8a0782ed9d5ba7d38d5781a2928813847722ee70
CRs-Fixed: 774533
2023-02-24 17:52:03 -08:00
Ananya Gupta
988ceaccd5 qcacld-3.0: Deinit DP TXRX module when rx thread init fails
DP TXRX module is not cleaned when DP Rx thread init failed
To fix this, when DP Rx thread init fails, free DP TXRX module
as part of failure sequence.

Change-Id: I311b84a76036c8dd1e60b9f8c653fc126e031543
CRs-Fixed: 3413933
2023-02-24 17:52:03 -08:00
Tiger Yu
b995298539 qcacld-3.0: Potential out of memory access when call add_sbs_chlist_to_pcl
Limit num_channels to be less than NUM_CHANNELS to fix potential
out of memory access when calling add_sbs_chlist_to_pcl in the
policy_mgr_get_channel_list.

Change-Id: I58fdbc67b7692c7d1dff5aca6cbd6dc67115a65c
CRs-Fixed: 3416540
2023-02-24 17:51:58 -08:00
Tiger Yu
9c48e118d7 qcacld-3.0: Enable delayed peer obj freed feature in the default config
Define the CONFIG_FEATURE_DELAYED_PEER_OBJ_DESTROY to enable peer obj
freed in a delayed work item to avoid any potential scheduling in the
atomic context.

It might invoke wakeup_source_unregister in the peer obj destroy handler
which happens in the atomic context to cause scheduling timeout issue.

Here is the call trace without enabling this flag:
Call trace:
 dump_backtrace.cfi_jt+0x0/0x8
 dump_stack_lvl+0x80/0xb8
 __schedule_bug+0x80/0x134
 __schedule+0x75c/0xacc
 schedule+0x110/0x204
 schedule_timeout+0x48/0x138
 wait_for_common+0x14c/0x314
 __synchronize_srcu+0x13c/0x1e4
 synchronize_srcu+0x2d4/0x414
 wakeup_source_unregister+0xd8/0x1c4
 mlme_peer_object_destroyed_notification+0x3c/0x1ac [kiwi_v2]
 wlan_objmgr_peer_release_ref+0x218/0x300 [kiwi_v2]
 dp_softap_inspect_tx_eap_pkt+0x24c/0x29c [kiwi_v2]
 dp_softap_notify_tx_compl_cbk+0xa4/0xa8 [kiwi_v2]
 dp_tx_comp_process_tx_status+0x28c/0xa90 [kiwi_v2]
 dp_tx_process_htt_completion_be+0x2f4/0x4f4 [kiwi_v2]
 dp_tx_comp_handler+0x5dc/0xaa8 [kiwi_v2]
 dp_service_srngs+0x114/0x4fc [kiwi_v2]
 hif_exec_poll+0xd8/0x3c0 [kiwi_v2]
 __napi_poll+0x64/0x268
 net_rx_action+0x11c/0x3a0
 _stext+0x16c/0x5e4
 __irq_exit_rcu+0x74/0x140
 handle_domain_irq+0xd4/0x154
 gic_handle_irq.33723+0x54/0x2bc
 call_on_irq_stack+0x40/0x70
 do_interrupt_handler+0x44/0xa0
 el1_interrupt+0x34/0x64
 el1h_64_irq_handler+0x1c/0x2c
 el1h_64_irq+0x7c/0x80
 cpuidle_enter_state+0x3b4/0x87c
 do_idle+0x300/0x5a0
 cpu_startup_entry+0x84/0x90
 kernel_init+0x0/0x36c
 start_kernel+0x0/0x61c
 start_kernel+0x500/0x61c
 __primary_switched+0xc4/0x7a7c
bad: scheduling from the idle thread!

Change-Id: Icee1ef30380418596711ef54a95f3286287e1cdd
CRs-Fixed: 3412052
2023-02-24 17:51:53 -08:00
Madan Koyyalamudi
24a219a701 Release 5.2.1.56O
Release 5.2.1.56O

Change-Id: Iaeefa483c3c98d543159a97546d4a445f84bc583
CRs-Fixed: 774533
2023-02-24 15:51:21 -08:00
sandhu
4cdcb49268 qcacld-3.0: Convert static allocation to dynamic
Resolve stack frame size exceeding issue.
Convert static allocation of structure to
dynamic allocation.

Change-Id: I3b9ecf28d19d5816e357e99a3da16d2737153b92
CRs-Fixed: 3414350
2023-02-24 15:51:20 -08:00
Madan Koyyalamudi
898cf228f2 Release 5.2.1.56N
Release 5.2.1.56N

Change-Id: Iaf810cc5bfd5bea9b44251f91814b6e0b55de51f
CRs-Fixed: 774533
2023-02-24 13:50:50 -08:00
Jeff Johnson
d7b990f057 qcacld-3.0: Fix misspelling "attrributes"
Fix misspelling of "attributes" in wlan_hdd_twt.c.

Change-Id: Ic9efbbc7b78f7e737be87712ed80978b7f42f13e
CRs-Fixed: 3414849
2023-02-24 13:50:50 -08:00
Paul Zhang
afd194fb4e qcacld-3.0: Correct logic for roam fails in NUD case
If roaming is triggered by source CM_ROAMING_NUD_FAILURE,
then per the INI gEnableNUDTracking to check whether
disconnect current connection or not.
gEnableNUDTracking=2, keeping the connection
gEnableNUDTracking=3, disconnect the connection

Change-Id: I0f321dcf5f3fc1bf7d0c93fa0d70bf4770ccaf35
CRs-Fixed: 3412213
2023-02-24 13:50:44 -08:00
Madan Koyyalamudi
7d47235fc2 Release 5.2.1.56M
Release 5.2.1.56M

Change-Id: I244e9d9f9dcae216d895939980742b4fca48a7e6
CRs-Fixed: 774533
2023-02-24 08:49:06 -08:00
Paul Zhang
ceb51f6e10 qcacld-3.0: Optimize the critical update feature
1\ Optimize the log output;
2\ Remove the duplicate code;
3\ Fix issue about processing partner link in probe response frame.

Change-Id: I05a67cf9ee7c017c6f76924f9cf08bbe2185b81c
CRs-Fixed: 3410878
2023-02-24 08:49:06 -08:00
Madan Koyyalamudi
fff96f4fc8 Release 5.2.1.56L
Release 5.2.1.56L

Change-Id: Ia70c97e3a3426562d18b9f3b9c8ece2608b7541a
CRs-Fixed: 774533
2023-02-24 04:58:42 -08:00
Bing Sun
23dfd3c2f8 qcacld-3.0: Add API to get station TX rate for EasyMesh SAP
EasyMesh application will get current TX rate information of connected
station. Add API to support it.

Change-Id: I6778e1ae18f3efe89930a5423455ebf3f8084a95
CRs-Fixed: 3406509
2023-02-24 04:58:41 -08:00
Jyoti Kumari
d749270732 qcacld-3.0: Rename policy_mgr_is_ll_sap_present() properly
Rename policy_mgr_is_ll_sap_present() into
policy_mgr_is_vdev_ll_sap(). As this api mainly checks
whether the given vdev is ll sap or not

Change-Id: I7f87aceeb0ed6ac5bb7014db1fd6213e62e6305e
CRs-Fixed: 3413644
2023-02-24 04:58:36 -08:00
Deeksha Gupta
b7ea2e6857 qcacld-3.0: Cleanup lim_print_mac_addr() API from lim
Remove lim_print_mac_addr() API from lim and use
QDF_MAC_ADDR_FMT for MAC print.

Change-Id: I7047183768a40a628662588ad7ed53bfe8ba844d
CRs-Fixed: 3400047
2023-02-24 04:58:31 -08:00
Madan Koyyalamudi
bdcb0a49e1 Release 5.2.1.56K
Release 5.2.1.56K

Change-Id: Ib04cc38bf0aaf05a98a5d687b3060800139faef8
CRs-Fixed: 774533
2023-02-24 01:57:34 -08:00
Liangwei Dong
7abfa2d80e qcacld-3.0: Add ML reconfig starting notify for link removal
Handle mlme_vdev_reconfig_notify callback to get notification
after receive the first ML reconfig link removal IE.
Override the delete timer tbtt to 0 to fire the timer early
if timer is less than 1s. This is to avoid host delay of sending
to link inactive command to FW and FW receive deauth before host
inactive link command.

Change-Id: I7865b7942813fd7facf4daa8624c976166814311
CRs-Fixed: 3380147
2023-02-24 01:57:34 -08:00
Liangwei Dong
2f9f0a579b qcacld-3.0: Handle link removal for ML STA
Handle link removal for ML STA vdev:
Send force link command to target if MLO STA link number > 1.
Select other inactive link to active if possible.

Change-Id: I40567364ad240399caf6be6683b96d17f6a4aab0
CRs-Fixed: 3352849
2023-02-24 01:57:28 -08:00
Liangwei Dong
f725025a1d qcacld-3.0: Process MLO Reconfig IE in beacon for link removal
Process MLO Reconfig IE in beacon for link removal with common
api mlo_process_ml_reconfig_ie.

Change-Id: Ie1206794944d7979170a78c895b5b1c4ae45597f
CRs-Fixed: 3352907
2023-02-24 01:57:23 -08:00
Madan Koyyalamudi
6da726cfa5 Release 5.2.1.56J
Release 5.2.1.56J

Change-Id: Iea809f9fd68158d01bcf1a802bc23e02333c436d
CRs-Fixed: 774533
2023-02-24 00:05:31 -08:00
David Oladunjoye
0336ab83b3 qcacld-3.0: Fix kernel doc for TWT
Incorrect parameters exist in TWT documentation. Correct parameters
to match function.

Change-Id: Ida1c223b8e5735cc9126f321142218d56716d4be
CRs-Fixed: 3414468
2023-02-24 00:05:31 -08:00
Venkateswara Naralasetty
0b73cf7d9b qcacld-3.0: Rename CE descriptor macros
Few of the CE descriptor related macros are moved from qdf to
ce_internal.h file. Hence rename the corresponding macros.

Change-Id: I64b74456fb3f349ab65b3c955461ef3693ca318d
CRs-Fixed: 3388380
2023-02-24 00:05:26 -08:00
Madan Koyyalamudi
4c7d2648f6 Release 5.2.1.56I
Release 5.2.1.56I

Change-Id: I4e2d399cdf26543660014dc8b59a955fde3017c7
CRs-Fixed: 774533
2023-02-23 22:06:39 -08:00
Yu Wang
70c5469566 qcacld-3.0: trigger panic if SSR DSC ops timed out
Trigger panic if SSR timed out.

Change-Id: I72d81da46745d2f6a5ff34a57b6d66b7f7171dde
CRs-Fixed: 3398969
2023-02-23 22:06:39 -08:00
Jianmin Zhu
748f7555ed qcacld-3.0: Get roam stats by vendor cmd
Cache roam information in wlan driver, when qca vendor
cmd of QCA_NL80211_VENDOR_SUBCMD_ROAM_STATS get roam
information, driver send all the cached information to
user space.
Extend WMI_ROAM_STATS_EVENTID event information for
requirement of:
1.Roam trigger related information, include timestamp,
  trigger reason, trigger condition, abort reason,
  scan type, roam status and fail reason.
2.Roam scan related information, include scan channel
  number, dwell type, max dwell time of each channel
  and total scan time.
3.all types of roam related frame information, include
  timestamp and successful or failed status for Preauth,
  Reassoc, EAPOL-M1/M2/M3/M4.

Change-Id: I2a694b7c1df8f5da09505f65c9c797be2177b398
CRs-Fixed: 3391601
2023-02-23 22:06:34 -08:00
Madan Koyyalamudi
8a5495e77a Release 5.2.1.56H
Release 5.2.1.56H

Change-Id: I5791a217ffb1ed95af9a5ecf6b72ca9da3a53aa8
CRs-Fixed: 774533
2023-02-23 10:48:59 -08:00
Tiger Yu
33aef11cd3 qcacld-3.0: Add TX packet trace info for debugging for module QCA6574
Add TX packet trace for module qca6574 to get more info for debugging

Change-Id: I226eb904d9a86a86f7ee4403da97445242b13909
CRs-Fixed: 3405782
2023-02-23 10:48:58 -08:00
Madan Koyyalamudi
ac4fc8b94f Release 5.2.1.56G
Release 5.2.1.56G

Change-Id: I4c9355b4182baad524cbee4787e082b5f7412d6f
CRs-Fixed: 774533
2023-02-23 05:37:24 -08:00
Namita Nair
5e819e461c qcacld-3.0: Disable Optional wifi datapath feature
This change disables IPA offload and optional
wifi datapath feature. This change will be used
until kernel changes are merged.

Change-Id: Ib47d69ba8da2e1fa3f0a1bd05926bbf3d74f51e4
CRs-Fixed: 3401190
2023-02-23 05:37:24 -08:00
Madan Koyyalamudi
a31c4ace81 Release 5.2.1.56F
Release 5.2.1.56F

Change-Id: I55c0277620c7faf3ce192d2e8950d078c1190a0f
CRs-Fixed: 774533
2023-02-23 00:56:50 -08:00
Namita Nair
2e7dcc8c8f qcacld-3.0: Fix use-after-free in IPA exception path
Currently when packets are routed from IPA to
HOST via the exception path, the system encounters
a use-after-free crash. This change eliminates
the access of nbuf pointer after being freed in the
hdd_ipa_send_nbuf_to_network().

Change-Id: Ib126ac9092562067cb8eeb2b1d6464941111796c
CRs-Fixed: 3410414
2023-02-23 00:56:50 -08:00
Rahul Gusain
3064b4603c qcacld-3.0: Out of bound access in ML connection
Currently, while fetching pcl for some vdev id, host driver retrieves
the number of ML connection and provide as max index value for vdev list
and info array. This max index  can't be more than
MAX_NUMBER_OF_CONC_CONNECTIONS from functionality perspective.
But static analyzer tool complains that there are chances for out of
bound access of the given arrays while filling the indexes.
So, to fix this, add checks to avoid any such possible out bound access.

Change-Id: I09261e23620df5fc73887c9e5633b408afa66796
CRs-Fixed: 3412348
2023-02-23 00:56:43 -08:00
Madan Koyyalamudi
d98325bcea Release 5.2.1.56E
Release 5.2.1.56E

Change-Id: Ie9a975747cf1f28a1aa72f4877c6a4e10ee56f9f
CRs-Fixed: 774533
2023-02-22 13:51:16 -08:00
Divyajyothi Goparaju
ba9349852b qcacld-3.0: Correct the debug print
Currently vdev set parameters sends through
wma_cli_set command, during processing of cli_set command
some vdev set params stores in vdev_cli_config
For remaining params printing invalid
which creates confusion.

To fix this modify debug print to param is not part of
vdev_cli_config to avoid confusion.

Change-Id: I5644adfe6d7cff61b09a6191813109877c378fdd
CRs-Fixed: 3412198
2023-02-22 13:51:16 -08:00
Madan Koyyalamudi
5ca2a7beed Release 5.2.1.56D
Release 5.2.1.56D

Change-Id: I9d9a11da9173f5e2d7485e26c2045bf608acff9f
CRs-Fixed: 774533
2023-02-22 07:34:02 -08:00
Jianmin Zhu
f6035ce635 qcacld-3.0: Extend WMI_ROAM_STATS_EVENTID for enhanced roam
Extend WMI_ROAM_STATS_EVENTID event information for
requirement of:
1.Roam trigger related information, include timestamp,
  trigger reason, trigger condition, abort reason,
  scan type, roam status and fail reason.
2.Roam scan related information, include scan channel
  number, dwell type, max dwell time of each channel
  and total scan time.
3.all types of roam related frame information, include
  timestamp and successful or failed status for Preauth,
  Reassoc, EAPOL-M1/M2/M3/M4.
Cache roam information in wlan driver, when qca vendor
cmd of QCA_NL80211_VENDOR_SUBCMD_ROAM_STATS get roam
information, driver send all the cached information to
user space.

change-Id: Ic5e1120b51c20c103100833b4296002c5939b021
CRs-Fixed: 3389269
2023-02-22 07:34:02 -08:00
Madan Koyyalamudi
9e4527d12b Release 5.2.1.56C
Release 5.2.1.56C

Change-Id: I3e9eff742025eaa6f1fa9ececb3790bb32b99960
CRs-Fixed: 774533
2023-02-22 01:54:25 -08:00