Răsfoiți Sursa

qcacmn: umac: Fix misspellings

Fix misspellings in umac/...

Change-Id: I0e439d67be2aa064b0fb223449e70053d5ecb68a
CRs-Fixed: 3304702
Jeff Johnson 2 ani în urmă
părinte
comite
c52c4258c2

+ 3 - 3
umac/dcs/core/src/wlan_dcs.c

@@ -940,7 +940,7 @@ wlan_dcs_get_chan_width_for_seg(enum wlan_dcs_chan_seg seg_idx)
  * @awgn_info: pointer to awgn info
  * @width: pointer to channel width
  *
- * This function trys to get max no interference band width according to
+ * This function tries to get max no interference band width according to
  * awgn event.
  *
  * Return: true if valid no interference band width is found, false otherwise.
@@ -1101,7 +1101,7 @@ wlan_dcs_get_available_chan_for_bw(struct wlan_objmgr_pdev *pdev,
  * @tgt_width: band width of the selected channel
  * @random: request for random channel
  *
- * This function trys to get no-interference chan with max possible bandwidth
+ * This function tries to get no-interference chan with max possible bandwidth
  * from pcl for sap according to awgn info.
  *
  * Return: true if available channel is found, false otherwise.
@@ -1472,7 +1472,7 @@ void wlan_dcs_set_algorithm_process(struct wlan_objmgr_psoc *psoc,
 	}
 
 	if (dcs_pdev_priv->dcs_host_params.force_disable_algorithm) {
-		dcs_debug("dcs alorithm is disabled forcely");
+		dcs_debug("dcs algorithm is disabled forcely");
 		dcs_pdev_priv->dcs_host_params.dcs_algorithm_process = false;
 		return;
 	}

+ 2 - 1
umac/dcs/core/src/wlan_dcs.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 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
@@ -134,7 +135,7 @@ struct pdev_dcs_timer_args {
 };
 
 /**
- * struct psoc_dcs_cbk - define dcs callback in psoc oject
+ * struct psoc_dcs_cbk - define dcs callback in psoc object
  * @cbk: callback
  * @arg: arguments
  */

+ 3 - 2
umac/dcs/dispatcher/inc/wlan_dcs_public_structs.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 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
@@ -15,7 +16,7 @@
  */
 
 /**
- * DOC: contains dcs structure definations
+ * DOC: contains dcs structure definitions
  */
 
 #ifndef _WLAN_DCS_PUBLIC_STRUCTS_H_
@@ -71,7 +72,7 @@ struct wlan_host_dcs_mib_stats {
  * struct wlan_host_dcs_im_tgt_stats - DCS IM target stats
  * @reg_tsf32: current running TSF from the TSF-1
  * @last_ack_rssi: known last frame rssi, in case of multiple stations, if
- *      and at different ranges, this would not gaurantee that
+ *      and at different ranges, this would not guarantee that
  *      this is the least rssi.
  * @tx_waste_time: sum of all the failed durations in the last
  *      one second interval.

+ 2 - 1
umac/dcs/dispatcher/src/wlan_dcs_init_deinit_api.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 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
@@ -24,7 +25,7 @@
 #include "cfg_ucfg_api.h"
 
 /**
- * wlan_dcs_psoc_obj_create_notification() - dcs psoc cretae handler
+ * wlan_dcs_psoc_obj_create_notification() - dcs psoc create handler
  * @psoc: psoc object
  * @arg_list: Argument list
  *

+ 2 - 2
umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h

@@ -352,7 +352,7 @@ struct wlan_lmac_if_mgmt_rx_reo_rx_ops {
  * @mgmt_tx_send: function pointer to transmit mgmt tx frame
  * @beacon_send:  function pointer to transmit beacon frame
  * @fd_action_frame_send: function pointer to transmit FD action frame
- * @tx_drain_nbuf_op: function pointer for any umac nbuf realted ops for
+ * @tx_drain_nbuf_op: function pointer for any umac nbuf related ops for
  *                    pending mgmt frames cleanup
  * @reg_ev_handler: function pointer to register event handlers
  * @unreg_ev_handler: function pointer to unregister event handlers
@@ -936,7 +936,7 @@ struct wlan_lmac_if_wifi_pos_tx_ops {
 
 #ifdef DIRECT_BUF_RX_ENABLE
 /**
- * struct wlan_lmac_if_direct_buf_rx_tx_ops - structire of direct buf rx txops
+ * struct wlan_lmac_if_direct_buf_rx_tx_ops - structure of direct buf rx txops
  * @direct_buf_rx_module_register: Registration API callback for modules
  *                                 to register with direct buf rx framework
  * @direct_buf_rx_module_unregister: Unregistration API to clean up module

+ 2 - 1
umac/green_ap/core/src/wlan_green_ap_main.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2017-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
@@ -165,7 +166,7 @@ QDF_STATUS wlan_green_ap_state_mc(struct wlan_pdev_green_ap_ctx *green_ap_ctx,
 	}
 
 	if (!green_ap_tx_ops->ps_on_off_send) {
-		green_ap_err("tx op for sending enbale/disable green ap is NULL");
+		green_ap_err("tx op for sending enable/disable green ap is NULL");
 		return QDF_STATUS_E_FAILURE;
 	}
 

+ 2 - 1
umac/green_ap/dispatcher/src/wlan_green_ap_ucfg_api.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2017-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
@@ -48,7 +49,7 @@ QDF_STATUS ucfg_green_ap_enable_egap(struct wlan_objmgr_pdev *pdev)
 	}
 
 	if (!green_ap_tx_ops->enable_egap) {
-		green_ap_err("tx op for sending enbale/disable green ap is NULL");
+		green_ap_err("tx op for sending enable/disable green ap is NULL");
 		return QDF_STATUS_E_FAILURE;
 	}
 

+ 3 - 2
umac/thermal/dispatcher/inc/wlan_thermal_public_struct.h

@@ -1,4 +1,5 @@
 /* Copyright (c) 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
@@ -21,8 +22,8 @@
 
 /**
  * enum thermal_throttle_level - firmware offload throttle level
- * @THERMAL_FULLPERF: no any throtting
- * @THERMAL_MITIGATION: throtting tx to do mitigation
+ * @THERMAL_FULLPERF: no any throttling
+ * @THERMAL_MITIGATION: throttling tx to do mitigation
  * @THERMAL_SHUTOFF: shut off the tx completely
  * @THERMAL_SHUTDOWN_TARGET: target will be shutdown entirely
  * @THERMAL_UNKNOWN: unknown level from target.

+ 1 - 1
umac/twt/dispatcher/inc/wlan_twt_public_structs.h

@@ -325,7 +325,7 @@ struct twt_ack_context {
 /**
  * twt_en_dis_context - twt enable/disable private context
  * @twt_role: twt role. When the upper layer is invoking requestor/responder
- * enable/disable command via the TWT component API, Firmare WMI event
+ * enable/disable command via the TWT component API, Firmware WMI event
  * doesn't have the info in the event params to distinguish if this enable or
  * disable is for requestor or responder, hence TWT component stores this role
  * before the request is sent to the firmware.

+ 2 - 2
umac/wifi_pos/inc/wifi_pos_utils_i.h

@@ -145,7 +145,7 @@ struct qdf_packed wifi_pos_err_rpt {
  * @req_id: id corresponding to the request.
  * @fragment_info: Valid only for fragments.
  * @pdev_id: pdev_id of radion.
- * @time_left: time left in the measurment req.
+ * @time_left: time left in the measurement req.
  * @err_rpt: Error report data.
  */
 struct qdf_packed wifi_pos_err_msg_report {
@@ -163,7 +163,7 @@ struct qdf_packed wifi_pos_err_msg_report {
  * @pdev_id: pdev_id or mac_id of ring
  * @min_num_ptr: minimum depth of ring required
  * @min_buf_size: minimum size of each buffer
- * @min_buf_align: minimum allignment of buffer memory
+ * @min_buf_align: minimum alignment of buffer memory
  */
 struct wifi_pos_dma_rings_cap {
 	uint32_t pdev_id;

+ 3 - 3
umac/wifi_pos/src/wifi_pos_main.c

@@ -43,7 +43,7 @@
 #endif
 
 #include "wlan_reg_services_api.h"
-/* forward declartion */
+/* forward declaration */
 struct regulatory_channel;
 
 #define REG_SET_CHANNEL_REG_POWER(reg_info_1, val) do { \
@@ -1167,7 +1167,7 @@ wifi_pos_peer_object_destroyed_notification(struct wlan_objmgr_peer *peer,
 						       WLAN_UMAC_COMP_WIFI_POS,
 						       (void *)peer_priv);
 	if (QDF_IS_STATUS_ERROR(status))
-		wifi_pos_err("unable to dettach peer_priv obj to peer obj");
+		wifi_pos_err("unable to detach peer_priv obj to peer obj");
 
 	qdf_mem_free(peer_priv);
 
@@ -1209,7 +1209,7 @@ int wifi_pos_oem_rsp_handler(struct wlan_objmgr_psoc *psoc,
 	wifi_pos_debug("oem data rsp, len: %d to pid: %d", len, app_pid);
 
 	if (oem_rsp->rsp_len_2 + oem_rsp->dma_len) {
-		/* stitch togther the msg data_1 + CIR/CFR + data_2 */
+		/* stitch together the msg data_1 + CIR/CFR + data_2 */
 		data = qdf_mem_malloc(len);
 		if (!data)
 			return -ENOMEM;

+ 2 - 2
umac/wifi_pos/src/wifi_pos_pasn_api.c

@@ -232,7 +232,7 @@ void wifi_pos_move_peers_to_fail_list(struct wlan_objmgr_vdev *vdev,
 	 */
 	for (i = 0; i < WLAN_MAX_11AZ_PEERS; i++) {
 		/*
-		 * Clear the indvidual entry that exist for the given
+		 * Clear the individual entry that exist for the given
 		 * mac address in secure/unsecure list
 		 */
 		if (qdf_is_macaddr_equal(peer_mac, &secure_list[i].peer_mac)) {
@@ -527,7 +527,7 @@ QDF_STATUS wifi_pos_handle_ranging_peer_delete(struct wlan_objmgr_psoc *psoc,
 
 	if (vdev_pos_obj->is_delete_all_pasn_peer_in_progress) {
 		wlan_objmgr_vdev_release_ref(vdev, WLAN_WIFI_POS_CORE_ID);
-		wifi_pos_err("Vdev delete all peer in progress. Ignore indvidual peer delete");
+		wifi_pos_err("Vdev delete all peer in progress. Ignore individual peer delete");
 		return QDF_STATUS_SUCCESS;
 	}
 	wlan_objmgr_vdev_release_ref(vdev, WLAN_WIFI_POS_CORE_ID);

+ 2 - 2
umac/wifi_radar/core/inc/wifi_radar_defs_i.h

@@ -1,5 +1,5 @@
 /*
- * 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
@@ -95,7 +95,7 @@ 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_wifi_radar_peer_obj_destroy_handler(