提交图

21753 次代码提交

作者 SHA1 备注 提交日期
Pragaspathi Thilagaraj
52adb4d599 qcacld-3.0: Register TWT callbacks statically
TWT HDD callbacks are registered dynamically when each TWT
command is received from userspace and unregistered while
sending response. This design was in place considering the
existing TWT commands are synchronous and multiple back to
back TWT commands will not be received. But now the TWT
commands from userspace can be received asynchronously.

So register the TWT callbacks statically during start modules in
wlan_hdd_twt_init().

Change-Id: I7dd9333c330a90fca421a2cc2574b2db76536e96
CRs-Fixed: 2830644
2021-01-08 01:37:22 -08:00
Pragaspathi Thilagaraj
7a16e63693 qcacld-3.0: Add support for TWT setup additional parameters
Add support for below TWT setup additional parameters:
Minimum TWT wake interval
Maximum TWT wake interval
Minimum TWT wake duration
Maximum TWT wake duration

Make the TWT setup command handling as asynchronous.
Send QCA_NL80211_VENDOR_SUBCMD_CONFIG_TWT event to
userspace when add dialog complete event is received
from firmware.

Change-Id: Ia56bbecd04e0c02a55dc1a7f43ee533a85f82f1d
CRs-Fixed: 2842895
2021-01-08 01:37:17 -08:00
snandini
b0ac8b73bc Release 5.2.0.217A
Release 5.2.0.217A

Change-Id: Ica2f50247b4de86e1764da77d4b01adc14f51db8
CRs-Fixed: 774533
2021-01-07 23:28:49 -08:00
gaurank kathpalia
835437cad6 qcacld-3.0: Add legacy pointer in connection manager context
Add legacy pointer in connection manager context to use for RSO
and other connection manager legacy operations.

Change-Id: Ibc665f53d77aebb3f248fedbdffd1cfe86492b25
CRs-Fixed: 2845980
2021-01-07 23:28:49 -08:00
gaurank kathpalia
6b72d4685b qcacld-3.0: Replace CSR API with connection mgr API part 2
Replace the CSR API to get connect info with cnx mgr API.

Change-Id: Id0ffae005fde5bff69fc486c94c3332872bab786
CRs-Fixed: 2848570
2021-01-07 23:28:45 -08:00
snandini
2eecfaa43f Release 5.2.0.217
Release 5.2.0.217

Change-Id: Id8af50b60a90a29edb9a2dd261e11d6be2fbed60
CRs-Fixed: 774533
2021-01-07 21:13:43 -08:00
Gururaj Pandurangi
ae78494533 qcacld-3.0: Add TPE IE to beacon frame structure
Add TPE IE to beacon frame struct tDot11fBeaconIEs.

Change-Id: I80ab213da97385df7b5c3eabb99b011b1a3dfba2
CRs-Fixed: 2848867
2021-01-07 21:13:42 -08:00
Ashish Kumar Dhanotiya
37b1b0a707 qcacld-3.0: Add sanity check for connected profile in hdd
Currently there is no sanity check for connected profile
which may lead to NULL pointer access.

To address above issue, add sanity check for connected profile
in association completion handler.

Change-Id: I2ed3d65287f4ea23cdf9c6c630b5e97e2c42c6be
CRs-Fixed: 2847694
2021-01-07 21:13:38 -08:00
bings
f540f78b07 qcacld-3.0: support one msi interrupt
Add build option WLAN_ONE_MSI_VECTOR to support one MSI vector in Kbuild.

Change-Id: I99d48bd47dde8857a4eb8d84e6a8b16a99f394a7
CRs-Fixed: 2696508
2021-01-07 21:13:34 -08:00
snandini
5e0e6890a4 Release 5.2.0.216Z
Release 5.2.0.216Z

Change-Id: Ie9e339c5ed9381e454e2f01e6fe9c557aa473f1b
CRs-Fixed: 774533
2021-01-07 19:11:21 -08:00
Bapiraju Alla
720dc0c7e1 qcacld-3.0: Don't Check for concurrency if pre_cac adapter exists
Currently, host driver is checking for concurrency while handling
the pre_cac request. pre_cac adapter won't be deleted until SAP is
stopped. As a result the second pre cac request for the same SAP
will be dropped due to this concurrency check.

To avoid this, Don't check for pre cac concurrency if the pre cac
adapter is already exists.

Change-Id: I780c6310cf819da1a2f5c7c93590ccb1b544e7a4
CRs-Fixed: 2848736
2021-01-07 19:11:21 -08:00
Arun Kumar Khandavalli
9363ae40ff qcacld-3.0: Release the vdev reference in pmo
In pmo_core_configure_dynamic_wake_events vdev reference is acquired
and its not released leading to the reference leak, leading to
vdev destroy timeout.

Release the vdev reference to resolve the issue.

Change-Id: Idd3bcb366f211e037ede278c91d6bcefd4165651
CRs-Fixed: 2850076
2021-01-07 19:11:17 -08:00
snandini
11c4dfb162 Release 5.2.0.216Y
Release 5.2.0.216Y

Change-Id: Ib369299e5161f50a68ad91f586a08ddbb46e4853
CRs-Fixed: 774533
2021-01-07 16:48:39 -08:00
Vulupala Shashank Reddy
ad8440c1e5 qcacld-3.0: Process Rx data packet for pkt capture mode
Subscribe for Tx data wdi event and process Rx data packets
and post into mon thread for packet capture mode

Change-Id: I1a2930110bebc152db32cb2c1f1bc1120fc29755
CRs-Fixed: 2845597
2021-01-07 16:48:39 -08:00
Vulupala Shashank Reddy
00617e827b qcacld-3.0: Process Tx data packet for pkt capture mode
Subscribe for Tx data wdi event and process Tx data packets
and post into mon thread for packet capture mode

Change-Id: Id4c231ce8f32c45f579289b37cb810581c6ab31b
CRs-Fixed: 2845593
2021-01-07 16:48:34 -08:00
Jinwei Chen
de611d737b qcacld-3.0: enable macro for monitor mode rssi conversion
enable DP_MON_RSSI_IN_DBM macro for monitor mode rssi
conversion.

Change-Id: Idd54f8658611a766ade17700b38904c90d1d4241
CRs-Fixed: 2848120
2021-01-07 16:48:29 -08:00
snandini
bfc0864aa3 Release 5.2.0.216X
Release 5.2.0.216X

Change-Id: I0c7ab90e5c08c66e67c191816c0eafa19d6501a1
CRs-Fixed: 774533
2021-01-07 14:35:52 -08:00
Liangwei Dong
172164c67d qcacld-3.0: remove hdd_objmgr_get/put_vdev api
Remove hdd_objmgr_get/put_vdev api and use new
hdd_objmgr_get/put_vdev_by_user api to take reference of vdev with
component dbg id.

Change-Id: Ic0174a02e7d8d74506b03e04a4ae0aa7f28dad5e
CRs-Fixed: 2846706
2021-01-07 14:35:52 -08:00
ngong
0598258169 qcacld-3.0: enable MBSSID feature for qca6390
added CONFIG_WLAN_FEATURE_MBSSID := y to enable MBSSID feature.

Change-Id: I43a1a1fca771fa159ab3bfcfb5ee34ac1d11da9e
CRs-Fixed: 2842583
2021-01-07 14:35:48 -08:00
snandini
11a768ff2c Release 5.2.0.216W
Release 5.2.0.216W

Change-Id: I6d3e5a928aa9b2b5af41611cfffec23fdfd5b0b9
CRs-Fixed: 774533
2021-01-07 12:31:03 -08:00
Ashish Kumar Dhanotiya
e21710a4f2 qcacld-3.0: Free the memory for radio stats in case of timeout
Currently host driver does not free the memory for radio stats
if there is a timeout which may lead to unexpected behavior.

For example if there are multiple radio stats events from fw
and if it receives only one event and does not receives next
events in that case host allocates the memory for the channels
received in the first event and does not free this memory in wma
as it expects remaining events, since remaining events will not
come host gets timeout in hdd and memory in wma is not freed.
when host issues next command for the ll_stats it receives the
response for this command and as memory is already allocated for
channel stats for the previous event it combines this new response
with the old response which results in unexpected response to the
userspace.

To address above issue, add mem free logic to free the memory for
channel stats at wma.

Change-Id: I6735f8c282c4205c11548aabe3c8e269e81e4e54
CRs-Fixed: 2813478
2021-01-07 12:31:03 -08:00
bings
25b60aee58 qcacld-3.0: Make CONFIG_MAX_LOGS_PER_SEC configurable
Make CONFIG_MAX_LOGS_PER_SEC configurable because some platforms would
like to print more information in dmesg in some situations, like FW is
crashed in some CE projects.

Change-Id: Ib12854a7254afe5ace07c616a21400e446a80d4d
CRs-Fixed: 2838214
2021-01-07 12:30:58 -08:00
Bapiraju Alla
3e83a3e527 qcacld-3.0: Add an INI param to configure HW assist feature in FW
HW assist is a FW feature and it is enabled by default. But there is
no provision to disable/enable this feature based on requirement.

To address this, add INI param to enable/disable HW assist feature
in FW.

Change-Id: Icdc4a842be4d5c6991a785ee270f61ba87fcfe79
CRs-Fixed: 2841346
2021-01-07 12:30:54 -08:00
snandini
e6d3749ab1 Release 5.2.0.216V
Release 5.2.0.216V

Change-Id: If3c2bae95f6a0f4f9cf5593913a974e8e115b6e3
CRs-Fixed: 774533
2021-01-07 08:17:36 -08:00
Rajasekaran Kalidoss
599f3291b3 qcacld-3.0: Configure TWT SAP PDEV and SAP STA Count
Configure TWT SAP PDEV count using CONFIG_WLAN_TWT_SAP_PDEV_COUNT
and SAP STA count CONFIG_WLAN_TWT_SAP_STA_COUNT for QCA6490

Change-Id: I74ef054d9cb64ccf66d7e1e788a8cc75aec70cb9
CRs-Fixed: 2843660
2021-01-07 08:17:36 -08:00
Srinivas Dasari
21e5b06817 qcacld-3.0: Enable/disable roaming based on active NDP sessions
Currently, active NDP sessions are tracked on the platforms
where NAN concurrency handling is supported by host through policy
mgr. Roaming is disabled when an active NDP session is present and
re-enabled when the last NDP session is teardown. But this tracking
is not supported on legacy platforms(which don't advertise either
WMI_SERVICE_NDI_DBS_SUPPORT or WMI_SERVICE_NAN_DISABLE_SUPPORT) as
policy mgr based tracking is not available.
So, disable roaming when the first NDP connection happens and
re-enable when the last peer is departed from HDD APIs in such
legacy platforms.

Change-Id: I6309af12eab9222dc34a79566f7830b7763826de
CRs-Fixed: 2846541
2021-01-07 08:17:31 -08:00
snandini
bce1d56800 Release 5.2.0.216U
Release 5.2.0.216U

Change-Id: I3ccda2333607383a07938bafc3a73bf4a6c5da54
CRs-Fixed: 774533
2021-01-06 21:54:47 -08:00
Rakesh Pillai
41de6c000f qcacld-3.0: Add rx ring history to pre-alloc memory
Add entries to pre-allocate memory region for
recording datapath rx ring history.

Change-Id: Iffac199c48a9638c94d8568bbc7567bf214ffcc2
CRs-Fixed: 2847548
2021-01-06 21:54:47 -08:00
Liangwei Dong
978c266a7d qcacld-3.0: Avoid unnecessary AP Start evt
Event WLAN_IF_MGR_EV_AP_START_BSS delivery will trigger roam disable/
enable. That will involve lots of wmi command to set roaming parameters
to firmware. When the AP is "started" state, the
wlan_hdd_cfg80211_start_bss will be called to update AP (GO) IE and
wlansap_start_bss will be skipped. In this case, we don't
need to deliver WLAN_IF_MGR_EV_AP_START_BSS event.

Change-Id: I801fd7a5eaf7b97b2c74930c9e4088db83c86a09
CRs-Fixed: 2847224
2021-01-06 21:54:42 -08:00
snandini
9a18a1c0b8 Release 5.2.0.216T
Release 5.2.0.216T

Change-Id: I50a97d9753194e2fd5d08fd36b195e82857a9299
CRs-Fixed: 774533
2021-01-06 17:57:51 -08:00
Yeshwanth Sriram Guntuka
ebfe89570a qcacld-3.0: Do not log info on rx pkt deliver failure
Print is logged on rx packet deliver failure with
no relevant info since the skb is already freed.

Fix is to not log info on packet deliver to stack
failure.

Change-Id: I8f91a14030c76907d60e95ccbd19b600938ace90
CRs-Fixed: 2849093
2021-01-06 17:57:51 -08:00
snandini
721887793d Release 5.2.0.216S
Release 5.2.0.216S

Change-Id: Iea4ea30f96dcc6c1c449eea7d55dd708006465f9
CRs-Fixed: 774533
2021-01-06 13:52:33 -08:00
Dundi Raviteja
59bff5fb4c qcacld-3.0: Reduce stack frame size while processing setup req frame
Reduce stack frame size of lim_send_tdls_link_setup_req_frame()
by allocating dynamic memory to tDot11fTDLSSetupReq.

Change-Id: I7b31791483869b45713d808d82948bb730977efe
CRs-Fixed: 2847112
2021-01-06 13:52:33 -08:00
Dundi Raviteja
38169148fb qcacld-3.0: Reduce stack frame size in lim_send_tdls_dis_req_frame
Reduce stack frame size of lim_send_tdls_dis_req_frame()
by allocating dynamic memory to tDot11fTDLSDisReq.

Change-Id: Iac065fbfeecd978dc212e84cfe686fea77a10ed5
CRs-Fixed: 2847109
2021-01-06 13:52:28 -08:00
Yeshwanth Sriram Guntuka
ed863c00a4 qcacld-3.0: Enable IPA set/reset tx doorbell paddr feature for Lithium
Enable set/reset tx doorbell paddr feature for Lithium.

Change-Id: I440372b89e20037e54da6b187f79254af421a718
CRs-Fixed: 2846872
2021-01-06 13:52:24 -08:00
snandini
7ecaf1d34b Release 5.2.0.216R
Release 5.2.0.216R

Change-Id: Ic62b422cd0b3e189042f1c75e2a93fb7b6a325a0
CRs-Fixed: 774533
2021-01-06 11:44:20 -08:00
Dundi Raviteja
e77c29de61 qcacld-3.0: Reduce stack frame size in lim_send_probe_req_mgmt_frame
Reduce stack frame size of lim_send_probe_req_mgmt_frame()
by allocating dynamic memory to tDot11fProbeRequest.

Change-Id: Ide3047df132514a1684ec3b3cc0bbd01712ecab3
CRs-Fixed: 2847119
2021-01-06 11:44:20 -08:00
Dundi Raviteja
18f0cf611f qcacld-3.0: Reduce stack frame size in lim_verify_fils_params_assoc_rsp
Reduce stack frame size of lim_verify_fils_params_assoc_rsp()
by allocating dynamic memory to fils structures.

Change-Id: Ib24570d87468560f50ee1bcaad360e4729f404aa
CRs-Fixed: 2847120
2021-01-06 11:44:15 -08:00
Dundi Raviteja
b9cb9ed8dc qcacld-3.0: Reduce stack frame size in lim_send_assoc_rsp_mgmt_frame
Reduce stack frame size of lim_send_assoc_rsp_mgmt_frame()
by allocating dynamic memory to add_ie.

Change-Id: Iffd2eec7451bc84bba2d2542590fcc24dbd25df6
CRs-Fixed: 2847113
2021-01-06 11:44:09 -08:00
snandini
2ba0367c7c Release 5.2.0.216Q
Release 5.2.0.216Q

Change-Id: Ic7ef69c9b58708eeabca839697f77aaa0c061097
CRs-Fixed: 774533
2021-01-06 09:11:53 -08:00
Abhishek Singh
d3cbcc0d30 qcacld-3.0: Remove duplicate struct struct wlan_ies
Remove duplicate struct struct wlan_ies and replace with
struct element_info.

Change-Id: I60d34db5845d840679052912182ea09b86988e43
CRs-Fixed: 2848237
2021-01-06 09:11:53 -08:00
snandini
e5e897f263 Release 5.2.0.216P
Release 5.2.0.216P

Change-Id: I27a3a5fc7c42346d5e32f1372b0b3c49960f1d7b
CRs-Fixed: 774533
2021-01-06 07:05:59 -08:00
Abhishek Singh
2a89ed9532 qcacld-3.0: Move hdd_connect_result under connection manager
Move hdd_connect_result under connection manager not defined flag.

Change-Id: Ifa62a58264fa7c7247f8c0aa8f0ed33138572dd8
CRs-Fixed: 2848186
2021-01-06 07:05:59 -08:00
snandini
2d96017025 Release 5.2.0.216O
Release 5.2.0.216O

Change-Id: Ia396fe95e5a197f6c00a75a4198f265864e5a5d3
CRs-Fixed: 774533
2021-01-05 22:34:19 -08:00
Min Liu
d544e23eed qcacld-3.0: Update validation for SA Query frames
Update the validation for SA Query Request/Response to fix the
issue that these frames are dropped unexpectedly when OCI IE
is not present.

Change-Id: I57acd699fd5c7eba23551133e3439fe23c1949a4
CRs-Fixed: 2846717
2021-01-05 22:34:19 -08:00
snandini
af50f6edb3 Release 5.2.0.216N
Release 5.2.0.216N

Change-Id: I97498e605d2506b18324e7b782f7f9a74e13256e
CRs-Fixed: 774533
2021-01-05 20:28:15 -08:00
Liangwei Dong
da136782af qcacld-3.0: Take vdev ref count with dbg id API
Replace hdd_objmgr_get/put_vdev by API
hdd_objmgr_get/put_vdev_by_user to specify
functionality dbg id WLAN_OSIF_CM_ID.

Change-Id: Ibaf32260826dfcccd3f6202210bf1aa185101082
CRs-Fixed: 2847448
2021-01-05 20:28:14 -08:00
snandini
4aee4381b9 Release 5.2.0.216M
Release 5.2.0.216M

Change-Id: Iae6d1db31a42506d0a09f0bfe2961b9c88b28f1e
CRs-Fixed: 774533
2021-01-05 18:14:24 -08:00
Manikanta Pubbisetty
ddc53c7479 qcacld-3.0: avoid FSE cache flush messages during runtime suspend
When runtime power management is enabled, until the system is fully
resumed, we do not post any message to CE, instead they will be queued
in HTC. Once the device is fully resumed, all HTT messages in the queues
will be downloaded to CE at once. In some corner cases, it is found that
too many FSE caches flush messages getting queued during the runtime
resume; once the device is fully resumed, all these would be downloaded
to the FW/HW at once causing unintended crashes.

Do not post FSE cache flush messages when the device is resuming from
runtime suspend to avoid this problem.

Change-Id: Iaa7a25e6f84ef4ac9c3cdf6a5c052538b142ea3f
CRs-Fixed: 2839431
2021-01-05 18:14:24 -08:00
snandini
3ee30ec6c5 Release 5.2.0.216L
Release 5.2.0.216L

Change-Id: I39b6021ab57e1960e8abae1d1b7d828e9b9003cf
CRs-Fixed: 774533
2021-01-05 16:13:10 -08:00