diff --git a/components/mlme/core/inc/wlan_mlme_main.h b/components/mlme/core/inc/wlan_mlme_main.h index d53b38ec5a..cc1b5bf71a 100644 --- a/components/mlme/core/inc/wlan_mlme_main.h +++ b/components/mlme/core/inc/wlan_mlme_main.h @@ -147,7 +147,7 @@ struct sae_auth_retry { /** * struct peer_mlme_priv_obj - peer MLME component object - * @last_pn_valid if last PN is valid + * @last_pn_valid: if last PN is valid * @last_pn: last pn received * @rmf_pn_replays: rmf pn replay count * @is_pmf_enabled: True if PMF is enabled @@ -193,7 +193,7 @@ enum vdev_assoc_type { }; /** - * wlan_mlme_roam_state_info - Structure containing roaming + * struct wlan_mlme_roam_state_info - Structure containing roaming * state related details * @state: Roaming module state. * @mlme_operations_bitmap: Bitmap containing what mlme operations are in @@ -220,7 +220,7 @@ struct wlan_mlme_roaming_config { * struct wlan_mlme_roam - Roam structure containing roam state and * roam config info * @roam_sm: Structure containing roaming state related details - * @roam_config: Roaming configurations structure + * @roam_cfg: Roaming configurations structure * @sae_single_pmk: Details for sae roaming using single pmk * @set_pmk_pending: RSO update status of PMK from set_key * @sae_auth_ta: SAE pre-auth tx address @@ -321,14 +321,14 @@ enum ft_ie_state { /** * struct ft_context - ft related information - * @r0kh_id_len: rokh id len - * @r0kh_id: rokh id + * @r0kh_id_len: r0kh id len + * @r0kh_id: r0kh id * @auth_ft_ie: auth ft ies received during preauth phase - * @auth_ie_len: auth ie lengt - * @reassoc_ft_ie: reassoc ft ies received during reassoc phas + * @auth_ie_len: auth ie length + * @reassoc_ft_ie: reassoc ft ies received during reassoc phase * @reassoc_ie_len: reassoc ie length - * ric_ies: ric ie - * ric_ies_length: ric ie len + * @ric_ies: ric ie + * @ric_ies_length: ric ie len * @set_ft_preauth_state: preauth state * @ft_state: ft state * @add_mdie: add mdie in assoc req @@ -354,7 +354,7 @@ struct ft_context { /** * struct mlme_connect_info - mlme connect information * @timing_meas_cap: Timing meas cap - * @oem_channel_info: oem channel info + * @chan_info: oem channel info * @tdls_chan_swit_prohibited: if tdls chan switch is prohobited by AP * @tdls_prohibited: if tdls is prohobited by AP * @uapsd_per_ac_bitmask: Used on STA, this is a static UAPSD mask setting @@ -431,15 +431,15 @@ struct mlme_ap_config { * @assoc_type: vdev associate/reassociate type * @dynamic_cfg: current configuration of nss, chains for vdev. * @ini_cfg: Max configuration of nss, chains supported for vdev. - * @sta_dynamic_oce_value: Dyanmic oce flags value for sta + * @sta_dynamic_oce_value: Dynamic oce flags value for sta * @disconnect_info: Disconnection information * @vdev_stop_type: vdev stop type request - * @roam_off_state: Roam offload state + * @mlme_roam: Roam offload state * @cm_roam: Roaming configuration * @auth_log: Cached log records for SAE authentication frame * related information. * @bigtk_vdev_support: BIGTK feature support for this vdev (SAP) - * @sae_auth_retry: SAE auth retry information + * @sae_retry: SAE auth retry information * @roam_reason_better_ap: roam due to better AP found * @hb_failure_rssi: heartbeat failure AP RSSI * @opr_rate_set: operational rates set @@ -774,7 +774,7 @@ bool mlme_get_peer_pmf_status(struct wlan_objmgr_peer *peer); /** * wlan_get_opmode_from_vdev_id() - Get opmode from vdevid - * @psoc: PSOC pointer + * @pdev: pdev pointer * @vdev_id: vdev id * * Return: opmode @@ -799,7 +799,7 @@ QDF_STATUS wlan_mlme_get_bssid_vdev_id(struct wlan_objmgr_pdev *pdev, struct qdf_mac_addr *bss_peer_mac); /** - * csr_get_operation_chan_freq() - get operating chan freq of + * wlan_get_operation_chan_freq() - get operating chan freq of * given vdev * @vdev: vdev * @@ -887,6 +887,7 @@ wlan_get_op_chan_freq_info_vdev_id(struct wlan_objmgr_pdev *pdev, * @oui: if present matches OUI also * @oui_length: if previous present, this is length of oui * @extracted_ie: if not NULL, copy the stripped IE to this buffer + * @eid_max_len: maximum length of IE @eid * * This utility function is used to strip of the requested IE if present * in IE buffer. diff --git a/components/mlme/core/src/wlan_mlme_main.c b/components/mlme/core/src/wlan_mlme_main.c index 4f35c7e8f8..5f55c0f374 100644 --- a/components/mlme/core/src/wlan_mlme_main.c +++ b/components/mlme/core/src/wlan_mlme_main.c @@ -387,7 +387,7 @@ static void mlme_init_ratemask_cfg(struct wlan_objmgr_psoc *psoc, &len); if (status != QDF_STATUS_SUCCESS || len != CFG_MLME_RATE_MASK_LEN) { - /* Do not enable ratemaks if config is invalid */ + /* Do not enable ratemask if config is invalid */ ratemask_cfg->type = WLAN_MLME_RATEMASK_TYPE_NO_MASK; mlme_legacy_err("Failed to parse ratemask"); return; @@ -2923,7 +2923,7 @@ mlme_init_iot_cfg(struct wlan_objmgr_psoc *psoc, } /** - * mlme_init_dual_sta_config - Initialize dual sta configuratons + * mlme_init_dual_sta_config - Initialize dual sta configurations * @gen: Generic CFG config items * * Return: None diff --git a/components/mlme/core/src/wlan_mlme_vdev_mgr_interface.c b/components/mlme/core/src/wlan_mlme_vdev_mgr_interface.c index 9db93dc61e..f011232594 100644 --- a/components/mlme/core/src/wlan_mlme_vdev_mgr_interface.c +++ b/components/mlme/core/src/wlan_mlme_vdev_mgr_interface.c @@ -173,12 +173,12 @@ static QDF_STATUS sta_mlme_vdev_start_send(struct vdev_mlme_obj *vdev_mlme, } /** - * sta_mlme_start_continue() - vdev start rsp calback + * sta_mlme_start_continue() - vdev start rsp callback * @vdev_mlme: vdev mlme object * @data_len: event data length * @data: event data * - * This function is called to handle the VDEV START/RESTART calback + * This function is called to handle the VDEV START/RESTART callback * * Return: QDF_STATUS */ @@ -408,12 +408,12 @@ static QDF_STATUS ap_mlme_vdev_start_send(struct vdev_mlme_obj *vdev_mlme, } /** - * ap_start_continue () - vdev start rsp calback + * ap_start_continue () - vdev start rsp callback * @vdev_mlme: vdev mlme object * @data_len: event data length * @data: event data * - * This function is called to handle the VDEV START/RESTART calback + * This function is called to handle the VDEV START/RESTART callback * * Return: QDF_STATUS */ @@ -1506,12 +1506,12 @@ static QDF_STATUS mon_mlme_vdev_start_restart_send( } /** - * mon_start_continue () - vdev start rsp calback + * mon_start_continue () - vdev start rsp callback * @vdev_mlme: vdev mlme object * @data_len: event data length * @data: event data * - * This function is called to handle the VDEV START/RESTART calback + * This function is called to handle the VDEV START/RESTART callback * * Return: QDF_STATUS */ @@ -1811,7 +1811,7 @@ void mlme_vdev_self_peer_delete_resp(struct del_vdev_params *param) QDF_MODULE_ID_SME, QDF_MODULE_ID_SME, &peer_del_rsp); if (!QDF_IS_STATUS_SUCCESS(status)) { - /* In the error cases release the final sme referene */ + /* In the error cases release the final sme reference */ wlan_objmgr_vdev_release_ref(param->vdev, WLAN_LEGACY_SME_ID); qdf_mem_free(param); } @@ -1875,7 +1875,7 @@ static QDF_STATUS ap_mlme_vdev_csa_complete(struct vdev_mlme_obj *vdev_mlme) } /** - * struct sta_mlme_ops - VDEV MLME operation callbacks strucutre for sta + * struct sta_mlme_ops - VDEV MLME operation callbacks structure for sta * @mlme_vdev_start_send: callback to initiate actions of VDEV * MLME start operation * @mlme_vdev_restart_send: callback to initiate actions of VDEV @@ -1927,7 +1927,7 @@ static struct vdev_mlme_ops sta_mlme_ops = { }; /** - * struct ap_mlme_ops - VDEV MLME operation callbacks strucutre for beaconing + * struct ap_mlme_ops - VDEV MLME operation callbacks structure for beaconing * interface * @mlme_vdev_start_send: callback to initiate actions of VDEV * MLME start operation diff --git a/components/mlme/dispatcher/inc/cfg_mlme_dfs.h b/components/mlme/dispatcher/inc/cfg_mlme_dfs.h index 847df480b0..0699cd2faa 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_dfs.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_dfs.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-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 @@ -190,7 +191,7 @@ * management capability * Related: NA. * - * upported Feature: DFS + * Supported Feature: DFS * * Usage: External * diff --git a/components/mlme/dispatcher/inc/cfg_mlme_fe_wlm.h b/components/mlme/dispatcher/inc/cfg_mlme_fe_wlm.h index fb47730432..991e04930e 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_fe_wlm.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_fe_wlm.h @@ -90,7 +90,7 @@ * * @min: 0 * @max: 3 - * @defalut: 0 + * @default: 0 * * 0 - normal * 1 - xr @@ -161,7 +161,7 @@ * bit 8-9: Reserve for roaming * bit 10: Disable css power collapse if setting * bit 11: Disable sys sleep if setting - * bit 12-31: Reserve for future useage + * bit 12-31: Reserve for future usage * * |63 50| 49 | 48 |47 40|39 33| 32 | * +------+------+--------+------------+-------+-----------+ @@ -221,7 +221,7 @@ * bit 8-9: Reserve for roaming * bit 10: Disable css power collapse if setting * bit 11: Disable sys sleep if setting - * bit 12-31: Reserve for future useage + * bit 12-31: Reserve for future usage * * |63 50| 49 | 48 |47 40|39 33| 32 | * +------+------+--------+------------+-------+-----------+ @@ -281,7 +281,7 @@ * bit 8-9: Reserve for roaming * bit 10: Disable css power collapse if setting * bit 11: Disable sys sleep if setting - * bit 12-31: Reserve for future useage + * bit 12-31: Reserve for future usage * * |63 50| 49 | 48 |47 40|39 33| 32 | * +------+------+--------+------------+-------+-----------+ @@ -340,7 +340,7 @@ * bit 8-9: Reserve for roaming * bit 10: Disable css power collapse if setting * bit 11: Disable sys sleep if setting - * bit 12-31: Reserve for future useage + * bit 12-31: Reserve for future usage * * |63 50| 49 | 48 |47 40|39 33| 32 | * +------+------+--------+------------+-------+-----------+ diff --git a/components/mlme/dispatcher/inc/cfg_mlme_generic.h b/components/mlme/dispatcher/inc/cfg_mlme_generic.h index cb908ad50a..6898d053c3 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_generic.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_generic.h @@ -391,7 +391,7 @@ enum debug_packet_log_type { * @Default: 0 (disabled) * * This INI item is used to control subsystem restart(SSR) test framework - * Set it's value to 1 to enable APPS trigerred SSR testing + * Set it's value to 1 to enable APPS triggered SSR testing * * Related: None * diff --git a/components/mlme/dispatcher/inc/cfg_mlme_he_caps.h b/components/mlme/dispatcher/inc/cfg_mlme_he_caps.h index 5182d0de59..2bfb8491e7 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_he_caps.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_he_caps.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-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 @@ -200,7 +201,7 @@ #define CFG_HE_DYNAMIC_SMPS CFG_BOOL( \ "he_dynamic_smps", \ 0, \ - "He Dyanmic SMPS") + "He Dynamic SMPS") #define CFG_HE_PUNCTURED_SOUNDING CFG_BOOL( \ "he_punctured_sounding", \ @@ -748,7 +749,7 @@ #define CFG_ENABLE_UL_MIMO CFG_INI_BOOL( \ "enable_ul_mimo", \ 1, \ - "He Enble Ul Mimo Name") + "He Enable Ul Mimo Name") /* * diff --git a/components/mlme/dispatcher/inc/cfg_mlme_lfr.h b/components/mlme/dispatcher/inc/cfg_mlme_lfr.h index 10601aa3f3..c8ccfc2110 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_lfr.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_lfr.h @@ -1366,7 +1366,7 @@ * This INI is used to set the value of rssi threshold to trigger roaming * after background scan. To trigger roam after bg scan, value of rssi of * candidate AP should be higher by this threshold than the rssi of the - * currrently associated AP. + * currently associated AP. * * Related: RoamRssiDiff * @@ -1461,7 +1461,7 @@ * @Default: 100 * * This ini is used to set the timer period in secs after - * which neighbor scan is trigerred. + * which neighbor scan is triggered. * * Related: None * @@ -2132,7 +2132,7 @@ * @Max: 100 * @Default: 70 * - * When the bss laod value that is sampled exceeds this threshold, firmware + * When the bss load value that is sampled exceeds this threshold, firmware * will trigger roaming if bss load trigger is enabled. * * Related: None @@ -2563,7 +2563,7 @@ /* * - * idle_roam_inactive_time - Time duration in millseconds for which the + * idle_roam_inactive_time - Time duration in milliseconds for which the * connection is idle. * @Min: 0 * @Max: 0xFFFFFFFF diff --git a/components/mlme/dispatcher/inc/cfg_mlme_sap.h b/components/mlme/dispatcher/inc/cfg_mlme_sap.h index e4d98cff17..bd5187de4e 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_sap.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_sap.h @@ -731,7 +731,7 @@ * @Default: 0 * * This ini is used to disable mcs13 if SAP works on 80p80MHZ/160MHZ/320MHZ - * nd he_mcs_12_13_support enabled. + * and he_mcs_12_13_support enabled. * * Related: he_mcs_12_13_support * diff --git a/components/mlme/dispatcher/inc/cfg_mlme_threshold.h b/components/mlme/dispatcher/inc/cfg_mlme_threshold.h index 8134c3fd1d..f0d1ed71ca 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_threshold.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_threshold.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-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 @@ -33,7 +34,7 @@ * @Default: 2347 * * This ini is used to set default RTSThreshold - * If minimum value 0 is selectd then it will use always RTS + * If minimum value 0 is selected then it will use always RTS * max is the max frame size * * Related: None diff --git a/components/mlme/dispatcher/inc/cfg_mlme_timeout.h b/components/mlme/dispatcher/inc/cfg_mlme_timeout.h index d2d311451b..c6ebe01b44 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_timeout.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_timeout.h @@ -173,12 +173,12 @@ /* * - * gHeartbeat24 - Heart beat threashold value + * gHeartbeat24 - Heart beat threshold value * @Min: 0 * @Max: 65535 * @Default: 40 * - * This cfg is used to configure the Heart beat threashold. + * This cfg is used to configure the Heart beat threshold. * * Usage: Internal/External * @@ -190,7 +190,7 @@ 65535, \ 40, \ CFG_VALUE_OR_DEFAULT, \ - "Heart beat threashold") + "Heart beat threshold") /* * diff --git a/components/mlme/dispatcher/inc/wlan_mlme_api.h b/components/mlme/dispatcher/inc/wlan_mlme_api.h index 82b3029569..58e4c887a8 100644 --- a/components/mlme/dispatcher/inc/wlan_mlme_api.h +++ b/components/mlme/dispatcher/inc/wlan_mlme_api.h @@ -3126,7 +3126,7 @@ wlan_mlme_get_dual_sta_roaming_enabled(struct wlan_objmgr_psoc *psoc) * @chan_list: Source channel list pointer * * Currently the channel list is saved to wma_handle to be updated in the - * PCL command. This cannot be accesed at target_if while sending vdev + * PCL command. This cannot be accessed at target_if while sending vdev * set pcl command. So save the channel list to mlme. * * Return: QDF_STATUS @@ -3466,7 +3466,7 @@ bool wlan_mlme_is_sta_mon_conc_supported(struct wlan_objmgr_psoc *psoc); * wlan_mlme_get_wds_mode() - Check wds mode supported * @psoc: pointer to psoc object * - * Return: supprted wds mode + * Return: supported wds mode */ enum wlan_wds_mode wlan_mlme_get_wds_mode(struct wlan_objmgr_psoc *psoc); diff --git a/components/mlme/dispatcher/inc/wlan_mlme_public_struct.h b/components/mlme/dispatcher/inc/wlan_mlme_public_struct.h index 34f4e38553..dd9a9a9e8d 100644 --- a/components/mlme/dispatcher/inc/wlan_mlme_public_struct.h +++ b/components/mlme/dispatcher/inc/wlan_mlme_public_struct.h @@ -18,7 +18,7 @@ */ /* - * DOC: contains mlme structure definations + * DOC: contains mlme structure definitions */ #ifndef _WLAN_MLME_STRUCT_H_ @@ -822,7 +822,7 @@ struct wlan_mlme_mbo { * @is_imps_enabled: flag to enable/disable IMPS * @is_bmps_enabled: flag to enable/disable BMPS * @auto_bmps_timer: auto BMPS timer value - * @bmps_min_listen_interval: BMPS listen inteval minimum value + * @bmps_min_listen_interval: BMPS listen interval minimum value * @bmps_max_listen_interval: BMPS listen interval maximum value * @dtim_selection_diversity: dtim selection diversity value to be sent to fw */ @@ -1216,7 +1216,7 @@ struct wlan_mlme_sap_protection { * @rx_chain_mask_2g: Tx chain mask for 2g * @tx_chain_mask_5g: Tx chain mask for 5g * @rx_chain_mask_5g: Rx chain mask for 5g - * @enable_bt_chain_separation: Enable/Disable BT/WLAN Host chain seperation + * @enable_bt_chain_separation: Enable/Disable BT/WLAN Host chain separation */ struct wlan_mlme_chainmask { uint8_t txchainmask1x1; @@ -1658,7 +1658,7 @@ enum station_prefer_bw { * @current_rssi: Current rssi * @deauth_retry_cnt: Deauth retry count * @sta_prefer_80mhz_over_160mhz: Set Sta preference to connect in 80HZ/160HZ - * @ignore_peer_erp_info: Ignore peer infrormation + * @ignore_peer_erp_info: Ignore peer information * @enable_5g_ebt: Set default 5G early beacon termination * @deauth_before_connection: Send deauth before connection or not * @enable_go_cts2self_for_sta: Stop NOA and start using cts2self @@ -2219,7 +2219,7 @@ struct wlan_mlme_weight_config { * @bad_rssi_pcnt: Bad RSSI Percentage * @good_rssi_bucket_size: Good RSSI Bucket Size * @bad_rssi_bucket_size: Bad RSSI Bucket Size - * @rssi_pref_5g_rssi_thresh: Preffered 5G RSSI threshold + * @rssi_pref_5g_rssi_thresh: Preferred 5G RSSI threshold */ struct wlan_mlme_rssi_cfg_score { uint32_t best_rssi_threshold; diff --git a/components/mlme/dispatcher/inc/wlan_mlme_ucfg_api.h b/components/mlme/dispatcher/inc/wlan_mlme_ucfg_api.h index 8c6942f9d7..b7f0b5b03c 100644 --- a/components/mlme/dispatcher/inc/wlan_mlme_ucfg_api.h +++ b/components/mlme/dispatcher/inc/wlan_mlme_ucfg_api.h @@ -43,7 +43,7 @@ QDF_STATUS ucfg_mlme_init(void); /** * ucfg_mlme_deinit() - De initialize mlme_ctx context. * - * This function De initializes mlme contex. + * This function De initializes mlme context. * * Return: QDF_STATUS_SUCCESS - in case of success else return error */ @@ -53,7 +53,7 @@ QDF_STATUS ucfg_mlme_deinit(void); * ucfg_mlme_psoc_open() - MLME component Open * @psoc: pointer to psoc object * - * Open the MLME component and initialize the MLME strucutre + * Open the MLME component and initialize the MLME structure * * Return: QDF Status */ @@ -73,7 +73,7 @@ void ucfg_mlme_psoc_close(struct wlan_objmgr_psoc *psoc); * ucfg_mlme_pdev_open() - MLME component pdev Open * @pdev: pointer to pdev object * - * Open the MLME component and initialize the MLME pdev strucutre + * Open the MLME component and initialize the MLME pdev structure * * Return: QDF Status */ diff --git a/components/mlme/dispatcher/src/wlan_mlme_api.c b/components/mlme/dispatcher/src/wlan_mlme_api.c index 15d13f09a3..80ee8040b9 100644 --- a/components/mlme/dispatcher/src/wlan_mlme_api.c +++ b/components/mlme/dispatcher/src/wlan_mlme_api.c @@ -4287,7 +4287,7 @@ char *mlme_get_roam_trigger_str(uint32_t roam_scan_trigger) case WMI_ROAM_TRIGGER_REASON_BTM: return "BTM TRIGGER"; case WMI_ROAM_TRIGGER_REASON_UNIT_TEST: - return "TEST COMMMAND"; + return "TEST COMMAND"; case WMI_ROAM_TRIGGER_REASON_BSS_LOAD: return "HIGH BSS LOAD"; case WMI_ROAM_TRIGGER_REASON_DEAUTH: