diff --git a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h index 986a299c99..391501310d 100644 --- a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h +++ b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h @@ -1176,7 +1176,7 @@ struct wlan_rsn_ie_hdr { /** * struct wlan_wpa_ie_hdr: wpa ie header - * @elem_id: Wpa element id, vender specific. + * @elem_id: Wpa element id, vendor specific. * @len: wpa ie length * @oui: 24-bit OUI followed by 8-bit OUI type * @version: wpa ver @@ -1432,7 +1432,7 @@ struct wlan_vendor_ie_htcap { } qdf_packed; /** - * struct wlan_ie_htinfo_cmn: ht info comman + * struct wlan_ie_htinfo_cmn: ht info command * @hi_ctrlchannel: control channel * @hi_extchoff: B0-1 extension channel offset * @hi_txchwidth: B2 recommended xmiss width set @@ -3712,7 +3712,7 @@ wlan_parse_oce_reduced_wan_metrics_ie(uint8_t *mbo_oce_ie, * While parsing vendor IE, is_mbo_oce_oui() API does sanity of * length and attribute ID for MBO_OCE_OUI and after passing the * sanity only mbo_oce IE is stored in scan cache. - * It is a callers responsiblity to get the mbo_oce_ie pointer + * It is a callers responsibility to get the mbo_oce_ie pointer * using util_scan_entry_mbo_oce() API, which points to mbo_oce * stored in scan cache. Thus caller is responsible for ensuring * the length of the IE is consistent with the embedded length. diff --git a/umac/cmn_services/crypto/inc/wlan_crypto_global_api.h b/umac/cmn_services/crypto/inc/wlan_crypto_global_api.h index 19a5b08cfd..5d3765a3ea 100644 --- a/umac/cmn_services/crypto/inc/wlan_crypto_global_api.h +++ b/umac/cmn_services/crypto/inc/wlan_crypto_global_api.h @@ -452,7 +452,7 @@ QDF_STATUS wlan_crypto_set_peer_wep_keys(struct wlan_objmgr_vdev *vdev, * wlan_crypto_register_crypto_rx_ops - set crypto_rx_ops * @crypto_rx_ops: crypto_rx_ops * - * This function gets called by object manger to register crypto rx ops. + * This function gets called by object manager to register crypto rx ops. * * Return: QDF_STATUS */ @@ -1073,7 +1073,7 @@ wlan_crypto_selective_clear_sae_single_pmk_entries( struct wlan_objmgr_vdev *vdev, struct qdf_mac_addr *conn_bssid); /** - * wlan_crypto_set_sae_single_pmk_bss_cap - Set the peer SAE sinlge pmk + * wlan_crypto_set_sae_single_pmk_bss_cap - Set the peer SAE single pmk * feature supported status * @vdev: Vdev * @bssid: BSSID for which the flag is to be set @@ -1085,7 +1085,7 @@ void wlan_crypto_set_sae_single_pmk_bss_cap(struct wlan_objmgr_vdev *vdev, bool single_pmk_capable_bss); /** - * wlan_crypto_set_sae_single_pmk_bss_cap - Set the peer SAE sinlge pmk info + * wlan_crypto_set_sae_single_pmk_bss_cap - Set the peer SAE single pmk info * @vdev: Vdev * @roam_sync_pmksa: pmk info for roamed AP */ diff --git a/umac/cmn_services/crypto/inc/wlan_crypto_global_def.h b/umac/cmn_services/crypto/inc/wlan_crypto_global_def.h index fb29418e47..bd9b19771b 100644 --- a/umac/cmn_services/crypto/inc/wlan_crypto_global_def.h +++ b/umac/cmn_services/crypto/inc/wlan_crypto_global_def.h @@ -18,7 +18,7 @@ */ /** - * DOC: Public definations for crypto service + * DOC: Public definitions for crypto service */ #ifndef _WLAN_CRYPTO_GLOBAL_DEF_H_ @@ -311,7 +311,7 @@ struct mobility_domain_params { * @ssid: ssid information * @cache_id: cache id * @pmk_lifetime: Duration in seconds for which the pmk is valid - * @pmk_lifetime_threshold: Percentage of pmk liftime within which + * @pmk_lifetime_threshold: Percentage of pmk lifetime within which * full authentication is expected to avoid disconnection. * @pmk_entry_ts: System timestamp at which the PMK entry was created. * @single_pmk_supported: SAE single pmk supported BSS diff --git a/umac/cmn_services/crypto/src/wlan_crypto_def_i.h b/umac/cmn_services/crypto/src/wlan_crypto_def_i.h index e1fe61bf0f..e68921e897 100644 --- a/umac/cmn_services/crypto/src/wlan_crypto_def_i.h +++ b/umac/cmn_services/crypto/src/wlan_crypto_def_i.h @@ -18,7 +18,7 @@ */ /** - * DOC: Private definations for handling crypto params + * DOC: Private definitions for handling crypto params */ #ifndef _WLAN_CRYPTO_DEF_I_H_ #define _WLAN_CRYPTO_DEF_I_H_ @@ -115,7 +115,7 @@ static inline void wlan_crypto_put_be64(u8 *a, u64 val) #define WLAN_CRYPTO_TX_OPS_DEREGISTER_EVENTS(tx_ops) \ ((tx_ops)->crypto_tx_ops.deregister_events) -/* unalligned little endian access */ +/* unaligned little endian access */ #ifndef LE_READ_2 #define LE_READ_2(p) \ ((uint16_t) \ diff --git a/umac/cmn_services/crypto/src/wlan_crypto_global_api.c b/umac/cmn_services/crypto/src/wlan_crypto_global_api.c index df5cd860b0..75a8b6b781 100644 --- a/umac/cmn_services/crypto/src/wlan_crypto_global_api.c +++ b/umac/cmn_services/crypto/src/wlan_crypto_global_api.c @@ -2481,7 +2481,7 @@ bool wlan_crypto_is_mmie_valid(struct wlan_objmgr_vdev *vdev, if (ret < 0) { qdf_mem_free(mic); - crypto_err("genarate mmie failed"); + crypto_err("generate mmie failed"); return false; } @@ -3727,7 +3727,7 @@ exit: * wlan_crypto_register_crypto_rx_ops - set crypto_rx_ops * @crypto_rx_ops: crypto_rx_ops * - * This function gets called by object manger to register crypto rx ops. + * This function gets called by object manager to register crypto rx ops. * * Return: QDF_STATUS */ diff --git a/umac/cmn_services/crypto/src/wlan_crypto_main.c b/umac/cmn_services/crypto/src/wlan_crypto_main.c index 2ae5adca43..08b06668e1 100644 --- a/umac/cmn_services/crypto/src/wlan_crypto_main.c +++ b/umac/cmn_services/crypto/src/wlan_crypto_main.c @@ -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 @@ -17,7 +18,7 @@ */ /** - * DOC: Public API intialization of crypto service with object manager + * DOC: Public API initialization of crypto service with object manager */ #include #include "wlan_crypto_main_i.h" diff --git a/umac/cmn_services/crypto/src/wlan_crypto_obj_mgr.c b/umac/cmn_services/crypto/src/wlan_crypto_obj_mgr.c index 2f3effff47..d02833aad5 100644 --- a/umac/cmn_services/crypto/src/wlan_crypto_obj_mgr.c +++ b/umac/cmn_services/crypto/src/wlan_crypto_obj_mgr.c @@ -18,7 +18,7 @@ */ /** - * DOC: Public API intialization of crypto service with object manager + * DOC: Public API initialization of crypto service with object manager */ #include #include diff --git a/umac/cmn_services/crypto/src/wlan_crypto_obj_mgr_i.h b/umac/cmn_services/crypto/src/wlan_crypto_obj_mgr_i.h index f10d50d55e..a62d0690aa 100644 --- a/umac/cmn_services/crypto/src/wlan_crypto_obj_mgr_i.h +++ b/umac/cmn_services/crypto/src/wlan_crypto_obj_mgr_i.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 @@ -17,7 +18,7 @@ */ /** - * DOC: Public API intialization of crypto service with object manager + * DOC: Public API initialization of crypto service with object manager */ #ifndef __WLAN_CRYPTO_OBJ_MGR_I_ diff --git a/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_api.h b/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_api.h index 9cda0b3633..b24f36ed97 100644 --- a/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_api.h +++ b/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_api.h @@ -1,5 +1,6 @@ /* * Copyright (c) 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 above @@ -30,7 +31,7 @@ /** * if_mgr_deliver_event() - interface mgr event handler * @vdev: vdev object - * @event: interface mangaer event + * @event: interface manager event * @event_data: Interface mgr event data * * Return: QDF_STATUS @@ -49,7 +50,7 @@ const char *if_mgr_get_event_str(enum wlan_if_mgr_evt event); /** * if_mgr_deliver_mbss_event() - interface mgr MBSS event handler * @vdev: vdev object - * @event: interface mangaer event + * @event: interface manager event * @event_data: Interface mgr event data * * Return: QDF_STATUS diff --git a/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_public_struct.h b/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_public_struct.h index f382cca771..8cb53e945d 100644 --- a/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_public_struct.h +++ b/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_public_struct.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. - * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-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 above @@ -16,7 +16,7 @@ */ /* - * DOC: contains interface manager structure definations + * DOC: contains interface manager structure definitions */ #ifndef __IF_MGR_PUBLIC_STRUCTS_H #define __IF_MGR_PUBLIC_STRUCTS_H diff --git a/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_ucfg_api.h b/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_ucfg_api.h index 64e51747cb..64965114f8 100644 --- a/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_ucfg_api.h +++ b/umac/cmn_services/interface_mgr/inc/wlan_if_mgr_ucfg_api.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2020, 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 above @@ -30,7 +31,7 @@ /** * ucfg_if_mgr_deliver_event() - interface mgr event handler * @vdev: vdev object - * @event: interface mangaer event + * @event: interface manager event * @event_data: Interface mgr event data * * Return: QDF_STATUS diff --git a/umac/cmn_services/mgmt_txrx/dispatcher/inc/wlan_mgmt_txrx_utils_api.h b/umac/cmn_services/mgmt_txrx/dispatcher/inc/wlan_mgmt_txrx_utils_api.h index 26e05c8b9b..4b9b39f0b6 100644 --- a/umac/cmn_services/mgmt_txrx/dispatcher/inc/wlan_mgmt_txrx_utils_api.h +++ b/umac/cmn_services/mgmt_txrx/dispatcher/inc/wlan_mgmt_txrx_utils_api.h @@ -231,10 +231,10 @@ enum block_ack_actioncode { * @PUB_ACTION_GAS_INITIAL_REQUEST: GAS initial request action frame * @PUB_ACTION_GAS_INITIAL_RESPONSE: GAS initial response action frame * @PUB_ACTION_GAS_COMEBACK_REQUEST: GAS comeback request action frame - * @PUB_ACTION_GAS_COMEBACK_RESPONSE: GAS comeback respose action frame + * @PUB_ACTION_GAS_COMEBACK_RESPONSE: GAS comeback response action frame * @PUB_ACTION_TDLS_DISCRESP: tdls discovery response public action frame * @PUB_ACTION_FTM_REQUEST: FTM request action frame - * @PUB_ACTION_FTM_RESPONSE: FTM respose action frame + * @PUB_ACTION_FTM_RESPONSE: FTM response action frame */ enum pub_actioncode { PUB_ACTION_2040_BSS_COEXISTENCE = 0, @@ -1095,7 +1095,7 @@ QDF_STATUS wlan_mgmt_txrx_beacon_frame_tx(struct wlan_objmgr_peer *peer, * @buf: buffer to be transmitted * @comp_id: umac component id * - * This function transmits the FILS Dicovery Action frame to + * This function transmits the FILS Discovery Action frame to * southbound interface. * * Return: QDF_STATUS_SUCCESS - in case of success diff --git a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_global_obj.h b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_global_obj.h index e40625386d..9500d798a0 100644 --- a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_global_obj.h +++ b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_global_obj.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2016-2019, 2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-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 @@ -25,7 +25,7 @@ /** * wlan_objmgr_global_obj_init() - global object initialization * - * Creates global object, intializes with default values + * Creates global object, initializes with default values * * Return: SUCCESS on successful creation, * FAILURE on Mem alloc failure or allocated already @@ -526,7 +526,7 @@ typedef void (*wlan_objmgr_psoc_handler)(struct wlan_objmgr_psoc *psoc, * * @handler: the handler will be called for each psoc * the handler should be implemented to perform required operation - * @arg: agruments passed by caller + * @arg: arguments passed by caller * @dbg_id: id of the caller * * API to be used for performing the operations on all psoc diff --git a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_pdev_obj.h b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_pdev_obj.h index 41c434fc0a..335797b693 100644 --- a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_pdev_obj.h +++ b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_pdev_obj.h @@ -275,7 +275,7 @@ struct wlan_objmgr_pdev { * @psoc: PSOC object * @scn: os private object * - * Creates PDEV object, intializes with default values + * Creates PDEV object, initializes with default values * Invokes the registered notifiers to create component object * * Return: Handle to struct wlan_objmgr_psoc on successful creation, @@ -349,7 +349,7 @@ typedef void (*wlan_objmgr_pdev_op_handler)(struct wlan_objmgr_pdev *pdev, * @obj_type: VDEV_OP/PEER_OP * @handler: the handler will be called for each object of requested type * the handler should be implemented to perform required operation - * @arg: agruments passed by caller + * @arg: arguments passed by caller * @lock_free_op: its obsolete * @dbg_id: id of the caller * diff --git a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_peer_obj.h b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_peer_obj.h index 424ab02061..be2089801f 100644 --- a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_peer_obj.h +++ b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_peer_obj.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2016-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-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 @@ -215,7 +215,7 @@ struct wlan_objmgr_peer { * @peer_type: peer type (AP/STA) * @macaddr: MAC address * - * Creates Peer object, intializes with default values + * Creates Peer object, initializes with default values * Attaches to psoc and vdev objects * Invokes the registered notifiers to create component object * diff --git a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_psoc_obj.h b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_psoc_obj.h index 0e4199f3d3..1099bdb4dd 100644 --- a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_psoc_obj.h +++ b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_psoc_obj.h @@ -187,7 +187,7 @@ #define WLAN_SOC_F_UAPSD 0x00000400 /* STATUS: sleeping */ #define WLAN_SOC_F_SLEEP 0x00000800 - /* Enable marking of dfs interfernce */ + /* Enable marking of dfs interference */ #define WLAN_SOC_F_MARKDFS 0x00001000 /* enable or disable s/w ccmp encrypt decrypt support */ #define WLAN_SOC_F_CCMPSW_ENCDEC 0x00002000 @@ -195,7 +195,7 @@ #define WLAN_SOC_F_HIBERNATION 0x00004000 /* CONF: desired country has been set */ #define WLAN_SOC_F_DESCOUNTRY 0x00008000 - /* CONF: enable power capability or contraint IE */ + /* CONF: enable power capability or constraint IE */ #define WLAN_SOC_F_PWRCNSTRIE 0x00010000 /* STATUS: 11D in used */ #define WLAN_SOC_F_DOT11D 0x00020000 @@ -211,7 +211,7 @@ #define WLAN_SOC_F_SPECTRAL_INI_DISABLE 0x00800000 /* FTM testmode enable */ #define WLAN_SOC_F_TESTMODE_ENABLE 0x01000000 - /* Dynamic HW mode swithch enable */ + /* Dynamic HW mode switchh enable */ #define WLAN_SOC_F_DYNAMIC_HW_MODE 0x02000000 /* Broadcast TWT support enable */ #define WLAN_SOC_F_BCAST_TWT 0x04000000 @@ -392,7 +392,7 @@ struct wlan_soc_timer { /** * struct wlan_objmgr_psoc - PSOC common object * @soc_reg: regulatory sub structure - * @soc_nif: nif sub strucutre + * @soc_nif: nif sub structure * @soc_objmgr: object manager sub structure * @soc_cb: south bound callbacks * @soc_timer: soc timer for inactivity @@ -465,7 +465,7 @@ struct wlan_psoc_host_hal_reg_capabilities_ext2 { * @phy_version: device id (from probe) * @dev_type: Offload/DA * - * Creates PSOC object, intializes with default values + * Creates PSOC object, initializes with default values * Invokes the registered notifiers to create component object * * Return: Handle to struct wlan_objmgr_psoc on successful creation, @@ -540,7 +540,7 @@ typedef void (*wlan_objmgr_op_handler)(struct wlan_objmgr_psoc *psoc, * @obj_type: PDEV_OP/VDEV_OP/PEER_OP * @handler: the handler will be called for each object of requested type * the handler should be implemented to perform required operation - * @arg: agruments passed by caller + * @arg: arguments passed by caller * @lock_free_op: its obsolete * @dbg_id: id of the caller * @@ -562,7 +562,7 @@ QDF_STATUS wlan_objmgr_iterate_obj_list( * @obj_type: PDEV_OP/VDEV_OP/PEER_OP * @handler: the handler will be called for each object of requested type * the handler should be implemented to perform required operation - * @arg: agruments passed by caller + * @arg: arguments passed by caller * @lock_free_op: its obsolete * @dbg_id: id of the caller * diff --git a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h index a6fe09cd46..cacdf27ae3 100644 --- a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h +++ b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h @@ -115,7 +115,7 @@ #define WLAN_VDEV_FEXT_WAPI 0x00000010 /* 802.11h enabled */ #define WLAN_VDEV_FEXT_DOTH 0x00000020 - /* if the vap has wds independance set */ + /* if the vap has wds independence set */ #define WLAN_VDEV_FEXT_VAPIND 0x00000040 /* QBSS load IE enabled */ #define WLAN_VDEV_FEXT_BSSLOAD 0x00000080 @@ -199,7 +199,7 @@ /*For wakeup AP VAP when wds-sta connect to the AP only use when export (UMAC_REPEATER_DELAYED_BRINGUP || DBDC_REPEATER_SUPPORT)=1*/ #define WLAN_VDEV_OP_KEYFLAG 0x00002000 - /* if performe the iwlist scanning */ + /* if performed the iwlist scanning */ #define WLAN_VDEV_OP_LIST_SCANNING 0x00004000 /*Set when VAP down*/ #define WLAN_VDEV_OP_IS_DOWN 0x00008000 @@ -282,7 +282,7 @@ struct wlan_vdev_create_params { * struct wlan_channel - channel structure * @ch_freq: Channel in Mhz. * @ch_ieee: IEEE channel number. - * @ch_freq_seg1: Channel Center frequeny for VHT80/160 and HE80/160. + * @ch_freq_seg1: Channel Center frequency for VHT80/160 and HE80/160. * @ch_freq_seg2: Second channel Center frequency applicable for 80+80MHz mode. * @ch_maxpower: Maximum tx power in dBm. * @ch_flagext: Channel extension flags. @@ -434,7 +434,7 @@ struct wlan_objmgr_vdev { * @pdev: PDEV object on which this vdev gets created * @params: VDEV create params from HDD * - * Creates vdev object, intializes with default values + * Creates vdev object, initializes with default values * Attaches to psoc and pdev objects * Invokes the registered notifiers to create component object * @@ -508,7 +508,7 @@ typedef void (*wlan_objmgr_vdev_op_handler)(struct wlan_objmgr_vdev *vdev, * @vdev: vdev object * @handler: the handler will be called for each object of requested type * the handler should be implemented to perform required operation - * @arg: agruments passed by caller + * @arg: arguments passed by caller * @dbg_id: id of the caller * * API to be used for performing the operations on all PEER objects diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c index d1535f4f4f..5a3a89d7d6 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c @@ -575,7 +575,7 @@ void wlan_objmgr_debug_info_init(void) wlan_objmgr_iterate_log_del_obj_handler, NULL, QDF_TIMER_TYPE_WAKE_APPS); - /* Initialze the node_count to 0 and create list*/ + /* Initialize the node_count to 0 and create list*/ qdf_list_create(&debug_info->obj_list, LOG_DEL_OBJ_LIST_MAX_COUNT); diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_pdev_obj.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_pdev_obj.c index 812d14197c..e934991b24 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_pdev_obj.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_pdev_obj.c @@ -310,7 +310,7 @@ QDF_STATUS wlan_objmgr_pdev_component_obj_attach( return QDF_STATUS_SUCCESS; /** * If PDEV object status is partially created means, this API is - * invoked with differnt context, this block should be executed for + * invoked with different context, this block should be executed for * async components only */ /* Derive status */ @@ -325,7 +325,7 @@ QDF_STATUS wlan_objmgr_pdev_component_obj_attach( /* Notify components about the CREATION success/failure */ if ((obj_status == QDF_STATUS_SUCCESS) || (obj_status == QDF_STATUS_E_FAILURE)) { - /* nofity object status */ + /* notify object status */ for (i = 0; i < WLAN_UMAC_MAX_COMPONENTS; i++) { s_hlr = g_umac_glb_obj->pdev_status_handler[i]; a = g_umac_glb_obj->pdev_status_handler_arg[i]; @@ -361,7 +361,7 @@ QDF_STATUS wlan_objmgr_pdev_component_obj_detach( wlan_pdev_obj_unlock(pdev); /* If PDEV object status is partially destroyed means, this API is - invoked with differnt context, this block should be executed for async + invoked with different context, this block should be executed for async components only */ if ((pdev->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) || (pdev->obj_state == WLAN_OBJ_STATE_COMP_DEL_PROGRESS)) { diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_peer_obj.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_peer_obj.c index c891367de9..89ce245394 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_peer_obj.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_peer_obj.c @@ -592,7 +592,7 @@ QDF_STATUS wlan_objmgr_peer_component_obj_attach( return QDF_STATUS_SUCCESS; /* If PEER object status is partially created means, this API is - invoked with differnt context. this block should be executed for async + invoked with different context. this block should be executed for async components only */ /* Derive status */ obj_status = wlan_objmgr_peer_object_status(peer); @@ -606,7 +606,7 @@ QDF_STATUS wlan_objmgr_peer_component_obj_attach( /* Notify components about the CREATION success/failure */ if ((obj_status == QDF_STATUS_SUCCESS) || (obj_status == QDF_STATUS_E_FAILURE)) { - /* nofity object status */ + /* notify object status */ for (i = 0; i < WLAN_UMAC_MAX_COMPONENTS; i++) { s_hler = g_umac_glb_obj->peer_status_handler[i]; arg = g_umac_glb_obj->peer_status_handler_arg[i]; @@ -643,7 +643,7 @@ QDF_STATUS wlan_objmgr_peer_component_obj_detach( wlan_peer_obj_unlock(peer); /* If PEER object status is partially destroyed means, this API is - invoked with differnt context, this block should be executed for async + invoked with different context, this block should be executed for async components only */ if ((peer->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) || (peer->obj_state == WLAN_OBJ_STATE_COMP_DEL_PROGRESS)) { diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_psoc_obj.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_psoc_obj.c index a89e9edb43..deabb0e2ce 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_psoc_obj.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_psoc_obj.c @@ -310,7 +310,7 @@ QDF_STATUS wlan_objmgr_psoc_component_obj_attach( if (psoc->obj_state != WLAN_OBJ_STATE_PARTIALLY_CREATED) return QDF_STATUS_SUCCESS; /* If PSOC object status is partially created means, this API is - * invoked with differnt context, this block should be executed for + * invoked with different context, this block should be executed for * async components only */ /* Derive status */ @@ -327,7 +327,7 @@ QDF_STATUS wlan_objmgr_psoc_component_obj_attach( /* Notify components about the CREATION success/failure */ if ((obj_status == QDF_STATUS_SUCCESS) || (obj_status == QDF_STATUS_E_FAILURE)) { - /* nofity object status */ + /* notify object status */ for (i = 0; i < WLAN_UMAC_MAX_COMPONENTS; i++) { stat_handler = g_umac_glb_obj->psoc_status_handler[i]; arg = g_umac_glb_obj->psoc_status_handler_arg[i]; @@ -364,7 +364,7 @@ QDF_STATUS wlan_objmgr_psoc_component_obj_detach( wlan_psoc_obj_unlock(psoc); /* If PSOC object status is partially created means, this API is - * invoked with differnt context, this block should be executed for + * invoked with different context, this block should be executed for * async components only */ if ((psoc->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) || @@ -495,7 +495,7 @@ QDF_STATUS wlan_objmgr_iterate_obj_list_all( struct wlan_objmgr_peer *peer_next; uint16_t max_vdev_cnt; - /* If caller requests for lock free opeation, do not acquire, + /* If caller requests for lock free operation, do not acquire, * handler will handle the synchronization */ @@ -557,7 +557,7 @@ qdf_export_symbol(wlan_objmgr_iterate_obj_list_all); * @obj_type: PDEV_OP/VDEV_OP/PEER_OP * @handler: the handler will be called for each object of requested type * the handler should be implemented to perform required operation - * @arg: agruments passed by caller + * @arg: arguments passed by caller * * API to be used for performing the operations on all PDEV/VDEV/PEER objects * of psoc with lock protected @@ -581,7 +581,7 @@ static QDF_STATUS wlan_objmgr_iterate_obj_list_all_noref( struct wlan_objmgr_peer *peer_next; uint16_t max_vdev_cnt; - /* If caller requests for lock free opeation, do not acquire, + /* If caller requests for lock free operation, do not acquire, * handler will handle the synchronization */ wlan_psoc_obj_lock(psoc); diff --git a/umac/cmn_services/obj_mgr/src/wlan_objmgr_vdev_obj.c b/umac/cmn_services/obj_mgr/src/wlan_objmgr_vdev_obj.c index 0f6e05162a..bbb669c257 100644 --- a/umac/cmn_services/obj_mgr/src/wlan_objmgr_vdev_obj.c +++ b/umac/cmn_services/obj_mgr/src/wlan_objmgr_vdev_obj.c @@ -415,7 +415,7 @@ QDF_STATUS wlan_objmgr_vdev_component_obj_attach( return QDF_STATUS_SUCCESS; /* * If VDEV object status is partially created means, this API is - * invoked with differnt context, this block should be executed for + * invoked with different context, this block should be executed for * async components only */ /* Derive status */ @@ -468,7 +468,7 @@ QDF_STATUS wlan_objmgr_vdev_component_obj_detach( /** *If VDEV object status is partially destroyed means, this API is - * invoked with differnt context, this block should be executed for + * invoked with different context, this block should be executed for * async components only */ if ((vdev->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) || diff --git a/umac/cmn_services/serialization/src/wlan_serialization_debug.c b/umac/cmn_services/serialization/src/wlan_serialization_debug.c index 0efd295595..817f89c6ef 100644 --- a/umac/cmn_services/serialization/src/wlan_serialization_debug.c +++ b/umac/cmn_services/serialization/src/wlan_serialization_debug.c @@ -215,7 +215,7 @@ QDF_STATUS wlan_ser_print_history( } break; default: - ser_err("Invalid pramater for queue type(scan/non_scan"); + ser_err("Invalid parameter for queue type(scan/non_scan"); goto error; } diff --git a/umac/cmn_services/serialization/src/wlan_serialization_main.c b/umac/cmn_services/serialization/src/wlan_serialization_main.c index a36494c733..6a91859e71 100644 --- a/umac/cmn_services/serialization/src/wlan_serialization_main.c +++ b/umac/cmn_services/serialization/src/wlan_serialization_main.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2017-2020 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 @@ -50,7 +51,7 @@ QDF_STATUS wlan_serialization_psoc_disable(struct wlan_objmgr_psoc *psoc) /* clean up all timers before exiting */ status = wlan_serialization_cleanup_all_timers(ser_soc_obj); if (status != QDF_STATUS_SUCCESS) - ser_err("ser cleanning up all timer failed"); + ser_err("ser cleaning up all timer failed"); /* Use lock to free to avoid any race where timer is still in use */ wlan_serialization_acquire_lock(&ser_soc_obj->timer_lock); diff --git a/umac/cmn_services/serialization/src/wlan_serialization_scan_i.h b/umac/cmn_services/serialization/src/wlan_serialization_scan_i.h index 375f3aaea3..5ae508d037 100644 --- a/umac/cmn_services/serialization/src/wlan_serialization_scan_i.h +++ b/umac/cmn_services/serialization/src/wlan_serialization_scan_i.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 @@ -36,7 +37,7 @@ /** * wlan_serialization_active_scan_cmd_count_handler() - count active scan cmds - * @psoc: pointer to soc strucutre + * @psoc: pointer to soc structure * @obj : pointer to pdev object * @arg: pointer to argument * diff --git a/umac/cmn_services/serialization/src/wlan_serialization_utils_i.h b/umac/cmn_services/serialization/src/wlan_serialization_utils_i.h index 14511e3c1d..e45ff71ac9 100644 --- a/umac/cmn_services/serialization/src/wlan_serialization_utils_i.h +++ b/umac/cmn_services/serialization/src/wlan_serialization_utils_i.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2017-2020 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 @@ -561,7 +562,7 @@ bool wlan_serialization_match_cmd_blocking( enum wlan_serialization_node node_type); /** - * wlan_serialization_find_cmd() - Find the cmd matching the given criterias + * wlan_serialization_find_cmd() - Find the cmd matching the given criteria * @cmd: Serialization command information * @cmd_type: Command type to be matched * @pdev: pdev object that needs to be matched diff --git a/umac/cmn_services/sm_engine/inc/wlan_sm_engine.h b/umac/cmn_services/sm_engine/inc/wlan_sm_engine.h index 501a9a7ee0..eda692fa28 100644 --- a/umac/cmn_services/sm_engine/inc/wlan_sm_engine.h +++ b/umac/cmn_services/sm_engine/inc/wlan_sm_engine.h @@ -1,5 +1,6 @@ /* * Copyright (c) 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 @@ -99,9 +100,9 @@ * @initial_substate: Initial sub state of this state * @has_substates: flag to specify, whether it has sub states * @name: Name of the state - * @wlan_sm_entry: State entry callback poitner - * @wlan_sm_exit: State exit callback poitner - * @wlan_sm_event: State event callback poitner + * @wlan_sm_entry: State entry callback pointer + * @wlan_sm_exit: State exit callback pointer + * @wlan_sm_event: State event callback pointer */ struct wlan_sm_state_info { uint8_t state; @@ -164,7 +165,7 @@ struct wlan_sm { * @event_names: Event name table * @num_event_names: Number of events * - * Creates SM object, intializes with init_state, stores the name and owner + * Creates SM object, initializes with init_state, stores the name and owner * module pointer, states definition table, and event name table * * Return: Handle to struct wlan_sm on successful creation, diff --git a/umac/cmn_services/utils/inc/wlan_utility.h b/umac/cmn_services/utils/inc/wlan_utility.h index 56b88bb81c..061da39fe6 100644 --- a/umac/cmn_services/utils/inc/wlan_utility.h +++ b/umac/cmn_services/utils/inc/wlan_utility.h @@ -854,8 +854,8 @@ bool wlan_get_connected_vdev_by_mld_addr(struct wlan_objmgr_psoc *psoc, * @rssi: rssi * * This function gets the rssi based on db2dbm support. If this feature is - * present in hw then it means firmware directly sends rssi and no converstion - * is required. If this capablity is not present then host needs to convert + * present in hw then it means firmware directly sends rssi and no conversion + * is required. If this capability is not present then host needs to convert * snr to rssi * * Return: None diff --git a/umac/cmn_services/utils/src/wlan_utility.c b/umac/cmn_services/utils/src/wlan_utility.c index 4bc10f6b58..895f0d99fe 100644 --- a/umac/cmn_services/utils/src/wlan_utility.c +++ b/umac/cmn_services/utils/src/wlan_utility.c @@ -549,7 +549,7 @@ wlan_create_elemsubelem_fragseq(bool inline_frag, /* used for inline copy, the extra bytes needed in the payload buffer * due to difference in destination and source. * Note that the caller should ensure there is enough bytes beyond - * valid data untill payloadbuff_maxsize*/ + * valid data until payloadbuff_maxsize*/ qdf_size_t payloadbuff_shiftsize; /* Miscellaneous variables */