Sfoglia il codice sorgente

qcacld-3.0: dp: Fix misspellings

Address the following issues in the core/dp folder:
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?
CHECK: 'acess' may be misspelled - perhaps 'access'?
CHECK: 'bahavior' may be misspelled - perhaps 'behavior'?
CHECK: 'catagory' may be misspelled - perhaps 'category'?
CHECK: 'continous' may be misspelled - perhaps 'continuous'?
CHECK: 'controler' may be misspelled - perhaps 'controller'?
CHECK: 'curently' may be misspelled - perhaps 'currently'?
CHECK: 'defintion' may be misspelled - perhaps 'definition'?
CHECK: 'Defintions' may be misspelled - perhaps 'Definitions'?
CHECK: 'desriptor' may be misspelled - perhaps 'descriptor'?
CHECK: 'extention' may be misspelled - perhaps 'extension'?
CHECK: 'informations' may be misspelled - perhaps 'information'?
CHECK: 'lenght' may be misspelled - perhaps 'length'?
CHECK: 'managment' may be misspelled - perhaps 'management'?
CHECK: 'messsage' may be misspelled - perhaps 'message'?
CHECK: 'neccessary' may be misspelled - perhaps 'necessary'?
CHECK: 'recieved' may be misspelled - perhaps 'received'?
CHECK: 'Recieve' may be misspelled - perhaps 'Receive'?

Change-Id: Ib8c1b94b5bb3bb5798e41dbb4c1461be80fd1398
CRs-Fixed: 2241941
Jeff Johnson 7 anni fa
parent
commit
3dca222e0b

+ 1 - 1
core/dp/htt/htt_rx.c

@@ -2315,7 +2315,7 @@ static int htt_rx_mon_amsdu_rx_in_order_pop_ll(htt_pdev_handle pdev,
 		htt_rx_mon_get_rx_status(pdev, rx_desc, &rx_status);
 		/*
 		 * For certain platform, 350 bytes of headroom is already
-		 * appended to accomodate radiotap header but
+		 * appended to accommodate radiotap header but
 		 * qdf_nbuf_update_radiotap() API again will try to create
 		 * a room for radiotap header. To make our design simple
 		 * let qdf_nbuf_update_radiotap() API create a room for radiotap

+ 1 - 1
core/dp/htt/htt_t2h.c

@@ -169,7 +169,7 @@ static void htt_ipa_op_response(struct htt_pdev_t *pdev, uint32_t *msg_word)
 				(struct htt_wdi_ipa_op_response_t) +
 				len);
 	if (!op_msg_buffer) {
-		qdf_print("OPCODE messsage buffer alloc fail");
+		qdf_print("OPCODE message buffer alloc fail");
 		return;
 	}
 	qdf_mem_copy(op_msg_buffer,

+ 2 - 2
core/dp/htt/htt_tx.c

@@ -44,7 +44,7 @@
 
 #include <cds_utils.h>
 
-/* IPA Micro controler TX data packet HTT Header Preset
+/* IPA Micro controller TX data packet HTT Header Preset
  * 31 | 30  29 | 28 | 27 | 26  22  | 21   16 | 15  13   | 12  8      | 7 0
  ***----------------------------------------------------------------------------
  * R  | CS  OL | R  | PP | ext TID | vdev ID | pkt type | pkt subtyp | msg type
@@ -838,7 +838,7 @@ htt_tx_resume_handler(void *context) { }
 qdf_nbuf_t
 htt_tx_send_batch(htt_pdev_handle pdev, qdf_nbuf_t head_msdu, int num_msdus)
 {
-	qdf_print("*** %s curently only applies for HL systems\n", __func__);
+	qdf_print("*** %s currently only applies for HL systems\n", __func__);
 	qdf_assert(0);
 	return head_msdu;
 

+ 1 - 1
core/dp/ol/inc/ol_htt_tx_api.h

@@ -513,7 +513,7 @@ extern const uint32_t htt_to_ce_pkt_type[];
 
 /**
  * Provide a constant to specify the offset of the HTT portion of the
- * HTT tx descriptor, to avoid having to export the descriptor defintion.
+ * HTT tx descriptor, to avoid having to export the descriptor definition.
  * The htt module checks internally that this exported offset is consistent
  * with the private tx descriptor definition.
  *

+ 2 - 2
core/dp/ol/inc/ol_params.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013-2015, 2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2015, 2017-2018 The Linux Foundation. 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
@@ -17,7 +17,7 @@
  */
 
 /*
- * Defintions for the Atheros Wireless LAN controller driver.
+ * Definitions for the Atheros Wireless LAN controller driver.
  */
 #ifndef _DEV_OL_PARAMS_H
 #define _DEV_OL_PARAMS_H

+ 1 - 1
core/dp/ol/inc/ol_txrx_ctrl_api.h

@@ -63,7 +63,7 @@ ol_txrx_pdev_post_attach(struct cdp_pdev *pdev);
 /**
  * @brief Parameter type to be input to ol_txrx_peer_update
  * @details
- *  This struct is union,to be used to specify various informations to update
+ *  This struct is union,to be used to specify various information to update
  *   txrx peer object.
  */
 union ol_txrx_peer_update_param_t {

+ 5 - 5
core/dp/ol/inc/ol_vowext_dbg_defs.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2014-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012, 2014-2016, 2018 The Linux Foundation. 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
@@ -32,16 +32,16 @@ struct vow_extstats {
 	uint8_t rx_rssi_ctl0;   /* control channel chain0 rssi */
 	uint8_t rx_rssi_ctl1;   /* control channel chain1 rssi */
 	uint8_t rx_rssi_ctl2;   /* control channel chain2 rssi */
-	uint8_t rx_rssi_ext0;   /* extention channel chain0 rssi */
-	uint8_t rx_rssi_ext1;   /* extention channel chain1 rssi */
-	uint8_t rx_rssi_ext2;   /* extention channel chain2 rssi */
+	uint8_t rx_rssi_ext0;   /* extension channel chain0 rssi */
+	uint8_t rx_rssi_ext1;   /* extension channel chain1 rssi */
+	uint8_t rx_rssi_ext2;   /* extension channel chain2 rssi */
 	uint8_t rx_rssi_comb;   /* combined RSSI value */
 	uint8_t rx_bw;          /* Band width 0-20, 1-40, 2-80 */
 	uint8_t rx_sgi;         /* Guard interval, 0-Long GI, 1-Short GI */
 	uint8_t rx_nss;         /* Number of spatial streams */
 	uint8_t rx_mcs;         /* Rate MCS value */
 	uint8_t rx_ratecode;    /* Hardware rate code */
-	uint8_t rx_rs_flags;    /* Recieve misc flags */
+	uint8_t rx_rs_flags;    /* Receive misc flags */
 	uint8_t rx_moreaggr;    /* 0 - non aggr frame */
 	uint32_t rx_macTs;      /* Time stamp */
 	uint16_t rx_seqno;      /* rx sequence number */

+ 1 - 1
core/dp/txrx/ol_rx.c

@@ -578,7 +578,7 @@ ol_rx_indication_handler(ol_txrx_pdev_handle pdev,
 				 * needs to be set in the netbuf to locate the
 				 * corresponding rx descriptor.)
 				 *
-				 * It is neccessary to call htt_rx_amsdu_pop
+				 * It is necessary to call htt_rx_amsdu_pop
 				 * before htt_rx_mpdu_desc_list_next, because
 				 * the (MPDU) rx descriptor has DMA unmapping
 				 * done during the htt_rx_amsdu_pop call.

+ 1 - 1
core/dp/txrx/ol_tx.c

@@ -1515,7 +1515,7 @@ struct ol_tx_desc_t *ol_tx_hl_desc_alloc(struct ol_txrx_pdev_t *pdev,
  *				 for management frame
  * @pdev: the data physical device sending the data
  * @vdev: the virtual device sending the data
- * @tx_mgmt_frm: the tx managment frame
+ * @tx_mgmt_frm: the tx management frame
  * @tx_msdu_info: the tx meta data
  *
  * Return: the tx decriptor

+ 3 - 3
core/dp/txrx/ol_tx.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2018 The Linux Foundation. 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
@@ -124,7 +124,7 @@ void ol_txrx_mgmt_tx_complete(void *ctxt, qdf_nbuf_t netbuf, int err);
  * has been delivered to its recipient, it will check if the tx frame
  * is a management frame.  If so, the txrx SW will check the management
  * frame type specified when the frame was submitted for transmission.
- * If there is a callback function registered for the type of managment
+ * If there is a callback function registered for the type of management
  * frame in question, the txrx code will invoke the callback to inform
  * the management + control SW that the mgmt frame was delivered.
  * This function is used by the control SW to store a callback pointer
@@ -139,7 +139,7 @@ ol_txrx_mgmt_tx_cb_set(struct cdp_pdev *ppdev, uint8_t type,
  * ol_txrx_mgmt_send_ext() - Transmit a management frame
  * @pvdev: virtual device transmitting the frame
  * @tx_mgmt_frm: management frame to transmit
- * @type: the type of managment frame (determines what callback to use)
+ * @type: the type of management frame (determines what callback to use)
  * @use_6mbps: specify whether management frame to transmit should
  *	use 6 Mbps rather than 1 Mbps min rate(for 5GHz band or P2P)
  * @chanfreq: channel to transmit the frame on

+ 1 - 1
core/dp/txrx/ol_tx_classify.c

@@ -877,7 +877,7 @@ ol_tx_classify_mgmt_extension(
 	 *     htt.info.ethertype
 	 *     htt.action.do_encrypt
 	 *         (This will be filled in by other SW, which knows whether
-	 *         the peer has robust-managment-frames enabled.)
+	 *         the peer has robust-management-frames enabled.)
 	 */
 	wh = (struct ieee80211_frame *)qdf_nbuf_data(tx_msdu);
 	msdu_info->htt.info.frame_subtype =

+ 4 - 4
core/dp/txrx/ol_tx_desc.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2014-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011, 2014-2018 The Linux Foundation. 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
@@ -89,7 +89,7 @@ ol_tx_desc_hl(
 
 
 /**
- * @brief Use a tx descriptor ID to find the corresponding desriptor object.
+ * @brief Use a tx descriptor ID to find the corresponding descriptor object.
  *
  * @param pdev - the data physical device sending the data
  * @param tx_desc_id - the ID of the descriptor in question
@@ -107,7 +107,7 @@ static inline struct ol_tx_desc_t *ol_tx_desc_find(
 }
 
 /**
- * @brief Use a tx descriptor ID to find the corresponding desriptor object
+ * @brief Use a tx descriptor ID to find the corresponding descriptor object
  *    and add sanity check.
  *
  * @param pdev - the data physical device sending the data
@@ -159,7 +159,7 @@ ol_tx_desc_find_check(struct ol_txrx_pdev_t *pdev, u_int16_t tx_desc_id)
  *  Free a batch of "standard" tx descriptors and their tx frames.
  *  Free each tx descriptor, by returning it to the freelist.
  *  Unmap each netbuf, and free the netbufs as a batch.
- *  Irregular tx frames like TSO or managment frames that require
+ *  Irregular tx frames like TSO or management frames that require
  *  special handling are processed by the ol_tx_desc_frame_free_nonstd
  *  function rather than this function.
  *

+ 1 - 1
core/dp/txrx/ol_tx_queue.c

@@ -2203,7 +2203,7 @@ ol_tx_vdev_has_tx_queue_group(
 /**
  * ol_tx_ac_has_tx_queue_group() - check for ac having txq groups
  * @group: pointer to tx queue grpup
- * @ac: acess category
+ * @ac: access category
  *
  * Return: true if vedv has txq groups
  */

+ 2 - 2
core/dp/txrx/ol_tx_send.c

@@ -689,7 +689,7 @@ static void ol_tx_update_arp_stats(struct ol_tx_desc_t *tx_desc,
 }
 
 /**
- * WARNING: ol_tx_inspect_handler()'s bahavior is similar to that of
+ * WARNING: ol_tx_inspect_handler()'s behavior is similar to that of
  * ol_tx_completion_handler().
  * any change in ol_tx_completion_handler() must be mirrored in
  * ol_tx_inspect_handler().
@@ -1023,7 +1023,7 @@ ol_tx_single_completion_handler(ol_txrx_pdev_handle pdev,
 }
 
 /**
- * WARNING: ol_tx_inspect_handler()'s bahavior is similar to that of
+ * WARNING: ol_tx_inspect_handler()'s behavior is similar to that of
  * ol_tx_completion_handler().
  * any change in ol_tx_completion_handler() must be mirrored here.
  */

+ 3 - 3
core/dp/txrx/ol_tx_send.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2014-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011, 2014-2018 The Linux Foundation. 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
@@ -118,7 +118,7 @@ ol_tx_packet_count(struct cdp_pdev *ppdev,
  * @ppdev: physical device instance
  * @queue_delay_microsec: tx packet delay within queue, usec
  * @tx_delay_microsec: tx packet delay, usec
- * @category: packet catagory
+ * @category: packet category
  *
  * Return: NONE
  */
@@ -131,7 +131,7 @@ ol_tx_delay(struct cdp_pdev *ppdev,
  * ol_tx_delay_hist() - get tx packet delay histogram
  * @ppdev: physical device instance
  * @report_bin_values: bin
- * @category: packet catagory
+ * @category: packet category
  *
  * Return: NONE
  */

+ 1 - 1
core/dp/txrx/ol_txrx_encap.h

@@ -40,7 +40,7 @@
  * @param vdev - handle to vdev object
  * @param tx_desc - tx desc struct,some fields will be updated.
  * @param msdu - qdf_nbuf_t
- * @param msdu_info - informations from tx classification.
+ * @param msdu_info - information from tx classification.
  * @return
  *     A_OK: encap operation successful
  *     other: operation failed,the msdu need be dropped.