qcacld-3.0: Fix typographical errors

Fix typographical errors spanned over various files in cld.

Change-Id: I82a7eec4335d617a43c89589418a21885074fde0
CRs-Fixed: 3529627
This commit is contained in:
Aditya Kodukula
2023-06-13 16:23:02 -07:00
committed by Rahul Choudhary
parent 8b87cede00
commit 7028b37955
14 changed files with 24 additions and 21 deletions

View File

@@ -1681,7 +1681,7 @@ policy_mgr_current_connections_update(struct wlan_objmgr_psoc *psoc,
* When a new connection is about to come up, change hw mode for STA/CLI * When a new connection is about to come up, change hw mode for STA/CLI
* based upon the scan results and hw type. * based upon the scan results and hw type.
* *
* Return: status ifset HW mode is fail or already taken care of. * Return: status if set HW mode is fail or already taken care of.
*/ */
QDF_STATUS QDF_STATUS
policy_mgr_change_hw_mode_sta_connect(struct wlan_objmgr_psoc *psoc, policy_mgr_change_hw_mode_sta_connect(struct wlan_objmgr_psoc *psoc,

View File

@@ -1,5 +1,6 @@
/* /*
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved. * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -78,7 +79,7 @@
/* /*
* <ini> * <ini>
* adapt_dwell_lpf_weight - weight to caclulate avg low pass filter. * adapt_dwell_lpf_weight - weight to calculate avg low pass filter.
* @Min: 0 * @Min: 0
* @Max: 100 * @Max: 100
* @Default: 80 * @Default: 80

View File

@@ -356,7 +356,7 @@
* 0 - Disable both magic pattern match and pattern byte match. * 0 - Disable both magic pattern match and pattern byte match.
* 1 - Enable magic pattern match on all interfaces. * 1 - Enable magic pattern match on all interfaces.
* 2 - Enable pattern byte match on all interfaces. * 2 - Enable pattern byte match on all interfaces.
* 3 - Enable both magic patter and pattern byte match on all interfaces. * 3 - Enable both magic pattern and pattern byte match on all interfaces.
* *
* Related: None * Related: None
* *

View File

@@ -153,7 +153,7 @@ enum pmo_wow_interface_pause {
* byte match. * byte match.
* @PMO_WOW_ENABLE_MAGIC_PATTERN: Enable magic pattern match on all interfaces. * @PMO_WOW_ENABLE_MAGIC_PATTERN: Enable magic pattern match on all interfaces.
* @PMO_WOW_ENABLE_PATTERN_BYTE: Enable pattern byte match on all interfaces. * @PMO_WOW_ENABLE_PATTERN_BYTE: Enable pattern byte match on all interfaces.
* @PMO_WOW_ENABLE_BOTH: Enable both magic patter and pattern byte match on * @PMO_WOW_ENABLE_BOTH: Enable both magic pattern and pattern byte match on
* all interfaces. * all interfaces.
*/ */
enum pmo_wow_enable_type { enum pmo_wow_enable_type {

View File

@@ -1282,7 +1282,7 @@ struct wlan_roam_scan_filter_params {
* @btm_max_attempt_cnt: Maximum attempt for sending BTM query to ESS * @btm_max_attempt_cnt: Maximum attempt for sending BTM query to ESS
* @btm_sticky_time: Stick time after roaming to new AP by BTM * @btm_sticky_time: Stick time after roaming to new AP by BTM
* @disassoc_timer_threshold: threshold value till which the firmware can * @disassoc_timer_threshold: threshold value till which the firmware can
* wait before triggering the roam scan after receiving the disassoc iminent * wait before triggering the roam scan after receiving the disassoc imminent
* @btm_query_bitmask: bitmask to btm query with candidate list * @btm_query_bitmask: bitmask to btm query with candidate list
* @btm_candidate_min_score: Minimum score of the AP to consider it as a * @btm_candidate_min_score: Minimum score of the AP to consider it as a
* candidate if the roam trigger is BTM kickout. * candidate if the roam trigger is BTM kickout.

View File

@@ -1,5 +1,6 @@
/* /*
* Copyright (c) 2021, The Linux Foundation. All rights reserved. * Copyright (c) 2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
@@ -15,7 +16,7 @@
*/ */
/* /*
* DOC: Implements CM UTF releted functionalities * DOC: Implements CM UTF related functionalities
*/ */
#ifndef WLAN_MLME_CM_UTF_H #ifndef WLAN_MLME_CM_UTF_H

View File

@@ -246,10 +246,10 @@ void hdd_disable_host_offloads(struct hdd_adapter *adapter,
enum pmo_offload_trigger trigger); enum pmo_offload_trigger trigger);
/** /**
* hdd_set_grat_arp_keepalive() - Enable grat APR keepalive * hdd_set_grat_arp_keepalive() - Enable gratuitous ARP keepalive
* @adapter: the HDD adapter to configure * @adapter: the HDD adapter to configure
* *
* This configures gratuitous APR keepalive based on the adapter's current * This configures gratuitous ARP keepalive based on the adapter's current
* connection information, specifically IPv4 address and BSSID * connection information, specifically IPv4 address and BSSID
* *
* return: zero for success, non-zero for failure * return: zero for success, non-zero for failure

View File

@@ -5116,10 +5116,11 @@ const struct nla_policy wlan_hdd_set_roam_param_policy[
/** /**
* hdd_set_allow_list() - parse allow list * hdd_set_allow_list() - parse allow list
* @hdd_ctx: HDD context * @hdd_ctx: HDD context
* @rso_config: rso config * @rso_config: rso config
* @tb: list of attributes * @tb: list of attributes
* @vdev_id: vdev id * @vdev_id: vdev id
* @rso_usr_cfg: roam userspace params
* *
* Return: 0 on success; error number on failure * Return: 0 on success; error number on failure
*/ */
@@ -6634,7 +6635,7 @@ static int hdd_get_roam_control_config(struct hdd_context *hdd_ctx,
* @data_len: length of @data * @data_len: length of @data
* @vdev_id: vdev id * @vdev_id: vdev id
* @rso_config: roam params * @rso_config: roam params
* @rso_usr_config: roam userspace params * @rso_usr_cfg: roam userspace params
* *
* Return: 0 on success; error number on failure * Return: 0 on success; error number on failure
*/ */

View File

@@ -262,7 +262,7 @@ static int __wlan_hdd_request_pre_cac(struct hdd_context *hdd_ctx,
} }
if (!WLAN_REG_IS_24GHZ_CH_FREQ(hdd_ap_ctx->operating_chan_freq)) { if (!WLAN_REG_IS_24GHZ_CH_FREQ(hdd_ap_ctx->operating_chan_freq)) {
hdd_err("pre CAC alllowed only when SAP is in 2.4GHz:%d", hdd_err("pre CAC allowed only when SAP is in 2.4GHz:%d",
hdd_ap_ctx->operating_chan_freq); hdd_ap_ctx->operating_chan_freq);
return -EINVAL; return -EINVAL;
} }

View File

@@ -7064,7 +7064,7 @@ enum sme_qos_statustype sme_qos_re_request_add_ts(struct mac_context *mac_ctx,
case SME_QOS_LINK_UP: case SME_QOS_LINK_UP:
default: default:
/* print error msg, */ /* print error msg, */
sme_err("ReAdd request in unexpected state = %d", sme_err("Re-Add request in unexpected state = %d",
ac_info->curr_state); ac_info->curr_state);
break; break;
} }

View File

@@ -1,6 +1,6 @@
/* /*
* Copyright (c) 2011-2021 The Linux Foundation. All rights reserved. * Copyright (c) 2011-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -1386,7 +1386,7 @@ QDF_STATUS sme_rrm_neighbor_report_request(struct mac_context *mac, uint8_t
} }
/** /**
* rrm_calculate_neighbor_ap_roam_score() - caclulates roam score * rrm_calculate_neighbor_ap_roam_score() - calculates roam score
* @mac_ctx: mac global context * @mac_ctx: mac global context
* @pNeighborReportDesc: Neighbor BSS Descriptor node for which roam score * @pNeighborReportDesc: Neighbor BSS Descriptor node for which roam score
* should be calculated * should be calculated

View File

@@ -674,7 +674,7 @@ QDF_STATUS wma_vdev_create_set_param(struct wlan_objmgr_vdev *vdev);
/** /**
* wma_send_multi_pdev_vdev_set_params - sends dev(vdev/pdev) set params * wma_send_multi_pdev_vdev_set_params - sends dev(vdev/pdev) set params
* @param_type: enum of type mlme_dev_setparam * @param_type: enum of type mlme_dev_setparam
* @dev_id: id of the perticular vdev/pdev * @dev_id: id of the particular vdev/pdev
* @param: Array of structure dev_set_param with @n_params combined * @param: Array of structure dev_set_param with @n_params combined
* @n_params: number of params that are combined in @param * @n_params: number of params that are combined in @param
* *

View File

@@ -644,7 +644,7 @@ static QDF_STATUS wma_encode_mc_rate(uint32_t shortgi, uint32_t chwidth,
wma_debug("Input: nss = %d, mbpsx10 = 0x%x, chwidth = %d, shortgi = %d", wma_debug("Input: nss = %d, mbpsx10 = 0x%x, chwidth = %d, shortgi = %d",
nss, mbpsx10_rate, chwidth, shortgi); nss, mbpsx10_rate, chwidth, shortgi);
if ((mbpsx10_rate & 0x40000000) && nss > 0) { if ((mbpsx10_rate & 0x40000000) && nss > 0) {
/* bit 30 indicates user inputed nss, /* bit 30 indicates user inputted nss,
* bit 28 and 29 used to encode nss * bit 28 and 29 used to encode nss
*/ */
uint8_t user_nss = (mbpsx10_rate & 0x30000000) >> 28; uint8_t user_nss = (mbpsx10_rate & 0x30000000) >> 28;

View File

@@ -633,7 +633,7 @@ static int os_if_nan_parse_security_params(struct nlattr **tb,
struct ndp_service_name *service_name) struct ndp_service_name *service_name)
{ {
if (!ncs_sk_type || !pmk || !passphrase || !service_name) { if (!ncs_sk_type || !pmk || !passphrase || !service_name) {
osif_err("out buffers for one ore more parameters is null"); osif_err("out buffers for one or more parameters is null");
return -EINVAL; return -EINVAL;
} }
@@ -1254,7 +1254,7 @@ static void os_if_ndp_initiator_rsp_handler(struct wlan_objmgr_vdev *vdev,
QCA_NL80211_VENDOR_SUBCMD_NDP_INDEX; QCA_NL80211_VENDOR_SUBCMD_NDP_INDEX;
if (!rsp) { if (!rsp) {
osif_err("Invalid NDP Initator response"); osif_err("Invalid NDP Initiator response");
return; return;
} }
@@ -1684,7 +1684,7 @@ os_if_ndp_confirm_ind_handler(struct wlan_objmgr_vdev *vdev,
QCA_NL80211_VENDOR_SUBCMD_NDP_INDEX; QCA_NL80211_VENDOR_SUBCMD_NDP_INDEX;
if (!ndp_confirm) { if (!ndp_confirm) {
osif_err("Invalid NDP Initator response"); osif_err("Invalid NDP Initiator response");
return; return;
} }