瀏覽代碼

qcacmn: umac: cfr: Fix misspellings

Fix misspellings in umac/cfr/...

Change-Id: If905cde07b8717407c716760d2badd4ddac4fed6
CRs-Fixed: 3304694
Jeff Johnson 2 年之前
父節點
當前提交
3363e11e08

+ 2 - 1
umac/cfr/core/inc/cfr_defs_i.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2019-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
@@ -88,7 +89,7 @@ wlan_cfr_peer_obj_create_handler(struct wlan_objmgr_peer *peer, void *arg);
  * @peer - pointer to peer object
  * @args - void pointer in case it needs arguments
  *
- * Return: status ofi destry object
+ * Return: status ofi destroy object
  */
 QDF_STATUS
 wlan_cfr_peer_obj_destroy_handler(struct wlan_objmgr_peer *peer, void *arg);

+ 1 - 1
umac/cfr/core/src/cfr_common.c

@@ -512,7 +512,7 @@ QDF_STATUS cfr_stop_indication(struct wlan_objmgr_vdev *vdev)
 		return QDF_STATUS_E_INVAL;
 	}
 
-	/* Don't write stop sting if there is valid cfr_nl_cb. Since
+	/* Don't write stop string if there is valid cfr_nl_cb. Since
 	 * userspace needn't stop event string
 	 */
 	if (pa->nl_cb.cfr_nl_cb)

+ 2 - 1
umac/cfr/dispatcher/inc/wlan_cfr_tgt_api.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2019-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
@@ -153,7 +154,7 @@ uint32_t tgt_cfr_info_send(struct wlan_objmgr_pdev *pdev, void *head,
  * @pdev: pointer to pdev_object
  * @rcc_param: rcc configurations
  *
- * Return: succcess / failure
+ * Return: success / failure
  */
 QDF_STATUS tgt_cfr_config_rcc(struct wlan_objmgr_pdev *pdev,
 			      struct cfr_rcc_param *rcc_param);

+ 2 - 1
umac/cfr/dispatcher/inc/wlan_cfr_ucfg_api.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2019-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
@@ -71,7 +72,7 @@ int ucfg_cfr_start_capture_probe_req(struct wlan_objmgr_pdev *pdev,
 
 /**
  * ucfg_cfr_stop_capture_probe_req() - function to stop cfr capture for
- *				       unassociated cleints
+ *				       unassociated clients
  * @pdev: pointer to pdev object
  * @unassoc_mac: mac address of un-associated client
  *

+ 5 - 5
umac/cfr/dispatcher/inc/wlan_cfr_utils_api.h

@@ -247,7 +247,7 @@ struct csi_cfr_header {
 
 /**
  * struct cfr_capture_params - structure to store cfr config param
- * bandwidth: bandwitdh of capture
+ * bandwidth: bandwidth of capture
  * period: period of capture
  * method: enum of method being followed to capture cfr data. 0-QoS null data
  */
@@ -435,8 +435,8 @@ struct ta_ra_cfr_cfg {
  * capture_interval: Capture interval field which is time in between
  * consecutive CFR capture, in microsecond units
  * ul_mu_user_mask_lower: Bitfields indicates which of the users in the current
- * UL MU tranmission are enabled for CFR capture.
- * ul_mu_user_mask_upper: This is contiuation of the above lower mask.
+ * UL MU transmission are enabled for CFR capture.
+ * ul_mu_user_mask_upper: This is continuation of the above lower mask.
  * freeze_tlv_delay_cnt_en: Enable Freeze TLV delay counter in MAC
  * freeze_tlv_delay_cnt_thr: Indicates the number of consecutive Rx packets to
  * be skipped before CFR capture is enabled again.
@@ -493,8 +493,8 @@ struct cfr_rcc_param {
 /**
  * struct nl_event_cb - nl event cb for cfr data
  * vdev_id: vdev id
- * pid: PID to which data is sent via unicast nl evnet
- * cfr_nl_cb: callback to send nl evnet
+ * pid: PID to which data is sent via unicast nl event
+ * cfr_nl_cb: callback to send nl event
  */
 struct nl_event_cb {
 	uint8_t vdev_id;

+ 2 - 2
umac/cfr/dispatcher/src/wlan_cfr_ucfg_api.c

@@ -148,7 +148,7 @@ int ucfg_cfr_start_capture_probe_req(struct wlan_objmgr_pdev *pdev,
 	}
 
 	if (pa->cfr_current_sta_count == pa->cfr_max_sta_count) {
-		cfr_err("max cfr cleint reached");
+		cfr_err("max cfr client reached");
 		return -EINVAL;
 	}
 
@@ -452,7 +452,7 @@ void ucfg_cfr_capture_data(struct wlan_objmgr_psoc *psoc, uint32_t vdev_id,
 	 * help in writing next capture.
 	 * ignoring 4 byte for FW magic number from the actual allocated memory
 	 * length to avoid corruption in magic number. This memory is circular
-	 * so after complation of one round, Skipping the first 8 byte as they
+	 * so after completion of one round, Skipping the first 8 byte as they
 	 * are for read index and write index.
 	 */
 	if (((*rindex) + payload_len) <= (pcfr->cfr_mem_chunk.len - 4))