瀏覽代碼

qcacmn: Fix typographical errors

Fix typographical errors spanned over various files in cmn.

Change-Id: I9fcf3b7f9bb7d7dd406e6576a60aa4eb783c9ceb
CRs-Fixed: 3529628
Aditya Kodukula 2 年之前
父節點
當前提交
58e80d75bd

+ 1 - 1
dp/cmn_dp_api/dp_ratetable.c

@@ -70,7 +70,7 @@ enum {
 /* The following would span more than one octet
  * when 160MHz BW defined for VHT
  * Also it's important to maintain the ordering of this enum
- * else it would break other rate adapation functions
+ * else it would break other rate adaptation functions
  */
 
 enum DP_CMN_RATECODE_PREAM_TYPE {

+ 2 - 2
dp/cmn_dp_api/dp_ratetable.h

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2023 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
@@ -198,7 +198,7 @@ enum DP_CMN_RATE_TYPE {
 /* The following would span more than one octet
  * when 160MHz BW defined for VHT
  * Also it's important to maintain the ordering of
- * this enum else it would break other rate adapation functions.
+ * this enum else it would break other rate adaptation functions.
  */
 enum DP_CMN_MODULATION_TYPE {
 	   DP_CMN_MOD_IEEE80211_T_DS,   /* direct sequence spread spectrum */

+ 1 - 1
dp/inc/cdp_txrx_peer_ops.h

@@ -414,7 +414,7 @@ cdp_peer_add_last_real_peer(ol_txrx_soc_handle soc, uint8_t pdev_id,
  * restore last peer
  *
  * Return: true, restore success
- *         fasle, restore fail
+ *         false, restore fail
  */
 static inline bool
 cdp_peer_is_vdev_restore_last_peer(ol_txrx_soc_handle soc, uint8_t vdev_id,

+ 1 - 1
dp/wifi3.0/dp_umac_reset.h

@@ -65,7 +65,7 @@ enum umac_reset_action {
 /**
  * enum umac_reset_state - States required by the UMAC reset state machine
  * @UMAC_RESET_STATE_WAIT_FOR_TRIGGER: Waiting for trigger event
- * @UMAC_RESET_STATE_DO_TRIGGER_RECEIVED: Receivd the DO_TRIGGER event
+ * @UMAC_RESET_STATE_DO_TRIGGER_RECEIVED: Received the DO_TRIGGER event
  * @UMAC_RESET_STATE_HOST_TRIGGER_DONE: Host completed handling Trigger event
  * @UMAC_RESET_STATE_WAIT_FOR_DO_PRE_RESET: Waiting for the DO_PRE_RESET event
  * @UMAC_RESET_STATE_DO_PRE_RESET_RECEIVED: Received the DO_PRE_RESET event

+ 1 - 1
dp/wifi3.0/monitor/dp_rx_mon.h

@@ -415,7 +415,7 @@ dp_rx_handle_ppdu_undecoded_metadata(struct dp_soc *soc, struct dp_pdev *pdev,
  * @pdev: pdev structure
  * @ppdu_info: structure for rx ppdu ring
  * @nbuf: QDF nbuf
- * @fcs_ok_mpdu_cnt: fcs passsed mpdu index
+ * @fcs_ok_mpdu_cnt: fcs passed mpdu index
  * @deliver_frame: flag to deliver wdi event
  *
  * Return: QDF_STATUS_SUCCESS - If nbuf to be freed by caller

+ 1 - 1
hal/wifi3.0/kiwi/hal_kiwi_tx.h

@@ -92,7 +92,7 @@ static void hal_tx_set_dscp_tid_map_kiwi(struct hal_soc *hal_soc, uint8_t *map,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 2 - 2
hal/wifi3.0/qca5018/hal_5018_tx.h

@@ -104,7 +104,7 @@ static void hal_tx_set_dscp_tid_map_5018(struct hal_soc *soc,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);
@@ -185,7 +185,7 @@ static void hal_tx_update_dscp_tid_5018(struct hal_soc *soc, uint8_t tid,
 			     HWIO_TCL_R0_DSCP_TID_MAP_n_RMSK));
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 2 - 2
hal/wifi3.0/qca5332/hal_5332_tx.h

@@ -91,7 +91,7 @@ static void hal_tx_set_dscp_tid_map_5332(struct hal_soc *hal_soc, uint8_t *map,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);
@@ -172,7 +172,7 @@ static void hal_tx_update_dscp_tid_5332(struct hal_soc *soc, uint8_t tid,
 			     HWIO_TCL_R0_DSCP_TID_MAP_n_RMSK));
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 1 - 1
hal/wifi3.0/qca6290/hal_6290_tx.h

@@ -121,7 +121,7 @@ static void hal_tx_set_dscp_tid_map_6290(struct hal_soc *soc,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 1 - 1
hal/wifi3.0/qca6390/hal_6390_tx.h

@@ -105,7 +105,7 @@ static void hal_tx_set_dscp_tid_map_6390(struct hal_soc *soc, uint8_t *map,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 1 - 1
hal/wifi3.0/qca6490/hal_6490_tx.h

@@ -108,7 +108,7 @@ static void hal_tx_set_dscp_tid_map_6490(struct hal_soc *hal_soc, uint8_t *map,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 1 - 1
hal/wifi3.0/qca6750/hal_6750_tx.h

@@ -111,7 +111,7 @@ static void hal_tx_set_dscp_tid_map_6750(struct hal_soc *hal_soc, uint8_t *map,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 2 - 2
hal/wifi3.0/qca8074v2/hal_8074v2_tx.h

@@ -107,7 +107,7 @@ static void hal_tx_set_dscp_tid_map_8074v2(struct hal_soc *soc,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);
@@ -187,7 +187,7 @@ static void hal_tx_update_dscp_tid_8074v2(struct hal_soc *soc, uint8_t tid,
 			     HWIO_TCL_R0_DSCP_TID_MAP_n_RMSK));
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 2 - 2
hal/wifi3.0/qcn6122/hal_qcn6122_tx.h

@@ -103,7 +103,7 @@ static void hal_tx_set_dscp_tid_map_6122(struct hal_soc *soc,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);
@@ -184,7 +184,7 @@ static void hal_tx_update_dscp_tid_6122(struct hal_soc *soc, uint8_t tid,
 			     HWIO_TCL_R0_DSCP_TID_MAP_n_RMSK));
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 2 - 2
hal/wifi3.0/qcn9000/hal_9000_tx.h

@@ -104,7 +104,7 @@ static void hal_tx_set_dscp_tid_map_9000(struct hal_soc *soc,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);
@@ -185,7 +185,7 @@ static void hal_tx_update_dscp_tid_9000(struct hal_soc *soc, uint8_t tid,
 			     HWIO_TCL_R0_DSCP_TID_MAP_n_RMSK));
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 2 - 2
hal/wifi3.0/qcn9224/hal_9224_tx.h

@@ -185,7 +185,7 @@ static void hal_tx_set_dscp_tid_map_9224(struct hal_soc *hal_soc, uint8_t *map,
 		addr += 4;
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);
@@ -266,7 +266,7 @@ static void hal_tx_update_dscp_tid_9224(struct hal_soc *soc, uint8_t tid,
 			     HWIO_TCL_R0_DSCP_TID_MAP_n_RMSK));
 	}
 
-	/* Diasble read/write access */
+	/* Disable read/write access */
 	regval = HAL_REG_READ(soc, cmn_reg_addr);
 	regval &=
 	~(HWIO_TCL_R0_CONS_RING_CMN_CTRL_REG_DSCP_TID_MAP_PROGRAM_EN_BMSK);

+ 1 - 1
htc/htc_api.h

@@ -300,7 +300,7 @@ struct htc_endpoint_credit_dist {
 #define IS_EP_ACTIVE(epDist)  ((epDist)->DistFlags & HTC_EP_ACTIVE)
 #define SET_EP_ACTIVE(epDist) (epDist)->DistFlags |= HTC_EP_ACTIVE
 
-/* credit distribution code that is passed into the distrbution function,
+/* credit distribution code that is passed into the distribution function,
  * there are mandatory and optional codes that must be handled
  */
 enum htc_credit_dist_reason {

+ 1 - 1
htc/htc_credit_history.c

@@ -98,7 +98,7 @@ void htc_credit_history_init(void)
  *
  * This function records the credits and pending commands whenever a command is
  * sent or credits are returned.  Call this after the credits have been updated
- * according to the transaction.  Call this before dequeing commands.
+ * according to the transaction.  Call this before dequeuing commands.
  *
  * Consider making this function accept an HTC_ENDPOINT and find the current
  * credits and queue depth itself.

+ 1 - 1
os_if/linux/qca_vendor.h

@@ -731,7 +731,7 @@
  *	the following TDLS discovery response frame transmission on the
  *	configured MLO BSS link and the link id information is cleared in the
  *	driver after the TDLS discovery response frame is successfully
- *	transmitted. This behavior is indepent of the TDLS peer STA connection
+ *	transmitted. This behavior is independent of the TDLS peer STA connection
  *	mode (MLO or non-MLO).
  *
  *	Uses the attributes defined in

+ 1 - 1
qdf/inc/qdf_status.h

@@ -58,7 +58,7 @@
  * @QDF_STATUS_E_PROTO: protocol error
  * @QDF_STATUS_NOT_INITIALIZED: resource not initialized
  * @QDF_STATUS_E_NULL_VALUE: request is null
- * @QDF_STATUS_HEARTBEAT_TMOUT: hearbeat timeout error
+ * @QDF_STATUS_HEARTBEAT_TMOUT: heartbeat timeout error
  * @QDF_STATUS_NTH_BEACON_DELIVERY: Nth beacon delivery
  * @QDF_STATUS_CSR_WRONG_STATE: csr in wrong state
  * @QDF_STATUS_FT_PREAUTH_KEY_SUCCESS: ft preauth key success

+ 1 - 1
umac/cmn_services/mgmt_txrx/core/src/wlan_mgmt_txrx_rx_reo_i.h

@@ -1001,7 +1001,7 @@ struct mgmt_rx_reo_context {
  * wait count of frames already part of the reorder list.
  * @last_delivered_frame: Stores the information about the last frame delivered
  * to the upper layer
- * @reo_params_copy: Copy of @rx_params->reo_params struture
+ * @reo_params_copy: Copy of @rx_params->reo_params structure
  */
 struct mgmt_rx_reo_frame_descriptor {
 	enum mgmt_rx_reo_frame_descriptor_type type;

+ 1 - 1
umac/dfs/core/src/filtering/dfs_partial_offload_radar.c

@@ -636,7 +636,7 @@ void dfs_get_po_radars(struct wlan_dfs *dfs)
 
 		/*
 		 * So far we have treated Korea as part of ETSI and did not
-		 * support any radar patters specific to Korea other than
+		 * support any radar patterns specific to Korea other than
 		 * standard ETSI radar patterns. Ideally we would want to
 		 * treat Korea as a different domain. This is something that
 		 * we will address in the future. However, for now override

+ 1 - 1
umac/dfs/core/src/filtering/dfs_phyerr_tlv.c

@@ -391,7 +391,7 @@ static int dfs_tlv_parse_frame(struct wlan_dfs *dfs,
 			 * (1) There may be multiple TLV
 			 * (2) We make false detection decision solely based on
 			 * the first TLV
-			 * (3) If the first TLV is a serch FFT report then we
+			 * (3) If the first TLV is a search FFT report then we
 			 * check the peak_mag value.
 			 * When RSSI is equal to dfs->wlan_dfs_false_rssI_thres
 			 * (default 50) and peak_mag is less than

+ 1 - 1
umac/regulatory/core/src/reg_services_common.c

@@ -5663,7 +5663,7 @@ static void reg_set_5g_channel_params_for_pwrmode(
 			struct ch_params temp_ch_params = {0};
 
 			temp_ch_params.ch_width = CH_WIDTH_80MHZ;
-			/* Puncturing patter is not needed for 80+80 */
+			/* Puncturing pattern is not needed for 80+80 */
 			reg_set_create_punc_bitmap(&temp_ch_params, false);
 			chan_state2 =
 				reg_get_ch_state_based_on_nol_flag(pdev,

+ 1 - 1
umac/regulatory/dispatcher/inc/wlan_reg_services_api.h

@@ -1767,7 +1767,7 @@ uint16_t wlan_reg_find_nearest_puncture_pattern(enum phy_ch_width bw,
 
 #ifdef CONFIG_REG_6G_PWRMODE
 /**
- * wlan_reg_set_channel_params_for_pwrmode() - Sets channel parameteres for
+ * wlan_reg_set_channel_params_for_pwrmode() - Sets channel parameters for
  * given bandwidth
  * @pdev: The physical dev to program country code or regdomain
  * @freq: channel center frequency.

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

@@ -364,7 +364,7 @@ struct twt_ack_complete_event_param {
  * @peer_mac: MAC address of node
  * @event_type: Indicates TWT session type (SETUP/TEARDOWN/UPDATE)
  * @flow_id: TWT flow identifier established with TWT peer
- * @bcast:  If this is a broacast TWT session
+ * @bcast:  If this is a broadcast TWT session
  * @trig: If the TWT session is trigger enabled
  * @announ: If the flow type is announced/unannounced
  * @protection: If the TWT protection field is set

+ 1 - 1
wmi/inc/wmi_unified_api.h

@@ -2044,7 +2044,7 @@ QDF_STATUS wmi_unified_send_apf_read_work_memory_cmd(wmi_unified_t wmi,
  * @evt_buf: Pointer to the event buffer
  * @read_mem_evt: pointer to memory to extract event parameters into
  *
- * This function exctracts read mem response event into the given structure ptr
+ * This function extracts read mem response event into the given structure ptr
  *
  * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
  */

+ 3 - 3
wmi/inc/wmi_unified_param.h

@@ -3226,7 +3226,7 @@ struct smart_ant_enable_tx_feedback_params {
  * @rssi_rpt_mode: RSSI report mode
  * @rssi_thr: RSSI threshold
  * @pwr_format: Power format
- * @rpt_mode: Report mdoe
+ * @rpt_mode: Report mode
  * @bin_scale: BIN scale
  * @dbm_adj: DBM adjust
  * @chn_mask: chain mask
@@ -3644,7 +3644,7 @@ struct macaddr_params {
  * struct acparams_params - acparams config structure
  * @ac: AC to configure
  * @use_rts: Use rts for this AC
- * @aggrsize_scaling: Aggregrate size scaling for the AC
+ * @aggrsize_scaling: Aggregate size scaling for the AC
  * @min_kbps: min kbps req
  */
 struct acparams_params {
@@ -8366,7 +8366,7 @@ struct wmi_host_proxy_ast_reserve_param {
 
 /**
  * struct wmi_host_pdev_band_to_mac - freq range for mac
- * @pdev_id: PDEV ID to identifiy mac
+ * @pdev_id: PDEV ID to identify mac
  * @start_freq: start frequency value
  * @end_freq: end frequency value
  */

+ 1 - 1
wmi/inc/wmi_unified_twt_param.h

@@ -198,7 +198,7 @@ enum host_twt_session_stats_type {
  * @peer_mac: MAC address of node
  * @event_type: Indicates TWT session type (SETUP/TEARDOWN/UPDATE)
  * @flow_id: TWT flow identifier established with TWT peer
- * @bcast:  If this is a broacast TWT session
+ * @bcast:  If this is a broadcast TWT session
  * @trig: If the TWT session is trigger enabled
  * @announ: If the flow type is announced/unannounced
  * @protection: If the TWT protection field is set

+ 1 - 1
wmi/src/wmi_unified_cp_stats_tlv.c

@@ -436,7 +436,7 @@ extract_infra_cp_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf,
 }
 
 /**
- * prepare_infra_cp_stats_buf() - Allocate and prepate wmi cmd request buffer
+ * prepare_infra_cp_stats_buf() - Allocate and prepare wmi cmd request buffer
  * @wmi_handle: wmi handle
  * @stats_req: Request parameters to be filled in wmi cmd request buffer
  * @req_buf_len: length of the output wmi cmd buffer allocated