diff --git a/components/pmo/core/inc/wlan_pmo_priv.h b/components/pmo/core/inc/wlan_pmo_priv.h index 0b6da8ec03..a4f30ed8f0 100644 --- a/components/pmo/core/inc/wlan_pmo_priv.h +++ b/components/pmo/core/inc/wlan_pmo_priv.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2017-2019, 2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -71,10 +72,10 @@ struct pmo_psoc_priv_obj { /** * struct wlan_pmo_ctx -offload mgr context * @psoc_context: psoc context - * @pmo_suspend_handler: suspend handler table for all componenets - * @pmo_suspend_handler_arg: suspend handler argument sfor all componenets - * @pmo_resume_handler: resume handler table for all componenets - * @pmo_resume_handler_arg: resume handler argument for all componenets + * @pmo_suspend_handler: suspend handler table for all components + * @pmo_suspend_handler_arg: suspend handler argument sfor all components + * @pmo_resume_handler: resume handler table for all components + * @pmo_resume_handler_arg: resume handler argument for all components * @lock: lock for global pmo ctx */ struct wlan_pmo_ctx { diff --git a/components/pmo/core/inc/wlan_pmo_suspend_resume.h b/components/pmo/core/inc/wlan_pmo_suspend_resume.h index 3f20b23cb6..c3cd1cc187 100644 --- a/components/pmo/core/inc/wlan_pmo_suspend_resume.h +++ b/components/pmo/core/inc/wlan_pmo_suspend_resume.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2017-2018, 2020-2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -28,7 +29,7 @@ #include "wlan_pmo_wow.h" /** - * pmo_core_configure_dynamic_wake_events(): configure dyanmic wake events + * pmo_core_configure_dynamic_wake_events(): configure dynamic wake events * @wma: wma handle * * Some wake events need to be enabled dynamically. Control those here. diff --git a/components/pmo/core/src/wlan_pmo_static_config.c b/components/pmo/core/src/wlan_pmo_static_config.c index fc53387e2d..d0df61df57 100644 --- a/components/pmo/core/src/wlan_pmo_static_config.c +++ b/components/pmo/core/src/wlan_pmo_static_config.c @@ -382,7 +382,7 @@ set_action_id_drop_pattern_for_block_ack(uint32_t *action_category_map) /** * set_action_id_drop_pattern_for_spec_mgmt() - Set action id of action - * frames for spectrum mgmt frames to be droppped in fw. + * frames for spectrum mgmt frames to be dropped in fw. * * @action_id_per_category: Pointer to action id bitmaps. */ @@ -395,7 +395,7 @@ static void set_action_id_drop_pattern_for_spec_mgmt( /** * set_action_id_drop_pattern_for_public_action() - Set action id of action - * frames for public action frames to be droppped in fw. + * frames for public action frames to be dropped in fw. * * @action_id_per_category: Pointer to action id bitmaps. */ diff --git a/components/pmo/core/src/wlan_pmo_suspend_resume.c b/components/pmo/core/src/wlan_pmo_suspend_resume.c index 2bd0843cb0..611a055eb4 100644 --- a/components/pmo/core/src/wlan_pmo_suspend_resume.c +++ b/components/pmo/core/src/wlan_pmo_suspend_resume.c @@ -496,7 +496,7 @@ static QDF_STATUS pmo_core_psoc_configure_suspend(struct wlan_objmgr_psoc *psoc, pmo_core_apply_lphb(psoc); /* * Dynamic wake events should not be needed for runtime PM. - * Any wake events can be configed by default if they are + * Any wake events can be configured by default if they are * really needed for runtime PM. In fact, most of them are * only needed for system suspend. */ diff --git a/components/pmo/core/src/wlan_pmo_wow.c b/components/pmo/core/src/wlan_pmo_wow.c index 5d1547fcee..d98a74b4ac 100644 --- a/components/pmo/core/src/wlan_pmo_wow.c +++ b/components/pmo/core/src/wlan_pmo_wow.c @@ -58,11 +58,11 @@ QDF_STATUS pmo_core_del_wow_pattern(struct wlan_objmgr_vdev *vdev) vdev_ctx = pmo_vdev_get_priv(vdev); pattern_count = pmo_get_wow_default_ptrn(vdev_ctx); - /* clear all default patterns cofigured by pmo */ + /* clear all default patterns configured by pmo */ for (id = 0; id < pattern_count; id++) status = pmo_tgt_del_wow_pattern(vdev, id, false); - /* clear all user patterns cofigured by pmo */ + /* clear all user patterns configured by pmo */ pattern_count = pmo_get_wow_user_ptrn(vdev_ctx); for (id = 0; id < pattern_count; id++) status = pmo_tgt_del_wow_pattern(vdev, id, true); @@ -87,7 +87,7 @@ QDF_STATUS pmo_core_add_wow_user_pattern(struct wlan_objmgr_vdev *vdev, vdev_ctx = pmo_vdev_get_priv(vdev); - /* clear all default patterns cofigured by pmo */ + /* clear all default patterns configured by pmo */ for (id = 0; id < pmo_get_wow_default_ptrn(vdev_ctx); id++) pmo_tgt_del_wow_pattern(vdev, id, false); diff --git a/components/pmo/dispatcher/inc/wlan_pmo_common_public_struct.h b/components/pmo/dispatcher/inc/wlan_pmo_common_public_struct.h index 5bca2e2379..2eb639f7b2 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_common_public_struct.h +++ b/components/pmo/dispatcher/inc/wlan_pmo_common_public_struct.h @@ -20,7 +20,7 @@ * DOC: Declare various struct, macros which are common for * various pmo related features. * - * Note: This file shall not contain public API's prototype/declartions. + * Note: This file shall not contain public API's prototype/declarations. * */ diff --git a/components/pmo/dispatcher/inc/wlan_pmo_gtk_public_struct.h b/components/pmo/dispatcher/inc/wlan_pmo_gtk_public_struct.h index 41482d9779..46e8d08f89 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_gtk_public_struct.h +++ b/components/pmo/dispatcher/inc/wlan_pmo_gtk_public_struct.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -89,7 +90,7 @@ typedef void (*pmo_gtk_rsp_callback)(void *callback_context, /** * struct pmo_gtk_rsp_req -gtk respsonse request - * @callback: client callback for providing gtk resposne when fwr send event + * @callback: client callback for providing gtk response when fwr send event * @callback_context: client callback response */ struct pmo_gtk_rsp_req { diff --git a/components/pmo/dispatcher/inc/wlan_pmo_hw_filter_public_struct.h b/components/pmo/dispatcher/inc/wlan_pmo_hw_filter_public_struct.h index 8315bb0d20..7ccf034517 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_hw_filter_public_struct.h +++ b/components/pmo/dispatcher/inc/wlan_pmo_hw_filter_public_struct.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -19,7 +20,7 @@ /** * DOC: This file shall contain all public parameter (struct/macro/enum) * definitions to support hardware filtering configuration. No APIs, or - * implememtations of APIs, shall be contained within. + * implementations of APIs, shall be contained within. */ #ifndef _WLAN_PMO_HW_FILTER_PUBLIC_STRUCT_H diff --git a/components/pmo/dispatcher/inc/wlan_pmo_obj_mgmt_api.h b/components/pmo/dispatcher/inc/wlan_pmo_obj_mgmt_api.h index aefb6b7558..0bb1e90c85 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_obj_mgmt_api.h +++ b/components/pmo/dispatcher/inc/wlan_pmo_obj_mgmt_api.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2017-2019, 2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -39,7 +40,7 @@ QDF_STATUS pmo_init(void); /** * pmo_deinit() - De initialize pmo_ctx context. * - * This function De initializes power manager offloads (a.k.a pmo) contex. + * This function De initializes power manager offloads (a.k.a pmo) context. * * Return: QDF_STATUS_SUCCESS - in case of success else return error */ diff --git a/components/pmo/dispatcher/inc/wlan_pmo_pkt_filter_public_struct.h b/components/pmo/dispatcher/inc/wlan_pmo_pkt_filter_public_struct.h index 6ed76bd4a2..992144b60f 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_pkt_filter_public_struct.h +++ b/components/pmo/dispatcher/inc/wlan_pmo_pkt_filter_public_struct.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -64,7 +65,7 @@ enum pmo_rcv_pkt_fltr_flag_type { }; /** - * enum pmo_rcv_pkt_fltr_protocol_params: Receive Filter protocal parameters + * enum pmo_rcv_pkt_fltr_protocol_params: Receive Filter protocol parameters * @PMO_FILTER_HDR_TYPE_INVALID: invalied type * @PMO_FILTER_HDR_TYPE_MAC: mac protocol * @PMO_FILTER_HDR_TYPE_ARP: arp protocol diff --git a/components/pmo/dispatcher/inc/wlan_pmo_ucfg_api.h b/components/pmo/dispatcher/inc/wlan_pmo_ucfg_api.h index a45b5b13bd..37e92e5f0d 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_ucfg_api.h +++ b/components/pmo/dispatcher/inc/wlan_pmo_ucfg_api.h @@ -346,7 +346,7 @@ QDF_STATUS ucfg_pmo_flush_arp_offload_req(struct wlan_objmgr_vdev *vdev); /** * ucfg_pmo_enable_arp_offload_in_fwr(): API to enable arp req in fwr * @vdev: objmgr vdev param - * @trigger: triger reason for enable arp offload + * @trigger: trigger reason for enable arp offload * * API to enable cache arp req in fwr from pmo vdev priv ctx * @@ -359,7 +359,7 @@ ucfg_pmo_enable_arp_offload_in_fwr(struct wlan_objmgr_vdev *vdev, /** * ucfg_pmo_disable_arp_offload_in_fwr(): API to disable arp req in fwr * @vdev: objmgr vdev param - * @trigger: triger reason for disable arp offload + * @trigger: trigger reason for disable arp offload * API to disable cache arp req in fwr * * Return QDF_STATUS -in case of success else return error @@ -804,7 +804,7 @@ ucfg_pmo_get_wow_enable(struct wlan_objmgr_psoc *psoc); /** * ucfg_pmo_set_wow_enable() - Set wow enable type * @psoc: pointer to psoc object - * @val: wow enalbe value + * @val: wow enable value * * Return: None */