diff --git a/dp/inc/cdp_txrx_cmn.h b/dp/inc/cdp_txrx_cmn.h index bf8b75d0aa..d90181d6ee 100644 --- a/dp/inc/cdp_txrx_cmn.h +++ b/dp/inc/cdp_txrx_cmn.h @@ -712,7 +712,7 @@ cdp_data_tx_cb_set(ol_txrx_soc_handle soc, struct cdp_vdev *data_vdev, } /****************************************************************************** - * 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 35e0edbbe0..446d341ae0 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 82e4c46d5a..8ef72ec4f7 100644 --- a/dp/inc/cdp_txrx_ops.h +++ b/dp/inc/cdp_txrx_ops.h @@ -189,7 +189,7 @@ struct cdp_cmn_ops { 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 97b6016960..164330befc 100644 --- a/dp/inc/cdp_txrx_peer_ops.h +++ b/dp/inc/cdp_txrx_peer_ops.h @@ -384,12 +384,12 @@ cdp_peer_get_local_peer_id(ol_txrx_soc_handle soc, void *peer) } /** - * 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 @@ cdp_peer_get_vdevid(ol_txrx_soc_handle soc, void *peer, uint8_t *vdev_id) * @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 811a90ed57..34e3cbe935 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 @@ cdp_tx_delay(ol_txrx_soc_handle soc, struct cdp_pdev *pdev, * @soc: data path soc handle * @pdev: physical device instance * @bin_values: bin - * @category: packet catagory + * @category: packet category * * Return: NONE */ @@ -81,7 +81,7 @@ cdp_tx_delay_hist(ol_txrx_soc_handle soc, struct cdp_pdev *pdev, * @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 15e8b0f98d..df5cd2d020 100644 --- a/dp/wifi3.0/dp_htt.c +++ b/dp/wifi3.0/dp_htt.c @@ -306,7 +306,7 @@ htt_htc_misc_pkt_pool_free(struct htt_soc *soc) } /* - * 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 @@ dp_htt_h2t_full(void *context, HTC_PACKET *pkt) * 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 @@ htt_soc_attach(void *dp_soc, void *ctrl_psoc, HTC_HANDLE htc_soc, 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 adb00218fd..df9384fab8 100644 --- a/dp/wifi3.0/dp_internal.h +++ b/dp/wifi3.0/dp_internal.h @@ -500,7 +500,7 @@ static inline void dp_hif_update_pipe_callback(void *soc, void *cb_context, /* 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 75aba8250a..a2474e5689 100644 --- a/dp/wifi3.0/dp_peer.c +++ b/dp/wifi3.0/dp_peer.c @@ -1645,8 +1645,8 @@ int dp_addba_requestprocess_wifi3(void *peer_handle, * @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 @@ QDF_STATUS dp_peer_state_update(struct cdp_pdev *pdev_handle, uint8_t *peer_mac, } /** - * 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 df060c8a0a..fc550bb9cf 100644 --- a/dp/wifi3.0/dp_rx.c +++ b/dp/wifi3.0/dp_rx.c @@ -62,7 +62,7 @@ static inline bool dp_rx_check_ap_bridge(struct dp_vdev *vdev) * @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 @@ QDF_STATUS dp_rx_buffers_replenish(struct dp_soc *dp_soc, uint32_t mac_id, 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 @@ static inline void dp_rx_deliver_to_stack(struct dp_vdev *vdev, 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 aa97eb9fec..df239f8213 100644 --- a/dp/wifi3.0/dp_rx.h +++ b/dp/wifi3.0/dp_rx.h @@ -497,7 +497,7 @@ static inline int check_x86_paddr(struct dp_soc *dp_soc, qdf_nbuf_t *rx_netbuf, 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 @@ static inline bool check_qwrap_multicast_loopback(struct dp_vdev *vdev, * @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 7c93c267d6..8911717819 100644 --- a/dp/wifi3.0/dp_rx_defrag.c +++ b/dp/wifi3.0/dp_rx_defrag.c @@ -499,11 +499,11 @@ static uint16_t dp_rx_defrag_hdrsize(qdf_nbuf_t nbuf) } /* - * 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 @@ static void dp_rx_defrag_michdr(const struct ieee80211_frame *wh0, * @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 e4e06b3950..b8b59d76d8 100644 --- a/dp/wifi3.0/dp_rx_mon_dest.c +++ b/dp/wifi3.0/dp_rx_mon_dest.c @@ -92,7 +92,7 @@ done: * 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 cea842133e..6c55cb35b2 100644 --- a/dp/wifi3.0/dp_rx_mon_status.c +++ b/dp/wifi3.0/dp_rx_mon_status.c @@ -705,7 +705,7 @@ QDF_STATUS dp_rx_mon_status_buffers_replenish(struct dp_soc *dp_soc, 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 a999c96393..ff769a57a3 100644 --- a/dp/wifi3.0/dp_tx_me.c +++ b/dp/wifi3.0/dp_tx_me.c @@ -78,7 +78,7 @@ dp_tx_me_init(struct dp_pdev *pdev) 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 d9ff2145f5..429c51d850 100644 --- a/dp/wifi3.0/hal_rx.h +++ b/dp/wifi3.0/hal_rx.h @@ -3094,7 +3094,7 @@ static inline void hal_rx_dump_pkt_tlvs(uint8_t *buf, uint8_t dbg_level) } /** - * 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 @@ uint8_t hal_rx_get_mpdu_frame_control_valid(uint8_t *buf) * 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 @@ int hal_rx_chain_msdu_links(qdf_nbuf_t msdu, * @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 *