qcacmn: umac: dfs: Fix misspellings

Fix misspellings in umac/dfs/...

Change-Id: Icda5ab395b83ab28fa8455a08514823b971b27a6
CRs-Fixed: 3304697
This commit is contained in:
Jeff Johnson
2022-09-30 15:18:03 -07:00
committed by Madan Koyyalamudi
parent a3e3334d61
commit 069b0bbcd9
14 changed files with 30 additions and 23 deletions

View File

@@ -1343,7 +1343,7 @@ struct wlan_dfs_priv {
* @pdev: pointer to PDEV object information
* @dfs_is_phyerr_filter_offload: For some chip like Rome indicates too many
* phyerr packets in a short time, which causes
* OS hang. If this feild is configured as true,
* OS hang. If this field is configured as true,
* FW will do the pre-check, filter out some
* kinds of invalid phyerrors and indicate
* radar detection related information to host.
@@ -1714,7 +1714,7 @@ int dfs_bin5_addpulse(struct wlan_dfs *dfs,
* dfs_bin5_check() - BIN5 check.
* @dfs: Pointer to wlan_dfs structure.
*
* If the dfs structure is NULL (which should be illegal if everyting is working
* If the dfs structure is NULL (which should be illegal if everything is working
* properly, then signify that a bin5 radar was found.
*/
int dfs_bin5_check(struct wlan_dfs *dfs);
@@ -2959,7 +2959,7 @@ void dfs_start_mode_switch_defer_timer(struct wlan_dfs *dfs);
/**
* dfs_complete_deferred_tasks() - Process mode switch completion event and
* handle deffered tasks.
* handle deferred tasks.
* @dfs: Pointer to wlan_dfs object.
*
* Return: void.

View File

@@ -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
@@ -25,7 +26,7 @@
#include "dfs_internal.h"
#define DFS_INVALID_PRI_LIMIT 100 /* should we use 135? */
/* The time interval between two sucessive pulses
/* The time interval between two successive pulses
* in case of w53 chirp type can be as low as 50us.
* Experimentally the PRI limit was found to be as
* low as 15us.
@@ -51,7 +52,7 @@ bool dfs_is_real_radar(struct wlan_dfs *dfs,
/**
* dfs_get_ext_filter() - This function gets the external radar filter table.
* @domain: The dfs domain for which the external radar table is needed.
* @num_radars: Output agrument. Stores the numbers of filters in the filter.
* @num_radars: Output argument. Stores the numbers of filters in the filter.
* table.
*
* Return: Pointer to the radar table.

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2012, 2016-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 above
@@ -46,7 +47,7 @@
/*
* Radar pulse summary
* + TYPE=0xF8 (Radar pulse summary reprot)
* + TYPE=0xF8 (Radar pulse summary report)
* + SIG=0xBB (baseband PHY generated TLV components)
*/

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2002-2010, Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -833,7 +834,7 @@ static inline void dfs_check_pulses_for_delta_variance(
}
/**
* dfs_count_the_other_delay_elements() - Counts the ther delay elements.
* dfs_count_the_other_delay_elements() - Counts the other delay elements.
* @dfs: Pointer to wlan_dfs structure.
* @rf: Pointer to dfs_filter structure.
* @dl: Pointer to dfs_delayline structure.
@@ -1022,8 +1023,8 @@ int dfs_bin_pri_check(
* once per filter during initialization stage (dfs_attach)
* and stored in its array atleast for fixed frequency
* types like FCC Bin1 to save some CPU cycles.
* multiplication, devide operators in the following code
* are left as it is for readability hoping the complier
* multiplication, divide operators in the following code
* are left as it is for readability hoping the compiler
* will use left/right shifts wherever possible.
*/
dfs_debug(dfs, WLAN_DEBUG_DFS2,

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2013, 2016-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2002-2010, Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -211,7 +212,7 @@ void bin5_rules_check_internal(struct wlan_dfs *dfs,
(uint64_t)br->br_elems[prev].be_ts);
if (((pri >= DFS_BIN5_PRI_LOWER_LIMIT) &&
/*pri: pulse repitition interval in us. */
/*pri: pulse repetition interval in us. */
(pri <= DFS_BIN5_PRI_HIGHER_LIMIT))) {
/*
* Rule 2: pulse width of the pulses in the

View File

@@ -701,7 +701,7 @@ void dfs_get_po_radars(struct wlan_dfs *dfs)
tgt_tx_ops->tgt_is_tgt_type_qca9984(target_type) ||
tgt_tx_ops->tgt_is_tgt_type_qca9888(target_type)) {
/* Beeliner WAR: lower RSSI threshold to improve detection of
* certian radar types
* certain radar types
*/
/* Cascade WAR:
* Cascade can report lower RSSI near the channel boundary then
@@ -817,7 +817,7 @@ void dfs_extract_radar_found_params(struct wlan_dfs *dfs,
/* Bangradar will not populate any of these average
* parameters as pulse is not received. If these variables
* are not resetted here, these go as radar_found params
* are not reset here, these go as radar_found params
* for bangradar if bangradar is issued after real radar.
*/
dfs->dfs_average_sidx = 0;

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2012, 2016-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
@@ -388,7 +389,7 @@ static int dfs_tlv_parse_frame(struct wlan_dfs *dfs,
* we examine search FFT report and make the following
* assumption as per algorithms group's input:
* (1) There may be multiple TLV
* (2) We make false detection decison solely based on
* (2) We make false detection decision solely based on
* the first TLV
* (3) If the first TLV is a serch FFT report then we
* check the peak_mag value.

View File

@@ -611,7 +611,7 @@ static inline void dfs_radarfound_reset_vars(
/*
* TODO: Instead of discarding the radar, create a workqueue
* if the channel change is happenning through userspace and
* if the channel change is happening through userspace and
* process the radar event once the channel change is completed.
*/
@@ -1121,7 +1121,7 @@ static inline void dfs_calculate_timestamps(
* entirely on the latency. If the latency is high, it
* possibly can split two consecutive pulses in the
* same burst so far away (the same amount of latency)
* that make them look like they are from differenct
* that make them look like they are from different
* bursts. It is observed to happen too often. It sure
* makes the detection fail.
* 2)Even if the latency is not that bad, it simply

View File

@@ -468,7 +468,7 @@ bool dfs_is_cac_required(struct wlan_dfs *dfs,
/* If the channel has completed PRE-CAC then CAC can be skipped here. */
if (dfs_is_precac_done(dfs, cur_chan)) {
dfs_debug(dfs, WLAN_DEBUG_DFS,
"PRE-CAC alreay done on this channel %d",
"PRE-CAC already done on this channel %d",
cur_chan->dfs_ch_ieee);
return false;
}
@@ -511,7 +511,7 @@ bool dfs_is_cac_required(struct wlan_dfs *dfs,
* (as 52 and 64 HT80 are subsets of each other)
* is not expected to be preserved as VAP has come up
* from DOWN state. Hence do not skip CAC on 64 HT80.
* is_vap_restart flag is used as an identifer to indicate if
* is_vap_restart flag is used as an identifier to indicate if
* vap has come up from a DOWN state or UP state (vap restart).
*/
if (!is_vap_restart) {

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2002-2006, Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -292,7 +293,7 @@ int dfs_main_attach(struct wlan_dfs *dfs)
* is available.
*/
if (dfs_init_radar_filters(dfs, &radar_info)) {
dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "Radar Filter Intialization Failed");
dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "Radar Filter Initialization Failed");
return 1;
}

View File

@@ -29,7 +29,7 @@
* TODO: At present SAP Channel leakage matrix for ch 144
* is not available from system's team. So to play it safe
* and avoid crash if channel 144 is request, in following
* matix channel 144 is added such that it will cause code
* matrix channel 144 is added such that it will cause code
* to avoid selecting channel 144.
*
* THESE ENTRIES SHOULD BE REPLACED WITH CORRECT VALUES AS

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2011, 2016-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2010, Atheros Communications Inc.
* All Rights Reserved.
*
@@ -204,7 +205,7 @@ struct dfs_bangradar_params {
/* Flag to enable Reduced BW Agile DFS */
#define DFS_RANDOM_CH_FLAG_ENABLE_REDUCED_BW 0x0080 /* 0000 0000 1000 0000 */
/* Flag to exclude Japan W53 channnels */
/* Flag to exclude Japan W53 channels */
#define DFS_RANDOM_CH_FLAG_NO_JAPAN_W53_CH 0x0100 /* 0000 0001 0000 0000 */
/* Restricted 80P80 MHz is enabled */

View File

@@ -218,7 +218,7 @@ QDF_STATUS tgt_dfs_process_phyerr(struct wlan_objmgr_pdev *pdev,
r_ext_rssi, r_rs_tstamp, r_fulltsf);
else
dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS,
"Unexpect phyerror as DFS is offloaded, pdev_id: %d",
"Unexpected phyerror as DFS is offloaded, pdev_id: %d",
wlan_objmgr_pdev_get_pdev_id(pdev));
return QDF_STATUS_SUCCESS;
@@ -242,7 +242,7 @@ QDF_STATUS tgt_dfs_process_phyerr_filter_offload(struct wlan_objmgr_pdev *pdev,
dfs_process_phyerr_filter_offload(dfs, wlan_radar_event);
else
dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS,
"Unexpect phyerror as DFS is offloaded, pdev_id: %d",
"Unexpected phyerror as DFS is offloaded, pdev_id: %d",
wlan_objmgr_pdev_get_pdev_id(pdev));
return QDF_STATUS_SUCCESS;

View File

@@ -1547,7 +1547,7 @@ QDF_STATUS utils_dfs_get_chan_dfs_state(struct wlan_objmgr_pdev *pdev,
qdf_export_symbol(utils_dfs_get_chan_dfs_state);
/**
* convert_event_to_state() - Coverts the dfs events WLAN_DFS_EVENTS to dfs
* convert_event_to_state() - Converts the dfs events WLAN_DFS_EVENTS to dfs
* states channel_dfs_state.
* @event: Input DFS event.
* @state: Output DFS state.