From 6d26ba1f0a091b0a4d4a580c95c1e64090ef2ae0 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 30 Sep 2022 15:19:21 -0700 Subject: [PATCH] qcacmn: umac: mlme: Fix misspellings Fix misspellings in umac/mlme/... Change-Id: I3d9a890676ab15e250e283727b23bea6d10320e1 CRs-Fixed: 3304698 --- .../core/src/wlan_cm_bss_scoring.c | 6 +++--- .../connection_mgr/core/src/wlan_cm_connect.c | 10 +++++----- .../core/src/wlan_cm_disconnect.c | 2 +- .../connection_mgr/core/src/wlan_cm_main.h | 5 +++-- .../core/src/wlan_cm_main_api.h | 6 +++--- .../connection_mgr/core/src/wlan_cm_roam.h | 2 +- .../dispatcher/inc/cfg_mlme_score_params.h | 2 +- .../dispatcher/inc/wlan_cm_api.h | 14 ++++++------- .../dispatcher/inc/wlan_cm_bss_score_param.h | 20 +++++++++---------- .../dispatcher/inc/wlan_cm_public_struct.h | 2 +- .../dispatcher/inc/wlan_cm_ucfg_api.h | 2 +- .../mlme/connection_mgr/utf/inc/wlan_cm_utf.h | 3 ++- .../connection_mgr/utf/src/wlan_cm_utf_scan.c | 3 ++- umac/mlme/include/wlan_mlme_cmn.h | 8 ++++---- umac/mlme/include/wlan_psoc_mlme.h | 4 ++-- umac/mlme/include/wlan_vdev_mlme.h | 2 +- .../dispatcher/inc/wlan_vdev_mlme_main.h | 4 ++-- umac/mlme/vdev_mgr/core/src/vdev_mlme_sm.h | 4 ++-- .../inc/wlan_vdev_mgr_tgt_if_tx_defs.h | 6 +++--- 19 files changed, 54 insertions(+), 51 deletions(-) diff --git a/umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c b/umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c index 027539c91c..1a957e323b 100644 --- a/umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c +++ b/umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c @@ -1394,7 +1394,7 @@ cm_calculate_etp_score(struct wlan_objmgr_psoc *psoc, #endif /** - * cm_get_band_score() - Get band prefernce weightage + * cm_get_band_score() - Get band preference weightage * freq: Operating frequency of the AP * @score_config: Score configuration * @@ -2122,7 +2122,7 @@ static int cm_calculate_bss_score(struct wlan_objmgr_psoc *psoc, if (congestion_pct < CM_CONGESTION_THRSHOLD_FOR_BAND_OCE_SCORE) { /* * If AP is on 5/6 GHZ channel , extra weigtage is added to BSS - * score. if RSSI is greater tha 5g rssi threshold or fall in + * score. if RSSI is greater than 5g rssi threshold or fall in * same bucket else give weigtage to 2.4 GHZ AP. */ if ((entry->rssi_raw > rssi_pref_5g_rssi_thresh) && @@ -2465,7 +2465,7 @@ bool wlan_cm_6ghz_allowed_for_akm(struct wlan_objmgr_psoc *psoc, * Check if any AKM is allowed as per user 6Ghz allowed AKM mask */ if (!(config->key_mgmt_mask_6ghz & key_mgmt)) { - mlme_debug("user configured mask %x didnt match AKM %x", + mlme_debug("user configured mask %x didn't match AKM %x", config->key_mgmt_mask_6ghz , key_mgmt); return false; } diff --git a/umac/mlme/connection_mgr/core/src/wlan_cm_connect.c b/umac/mlme/connection_mgr/core/src/wlan_cm_connect.c index b9adf2cb71..55f3f22460 100644 --- a/umac/mlme/connection_mgr/core/src/wlan_cm_connect.c +++ b/umac/mlme/connection_mgr/core/src/wlan_cm_connect.c @@ -759,7 +759,7 @@ static void cm_get_vdev_id_from_bssid(struct wlan_objmgr_pdev *pdev, * @cm_req: Connect request. * * As Connect is a blocking call this API will make sure the disconnect - * doesnt timeout on any vdev and thus make sure that PEER/VDEV SM are cleaned + * doesn't timeout on any vdev and thus make sure that PEER/VDEV SM are cleaned * before vdev delete is sent. * * Return : true if disconnection is on any vdev_id @@ -1423,7 +1423,7 @@ cm_handle_connect_req_in_non_init_state(struct cnx_mgr *cm_ctx, * required to cleanup. * so just add the connect request to the list. * 2. There is a connect request activated, followed by - * disconnect in pending queue. So keep the disconenct + * disconnect in pending queue. So keep the disconnect * to cleanup the active connect and no action required to * cleanup. */ @@ -1845,7 +1845,7 @@ static inline void cm_set_fils_connection(struct cnx_mgr *cm_ctx, /* * Check and set only in case of failure and when - * resp->is_fils_connection is not alredy set, else return. + * resp->is_fils_connection is not already set, else return. */ if (QDF_IS_STATUS_SUCCESS(resp->connect_status) || resp->is_fils_connection) @@ -2182,7 +2182,7 @@ inline void cm_update_partner_link_scan_db(struct cnx_mgr *cm_ctx, * the connected AP entry. * * Context: Can be called from any context and to be used only if connect - * is successful and SM is in conencted state. i.e. SM lock is hold. + * is successful and SM is in connected state. i.e. SM lock is hold. * * Return: void */ @@ -2318,7 +2318,7 @@ QDF_STATUS cm_notify_connect_complete(struct cnx_mgr *cm_ctx, sm_state == WLAN_CM_S_INIT && cm_is_connect_id_reassoc_in_non_connected(cm_ctx, resp->cm_id)) { resp->send_disconnect = true; - mlme_debug(CM_PREFIX_FMT "Set send disconnect to true to indicate disconnect instaed of connect resp", + mlme_debug(CM_PREFIX_FMT "Set send disconnect to true to indicate disconnect instead of connect resp", CM_PREFIX_REF(wlan_vdev_get_id(cm_ctx->vdev), resp->cm_id)); } diff --git a/umac/mlme/connection_mgr/core/src/wlan_cm_disconnect.c b/umac/mlme/connection_mgr/core/src/wlan_cm_disconnect.c index 5ecf530510..56478a2d4a 100644 --- a/umac/mlme/connection_mgr/core/src/wlan_cm_disconnect.c +++ b/umac/mlme/connection_mgr/core/src/wlan_cm_disconnect.c @@ -687,7 +687,7 @@ cm_handle_discon_req_in_non_connected_state(struct cnx_mgr *cm_ctx, * So no need to do anything here, just return failure and drop * disconnect. */ - mlme_info("vdev %d droping disconnect req from source %d in INIT state", + mlme_info("vdev %d dropping disconnect req from source %d in INIT state", wlan_vdev_get_id(cm_ctx->vdev), cm_req->req.source); return QDF_STATUS_E_ALREADY; default: diff --git a/umac/mlme/connection_mgr/core/src/wlan_cm_main.h b/umac/mlme/connection_mgr/core/src/wlan_cm_main.h index 8dfbce50ca..20d21f998d 100644 --- a/umac/mlme/connection_mgr/core/src/wlan_cm_main.h +++ b/umac/mlme/connection_mgr/core/src/wlan_cm_main.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-2015, 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 @@ -57,7 +58,7 @@ * @WLAN_CM_SS_IDLE: Idle state (no substate) * @WLAN_CM_SS_JOIN_PENDING: Connect request not serialized * @WLAN_CM_SS_SCAN: Scan for SSID state - * @WLAN_CM_SS_JOIN_ACTIVE: Conenct request activated + * @WLAN_CM_SS_JOIN_ACTIVE: Connect request activated * @WLAN_CM_SS_PREAUTH: Roam substate of preauth stage * @WLAN_CM_SS_REASSOC: Roam substate for reassoc state * @WLAN_CM_SS_ROAM_STARTED: Roaming in progress (LFR 3.0) @@ -231,7 +232,7 @@ struct cm_req_history { * this is used to get which command to flush from serialization during * host roaming. * @req_list: connect/disconnect req list - * @cm_req_lock: lock to manupulate/read the cm req list + * @cm_req_lock: lock to manipulate/read the cm req list * @disconnect_count: disconnect count * @connect_count: connect count * @force_rsne_override: if QCA_WLAN_VENDOR_ATTR_CONFIG_RSN_IE is set by diff --git a/umac/mlme/connection_mgr/core/src/wlan_cm_main_api.h b/umac/mlme/connection_mgr/core/src/wlan_cm_main_api.h index ba086e6f21..9f993609e3 100644 --- a/umac/mlme/connection_mgr/core/src/wlan_cm_main_api.h +++ b/umac/mlme/connection_mgr/core/src/wlan_cm_main_api.h @@ -906,7 +906,7 @@ bool cm_is_vdev_connected(struct wlan_objmgr_vdev *vdev); bool cm_is_vdev_active(struct wlan_objmgr_vdev *vdev); /** - * cm_is_vdev_disconnecting() - check if vdev is in disconneting state + * cm_is_vdev_disconnecting() - check if vdev is in disconnecting state * @vdev: vdev pointer * * Return: bool @@ -983,7 +983,7 @@ cm_get_active_req_type(struct wlan_objmgr_vdev *vdev); * @vdev: vdev pointer * @req: pointer to the copy of the active connect request * * - * Context: Should be called only in the conext of the + * Context: Should be called only in the context of the * cm request activation * * Return: true and connect req if any request is active @@ -996,7 +996,7 @@ bool cm_get_active_connect_req(struct wlan_objmgr_vdev *vdev, * @vdev: vdev pointer * @req: pointer to the copy of the active disconnect request * * - * Context: Should be called only in the conext of the + * Context: Should be called only in the context of the * cm request activation * * Return: true and disconnect req if any request is active diff --git a/umac/mlme/connection_mgr/core/src/wlan_cm_roam.h b/umac/mlme/connection_mgr/core/src/wlan_cm_roam.h index 61db5f5305..8fab820ae3 100644 --- a/umac/mlme/connection_mgr/core/src/wlan_cm_roam.h +++ b/umac/mlme/connection_mgr/core/src/wlan_cm_roam.h @@ -90,7 +90,7 @@ QDF_STATUS cm_reassoc_complete(struct cnx_mgr *cm_ctx, * @vdev: vdev pointer * @req: pointer to the copy of the active reassoc request * * - * Context: Should be called only in the conext of the + * Context: Should be called only in the context of the * cm request activation * * Return: true and reassoc req if any request is active diff --git a/umac/mlme/connection_mgr/dispatcher/inc/cfg_mlme_score_params.h b/umac/mlme/connection_mgr/dispatcher/inc/cfg_mlme_score_params.h index 06fdbf72d7..dbf35a56ec 100644 --- a/umac/mlme/connection_mgr/dispatcher/inc/cfg_mlme_score_params.h +++ b/umac/mlme/connection_mgr/dispatcher/inc/cfg_mlme_score_params.h @@ -167,7 +167,7 @@ /* * - * chan_band_weightage - Channel Band perferance to 5GHZ to + * chan_band_weightage - Channel Band preference to 5GHZ to * calculate best candidate * @Min: 0 * @Max: 100 diff --git a/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_api.h b/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_api.h index 30e2c3df43..b6ae0ebb13 100644 --- a/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_api.h +++ b/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_api.h @@ -157,7 +157,7 @@ void wlan_cm_set_max_connect_timeout(struct wlan_objmgr_vdev *vdev, uint32_t max_connect_timeout); /** - * wlan_cm_is_vdev_connecting() - check if vdev is in conneting state + * wlan_cm_is_vdev_connecting() - check if vdev is in connecting state * @vdev: vdev pointer * * Return: bool @@ -165,7 +165,7 @@ void wlan_cm_set_max_connect_timeout(struct wlan_objmgr_vdev *vdev, bool wlan_cm_is_vdev_connecting(struct wlan_objmgr_vdev *vdev); /** - * wlan_cm_is_vdev_connected() - check if vdev is in conneted state + * wlan_cm_is_vdev_connected() - check if vdev is in connected state * @vdev: vdev pointer * * Return: bool @@ -173,7 +173,7 @@ bool wlan_cm_is_vdev_connecting(struct wlan_objmgr_vdev *vdev); bool wlan_cm_is_vdev_connected(struct wlan_objmgr_vdev *vdev); /** - * wlan_cm_is_vdev_active() - check if vdev is in active state ie conneted or + * wlan_cm_is_vdev_active() - check if vdev is in active state ie connected or * roaming state * @vdev: vdev pointer * @@ -182,7 +182,7 @@ bool wlan_cm_is_vdev_connected(struct wlan_objmgr_vdev *vdev); bool wlan_cm_is_vdev_active(struct wlan_objmgr_vdev *vdev); /** - * wlan_cm_is_vdev_disconnecting() - check if vdev is in disconneting state + * wlan_cm_is_vdev_disconnecting() - check if vdev is in disconnecting state * @vdev: vdev pointer * * Return: bool @@ -273,7 +273,7 @@ bool wlan_cm_is_vdev_roam_reassoc_state(struct wlan_objmgr_vdev *vdev) * @vdev: vdev pointer * @req: pointer to the copy of the active connect request * * - * Context: Should be called only in the conext of the + * Context: Should be called only in the context of the * cm request activation * * Return: true and connect req if any request is active @@ -287,7 +287,7 @@ bool wlan_cm_get_active_connect_req(struct wlan_objmgr_vdev *vdev, * @vdev: vdev pointer * @req: pointer to the copy of the active reassoc request * * - * Context: Should be called only in the conext of the + * Context: Should be called only in the context of the * cm request activation * * Return: true and reassoc req if any request is active @@ -308,7 +308,7 @@ bool wlan_cm_get_active_reassoc_req(struct wlan_objmgr_vdev *vdev, * @vdev: vdev pointer * @req: pointer to the copy of the active disconnect request * * - * Context: Should be called only in the conext of the + * Context: Should be called only in the context of the * cm request activation * * Return: true and disconnect req if any request is active diff --git a/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_bss_score_param.h b/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_bss_score_param.h index 9df9688108..6fd10021e6 100644 --- a/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_bss_score_param.h +++ b/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_bss_score_param.h @@ -107,28 +107,28 @@ struct rssi_config_score { }; /** - * struct per_slot_score - define % score for differents slots for a + * struct per_slot_score - define % score for different slots for a * scoring param. * num_slot: number of slots in which the param will be divided. * Max 15. index 0 is used for 'not_present. Num_slot will * equally divide 100. e.g, if num_slot = 4 slot 0 = 0-25%, slot * 1 = 26-50% slot 2 = 51-75%, slot 3 = 76-100% - * score_pcnt3_to_0: Conatins score percentage for slot 0-3 + * score_pcnt3_to_0: Contains score percentage for slot 0-3 * BITS 0-7 :- the scoring pcnt when not present * BITS 8-15 :- SLOT_1 * BITS 16-23 :- SLOT_2 * BITS 24-31 :- SLOT_3 - * score_pcnt7_to_4: Conatins score percentage for slot 4-7 + * score_pcnt7_to_4: Contains score percentage for slot 4-7 * BITS 0-7 :- SLOT_4 * BITS 8-15 :- SLOT_5 * BITS 16-23 :- SLOT_6 * BITS 24-31 :- SLOT_7 - * score_pcnt11_to_8: Conatins score percentage for slot 8-11 + * score_pcnt11_to_8: Contains score percentage for slot 8-11 * BITS 0-7 :- SLOT_8 * BITS 8-15 :- SLOT_9 * BITS 16-23 :- SLOT_10 * BITS 24-31 :- SLOT_11 - * score_pcnt15_to_12: Conatins score percentage for slot 12-15 + * score_pcnt15_to_12: Contains score percentage for slot 12-15 * BITS 0-7 :- SLOT_12 * BITS 8-15 :- SLOT_13 * BITS 16-23 :- SLOT_14 @@ -224,7 +224,7 @@ enum cm_security_idx { * @rssi_score: Rssi related config for scoring config * @esp_qbss_scoring: esp and qbss related scoring config * @oce_wan_scoring: oce related scoring config - * @bandwidth_weight_per_index: BW wight per index + * @bandwidth_weight_per_index: BW weight per index * @nss_weight_per_index: nss weight per index * @band_weight_per_index: band weight per index * @is_bssid_hint_priority: True if bssid_hint is given priority @@ -369,7 +369,7 @@ void wlan_cm_set_check_6ghz_security(struct wlan_objmgr_psoc *psoc, bool value); /** - * wlan_cm_reset_check_6ghz_security() - reset check 6Ghz security to orignal + * wlan_cm_reset_check_6ghz_security() - reset check 6Ghz security to original * value * @psoc: pointer to psoc object * @@ -378,7 +378,7 @@ void wlan_cm_set_check_6ghz_security(struct wlan_objmgr_psoc *psoc, void wlan_cm_reset_check_6ghz_security(struct wlan_objmgr_psoc *psoc); /** - * wlan_cm_get_check_6ghz_security() - Get 6Ghz allowe AKM mask + * wlan_cm_get_check_6ghz_security() - Get 6Ghz allowed AKM mask * @psoc: pointer to psoc object * @value: value to be set * @@ -387,7 +387,7 @@ void wlan_cm_reset_check_6ghz_security(struct wlan_objmgr_psoc *psoc); bool wlan_cm_get_check_6ghz_security(struct wlan_objmgr_psoc *psoc); /** - * wlan_cm_set_6ghz_key_mgmt_mask() - Set 6Ghz allowe AKM mask + * wlan_cm_set_6ghz_key_mgmt_mask() - Set 6Ghz allowed AKM mask * @psoc: pointer to psoc object * * Return: void @@ -396,7 +396,7 @@ void wlan_cm_set_6ghz_key_mgmt_mask(struct wlan_objmgr_psoc *psoc, uint32_t value); /** - * wlan_cm_get_6ghz_key_mgmt_mask() - Get 6Ghz allowe AKM mask + * wlan_cm_get_6ghz_key_mgmt_mask() - Get 6Ghz allowed AKM mask * @psoc: pointer to psoc object * * Return: value diff --git a/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_public_struct.h b/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_public_struct.h index 38f6122722..aaf58ceecf 100644 --- a/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_public_struct.h +++ b/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_public_struct.h @@ -425,7 +425,7 @@ struct fils_connect_rsp_params { /** * struct connect_rsp_ies - connect rsp ies stored in vdev filled during connect * @bcn_probe_rsp: Raw beacon or probe rsp of connected AP - * @assoc_req: assoc req IE pointer send during conenct + * @assoc_req: assoc req IE pointer send during connect * @assoc_rsq: assoc rsp IE received during connection * @fills_ie: fills connection ie received during connection */ diff --git a/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_ucfg_api.h b/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_ucfg_api.h index b1babd0d7b..bbd724951e 100644 --- a/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_ucfg_api.h +++ b/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_ucfg_api.h @@ -88,7 +88,7 @@ bool ucfg_cm_is_vdev_connected(struct wlan_objmgr_vdev *vdev); bool ucfg_cm_is_vdev_active(struct wlan_objmgr_vdev *vdev); /** - * ucfg_cm_is_vdev_disconnecting() - check if vdev is in disconneting state + * ucfg_cm_is_vdev_disconnecting() - check if vdev is in disconnecting state * @vdev: vdev pointer * * Return: bool diff --git a/umac/mlme/connection_mgr/utf/inc/wlan_cm_utf.h b/umac/mlme/connection_mgr/utf/inc/wlan_cm_utf.h index f793f6bafe..b5f6091ebf 100644 --- a/umac/mlme/connection_mgr/utf/inc/wlan_cm_utf.h +++ b/umac/mlme/connection_mgr/utf/inc/wlan_cm_utf.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 @@ -61,7 +62,7 @@ #define CFG_WLAN_CM_UTF_PARAM CFG(CFG_WLAN_CM_UTF) /** * enum wlan_cm_utf_test - CM UTF Test ID - * @CM_UTF_ID_CONNECT_SUCCESS: Connect Succes + * @CM_UTF_ID_CONNECT_SUCCESS: Connect Success * @CM_UTF_ID_DISCONNECT_SUCCESS: Disconnect Success * @CM_UTF_ID_PEER_CREATE_FAILURE: Peer Create Failure * @CM_UTF_ID_PEER_CREATE_TIMEOUT: No Peer Create Response diff --git a/umac/mlme/connection_mgr/utf/src/wlan_cm_utf_scan.c b/umac/mlme/connection_mgr/utf/src/wlan_cm_utf_scan.c index 681be5955d..ac1c71c297 100644 --- a/umac/mlme/connection_mgr/utf/src/wlan_cm_utf_scan.c +++ b/umac/mlme/connection_mgr/utf/src/wlan_cm_utf_scan.c @@ -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 @@ -15,7 +16,7 @@ */ /* - * DOC: Implements scan functinality for CM UTF + * DOC: Implements scan functionality for CM UTF */ #ifdef FEATURE_CM_UTF_ENABLE diff --git a/umac/mlme/include/wlan_mlme_cmn.h b/umac/mlme/include/wlan_mlme_cmn.h index 649fc70ce2..5335f08130 100644 --- a/umac/mlme/include/wlan_mlme_cmn.h +++ b/umac/mlme/include/wlan_mlme_cmn.h @@ -482,7 +482,7 @@ QDF_STATUS mlme_vdev_enqueue_exp_ser_cmd(struct vdev_mlme_obj *vdev_mlme, uint8_t cmd_type); /** - * mlme_vdev_ops_start_fw_send - Send WMI START/RESTART commmand to FW + * mlme_vdev_ops_start_fw_send - Send WMI START/RESTART command to FW * @vdev: VDEV object * * API to send WMI start/restart command to FW @@ -495,7 +495,7 @@ QDF_STATUS mlme_vdev_ops_start_fw_send(struct wlan_objmgr_vdev *vdev, /** * mlme_vdev_ops_multivdev_restart_fw_cmd_send - Send WMI Multivdev restart - * commmand to FW + * command to FW * @pdev: PDEV object * * API to send WMI multivdev restart command to FW @@ -507,7 +507,7 @@ QDF_STATUS mlme_vdev_ops_multivdev_restart_fw_cmd_send( struct wlan_objmgr_pdev *pdev); /** - * mlme_vdev_ops_stop_fw_send - Send WMI STOP commmand to FW + * mlme_vdev_ops_stop_fw_send - Send WMI STOP command to FW * @vdev: VDEV object * * API to send WMI stop command to FW @@ -518,7 +518,7 @@ QDF_STATUS mlme_vdev_ops_multivdev_restart_fw_cmd_send( QDF_STATUS mlme_vdev_ops_stop_fw_send(struct wlan_objmgr_vdev *vdev); /** - * mlme_vdev_ops_down_fw_send - Send WMI Down commmand to FW + * mlme_vdev_ops_down_fw_send - Send WMI Down command to FW * @vdev: VDEV object * * API to send WMI down command to FW diff --git a/umac/mlme/include/wlan_psoc_mlme.h b/umac/mlme/include/wlan_psoc_mlme.h index e0e120a87c..71f24986ed 100644 --- a/umac/mlme/include/wlan_psoc_mlme.h +++ b/umac/mlme/include/wlan_psoc_mlme.h @@ -56,8 +56,8 @@ struct wlan_6ghz_rnr_global_cache { * @eht_cap: If dev is configured as EHT capable * @vht_24G_cap:If dev is configured as VHT capable for 2.4Ghz * @beamformee_cap:If dev is configured as BF capable - * @bw_above_20_5ghz: BW greater than 20Mhz supprted for 5Ghz - * @bw_above_20_24ghz: BW greater than 20Mhz supprted for 2.4Ghz + * @bw_above_20_5ghz: BW greater than 20Mhz supported for 5Ghz + * @bw_above_20_24ghz: BW greater than 20Mhz supported for 2.4Ghz * @max_chan_switch_ie: If max channel switch IE is supported */ struct psoc_phy_config { diff --git a/umac/mlme/include/wlan_vdev_mlme.h b/umac/mlme/include/wlan_vdev_mlme.h index 31574133f9..374fe050be 100644 --- a/umac/mlme/include/wlan_vdev_mlme.h +++ b/umac/mlme/include/wlan_vdev_mlme.h @@ -394,7 +394,7 @@ struct wlan_vdev_aid_mgr { /** * struct vdev_mlme_mgmt_ap - ap specific vdev mlme mgmt cfg * @hidden_ssid: flag to indicate whether it is hidden ssid - * @cac_duration_ms: cac duration in millseconds + * @cac_duration_ms: cac duration in milliseconds * @aid_mgr: AID bitmap mgr * @max_chan_switch_time: Max channel switch time in milliseconds. * @last_bcn_ts_ms: Timestamp (in milliseconds) of the last beacon sent on the diff --git a/umac/mlme/mlme_objmgr/dispatcher/inc/wlan_vdev_mlme_main.h b/umac/mlme/mlme_objmgr/dispatcher/inc/wlan_vdev_mlme_main.h index 002759239e..7ca26b638e 100644 --- a/umac/mlme/mlme_objmgr/dispatcher/inc/wlan_vdev_mlme_main.h +++ b/umac/mlme/mlme_objmgr/dispatcher/inc/wlan_vdev_mlme_main.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2018-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 @@ -110,7 +110,7 @@ enum wlan_vdev_state { * @WLAN_VDEV_SM_EV_DFS_CAC_COMPLETED: Notifies on CAC completion * @WLAN_VDEV_SM_EV_DOWN: Invokes VDEV DOWN operation * @WLAN_VDEV_SM_EV_CONNECTION_FAIL: Notifications for UP/connection failure - * @WLAN_VDEV_SM_EV_STOP_RESP: Notifcation of stop response + * @WLAN_VDEV_SM_EV_STOP_RESP: Notification of stop response * @WLAN_VDEV_SM_EV_STOP_FAIL: Notification of stop req failure * @WLAN_VDEV_SM_EV_DOWN_FAIL: Notification of down failure * @WLAN_VDEV_SM_EV_DISCONNECT_COMPLETE: Notification of Peer cleanup complete diff --git a/umac/mlme/vdev_mgr/core/src/vdev_mlme_sm.h b/umac/mlme/vdev_mgr/core/src/vdev_mlme_sm.h index a0a68306ca..121a4690e9 100644 --- a/umac/mlme/vdev_mgr/core/src/vdev_mlme_sm.h +++ b/umac/mlme/vdev_mgr/core/src/vdev_mlme_sm.h @@ -134,7 +134,7 @@ static inline QDF_STATUS mlme_vdev_validate_basic_params( * @event_data_len: data size * @event_data: event data * - * API resets the protocol params fo vdev + * API resets the protocol params of vdev * * Return: SUCCESS on successful reset * FAILURE, if it fails due to any @@ -668,7 +668,7 @@ static inline void mlme_vdev_start_rsp_notify_mlo_mgr( } /** - * mlme_vdev_down_cmpl_notify_mlo_mgr - notify mlo link is down complate + * mlme_vdev_down_cmpl_notify_mlo_mgr - notify mlo link is down complete * @vdev_mlme_obj: VDEV MLME comp object * * Return: VOID. diff --git a/umac/mlme/vdev_mgr/dispatcher/inc/wlan_vdev_mgr_tgt_if_tx_defs.h b/umac/mlme/vdev_mgr/dispatcher/inc/wlan_vdev_mgr_tgt_if_tx_defs.h index 93c57e1542..2a9c1660a5 100644 --- a/umac/mlme/vdev_mgr/dispatcher/inc/wlan_vdev_mgr_tgt_if_tx_defs.h +++ b/umac/mlme/vdev_mgr/dispatcher/inc/wlan_vdev_mgr_tgt_if_tx_defs.h @@ -128,7 +128,7 @@ enum wlan_mlme_host_start_event_param { }; /** - * enum wlan_mlme_custom_aggr_type: custon aggregate type + * enum wlan_mlme_custom_aggr_type: custom aggregate type * @WLAN_MLME_CUSTOM_AGGR_TYPE_AMPDU: A-MPDU aggregation * @WLAN_MLME_CUSTOM_AGGR_TYPE_AMSDU: A-MSDU aggregation * @WLAN_MLME_CUSTOM_AGGR_TYPE_MAX: Max type @@ -213,7 +213,7 @@ struct tbttoffset_params { * @vdev_id: Vdev id * @hw_link_id: Unique hw link id across SoCs * @beacon_interval: Beacon interval - * @csa_switch_count_offset: CSA swith count offset in beacon frame + * @csa_switch_count_offset: CSA switch count offset in beacon frame * @ext_csa_switch_count_offset: ECSA switch count offset in beacon frame * @per_sta_profile_offset: Pointer to per-STA profile info * @quiet_ie_offset: Quiet IE offset @@ -268,7 +268,7 @@ struct mlo_bcn_tmpl_ml_info { * @mbssid_ie_offset: mbssid ie offset * @tmpl_len: beacon template length * @tmpl_len_aligned: beacon template alignment - * @csa_switch_count_offset: CSA swith count offset in beacon frame + * @csa_switch_count_offset: CSA switch count offset in beacon frame * @ext_csa_switch_count_offset: ECSA switch count offset in beacon frame * @esp_ie_offset: ESP IE offset in beacon frame * @mu_edca_ie_offset: Mu EDCA IE offset in beacon frame