qcacmn: dp: Fix misspellings
Address the following issues in the dp folder:
CHECK: 'availble' may be misspelled - perhaps 'available'?
CHECK: 'catagory' may be misspelled - perhaps 'category'?
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
CHECK: 'exceded' may be misspelled - perhaps 'exceeded'?
CHECK: 'explicitely' may be misspelled - perhaps 'explicitly'?
CHECK: 'Inteface' may be misspelled - perhaps 'Interface'?
CHECK: 'lengh' may be misspelled - perhaps 'length'?
CHECK: 'messsages' may be misspelled - perhaps 'messages'?
CHECK: 'miscelleneous' may be misspelled - perhaps 'miscellaneous'?
CHECK: 'Ouput' may be misspelled - perhaps 'Output'?
CHECK: 'poiter' may be misspelled - perhaps 'pointer'?
CHECK: 'Poiter' may be misspelled - perhaps 'Pointer'?
CHECK: 'psuedo' may be misspelled - perhaps 'pseudo'?
CHECK: 'registerd' may be misspelled - perhaps 'registered'?
CHECK: 'requred' may be misspelled - perhaps 'required'?
CHECK: 'retreive' may be misspelled - perhaps 'retrieve'?
CHECK: 'succesfully' may be misspelled - perhaps 'successfully'?
CHECK: 'vaild' may be misspelled - perhaps 'valid'?
CHECK: 'virtaul' may be misspelled - perhaps 'virtual'?
Change-Id: I66b9cdc6115dd133b385e60c9d02cefd1bd0bac3
CRs-Fixed: 2241574
diff --git a/dp/inc/cdp_txrx_cmn.h b/dp/inc/cdp_txrx_cmn.h
index bf8b75d..d90181d 100644
--- a/dp/inc/cdp_txrx_cmn.h
+++ b/dp/inc/cdp_txrx_cmn.h
@@ -712,7 +712,7 @@
}
/******************************************************************************
- * Statistics and Debugging Interface (C Inteface)
+ * Statistics and Debugging Interface (C Interface)
*****************************************************************************/
/**
* External Device physical address types
diff --git a/dp/inc/cdp_txrx_misc.h b/dp/inc/cdp_txrx_misc.h
index 35e0edb..446d341 100644
--- a/dp/inc/cdp_txrx_misc.h
+++ b/dp/inc/cdp_txrx_misc.h
@@ -18,7 +18,7 @@
/**
* @file cdp_txrx_misc.h
- * @brief Define the host data path miscelleneous API functions
+ * @brief Define the host data path miscellaneous API functions
* called by the host control SW and the OS interface module
*/
#ifndef _CDP_TXRX_MISC_H_
diff --git a/dp/inc/cdp_txrx_ops.h b/dp/inc/cdp_txrx_ops.h
index 82e4c46..8ef72ec 100644
--- a/dp/inc/cdp_txrx_ops.h
+++ b/dp/inc/cdp_txrx_ops.h
@@ -189,7 +189,7 @@
ol_txrx_data_tx_cb callback, void *ctxt);
/*******************************************************************
- * Statistics and Debugging Interface (C Inteface)
+ * Statistics and Debugging Interface (C Interface)
********************************************************************/
int (*txrx_aggr_cfg)(struct cdp_vdev *vdev, int max_subfrms_ampdu,
diff --git a/dp/inc/cdp_txrx_peer_ops.h b/dp/inc/cdp_txrx_peer_ops.h
index 97b6016..164330b 100644
--- a/dp/inc/cdp_txrx_peer_ops.h
+++ b/dp/inc/cdp_txrx_peer_ops.h
@@ -384,12 +384,12 @@
}
/**
- * cdp_peer_get_vdevid() - Get virtaul interface id which peer registered
+ * cdp_peer_get_vdevid() - Get virtual interface id which peer registered
* @soc - data path soc handle
* @peer - peer instance
- * @vdev_id - virtaul interface id which peer registered
+ * @vdev_id - virtual interface id which peer registered
*
- * Get virtaul interface id which peer registered
+ * Get virtual interface id which peer registered
*
* Return: QDF_STATUS_SUCCESS registration success
* QDF_STATUS_E_NOSUPPORT not support this feature
@@ -415,7 +415,7 @@
* @pdev - data path device instance
* @sta_id - local peer id
*
- * Get virtaul interface id by local peer id
+ * Get virtual interface id by local peer id
*
* Return: Virtual interface instance
* NULL in case cannot find
diff --git a/dp/inc/cdp_txrx_tx_delay.h b/dp/inc/cdp_txrx_tx_delay.h
index 811a90e..34e3cbe 100644
--- a/dp/inc/cdp_txrx_tx_delay.h
+++ b/dp/inc/cdp_txrx_tx_delay.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 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
@@ -30,7 +30,7 @@
* @pdev: 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
*/
@@ -56,7 +56,7 @@
* @soc: data path soc handle
* @pdev: physical device instance
* @bin_values: bin
- * @category: packet catagory
+ * @category: packet category
*
* Return: NONE
*/
@@ -81,7 +81,7 @@
* @soc: data path soc handle
* @pdev: physical device instance
* @out_packet_loss_count: packet loss count
- * @category: packet catagory
+ * @category: packet category
*
* Return: NONE
*/
diff --git a/dp/wifi3.0/dp_htt.c b/dp/wifi3.0/dp_htt.c
index 15e8b0f..df5cd2d 100644
--- a/dp/wifi3.0/dp_htt.c
+++ b/dp/wifi3.0/dp_htt.c
@@ -306,7 +306,7 @@
}
/*
- * htt_t2h_mac_addr_deswizzle() - Swap MAC addr bytes if FW endianess differ
+ * htt_t2h_mac_addr_deswizzle() - Swap MAC addr bytes if FW endianness differ
* @tgt_mac_addr: Target MAC
* @buffer: Output buffer
*/
@@ -2913,7 +2913,7 @@
* Return: QDF_STATUS
*
* TODO: Temporary change to bypass HTC connection for this new HIF pipe, which
- * will be used for packet log and other high-priority HTT messsages. Proper
+ * will be used for packet log and other high-priority HTT messages. Proper
* HTC connection to be added later once required FW changes are available
*/
static QDF_STATUS
@@ -3016,7 +3016,7 @@
soc->htc_soc = htc_soc;
soc->hal_soc = hal_soc;
- /* TODO: See if any NSS related context is requred in htt_soc */
+ /* TODO: See if any NSS related context is required in htt_soc */
soc->htt_htc_pkt_freelist = NULL;
diff --git a/dp/wifi3.0/dp_internal.h b/dp/wifi3.0/dp_internal.h
index adb0021..df9384f 100644
--- a/dp/wifi3.0/dp_internal.h
+++ b/dp/wifi3.0/dp_internal.h
@@ -500,7 +500,7 @@
/* TODO: Temporary change to bypass HTC connection for this new
* HIF pipe, which will be used for packet log and other high-
- * priority HTT messsages. Proper HTC connection to be added
+ * priority HTT messages. Proper HTC connection to be added
* later once required FW changes are available
*/
hif_pipe_callbacks.rxCompletionHandler = callback;
diff --git a/dp/wifi3.0/dp_peer.c b/dp/wifi3.0/dp_peer.c
index 75aba82..a2474e5 100644
--- a/dp/wifi3.0/dp_peer.c
+++ b/dp/wifi3.0/dp_peer.c
@@ -1645,8 +1645,8 @@
* @tid: TID number
* @dialogtoken: output dialogtoken
* @statuscode: output dialogtoken
-* @buffersize: Ouput BA window sizze
-* @batimeout: Ouput BA timeout
+* @buffersize: Output BA window size
+* @batimeout: Output BA timeout
*/
void dp_addba_responsesetup_wifi3(void *peer_handle, uint8_t tid,
uint8_t *dialogtoken, uint16_t *statuscode,
@@ -2059,11 +2059,11 @@
}
/**
- * dp_get_vdevid() - Get virtaul interface id which peer registered
+ * dp_get_vdevid() - Get virtual interface id which peer registered
* @peer - peer instance
- * @vdev_id - virtaul interface id which peer registered
+ * @vdev_id - virtual interface id which peer registered
*
- * Get virtaul interface id which peer registered
+ * Get virtual interface id which peer registered
*
* Return: QDF_STATUS_SUCCESS registration success
*/
diff --git a/dp/wifi3.0/dp_rx.c b/dp/wifi3.0/dp_rx.c
index df060c8..fc550bb 100644
--- a/dp/wifi3.0/dp_rx.c
+++ b/dp/wifi3.0/dp_rx.c
@@ -62,7 +62,7 @@
* @soc: core txrx main context
* @mac_id: mac_id which is one of 3 mac_ids
* @dp_rxdma_srng: dp rxdma circular ring
- * @rx_desc_pool: Poiter to free Rx descriptor pool
+ * @rx_desc_pool: Pointer to free Rx descriptor pool
* @num_req_buffers: number of buffer to be replenished
* @desc_list: list of descs if called from dp_rx_process
* or NULL during dp rx initialization or out of buffer
@@ -109,7 +109,7 @@
sync_hw_ptr);
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
- "no of availble entries in rxdma ring: %d",
+ "no of available entries in rxdma ring: %d",
num_entries_avail);
if (!(*desc_list) && (num_entries_avail >
@@ -1027,7 +1027,7 @@
qdf_nbuf_t nbuf_tail)
{
/*
- * highly unlikely to have a vdev without a registerd rx
+ * highly unlikely to have a vdev without a registered rx
* callback function. if so let us free the nbuf_list.
*/
if (qdf_unlikely(!vdev->osif_rx)) {
diff --git a/dp/wifi3.0/dp_rx.h b/dp/wifi3.0/dp_rx.h
index aa97eb9..df239f8 100644
--- a/dp/wifi3.0/dp_rx.h
+++ b/dp/wifi3.0/dp_rx.h
@@ -497,7 +497,7 @@
return QDF_STATUS_SUCCESS;
else {
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
- "phy addr %pK exceded 0x50000000 trying again\n",
+ "phy addr %pK exceeded 0x50000000 trying again\n",
paddr);
nbuf_retry++;
@@ -722,7 +722,7 @@
* @soc: core txrx main context
* @mac_id: mac_id which is one of 3 mac_ids
* @dp_rxdma_srng: dp rxdma circular ring
- * @rx_desc_pool: Poiter to free Rx descriptor pool
+ * @rx_desc_pool: Pointer to free Rx descriptor pool
* @num_req_buffers: number of buffer to be replenished
* @desc_list: list of descs if called from dp_rx_process
* or NULL during dp rx initialization or out of buffer
diff --git a/dp/wifi3.0/dp_rx_defrag.c b/dp/wifi3.0/dp_rx_defrag.c
index 7c93c26..8911717 100644
--- a/dp/wifi3.0/dp_rx_defrag.c
+++ b/dp/wifi3.0/dp_rx_defrag.c
@@ -499,11 +499,11 @@
}
/*
- * dp_rx_defrag_michdr(): Calculate a psuedo MIC header
+ * dp_rx_defrag_michdr(): Calculate a pseudo MIC header
* @wh0: Pointer to the wireless header of the fragment
- * @hdr: Array to hold the psuedo header
+ * @hdr: Array to hold the pseudo header
*
- * Calculate a psuedo MIC header
+ * Calculate a pseudo MIC header
*
* Returns: None
*/
@@ -557,10 +557,10 @@
* @key: Pointer to the key
* @wbuf: fragment buffer
* @off: Offset
- * @data_len: Data lengh
+ * @data_len: Data length
* @mic: Array to hold MIC
*
- * Calculate a psuedo MIC header
+ * Calculate a pseudo MIC header
*
* Returns: QDF_STATUS
*/
diff --git a/dp/wifi3.0/dp_rx_mon_dest.c b/dp/wifi3.0/dp_rx_mon_dest.c
index e4e06b3..b8b59d7 100644
--- a/dp/wifi3.0/dp_rx_mon_dest.c
+++ b/dp/wifi3.0/dp_rx_mon_dest.c
@@ -92,7 +92,7 @@
* fragmented buffer
*
* @total_len: pointer to remaining data length.
- * @frag_len: poiter to data length in this fragment.
+ * @frag_len: pointer to data length in this fragment.
*/
static inline void dp_mon_adjust_frag_len(uint32_t *total_len,
uint32_t *frag_len)
diff --git a/dp/wifi3.0/dp_rx_mon_status.c b/dp/wifi3.0/dp_rx_mon_status.c
index cea8421..6c55cb3 100644
--- a/dp/wifi3.0/dp_rx_mon_status.c
+++ b/dp/wifi3.0/dp_rx_mon_status.c
@@ -705,7 +705,7 @@
rxdma_srng, sync_hw_ptr);
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
- "[%s][%d] no of availble entries in rxdma ring: %d\n",
+ "[%s][%d] no of available entries in rxdma ring: %d\n",
__func__, __LINE__, num_entries_avail);
if (num_entries_avail < num_req_buffers) {
diff --git a/dp/wifi3.0/dp_tx_me.c b/dp/wifi3.0/dp_tx_me.c
index a999c96..ff769a5 100644
--- a/dp/wifi3.0/dp_tx_me.c
+++ b/dp/wifi3.0/dp_tx_me.c
@@ -78,7 +78,7 @@
p->next = NULL;
qdf_spin_unlock_bh(&pdev->tx_mutex);
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
- "ME Pool succesfully initialized vaddr - %x \
+ "ME Pool successfully initialized vaddr - %x \
paddr - %x\n num_elems = %d buf_size - %d"
"pool_size = %d",
pdev->me_buf.vaddr,
diff --git a/dp/wifi3.0/hal_rx.h b/dp/wifi3.0/hal_rx.h
index d9ff214..429c51d 100644
--- a/dp/wifi3.0/hal_rx.h
+++ b/dp/wifi3.0/hal_rx.h
@@ -3094,7 +3094,7 @@
}
/**
- * hal_srng_ring_id_get: API to retreive ring id from hal ring
+ * hal_srng_ring_id_get: API to retrieve ring id from hal ring
* structure
* @hal_ring: pointer to hal_srng structure
*
@@ -3301,7 +3301,7 @@
* hal_rx_get_mpdu_mac_ad4_valid(): Retrieves if mpdu 4th addr is valid
*
* @nbuf: Network buffer
- * Returns: value of mpdu 4th address vaild field
+ * Returns: value of mpdu 4th address valid field
*/
static inline
bool hal_rx_get_mpdu_mac_ad4_valid(uint8_t *buf)
@@ -3439,7 +3439,7 @@
* @mpdu_des_info: saved mpdu desc info
* @msdu_link_ptr: saved msdu link ptr
*
- * API used explicitely for rx defrag to update ring desc with
+ * API used explicitly for rx defrag to update ring desc with
* mpdu desc info and msdu link ptr before reinjecting the
* packet back to REO
*