qcacmn: dp: Fix misspellings

Fix misspellings in dp/...

Change-Id: I6ef7a19ee03104ae38a8a77e229b90aa80329592
CRs-Fixed: 3304682
这个提交包含在:
Jeff Johnson
2022-09-30 15:05:49 -07:00
提交者 Madan Koyyalamudi
父节点 c359185095
当前提交 ebfbc0d927
修改 52 个文件,包含 177 行新增174 行删除

查看文件

@@ -411,7 +411,7 @@ QDF_STATUS dp_vdev_set_monitor_mode_rings(struct dp_pdev *pdev,
pdev_cfg_ctx = pdev->wlan_cfg_ctx;
/* If monitor rings are aleady initilized, return from here */
/* If monitor rings are already initialized, return from here */
if (mon_pdev->pdev_mon_init)
return QDF_STATUS_SUCCESS;

查看文件

@@ -82,7 +82,7 @@ static QDF_STATUS dp_mon_filter_check_co_exist(struct dp_pdev *pdev)
/*
* Check if the m_copy, monitor mode and the smart_monitor_mode
* can co-exist togther.
* can co-exist together.
*/
if (mon_pdev->mcopy_mode &&
(mon_pdev->mvdev || mon_pdev->neighbour_peers_added)) {

查看文件

@@ -54,7 +54,7 @@ void dp_rx_pdev_mon_desc_pool_free(struct dp_pdev *pdev);
/**
* dp_rx_mon_dest_process() - Brain of the Rx processing functionality
* Called from the bottom half (tasklet/NET_RX_SOFTIRQ)
* @soc: core txrx main contex
* @soc: core txrx main context
* @int_ctx: interrupt context
* @hal_ring: opaque pointer to the HAL Rx Ring, which will be serviced
* @quota: No. of units (packets) that can be serviced in one shot.
@@ -122,7 +122,7 @@ dp_mon_dest_srng_drop_for_mac(struct dp_pdev *pdev, uint32_t mac_id);
/**
* dp_rxdma_err_process() - RxDMA error processing functionality
* @soc: core txrx main contex
* @soc: core txrx main context
* @mac_id: mac id which is one of 3 mac_ids
* @hal_ring: opaque pointer to the HAL Rx Ring, which will be serviced
* @quota: No. of units (packets) that can be serviced in one shot.

查看文件

@@ -395,7 +395,7 @@ dp_rx_mon_mpdu_pop(struct dp_soc *soc, uint32_t mac_id,
dp_rx_mon_buffer_set_pktlen(msdu, rx_buf_size);
#if 0
/* Disble it.see packet on msdu done set to 0 */
/* Disable it.see packet on msdu done set to 0 */
/*
* Check if DMA completed -- msdu_done is the
* last bit to be written
@@ -1396,7 +1396,7 @@ dp_rx_mon_restitch_mpdu_from_msdus(struct dp_soc *soc,
/* Allocate a new nbuf for holding the 802.11 header retrieved from the
* status of the now decapped first msdu. Leave enough headroom for
* accomodating any radio-tap /prism like PHY header
* accommodating any radio-tap /prism like PHY header
*/
mpdu_buf = qdf_nbuf_alloc(soc->osdev,
MAX_MONITOR_HEADER + mpdu_buf_len,
@@ -1769,7 +1769,7 @@ dp_rx_mon_frag_restitch_mpdu_from_msdus(struct dp_soc *soc,
frag_size = qdf_nbuf_get_frag_size_by_idx(head_msdu, 0);
if (buf_info.first_buffer && buf_info.last_buffer) {
/* MSDU with single bufffer */
/* MSDU with single buffer */
amsdu_pad = frag_size & 0x3;
amsdu_pad = amsdu_pad ? (4 - amsdu_pad) : 0;
if (amsdu_pad && (amsdu_pad <= pad_byte_pholder)) {
@@ -1944,7 +1944,7 @@ dp_rx_mon_frag_restitch_mpdu_from_msdus(struct dp_soc *soc,
amsdu_pad = tot_msdu_len & 0x3;
amsdu_pad = amsdu_pad ? (4 - amsdu_pad) : 0;
/* Create placeholder if current bufer can
/* Create placeholder if current buffer can
* accommodate padding.
*/
if (amsdu_pad && (amsdu_pad <= pad_byte_pholder)) {

查看文件

@@ -58,7 +58,7 @@ void dp_mon_filter_dealloc_2_0(struct dp_pdev *pdev)
mon_pdev_be = dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev);
mon_filter = mon_pdev_be->filter_be;
if (!mon_filter) {
dp_mon_filter_err("Found NULL memmory for the Monitor filter");
dp_mon_filter_err("Found NULL memory for the Monitor filter");
return;
}
@@ -2277,7 +2277,7 @@ void dp_mon_filter_reset_pktlog_hybrid_2_0(struct dp_pdev *pdev)
* dp_rx_mon_filter_h2t_setup() - Setup the filter for the Target setup
* @soc: DP soc handle
* @pdev: DP pdev handle
* @srng_type: The srng type for which filter wll be set
* @srng_type: The srng type for which filter will be set
* @tlv_filter: tlv filter
*/
static void
@@ -2764,7 +2764,7 @@ void dp_tx_mon_wordmask_config_set(struct htt_tx_ring_tlv_filter *dst_filter,
* dp_tx_mon_filter_h2t_setup() - Setup the filter
* @soc: DP soc handle
* @pdev: DP pdev handle
* @srng_type: The srng type for which filter wll be set
* @srng_type: The srng type for which filter will be set
* @tlv_filter: tlv filter
*/
static

查看文件

@@ -742,7 +742,7 @@ dp_rx_mon_handle_full_mon(struct dp_pdev *pdev,
RX_MONITOR_BUFFER_SIZE - (frag_size + DP_RX_MON_PACKET_OFFSET + DP_RX_MON_NONRAW_L2_HDR_PAD_BYTE);
if (msdu_meta->first_buffer && msdu_meta->last_buffer) {
/* MSDU with single bufffer */
/* MSDU with single buffer */
amsdu_pad = frag_size & 0x3;
amsdu_pad = amsdu_pad ? (4 - amsdu_pad) : 0;
if (amsdu_pad && (amsdu_pad <= pad_byte_pholder)) {
@@ -891,13 +891,13 @@ dp_rx_mon_handle_full_mon(struct dp_pdev *pdev,
* 2. Last buffer of MSDU in case of multiple buf MSDU
*/
/* This flag is used to identify msdu boundry */
/* This flag is used to identify msdu boundary */
prev_msdu_end_received = true;
/* Check size of buffer if amsdu padding required */
amsdu_pad = tot_msdu_len & 0x3;
amsdu_pad = amsdu_pad ? (4 - amsdu_pad) : 0;
/* Create placeholder if current bufer can
/* Create placeholder if current buffer can
* accommodate padding.
*/
if (amsdu_pad && (amsdu_pad <= pad_byte_pholder)) {

查看文件

@@ -93,7 +93,7 @@ dp_tx_mon_buf_desc_pool_alloc(struct dp_soc *soc);
*
* @mon_pdev - DP_MON_PDEV handle
* @ppdu_id - ppdu_id
* @end_reason - monitor destiantion descriptor end reason
* @end_reason - monitor destination descriptor end reason
*
* Return: void
*/

查看文件

@@ -989,7 +989,7 @@ dp_tx_mon_alloc_mpdu(struct dp_pdev *pdev, struct dp_tx_ppdu_info *tx_ppdu_info)
/*
* payload will be added as a frag to buffer
* and we allocate new skb for radiotap header
* we allocate a dummy bufffer size
* we allocate a dummy buffer size
*/
mpdu_nbuf = qdf_nbuf_alloc(pdev->soc->osdev,
MAX_MONITOR_HEADER, MAX_MONITOR_HEADER,
@@ -1620,7 +1620,7 @@ dp_tx_mon_process_tlv_2_0(struct dp_pdev *pdev,
*
* @mon_pdev - DP_MON_PDEV handle
* @ppdu_id - ppdu_id
* @end_reason - monitor destiantion descriptor end reason
* @end_reason - monitor destination descriptor end reason
*
* Return: void
*/
@@ -1817,7 +1817,7 @@ dp_tx_mon_process_status_tlv(struct dp_soc *soc,
*
* @mon_pdev - DP_MON_PDEV handle
* @ppdu_id - ppdu_id
* @end_reason - monitor destiantion descriptor end reason
* @end_reason - monitor destination descriptor end reason
*
* Return: void
*/

查看文件

@@ -5903,7 +5903,7 @@ dp_mon_compute_min_nf(struct cdp_rssi_dbm_conv_param_dp *conv_params,
}
/*
* dp_mon_pdev_params_rssi_dbm_conv() --> to set rssi in dbm converstion
* dp_mon_pdev_params_rssi_dbm_conv() --> to set rssi in dbm conversion
* params into monitor pdev.
*@cdp_soc: dp soc handle.
*@params: cdp_rssi_db2dbm_param_dp structure value.
@@ -5927,7 +5927,7 @@ dp_mon_pdev_params_rssi_dbm_conv(struct cdp_soc_t *cdp_soc,
int i;
if (!soc->features.rssi_dbm_conv_support) {
dp_cdp_err("rssi dbm converstion support is false");
dp_cdp_err("rssi dbm conversion support is false");
return QDF_STATUS_E_INVAL;
}
if (!pdev || !pdev->monitor_pdev) {

查看文件

@@ -547,7 +547,7 @@ void dp_ppdu_desc_deliver(struct dp_pdev *pdev, struct ppdu_info *ppdu_info);
#ifdef QCA_RSSI_DB2DBM
/*
* dp_mon_pdev_params_rssi_dbm_conv() --> to set rssi in dbm converstion
* dp_mon_pdev_params_rssi_dbm_conv() --> to set rssi in dbm conversion
* params into monitor pdev.
*@cdp_soc: dp soc handle.
*@params: cdp_rssi_db2dbm_param_dp structure value.
@@ -2133,7 +2133,7 @@ static inline void dp_monitor_flush_rings(struct dp_soc *soc)
/*
* dp_monitor_config_undecoded_metadata_capture() - Monitor config
* undecoded metatdata capture
* undecoded metadata capture
* @pdev: point to pdev
* @val: val
*
@@ -2669,7 +2669,7 @@ static inline void dp_monitor_peer_tx_capture_filter_check(struct dp_pdev *pdev,
* dp_monitor_tx_add_to_comp_queue() - add completion msdu to queue
*
* This API returns QDF_STATUS_SUCCESS in case where buffer is added
* to txmonitor queue successfuly caller will not free the buffer in
* to txmonitor queue successfully caller will not free the buffer in
* this case. In other cases this API return QDF_STATUS_E_FAILURE and
* caller frees the buffer
*

查看文件

@@ -137,7 +137,7 @@ dp_mon_set_fp_phy_err_filter(struct htt_rx_ring_tlv_filter *tlv_filter,
* dp_mon_filter_h2t_setup() - Setup the filter for the Target setup
* @soc: DP soc handle
* @pdev: DP pdev handle
* @srng_type: The srng type for which filter wll be set
* @srng_type: The srng type for which filter will be set
* @tlv_filter: tlv filter
*/
void dp_mon_filter_h2t_setup(struct dp_soc *soc, struct dp_pdev *pdev,
@@ -610,7 +610,7 @@ dp_mon_filter_reset_mon_srng(struct dp_soc *soc, struct dp_pdev *pdev,
if (dp_mon_ht2_rx_ring_cfg(soc, pdev, mon_srng_type,
&tlv_filter) != QDF_STATUS_SUCCESS) {
dp_mon_filter_err("%pK: Monitor destinatin ring filter setting failed",
dp_mon_filter_err("%pK: Monitor destination ring filter setting failed",
soc);
}
}
@@ -741,7 +741,7 @@ void dp_mon_filter_dealloc(struct dp_mon_pdev *mon_pdev)
* Check if the monitor filters are already allocated to the mon_pdev.
*/
if (!mon_filter) {
dp_mon_filter_err("Found NULL memmory for the Monitor filter");
dp_mon_filter_err("Found NULL memory for the Monitor filter");
return;
}

查看文件

@@ -402,7 +402,7 @@ void dp_mon_filter_show_filter(struct dp_mon_pdev *mon_pdev,
* based on target
* @soc: DP soc handle
* @pdev: DP pdev handle
* @srng_type: The srng type for which filter wll be set
* @srng_type: The srng type for which filter will be set
* @tlv_filter: tlv filter
*/
QDF_STATUS

查看文件

@@ -43,7 +43,7 @@
/*
* The maximum headroom reserved for monitor destination buffer to
* accomodate radiotap header and protocol flow tag
* accommodate radiotap header and protocol flow tag
*/
#ifdef DP_RX_MON_MEM_FRAG
/*
@@ -70,7 +70,7 @@
* enum dp_mon_reap_status - monitor status ring ppdu status
*
* @DP_MON_STATUS_NO_DMA - DMA not done for status ring entry
* @DP_MON_STATUS_MATCH - status and dest ppdu id mathes
* @DP_MON_STATUS_MATCH - status and dest ppdu id matches
* @DP_MON_STATUS_LAG - status ppdu id is lagging
* @DP_MON_STATUS_LEAD - status ppdu id is leading
* @DP_MON_STATUS_REPLENISH - status ring entry is NULL
@@ -129,7 +129,7 @@ dp_rx_mon_handle_status_buf_done(struct dp_pdev *pdev,
/**
* dp_full_mon_attach() - Full monitor mode attach
* This API initilises full monitor mode resources
* This API initializes full monitor mode resources
*
* @pdev: dp pdev object
*
@@ -218,7 +218,7 @@ QDF_STATUS dp_rx_mon_deliver(struct dp_soc *soc, uint32_t mac_id,
qdf_nbuf_t head_msdu, qdf_nbuf_t tail_msdu);
/*
* dp_rx_mon_deliver_non_std() - deliver frames for non standard path
* @soc: core txrx main contex
* @soc: core txrx main context
* @mac_id: MAC ID
*
* This function delivers the radio tap and dummy MSDU
@@ -317,7 +317,7 @@ dp_rx_populate_su_evm_details(struct hal_rx_ppdu_info *ppdu_info,
/**
* dp_rx_handle_ppdu_stats() - Allocate and deliver ppdu stats to cdp layer
* @soc: core txrx main context
* @pdev: pdev strcuture
* @pdev: pdev structure
* @ppdu_info: structure for rx ppdu ring
*
* Return: none
@@ -371,7 +371,7 @@ dp_rx_handle_ppdu_stats(struct dp_soc *soc, struct dp_pdev *pdev,
* dp_rx_handle_ppdu_undecoded_metadata() - Allocate and deliver ppdu info
* undecoded metadata to cdp layer
* @soc: core txrx main context
* @pdev: pdev strcuture
* @pdev: pdev structure
* @ppdu_info: structure for rx ppdu ring
*
* Return: none
@@ -650,7 +650,7 @@ QDF_STATUS dp_rx_mon_deliver(struct dp_soc *soc,
/**
* dp_rx_mon_deliver_non_std()
* @soc: core txrx main contex
* @soc: core txrx main context
* @mac_id: MAC ID
*
* This function delivers the radio tap and dummy MSDU