From 9efb8a164e684ca196428869821d65afdfae171e Mon Sep 17 00:00:00 2001 From: Srinivas Dasari Date: Wed, 9 Jun 2021 11:36:15 +0530 Subject: [PATCH] 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 --- components/target_if/nan/src/target_if_nan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/target_if/nan/src/target_if_nan.c b/components/target_if/nan/src/target_if_nan.c index a04bbc36e103..621a97707cfc 100644 --- a/components/target_if/nan/src/target_if_nan.c +++ b/components/target_if/nan/src/target_if_nan.c @@ -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);