mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
qcacld-3.0: Move NAN log events to RX_WORK context
Firmware sends NAN log events to driver and these are logged with info level to capture complete NAN state machine logs in kmsg. Currently, these events are received/processed in soft IRQ context and causes performance issues as logs introduce delays. Move the event registration to RX_WORK context to avoid delays. Change-Id: I15ba20059f55f002cfe276d62e68e3cc09136a23 CRs-Fixed: 2960359
This commit is contained in:
parent
6d7cd0ac81
commit
9efb8a164e
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -994,7 +994,7 @@ QDF_STATUS target_if_nan_register_events(struct wlan_objmgr_psoc *psoc)
|
|||
|
||||
ret = wmi_unified_register_event_handler(handle, wmi_nan_dmesg_event_id,
|
||||
target_if_nan_dmesg_handler,
|
||||
WMI_RX_UMAC_CTX);
|
||||
WMI_RX_WORK_CTX);
|
||||
if (ret) {
|
||||
target_if_err("wmi event registration failed, ret: %d", ret);
|
||||
target_if_nan_deregister_events(psoc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue