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:

committed by
Madan Koyyalamudi

parent
58d03a3c30
commit
10e2a002a8
@@ -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 (QDF_IS_STATUS_ERROR(ret)) {
|
||||
target_if_err("wmi event registration failed, ret: %d", ret);
|
||||
target_if_nan_deregister_events(psoc);
|
||||
|
Reference in New Issue
Block a user