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
This commit is contained in:
@@ -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
|
* External Device physical address types
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @file cdp_txrx_misc.h
|
* @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
|
* called by the host control SW and the OS interface module
|
||||||
*/
|
*/
|
||||||
#ifndef _CDP_TXRX_MISC_H_
|
#ifndef _CDP_TXRX_MISC_H_
|
||||||
|
@@ -189,7 +189,7 @@ struct cdp_cmn_ops {
|
|||||||
ol_txrx_data_tx_cb callback, void *ctxt);
|
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,
|
int (*txrx_aggr_cfg)(struct cdp_vdev *vdev, int max_subfrms_ampdu,
|
||||||
|
@@ -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
|
* @soc - data path soc handle
|
||||||
* @peer - peer instance
|
* @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
|
* Return: QDF_STATUS_SUCCESS registration success
|
||||||
* QDF_STATUS_E_NOSUPPORT not support this feature
|
* 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
|
* @pdev - data path device instance
|
||||||
* @sta_id - local peer id
|
* @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
|
* Return: Virtual interface instance
|
||||||
* NULL in case cannot find
|
* NULL in case cannot find
|
||||||
|
@@ -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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
* @pdev: physical device instance
|
* @pdev: physical device instance
|
||||||
* @queue_delay_microsec: tx packet delay within queue, usec
|
* @queue_delay_microsec: tx packet delay within queue, usec
|
||||||
* @tx_delay_microsec: tx packet delay, usec
|
* @tx_delay_microsec: tx packet delay, usec
|
||||||
* @category: packet catagory
|
* @category: packet category
|
||||||
*
|
*
|
||||||
* Return: NONE
|
* Return: NONE
|
||||||
*/
|
*/
|
||||||
@@ -56,7 +56,7 @@ cdp_tx_delay(ol_txrx_soc_handle soc, struct cdp_pdev *pdev,
|
|||||||
* @soc: data path soc handle
|
* @soc: data path soc handle
|
||||||
* @pdev: physical device instance
|
* @pdev: physical device instance
|
||||||
* @bin_values: bin
|
* @bin_values: bin
|
||||||
* @category: packet catagory
|
* @category: packet category
|
||||||
*
|
*
|
||||||
* Return: NONE
|
* Return: NONE
|
||||||
*/
|
*/
|
||||||
@@ -81,7 +81,7 @@ cdp_tx_delay_hist(ol_txrx_soc_handle soc, struct cdp_pdev *pdev,
|
|||||||
* @soc: data path soc handle
|
* @soc: data path soc handle
|
||||||
* @pdev: physical device instance
|
* @pdev: physical device instance
|
||||||
* @out_packet_loss_count: packet loss count
|
* @out_packet_loss_count: packet loss count
|
||||||
* @category: packet catagory
|
* @category: packet category
|
||||||
*
|
*
|
||||||
* Return: NONE
|
* Return: NONE
|
||||||
*/
|
*/
|
||||||
|
@@ -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
|
* @tgt_mac_addr: Target MAC
|
||||||
* @buffer: Output buffer
|
* @buffer: Output buffer
|
||||||
*/
|
*/
|
||||||
@@ -2913,7 +2913,7 @@ dp_htt_h2t_full(void *context, HTC_PACKET *pkt)
|
|||||||
* Return: QDF_STATUS
|
* Return: QDF_STATUS
|
||||||
*
|
*
|
||||||
* TODO: Temporary change to bypass HTC connection for this new HIF pipe, which
|
* 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
|
* HTC connection to be added later once required FW changes are available
|
||||||
*/
|
*/
|
||||||
static QDF_STATUS
|
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->htc_soc = htc_soc;
|
||||||
soc->hal_soc = hal_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;
|
soc->htt_htc_pkt_freelist = NULL;
|
||||||
|
|
||||||
|
@@ -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
|
/* TODO: Temporary change to bypass HTC connection for this new
|
||||||
* HIF pipe, which will be used for packet log and other high-
|
* 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
|
* later once required FW changes are available
|
||||||
*/
|
*/
|
||||||
hif_pipe_callbacks.rxCompletionHandler = callback;
|
hif_pipe_callbacks.rxCompletionHandler = callback;
|
||||||
|
@@ -1645,8 +1645,8 @@ int dp_addba_requestprocess_wifi3(void *peer_handle,
|
|||||||
* @tid: TID number
|
* @tid: TID number
|
||||||
* @dialogtoken: output dialogtoken
|
* @dialogtoken: output dialogtoken
|
||||||
* @statuscode: output dialogtoken
|
* @statuscode: output dialogtoken
|
||||||
* @buffersize: Ouput BA window sizze
|
* @buffersize: Output BA window size
|
||||||
* @batimeout: Ouput BA timeout
|
* @batimeout: Output BA timeout
|
||||||
*/
|
*/
|
||||||
void dp_addba_responsesetup_wifi3(void *peer_handle, uint8_t tid,
|
void dp_addba_responsesetup_wifi3(void *peer_handle, uint8_t tid,
|
||||||
uint8_t *dialogtoken, uint16_t *statuscode,
|
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
|
* @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
|
* Return: QDF_STATUS_SUCCESS registration success
|
||||||
*/
|
*/
|
||||||
|
@@ -62,7 +62,7 @@ static inline bool dp_rx_check_ap_bridge(struct dp_vdev *vdev)
|
|||||||
* @soc: core txrx main context
|
* @soc: core txrx main context
|
||||||
* @mac_id: mac_id which is one of 3 mac_ids
|
* @mac_id: mac_id which is one of 3 mac_ids
|
||||||
* @dp_rxdma_srng: dp rxdma circular ring
|
* @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
|
* @num_req_buffers: number of buffer to be replenished
|
||||||
* @desc_list: list of descs if called from dp_rx_process
|
* @desc_list: list of descs if called from dp_rx_process
|
||||||
* or NULL during dp rx initialization or out of buffer
|
* 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);
|
sync_hw_ptr);
|
||||||
|
|
||||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
|
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);
|
num_entries_avail);
|
||||||
|
|
||||||
if (!(*desc_list) && (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)
|
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.
|
* callback function. if so let us free the nbuf_list.
|
||||||
*/
|
*/
|
||||||
if (qdf_unlikely(!vdev->osif_rx)) {
|
if (qdf_unlikely(!vdev->osif_rx)) {
|
||||||
|
@@ -497,7 +497,7 @@ static inline int check_x86_paddr(struct dp_soc *dp_soc, qdf_nbuf_t *rx_netbuf,
|
|||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
else {
|
else {
|
||||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
|
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);
|
paddr);
|
||||||
|
|
||||||
nbuf_retry++;
|
nbuf_retry++;
|
||||||
@@ -722,7 +722,7 @@ static inline bool check_qwrap_multicast_loopback(struct dp_vdev *vdev,
|
|||||||
* @soc: core txrx main context
|
* @soc: core txrx main context
|
||||||
* @mac_id: mac_id which is one of 3 mac_ids
|
* @mac_id: mac_id which is one of 3 mac_ids
|
||||||
* @dp_rxdma_srng: dp rxdma circular ring
|
* @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
|
* @num_req_buffers: number of buffer to be replenished
|
||||||
* @desc_list: list of descs if called from dp_rx_process
|
* @desc_list: list of descs if called from dp_rx_process
|
||||||
* or NULL during dp rx initialization or out of buffer
|
* or NULL during dp rx initialization or out of buffer
|
||||||
|
@@ -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
|
* @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
|
* Returns: None
|
||||||
*/
|
*/
|
||||||
@@ -557,10 +557,10 @@ static void dp_rx_defrag_michdr(const struct ieee80211_frame *wh0,
|
|||||||
* @key: Pointer to the key
|
* @key: Pointer to the key
|
||||||
* @wbuf: fragment buffer
|
* @wbuf: fragment buffer
|
||||||
* @off: Offset
|
* @off: Offset
|
||||||
* @data_len: Data lengh
|
* @data_len: Data length
|
||||||
* @mic: Array to hold MIC
|
* @mic: Array to hold MIC
|
||||||
*
|
*
|
||||||
* Calculate a psuedo MIC header
|
* Calculate a pseudo MIC header
|
||||||
*
|
*
|
||||||
* Returns: QDF_STATUS
|
* Returns: QDF_STATUS
|
||||||
*/
|
*/
|
||||||
|
@@ -92,7 +92,7 @@ done:
|
|||||||
* fragmented buffer
|
* fragmented buffer
|
||||||
*
|
*
|
||||||
* @total_len: pointer to remaining data length.
|
* @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,
|
static inline void dp_mon_adjust_frag_len(uint32_t *total_len,
|
||||||
uint32_t *frag_len)
|
uint32_t *frag_len)
|
||||||
|
@@ -705,7 +705,7 @@ QDF_STATUS dp_rx_mon_status_buffers_replenish(struct dp_soc *dp_soc,
|
|||||||
rxdma_srng, sync_hw_ptr);
|
rxdma_srng, sync_hw_ptr);
|
||||||
|
|
||||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
|
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);
|
__func__, __LINE__, num_entries_avail);
|
||||||
|
|
||||||
if (num_entries_avail < num_req_buffers) {
|
if (num_entries_avail < num_req_buffers) {
|
||||||
|
@@ -78,7 +78,7 @@ dp_tx_me_init(struct dp_pdev *pdev)
|
|||||||
p->next = NULL;
|
p->next = NULL;
|
||||||
qdf_spin_unlock_bh(&pdev->tx_mutex);
|
qdf_spin_unlock_bh(&pdev->tx_mutex);
|
||||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
|
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"
|
paddr - %x\n num_elems = %d buf_size - %d"
|
||||||
"pool_size = %d",
|
"pool_size = %d",
|
||||||
pdev->me_buf.vaddr,
|
pdev->me_buf.vaddr,
|
||||||
|
@@ -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
|
* structure
|
||||||
* @hal_ring: pointer to hal_srng 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
|
* hal_rx_get_mpdu_mac_ad4_valid(): Retrieves if mpdu 4th addr is valid
|
||||||
*
|
*
|
||||||
* @nbuf: Network buffer
|
* @nbuf: Network buffer
|
||||||
* Returns: value of mpdu 4th address vaild field
|
* Returns: value of mpdu 4th address valid field
|
||||||
*/
|
*/
|
||||||
static inline
|
static inline
|
||||||
bool hal_rx_get_mpdu_mac_ad4_valid(uint8_t *buf)
|
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
|
* @mpdu_des_info: saved mpdu desc info
|
||||||
* @msdu_link_ptr: saved msdu link ptr
|
* @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
|
* mpdu desc info and msdu link ptr before reinjecting the
|
||||||
* packet back to REO
|
* packet back to REO
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user