From ebfbc0d9272ed351de80ae5551f167f11da41b53 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 30 Sep 2022 15:05:49 -0700 Subject: [PATCH] qcacmn: dp: Fix misspellings Fix misspellings in dp/... Change-Id: I6ef7a19ee03104ae38a8a77e229b90aa80329592 CRs-Fixed: 3304682 --- dp/cmn_dp_api/dp_ratetable.c | 8 ++--- dp/inc/cdp_txrx_cmn_reg.h | 4 +-- dp/inc/cdp_txrx_cmn_struct.h | 10 +++---- dp/inc/cdp_txrx_ctrl.h | 2 +- dp/inc/cdp_txrx_flow_ctrl_legacy.h | 3 +- dp/inc/cdp_txrx_host_stats.h | 2 +- dp/inc/cdp_txrx_mob_def.h | 2 +- dp/inc/cdp_txrx_mon_struct.h | 10 +++---- dp/inc/cdp_txrx_mscs.h | 3 +- dp/inc/cdp_txrx_ops.h | 4 +-- dp/inc/cdp_txrx_sawf.h | 4 +-- dp/inc/cdp_txrx_stats_struct.h | 18 +++++------ dp/wifi3.0/be/dp_be.c | 2 +- dp/wifi3.0/be/dp_be_rx.c | 2 +- dp/wifi3.0/be/dp_be_tx.c | 2 +- dp/wifi3.0/be/mlo/dp_mlo.c | 2 +- dp/wifi3.0/dp_hist.c | 4 +-- dp/wifi3.0/dp_htt.c | 16 +++++----- dp/wifi3.0/dp_htt.h | 8 ++--- dp/wifi3.0/dp_internal.h | 4 +-- dp/wifi3.0/dp_ipa.c | 6 ++-- dp/wifi3.0/dp_main.c | 24 +++++++-------- dp/wifi3.0/dp_peer.c | 20 ++++++------- dp/wifi3.0/dp_peer.h | 30 +++++++++---------- dp/wifi3.0/dp_reo.c | 4 +-- dp/wifi3.0/dp_rx.c | 4 +-- dp/wifi3.0/dp_rx.h | 6 ++-- dp/wifi3.0/dp_rx_defrag.c | 2 +- dp/wifi3.0/dp_rx_err.c | 6 ++-- dp/wifi3.0/dp_stats.c | 2 +- dp/wifi3.0/dp_tx.c | 12 ++++---- dp/wifi3.0/dp_tx.h | 2 +- dp/wifi3.0/dp_tx_desc.c | 8 ++--- dp/wifi3.0/dp_tx_desc.h | 10 +++---- dp/wifi3.0/dp_tx_flow_control.c | 16 +++++----- dp/wifi3.0/dp_txrx_wds.c | 2 +- dp/wifi3.0/dp_types.h | 14 ++++----- dp/wifi3.0/dp_wdi_event.c | 3 +- dp/wifi3.0/li/dp_li.c | 2 +- dp/wifi3.0/monitor/1.0/dp_mon_1.0.c | 2 +- dp/wifi3.0/monitor/1.0/dp_mon_filter_1.0.c | 2 +- dp/wifi3.0/monitor/1.0/dp_rx_mon_1.0.h | 4 +-- dp/wifi3.0/monitor/1.0/dp_rx_mon_dest_1.0.c | 8 ++--- dp/wifi3.0/monitor/2.0/dp_mon_filter_2.0.c | 6 ++-- dp/wifi3.0/monitor/2.0/dp_rx_mon_2.0.c | 6 ++-- dp/wifi3.0/monitor/2.0/dp_tx_mon_2.0.h | 2 +- dp/wifi3.0/monitor/2.0/dp_tx_mon_status_2.0.c | 6 ++-- dp/wifi3.0/monitor/dp_mon.c | 4 +-- dp/wifi3.0/monitor/dp_mon.h | 6 ++-- dp/wifi3.0/monitor/dp_mon_filter.c | 6 ++-- dp/wifi3.0/monitor/dp_mon_filter.h | 2 +- dp/wifi3.0/monitor/dp_rx_mon.h | 14 ++++----- 52 files changed, 177 insertions(+), 174 deletions(-) diff --git a/dp/cmn_dp_api/dp_ratetable.c b/dp/cmn_dp_api/dp_ratetable.c index 2a4e260513..473a540304 100644 --- a/dp/cmn_dp_api/dp_ratetable.c +++ b/dp/cmn_dp_api/dp_ratetable.c @@ -258,7 +258,7 @@ const struct DP_CMN_RATE_TABLE { static const struct DP_CMN_RATE_TABLE dp_11abgnratetable = { { - /* When number of spatial strams > 4 or 11AX support is enabled */ + /* When number of spatial streams > 4 or 11AX support is enabled */ /* 0 11 Mb */ { CCK_MODE_VALID_MASK, DP_CMN_MOD_IEEE80211_T_CCK, 11000, 11000, 0, 0, 0, 11000, @@ -531,7 +531,7 @@ static const struct DP_CMN_RATE_TABLE dp_11abgnratetable = { /* 85 MCS-09 */ { VHT20_LDPC_ONLY_MASKS, DP_CMN_MOD_IEEE80211_T_VHT_20, 86500, 96000, 0, 0, 0, 86500, 0x309 }, - /* When we support very hight throughput MCS */ + /* When we support very high throughput MCS */ /* 86 MCS-10 */ { VHT20_LDPC_ONLY_MASKS, DP_CMN_MOD_IEEE80211_T_VHT_20, 97500, 108300, 0, 0, 0, @@ -6534,7 +6534,7 @@ dp_getrateindex(uint32_t gi, uint16_t mcs, uint8_t nss, uint8_t preamble, uint16_t rc; enum DP_CMN_MODULATION_TYPE mod; - /* For error case, where idx exceeds bountry limit */ + /* For error case, where idx exceeds boundary limit */ *ratecode = 0; mod = dp_getmodulation(preamble, bw, punc_bw); rc = mcs; @@ -6604,7 +6604,7 @@ dp_getrateindex(uint32_t gi, uint16_t mcs, uint8_t nss, uint8_t preamble, uint16_t rc; enum DP_CMN_MODULATION_TYPE mod; - /* For error case, where idx exceeds bountry limit */ + /* For error case, where idx exceeds boundary limit */ *ratecode = 0; mod = dp_getmodulation(preamble, bw, punc_bw); rc = mcs; diff --git a/dp/inc/cdp_txrx_cmn_reg.h b/dp/inc/cdp_txrx_cmn_reg.h index 60f70e37d2..add1b94ff3 100644 --- a/dp/inc/cdp_txrx_cmn_reg.h +++ b/dp/inc/cdp_txrx_cmn_reg.h @@ -110,7 +110,7 @@ void *dp_soc_init_wifi3(struct cdp_soc_t *soc, static inline int cdp_get_arch_type_from_devid(uint16_t devid) { switch (devid) { - case LITHIUM_DP: /*FIXME Add lithium devide IDs */ + case LITHIUM_DP: /*FIXME Add lithium device IDs */ case QCA8074_DEVICE_ID: /* Hawekeye */ case QCA8074V2_DEVICE_ID: /* Hawekeye V2*/ case QCA9574_DEVICE_ID: @@ -157,7 +157,7 @@ ol_txrx_soc_handle cdp_soc_attach(u_int16_t devid, params.ol_ops = dp_ol_if_ops; switch (devid) { - case LITHIUM_DP: /*FIXME Add lithium devide IDs */ + case LITHIUM_DP: /*FIXME Add lithium device IDs */ case BERYLLIUM_DP: case QCA8074_DEVICE_ID: /* Hawekeye */ case QCA8074V2_DEVICE_ID: /* Hawekeye V2*/ diff --git a/dp/inc/cdp_txrx_cmn_struct.h b/dp/inc/cdp_txrx_cmn_struct.h index 0087d363f8..59e5229fdc 100644 --- a/dp/inc/cdp_txrx_cmn_struct.h +++ b/dp/inc/cdp_txrx_cmn_struct.h @@ -372,7 +372,7 @@ enum cdp_host_reo_dest_ring { }; enum htt_cmn_t2h_en_stats_type { - /* keep this alwyas first */ + /* keep this always first */ HTT_CMN_T2H_EN_STATS_TYPE_START = 0, /** ppdu_common_stats is the payload */ @@ -920,8 +920,8 @@ typedef QDF_STATUS(*ol_txrx_get_key_fp)(void *osif_dev, uint8_t *key_buf, uint8_ * ol_txrx_rsim_rx_decap_fp - raw mode simulation function to decap the * packets in receive path. * @osif_dev - the virtual device's OS shim object - * @list_head - poniter to head of receive packet queue to decap - * @list_tail - poniter to tail of receive packet queue to decap + * @list_head - pointer to head of receive packet queue to decap + * @list_tail - pointer to tail of receive packet queue to decap * @peer_mac - mac address of peer handler */ typedef QDF_STATUS(*ol_txrx_rsim_rx_decap_fp)(void *osif_dev, @@ -2188,7 +2188,7 @@ struct cdp_tx_completion_ppdu { * @tx_errors : Tx error due to FW tx failure, Ring failure DMA etc * @tx_dropped: Tx dropped is same as tx errors as above * @rx_packets: Rx total packets transmitted - * @rx_errors : Rx erros + * @rx_errors : Rx errors * @rx_dropped: Rx dropped stats * @tx_bytes : Tx total bytes transmitted * @rx_bytes : Rx total bytes transmitted @@ -2812,7 +2812,7 @@ struct cdp_scan_spcl_vap_stats { * @qdf_osdev: QDF device * @ol_ops: Offload Operations * @device_id: Device ID - * @ml_context: DP ML object conext + * @ml_context: DP ML object context * @mlo_chip_id: MLO chip id, for legacy SOCs chip_id need to 0 * @mlo_enabled: MLO enable bit */ diff --git a/dp/inc/cdp_txrx_ctrl.h b/dp/inc/cdp_txrx_ctrl.h index 1d8b5839f1..ff1960d3c6 100644 --- a/dp/inc/cdp_txrx_ctrl.h +++ b/dp/inc/cdp_txrx_ctrl.h @@ -1109,7 +1109,7 @@ cdp_dump_pdev_rx_protocol_tag_stats(ol_txrx_soc_handle soc, * cdp_vdev_config_for_nac_rssi(): To invoke dp callback for nac rssi config * @soc: soc pointer * @vdev_id: id of vdev - * @nac_cmd: specfies nac_rss config action add, del, list + * @nac_cmd: specifies nac_rss config action add, del, list * @bssid: Neighbour bssid * @client_macaddr: Non-Associated client MAC * @chan_num: channel number to scan diff --git a/dp/inc/cdp_txrx_flow_ctrl_legacy.h b/dp/inc/cdp_txrx_flow_ctrl_legacy.h index 2f15c5f09d..9e64907d3a 100644 --- a/dp/inc/cdp_txrx_flow_ctrl_legacy.h +++ b/dp/inc/cdp_txrx_flow_ctrl_legacy.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2016-2019,2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -178,7 +179,7 @@ cdp_fc_deregister(ol_txrx_soc_handle soc, uint8_t vdev_id) * get data path resource count * * return true enough data path resource available - * false resource is not avaialbe + * false resource is not available */ static inline bool cdp_fc_get_tx_resource(ol_txrx_soc_handle soc, uint8_t pdev_id, diff --git a/dp/inc/cdp_txrx_host_stats.h b/dp/inc/cdp_txrx_host_stats.h index 4cc493e3ae..145c35ad47 100644 --- a/dp/inc/cdp_txrx_host_stats.h +++ b/dp/inc/cdp_txrx_host_stats.h @@ -58,7 +58,7 @@ static inline int cdp_host_stats_get(ol_txrx_soc_handle soc, * @preamb: Preamble * @mcs: Modulation and Coding scheme index * @htflag: Flag to identify HT or VHT - * @gintval: Gaurd Interval value + * @gintval: Guard Interval value * * return: 0 for Failure, Returns rate on Success */ diff --git a/dp/inc/cdp_txrx_mob_def.h b/dp/inc/cdp_txrx_mob_def.h index 8369582240..1de4829eb7 100644 --- a/dp/inc/cdp_txrx_mob_def.h +++ b/dp/inc/cdp_txrx_mob_def.h @@ -441,7 +441,7 @@ struct ol_txrx_ocb_set_chan { /** * @brief Parameter type to pass WMM setting to ol_txrx_set_wmm_param * @details - * The struct is used to specify informaiton to update TX WMM scheduler. + * The struct is used to specify information to update TX WMM scheduler. */ struct ol_tx_ac_param_t { uint32_t aifs; diff --git a/dp/inc/cdp_txrx_mon_struct.h b/dp/inc/cdp_txrx_mon_struct.h index ad2112cc5c..2f10036b02 100644 --- a/dp/inc/cdp_txrx_mon_struct.h +++ b/dp/inc/cdp_txrx_mon_struct.h @@ -184,7 +184,7 @@ struct cdp_mon_status { /* holes in flags here between, ATH_RX_XXXX to IEEE80211_RX_XXX */ #define IEEE80211_RX_KEYMISS 0x200 #define IEEE80211_RX_PN_ERROR 0x400 - int rs_rssi; /* RSSI (noise floor ajusted) */ + int rs_rssi; /* RSSI (noise floor adjusted) */ int rs_abs_rssi; /* absolute RSSI */ int rs_datarate; /* data rate received */ int rs_rateieee; @@ -194,9 +194,9 @@ struct cdp_mon_status { /* Keep the same as ATH_MAX_ANTENNA */ #define IEEE80211_MAX_ANTENNA 3 - /* RSSI (noise floor ajusted) */ + /* RSSI (noise floor adjusted) */ u_int8_t rs_rssictl[IEEE80211_MAX_ANTENNA]; - /* RSSI (noise floor ajusted) */ + /* RSSI (noise floor adjusted) */ u_int8_t rs_rssiextn[IEEE80211_MAX_ANTENNA]; /* rs_rssi is valid or not */ u_int8_t rs_isvalidrssi; @@ -393,7 +393,7 @@ enum cdp_mon_phyrx_abort_reason_code { * @total_ppdu_info_enq: Number of PPDUs enqueued to wq * @total_ppdu_info_drop: Number of PPDUs dropped * @total_ppdu_info_alloc: Number of PPDU info allocated - * @total_ppdu_info_free: Number of PPDU info freeed + * @total_ppdu_info_free: Number of PPDU info freed */ struct cdp_pdev_mon_stats { #ifndef REMOVE_MON_DBG_STATS @@ -543,7 +543,7 @@ struct cdp_rssi_dbm_conv_param_dp { * struct cdp_rssi_db2dbm_param_dp * @pdev_id: pdev_id * @rssi_temp_off_present: to check temp offset values present or not - * @rssi_dbm_info_present: to check rssi dbm converstion parameters + * @rssi_dbm_info_present: to check rssi dbm conversion parameters * present or not * @temp_off_param: cdp_rssi_temp_off_param_dp structure value * @rssi_dbm_param: cdp_rssi_dbm_conv_param_dp staructure value diff --git a/dp/inc/cdp_txrx_mscs.h b/dp/inc/cdp_txrx_mscs.h index 5e468d4104..55650ff92d 100644 --- a/dp/inc/cdp_txrx_mscs.h +++ b/dp/inc/cdp_txrx_mscs.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -28,7 +29,7 @@ /** * @brief find MSCS enabled peer for this mac address and validate priority * @details - * This function checks if there is a peer for this mac adress with MSCS + * This function checks if there is a peer for this mac address with MSCS * enabled flag set and nbuf priority is valid from user priority bitmap. * * @param src_mac - source mac address of peer diff --git a/dp/inc/cdp_txrx_ops.h b/dp/inc/cdp_txrx_ops.h index 19e4dbf03c..3a6f8a9c9c 100644 --- a/dp/inc/cdp_txrx_ops.h +++ b/dp/inc/cdp_txrx_ops.h @@ -1019,7 +1019,7 @@ struct cdp_mon_ops { uint8_t pdev_id, uint8_t direction); #endif - /*To set RSSI dbm converstion params in monitor pdev */ + /*To set RSSI dbm conversion params in monitor pdev */ QDF_STATUS (*txrx_set_mon_pdev_params_rssi_dbm_conv) (struct cdp_soc_t *soc, struct cdp_rssi_db2dbm_param_dp *params); @@ -1828,7 +1828,7 @@ struct cdp_flowctl_ops { * @set_vdev_os_queue_status: Set vdev queue status * @deregister_tx_flow_control_cb: Deregister tx flow control callback * @flow_control_cb: Call osif flow control callback - * @get_tx_resource: Get tx resources and comapre with watermark + * @get_tx_resource: Get tx resources and compare with watermark * @ll_set_tx_pause_q_depth: set pause queue depth * @vdev_flush: Flush all packets on a particular vdev * @vdev_pause: Pause a particular vdev diff --git a/dp/inc/cdp_txrx_sawf.h b/dp/inc/cdp_txrx_sawf.h index d302ef49c3..e5a2046e15 100644 --- a/dp/inc/cdp_txrx_sawf.h +++ b/dp/inc/cdp_txrx_sawf.h @@ -81,7 +81,7 @@ cdp_sawf_peer_get_map_conf(ol_txrx_soc_handle soc, * cdp_get_peer_sawf_delay_stats() - Call to get SAWF delay stats * @soc: soc handle * @svc_class_id: service class ID - * @mac: peer mac addrees + * @mac: peer mac address * @data: opaque pointer * * return: status Success/Failure @@ -108,7 +108,7 @@ cdp_get_peer_sawf_delay_stats(ol_txrx_soc_handle soc, uint32_t svc_id, * cdp_get_peer_sawf_tx_stats() - Call to get SAWF Tx stats * @soc: soc handle * @svc_class_id: service class ID - * @mac: peer mac addrees + * @mac: peer mac address * @data: opaque pointer * * return: status Success/Failure diff --git a/dp/inc/cdp_txrx_stats_struct.h b/dp/inc/cdp_txrx_stats_struct.h index ac9ea4dc12..9d400f9834 100644 --- a/dp/inc/cdp_txrx_stats_struct.h +++ b/dp/inc/cdp_txrx_stats_struct.h @@ -859,7 +859,7 @@ struct cdp_tidq_stats { * 6: 18 Mbps * 7: 9 Mbps * - * @gi_type: Indicates the gaurd interval. + * @gi_type: Indicates the guard interval. * 0: 0.8 us * 1: 0.4 us * 2: 1.6 us @@ -1002,7 +1002,7 @@ struct cdp_tid_tx_stats { /* * cdp_reo_error_stats * @err_src_reo_code_inv: Wireless Buffer Manager source receive reorder ring reason unknown - * @err_reo_codes: Receive reoder error codes + * @err_reo_codes: Receive reorder error codes */ struct cdp_reo_error_stats { uint64_t err_src_reo_code_inv; @@ -1012,7 +1012,7 @@ struct cdp_reo_error_stats { /* * cdp_rxdma_error_stats * @err_src_rxdma_code_inv: DMA reason unknown count - * @err_reo_codes: Receive reoder error codes count + * @err_reo_codes: Receive reorder error codes count */ struct cdp_rxdma_error_stats { uint64_t err_src_rxdma_code_inv; @@ -1080,7 +1080,7 @@ struct cdp_tid_stats_intf { /* * struct cdp_delay_tx_stats: Tx delay stats * @tx_swq_delay: software enqueue delay - * @hwtx_delay: HW enque to completion delay + * @hwtx_delay: HW enqueue to completion delay * @nwdelay_avg: Network delay average * @swdelay_avg: Wifi SW Delay Average * @hwdelay_avg: Wifi HW delay Average @@ -1509,7 +1509,7 @@ struct cdp_tx_stats { struct cdp_pkt_info is_tx_no_ack; uint16_t tx_ratecode; - /*add for peer and upadted from ppdu*/ + /*add for peer and updated from ppdu*/ uint32_t ampdu_cnt; uint32_t non_ampdu_cnt; uint32_t failed_retry_count; @@ -1733,7 +1733,7 @@ struct cdp_rx_stats { * @bcast: Number of broadcast packets * @raw_pkt: Total Raw packets * @dma_map_error: DMA map error - * @num_frags_overflow_err: msdu's nbuf count exceeds num of segemnts + * @num_frags_overflow_err: msdu's nbuf count exceeds num of segments * @num_seg: No of segments in TSO packets * @tso_pkt:total no of TSO packets * @non_tso_pkts: non - TSO packets @@ -3052,7 +3052,7 @@ enum CDP_PEER_MPDU_DESC { /** * struct cdp_tid_q_len - Structure to hold consolidated queue length - * @defer_msdu_len: Defered MSDU queue length + * @defer_msdu_len: Deferred MSDU queue length * @tasklet_msdu_len: MSDU complete queue length * @pending_q_len: MSDU pending queue length */ @@ -3064,7 +3064,7 @@ struct cdp_tid_q_len { /** * struct cdp_peer_tx_capture_stats - Structure to hold peer tx capture stats - * @len_stats: Per TID defered, pending and completed msdu queue length + * @len_stats: Per TID deferred, pending and completed msdu queue length * @mpdu: Mpdu success and restich count * @msdu: Msdu success and restich count */ @@ -3081,7 +3081,7 @@ struct cdp_peer_tx_capture_stats { * @peer_mismatch: Peer mismatched * @last_rcv_ppdu: Last received PPDU stats in ms * @ppdu_stats_queue_depth: PPDU stats queue depth - * @ppdu_stats_defer_queue_depth: PPDU stats defered queue depth + * @ppdu_stats_defer_queue_depth: PPDU stats deferred queue depth * @ppdu_dropped: PPDU dropped count * @pend_ppdu_dropped: Pending PPDU dropped count * @ppdu_flush_count: PPDU flush count diff --git a/dp/wifi3.0/be/dp_be.c b/dp/wifi3.0/be/dp_be.c index a000c984c6..04876a41a3 100644 --- a/dp/wifi3.0/be/dp_be.c +++ b/dp/wifi3.0/be/dp_be.c @@ -172,7 +172,7 @@ static QDF_STATUS dp_fisa_fst_cmem_addr_init(struct dp_soc *soc) * dp_cc_reg_cfg_init() - initialize and configure HW cookie conversion register * @soc: SOC handle - * @is_4k_align: page address 4k alignd + * @is_4k_align: page address 4k aligned * * Return: None */ diff --git a/dp/wifi3.0/be/dp_be_rx.c b/dp/wifi3.0/be/dp_be_rx.c index 8c697818db..563469b74b 100644 --- a/dp/wifi3.0/be/dp_be_rx.c +++ b/dp/wifi3.0/be/dp_be_rx.c @@ -1345,7 +1345,7 @@ dp_rx_intrabss_fwd_mlo_allow(struct dp_txrx_peer *ta_peer, /** * dp_rx_intrabss_ucast_check_be() - Check if intrabss is allowed for unicast frame - * @soc: SOC hanlde + * @soc: SOC handle * @nbuf: RX packet buffer * @ta_peer: transmitter DP peer handle * @msdu_metadata: MSDU meta data info diff --git a/dp/wifi3.0/be/dp_be_tx.c b/dp/wifi3.0/be/dp_be_tx.c index 19164e2017..bfae64140e 100644 --- a/dp/wifi3.0/be/dp_be_tx.c +++ b/dp/wifi3.0/be/dp_be_tx.c @@ -1068,7 +1068,7 @@ int dp_tx_get_bank_profile(struct dp_soc_be *be_soc, dp_tx_get_vdev_bank_config(be_vdev, &vdev_config); DP_TX_BANK_LOCK_ACQUIRE(&be_soc->tx_bank_lock); - /* go over all banks and find a matching/unconfigured/unsed bank */ + /* go over all banks and find a matching/unconfigured/unused bank */ for (i = 0; i < be_soc->num_bank_profiles; i++) { if (be_soc->bank_profiles[i].is_configured && (be_soc->bank_profiles[i].bank_config.val ^ diff --git a/dp/wifi3.0/be/mlo/dp_mlo.c b/dp/wifi3.0/be/mlo/dp_mlo.c index d6df0168d5..28c404d102 100644 --- a/dp/wifi3.0/be/mlo/dp_mlo.c +++ b/dp/wifi3.0/be/mlo/dp_mlo.c @@ -286,7 +286,7 @@ QDF_STATUS dp_update_mlo_ptnr_list(struct cdp_soc_t *soc_hdl, dp_err("Unable to add vdev to self vdev's list"); dp_vdev_unref_delete(self_soc, vdev, DP_MOD_ID_RX); - /* TODO - relase soc ref here */ + /* TODO - release soc ref here */ /* dp_soc_unref_delete(soc);*/ ret = QDF_STATUS_E_FAILURE; goto exit; diff --git a/dp/wifi3.0/dp_hist.c b/dp/wifi3.0/dp_hist.c index f3a02c3371..0818711b49 100644 --- a/dp/wifi3.0/dp_hist.c +++ b/dp/wifi3.0/dp_hist.c @@ -24,7 +24,7 @@ #ifndef WLAN_CONFIG_TX_DELAY /* - * dp_hist_sw_enq_dbucket: Sofware enqueue delay bucket in ms + * dp_hist_sw_enq_dbucket: Software enqueue delay bucket in ms * @index_0 = 0_1 ms * @index_1 = 1_2 ms * @index_2 = 2_3 ms @@ -62,7 +62,7 @@ static uint16_t dp_hist_fw2hw_dbucket[CDP_HIST_BUCKET_MAX] = { 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 250, 500}; #else /* - * dp_hist_sw_enq_dbucket: Sofware enqueue delay bucket in us + * dp_hist_sw_enq_dbucket: Software enqueue delay bucket in us * @index_0 = 0_250 us * @index_1 = 250_500 us * @index_2 = 500_750 us diff --git a/dp/wifi3.0/dp_htt.c b/dp/wifi3.0/dp_htt.c index 9411f6fab9..4100325182 100644 --- a/dp/wifi3.0/dp_htt.c +++ b/dp/wifi3.0/dp_htt.c @@ -331,7 +331,7 @@ dp_htt_h2t_send_complete(void *context, HTC_PACKET *htc_pkt) #endif /* ENABLE_CE4_COMP_DISABLE_HTT_HTC_MISC_LIST */ /* - * dp_htt_h2t_add_tcl_metadata_ver_v1() - Add tcl_metadata verion V1 + * dp_htt_h2t_add_tcl_metadata_ver_v1() - Add tcl_metadata version V1 * @htt_soc: HTT SOC handle * @msg: Pointer to nbuf * @@ -377,7 +377,7 @@ static int dp_htt_h2t_add_tcl_metadata_ver_v1(struct htt_soc *soc, #ifdef QCA_DP_TX_FW_METADATA_V2 /* - * dp_htt_h2t_add_tcl_metadata_ver_v2() - Add tcl_metadata verion V2 + * dp_htt_h2t_add_tcl_metadata_ver_v2() - Add tcl_metadata version V2 * @htt_soc: HTT SOC handle * @msg: Pointer to nbuf * @@ -431,7 +431,7 @@ static int dp_htt_h2t_add_tcl_metadata_ver_v2(struct htt_soc *soc, } /* - * dp_htt_h2t_add_tcl_metadata_ver() - Add tcl_metadata verion + * dp_htt_h2t_add_tcl_metadata_ver() - Add tcl_metadata version * @htt_soc: HTT SOC handle * @msg: Pointer to nbuf * @@ -793,7 +793,7 @@ qdf_export_symbol(htt_srng_setup); #ifdef QCA_SUPPORT_FULL_MON /** - * htt_h2t_full_mon_cfg() - Send full monitor configuarion msg to FW + * htt_h2t_full_mon_cfg() - Send full monitor configuration msg to FW * * @htt_soc: HTT Soc handle * @pdev_id: Radio id @@ -855,7 +855,7 @@ int htt_h2t_full_mon_cfg(struct htt_soc *htt_soc, HTT_RX_FULL_MONITOR_MODE_NON_ZERO_MPDU_SET(*msg_word, true); HTT_RX_FULL_MONITOR_MODE_RELEASE_RINGS_SET(*msg_word, 0x2); } else if (config == DP_FULL_MON_DISABLE) { - /* As per MAC team's suggestion, While disbaling full monitor + /* As per MAC team's suggestion, While disabling full monitor * mode, Set 'en' bit to true in full monitor mode register. */ HTT_RX_FULL_MONITOR_MODE_ENABLE_SET(*msg_word, true); @@ -2163,7 +2163,7 @@ static inline void dp_txrx_fw_stats_handler(struct dp_soc *soc, if (!msg_copy) { QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_INFO, - "T2H messge clone failed for HTT EXT STATS"); + "T2H message clone failed for HTT EXT STATS"); goto error; } @@ -3912,7 +3912,7 @@ void htt_soc_detach(struct htt_soc *htt_hdl) } /** - * dp_h2t_ext_stats_msg_send(): function to contruct HTT message to pass to FW + * dp_h2t_ext_stats_msg_send(): function to construct HTT message to pass to FW * @pdev: DP PDEV handle * @stats_type_upload_mask: stats type requested by user * @config_param_0: extra configuration parameters @@ -4167,7 +4167,7 @@ QDF_STATUS dp_h2t_hw_vdev_stats_config_send(struct dp_soc *dpsoc, #endif /** - * dp_h2t_3tuple_config_send(): function to contruct 3 tuple configuration + * dp_h2t_3tuple_config_send(): function to construct 3 tuple configuration * HTT message to pass to FW * @pdev: DP PDEV handle * @tuple_mask: tuple configuration to report 3 tuple hash value in either diff --git a/dp/wifi3.0/dp_htt.h b/dp/wifi3.0/dp_htt.h index 4949350d4b..79a32605c1 100644 --- a/dp/wifi3.0/dp_htt.h +++ b/dp/wifi3.0/dp_htt.h @@ -112,7 +112,7 @@ void htt_htc_pkt_pool_free(struct htt_soc *soc); /* * Set the base misclist size to HTT copy engine source ring size - * to guarantee that a packet on the misclist wont be freed while it + * to guarantee that a packet on the misclist won't be freed while it * is sitting in the copy engine. */ #define DP_HTT_HTC_PKT_MISCLIST_SIZE 2048 @@ -522,7 +522,7 @@ struct dp_tx_mon_wordmask_config { * enable/disable. * @dtlvs: enable/disable downstream TLVs * @utlvs: enable/disable upstream TLVs - * @wmask: enable/disbale word mask subscription + * @wmask: enable/disable word mask subscription * @mgmt_filter: enable/disable mgmt packets * @data_filter: enable/disable data packets * @ctrl_filter: enable/disable ctrl packets @@ -798,7 +798,7 @@ htt_htc_misc_pkt_list_add(struct htt_soc *soc, struct dp_htt_htc_pkt *pkt); * @soc : HTT SOC handle * @pkt: pkt to be send * @cmd : command to be recorded in dp htt logger - * @buf : Pointer to buffer needs to be recored for above cmd + * @buf : Pointer to buffer needs to be recorded for above cmd * * Return: None */ @@ -1003,7 +1003,7 @@ dp_htt_rx_flow_fse_operation(struct dp_pdev *pdev, struct dp_htt_rx_flow_fst_operation *op_info); /** - * htt_h2t_full_mon_cfg() - Send full monitor configuarion msg to FW + * htt_h2t_full_mon_cfg() - Send full monitor configuration msg to FW * * @htt_soc: HTT Soc handle * @pdev_id: Radio id diff --git a/dp/wifi3.0/dp_internal.h b/dp/wifi3.0/dp_internal.h index a95e52a53d..057183e3fe 100644 --- a/dp/wifi3.0/dp_internal.h +++ b/dp/wifi3.0/dp_internal.h @@ -3177,7 +3177,7 @@ QDF_STATUS dp_rx_flow_delete_entry(struct dp_pdev *pdev, /** * dp_rx_flow_add_entry() - Add a flow entry to flow search table * @pdev: DP pdev instance - * @rx_flow_info: DP flow paramaters + * @rx_flow_info: DP flow parameters * * Return: Success when flow is added, no-memory or already exists on error */ @@ -4140,7 +4140,7 @@ void dp_rx_send_pktlog(struct dp_soc *soc, struct dp_pdev *pdev, * This API should only be called when we have not removed * Rx TLV from head, and head is pointing to rx_tlv * - * This function is used to send rx packet from erro path + * This function is used to send rx packet from error path * for logging for which rx packet tlv is not removed. * * Return: None diff --git a/dp/wifi3.0/dp_ipa.c b/dp/wifi3.0/dp_ipa.c index 56b58a316b..e4bfa55845 100644 --- a/dp/wifi3.0/dp_ipa.c +++ b/dp/wifi3.0/dp_ipa.c @@ -1291,7 +1291,7 @@ int dp_ipa_uc_detach(struct dp_soc *soc, struct dp_pdev *pdev) * @pdev: Physical device handle * * Allocate TX buffer from non-cacheable memory - * Attache allocated TX buffers with WBM SRNG + * Attach allocated TX buffers with WBM SRNG * * Return: int */ @@ -2919,7 +2919,7 @@ QDF_STATUS dp_ipa_setup_iface(char *ifname, uint8_t *mac_addr, ret = qdf_ipa_wdi_reg_intf(&in); if (ret) { QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR, - "%s: ipa_wdi_reg_intf: register IPA interface falied: ret=%d", + "%s: ipa_wdi_reg_intf: register IPA interface failed: ret=%d", __func__, ret); return QDF_STATUS_E_FAILURE; } @@ -3176,7 +3176,7 @@ QDF_STATUS dp_ipa_setup_iface(char *ifname, uint8_t *mac_addr, ret = qdf_ipa_wdi_reg_intf(&in); if (ret) { - dp_err("ipa_wdi_reg_intf: register IPA interface falied: ret=%d", + dp_err("ipa_wdi_reg_intf: register IPA interface failed: ret=%d", ret); return QDF_STATUS_E_FAILURE; } diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 4e22db5300..b15393429d 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -118,7 +118,7 @@ cdp_dump_flow_pool_info(struct cdp_soc_t *soc) #endif #ifdef WLAN_SYSFS_DP_STATS -/* sysfs event wait time for firmware stat request unit millseconds */ +/* sysfs event wait time for firmware stat request unit milliseconds */ #define WLAN_SYSFS_STAT_REQ_WAIT_MS 3000 #endif @@ -503,7 +503,7 @@ static int dp_get_num_rx_contexts(struct cdp_soc_t *soc_hdl) reo_ring_map &= ~BIT(3); break; default: - dp_err("unkonwn arch_id 0x%x", soc->arch_id); + dp_err("unknown arch_id 0x%x", soc->arch_id); QDF_BUG(0); } /* @@ -4493,7 +4493,7 @@ bool dp_reo_remap_config(struct dp_soc *soc, uint32_t *remap0, hal_compute_reo_remap_ix0(soc->hal_soc, remap0); break; default: - dp_err("unkonwn arch_id 0x%x", soc->arch_id); + dp_err("unknown arch_id 0x%x", soc->arch_id); QDF_BUG(0); } @@ -4676,7 +4676,7 @@ static uint8_t dp_reo_ring_selection(uint32_t value, uint32_t *ring) ring[0] = REO_REMAP_SW1; break; default: - dp_err("unkonwn reo ring map 0x%x", value); + dp_err("unknown reo ring map 0x%x", value); QDF_BUG(0); } return num; @@ -5851,7 +5851,7 @@ static void dp_pdev_flush_pending_vdevs(struct dp_pdev *pdev) * for enable/disable of HW vdev stats * @soc: Datapath soc handle * @pdev_id: INVALID_PDEV_ID for all pdevs or 0,1,2 for individual pdev - * @enable: flag to reprsent enable/disable of hw vdev stats + * @enable: flag to represent enable/disable of hw vdev stats * * Return: none */ @@ -8035,7 +8035,7 @@ QDF_STATUS dp_peer_mlo_setup( */ qdf_atomic_set(&mld_peer->is_default_route_set, 1); } else { - /* free link peer origial rx_tids mem */ + /* free link peer original rx_tids mem */ dp_peer_rx_tids_destroy(peer); /* assign mld peer rx_tid to link peer */ peer->rx_tid = mld_peer->rx_tid; @@ -8050,7 +8050,7 @@ QDF_STATUS dp_peer_mlo_setup( * during mld peer creation. */ - /* relase the ref to original dp_vdev */ + /* release the ref to original dp_vdev */ dp_vdev_unref_delete(soc, mld_peer->vdev, DP_MOD_ID_CHILD); /* @@ -10075,7 +10075,7 @@ static void dp_txrx_stats_help(void) static void dp_umac_rst_skel_enable_update(struct dp_soc *soc, bool en) { soc->umac_reset_ctx.skel_enable = en; - dp_cdp_debug("UMAC HW reset debug skelton code enabled :%u", + dp_cdp_debug("UMAC HW reset debug skeleton code enabled :%u", soc->umac_reset_ctx.skel_enable); } @@ -11612,7 +11612,7 @@ dp_sysfs_event_trigger(struct dp_soc *soc, uint32_t cookie_val) else if (status == QDF_STATUS_E_TIMEOUT) dp_cdp_warn("sysfs_txrx_fw_request_done event expired"); else - dp_cdp_warn("sysfs_txrx_fw_request_done event erro code %d", status); + dp_cdp_warn("sysfs_txrx_fw_request_done event error code %d", status); } return status; @@ -12034,7 +12034,7 @@ QDF_STATUS dp_sysfs_deinitialize_stats(struct dp_soc *soc_hdl) status = qdf_event_destroy(&soc->sysfs_config->sysfs_txrx_fw_request_done); if (status != QDF_STATUS_SUCCESS) - dp_cdp_err("Failed to detroy event sysfs_txrx_fw_request_done "); + dp_cdp_err("Failed to destroy event sysfs_txrx_fw_request_done "); qdf_mutex_destroy(&soc->sysfs_config->sysfs_read_lock); qdf_spinlock_destroy(&soc->sysfs_config->rw_stats_lock); @@ -12801,7 +12801,7 @@ static QDF_STATUS dp_soc_set_param(struct cdp_soc_t *soc_hdl, break; case DP_SOC_PARAM_RSSI_DBM_CONV_SUPPORT: soc->features.rssi_dbm_conv_support = value; - dp_info("Rssi dbm converstion support:%u", + dp_info("Rssi dbm conversion support:%u", soc->features.rssi_dbm_conv_support); break; case DP_SOC_PARAM_UMAC_HW_RESET_SUPPORT: @@ -15176,7 +15176,7 @@ dp_get_link_desc_id_start(uint16_t arch_id) case CDP_ARCH_TYPE_BE: return LINK_DESC_ID_START_20_BITS_COOKIE; default: - dp_err("unkonwn arch_id 0x%x", arch_id); + dp_err("unknown arch_id 0x%x", arch_id); QDF_BUG(0); return LINK_DESC_ID_START_21_BITS_COOKIE; } diff --git a/dp/wifi3.0/dp_peer.c b/dp/wifi3.0/dp_peer.c index 372710e80b..e58d88af52 100644 --- a/dp/wifi3.0/dp_peer.c +++ b/dp/wifi3.0/dp_peer.c @@ -372,7 +372,7 @@ dp_peer_find_hash_index(struct dp_soc *soc, * peer_hash_table matching vdev_id and mac_address * @soc: soc handle * @peer_mac_addr: peer mac address - * @mac_addr_is_aligned: is mac addr alligned + * @mac_addr_is_aligned: is mac addr aligned * @vdev_id: vdev_id * @mod_id: id of module requesting reference * @@ -1799,7 +1799,7 @@ QDF_STATUS dp_peer_add_ast(struct dp_soc *soc, * * if ast entry exists with the requested mac address * send a delete command and register callback which - * can take care of adding HMWDS ast enty on delete + * can take care of adding HMWDS ast entry on delete * confirmation from target */ if (type == CDP_TXRX_AST_TYPE_WDS_HM) { @@ -2084,7 +2084,7 @@ void dp_peer_del_ast(struct dp_soc *soc, struct dp_ast_entry *ast_entry) /* for WDS secondary entry ast_entry->next_hop would be set so * unlinking has to be done explicitly here. * As this entry is not a mapped entry unmap notification from - * FW wil not come. Hence unlinkling is done right here. + * FW will not come. Hence unlinkling is done right here. */ if (ast_entry->type == CDP_TXRX_AST_TYPE_WDS_HM_SEC) @@ -3027,7 +3027,7 @@ void dp_rx_reset_roaming_peer(struct dp_soc *soc, uint8_t vdev_id, /** * dp_rx_peer_map_handler() - handle peer map event from firmware - * @soc_handle - genereic soc handle + * @soc_handle - generic soc handle * @peeri_id - peer_id from firmware * @hw_peer_id - ast index for this peer * @vdev_id - vdev ID @@ -3074,7 +3074,7 @@ dp_rx_peer_map_handler(struct dp_soc *soc, uint16_t peer_id, /* * It's the responsibility of the CP and FW to ensure * that peer is created successfully. Ideally DP should - * not hit the below condition for directly assocaited + * not hit the below condition for directly associated * peers. */ if ((!soc->ast_offload_support) && ((hw_peer_id < 0) || @@ -3167,7 +3167,7 @@ dp_rx_peer_map_handler(struct dp_soc *soc, uint16_t peer_id, /** * dp_rx_peer_unmap_handler() - handle peer unmap event from firmware - * @soc_handle - genereic soc handle + * @soc_handle - generic soc handle * @peeri_id - peer_id from firmware * @vdev_id - vdev ID * @mac_addr - mac address of the peer or wds entry @@ -3669,7 +3669,7 @@ try_desc_alloc: if ((unsigned long)(rx_tid->hw_qdesc_vaddr_unaligned) % hw_qdesc_align) { - /* Address allocated above is not alinged. Allocate extra + /* Address allocated above is not aligned. Allocate extra * memory for alignment */ qdf_mem_free(rx_tid->hw_qdesc_vaddr_unaligned); @@ -3812,7 +3812,7 @@ static void dp_reo_desc_clean_up(struct dp_soc *soc, /* * dp_reo_limit_clean_batch_sz() - Limit number REO CMD queued to cmd - * ring in aviod of REO hang + * ring in avoid of REO hang * * @list_size: REO desc list size to be cleaned */ @@ -3849,7 +3849,7 @@ static void dp_reo_desc_clean_up(struct dp_soc *soc, /* * dp_reo_limit_clean_batch_sz() - Limit number REO CMD queued to cmd - * ring in aviod of REO hang + * ring in avoid of REO hang * * @list_size: REO desc list size to be cleaned */ @@ -4787,7 +4787,7 @@ int dp_delba_process_wifi3(struct cdp_soc_t *cdp_soc, uint8_t *peer_mac, goto fail; } /* TODO: See if we can delete the existing REO queue descriptor and - * replace with a new one without queue extenstion descript to save + * replace with a new one without queue extension descript to save * memory */ rx_tid->delba_rcode = reasoncode; diff --git a/dp/wifi3.0/dp_peer.h b/dp/wifi3.0/dp_peer.h index aa3099d865..222e01894c 100644 --- a/dp/wifi3.0/dp_peer.h +++ b/dp/wifi3.0/dp_peer.h @@ -140,7 +140,7 @@ __dp_peer_get_ref_by_id(struct dp_soc *soc, * * @soc : core DP soc context * @peer_id : peer id from peer object can be retrieved - * @mod_id : ID ot module requesting reference + * @mod_id : ID of module requesting reference * * Return: struct dp_peer*: Pointer to DP peer object */ @@ -172,7 +172,7 @@ struct dp_peer *dp_peer_get_ref_by_id(struct dp_soc *soc, * @soc : core DP soc context * @peer_id : peer id from peer object can be retrieved * @handle : reference handle - * @mod_id : ID ot module requesting reference + * @mod_id : ID of module requesting reference * * Return: struct dp_txrx_peer*: Pointer to txrx DP peer object */ @@ -571,7 +571,7 @@ static inline void dp_rx_reset_roaming_peer(struct dp_soc *soc, uint8_t vdev_id, #ifdef WLAN_FEATURE_11BE_MLO /** * dp_rx_mlo_peer_map_handler() - handle MLO peer map event from firmware - * @soc_handle - genereic soc handle + * @soc_handle - generic soc handle * @peer_id - ML peer_id from firmware * @peer_mac_addr - mac address of the peer * @mlo_ast_flow_info: MLO AST flow info @@ -590,7 +590,7 @@ dp_rx_mlo_peer_map_handler(struct dp_soc *soc, uint16_t peer_id, /** * dp_rx_mlo_peer_unmap_handler() - handle MLO peer unmap event from firmware - * @soc_handle - genereic soc handle + * @soc_handle - generic soc handle * @peeri_id - peer_id from firmware * * Return: none @@ -817,7 +817,7 @@ void dp_peer_reset_flowq_map(struct dp_peer *peer) /** * dp_peer_ast_index_flow_queue_map_create() - create ast index flow queue map - * @soc - genereic soc handle + * @soc - generic soc handle * @is_wds - flag to indicate if peer is wds * @peer_id - peer_id from htt peer map message * @peer_mac_addr - mac address of the peer @@ -1181,7 +1181,7 @@ dp_link_peer_hash_find_by_chip_id(struct dp_soc *soc, * matching mac_address * @soc: soc handle * @peer_mac_addr: mld peer mac address - * @mac_addr_is_aligned: is mac addr alligned + * @mac_addr_is_aligned: is mac addr aligned * @vdev_id: vdev_id * @mod_id: id of module requesting reference * @@ -1210,7 +1210,7 @@ struct dp_peer *dp_mld_peer_find_hash_find(struct dp_soc *soc, * @peer_info: peer information for hash find * @mod_id: ID of module requesting reference * - * Return: peer hanlde + * Return: peer handle */ static inline struct dp_peer *dp_peer_hash_find_wrapper(struct dp_soc *soc, @@ -1375,7 +1375,7 @@ uint8_t dp_mld_peer_del_link_peer(struct dp_peer *mld_peer, increase link peers ref_cnt * @soc: dp_soc handle * @mld_peer: dp mld peer pointer - * @mld_link_peers: structure that hold links peers ponter array and number + * @mld_link_peers: structure that hold links peers pointer array and number * @mod_id: id of module requesting reference * * Return: None @@ -1414,7 +1414,7 @@ void dp_get_link_peers_ref_from_mld_peer( /** * dp_release_link_peers_ref() - release all link peers reference - * @mld_link_peers: structure that hold links peers ponter array and number + * @mld_link_peers: structure that hold links peers pointer array and number * @mod_id: id of module requesting reference * * Return: None. @@ -1491,7 +1491,7 @@ uint16_t dp_get_link_peer_id_by_lmac_id(struct dp_soc *soc, uint16_t peer_id, * dp_peer_get_tgt_peer_hash_find() - get dp_peer handle * @soc: soc handle * @peer_mac_addr: peer mac address - * @mac_addr_is_aligned: is mac addr alligned + * @mac_addr_is_aligned: is mac addr aligned * @vdev_id: vdev_id * @mod_id: id of module requesting reference * @@ -1523,7 +1523,7 @@ struct dp_peer *dp_peer_get_tgt_peer_hash_find(struct dp_soc *soc, else ta_peer = NULL; - /* relese peer reference that added by hash find */ + /* release peer reference that added by hash find */ dp_peer_unref_delete(peer, mod_id); } else { /* mlo MLD peer or non-mlo link peer */ @@ -1541,7 +1541,7 @@ struct dp_peer *dp_peer_get_tgt_peer_hash_find(struct dp_soc *soc, * dp_peer_get_tgt_peer_by_id() - Returns target peer object given the peer id * @soc : core DP soc context * @peer_id : peer id from peer object can be retrieved - * @mod_id : ID ot module requesting reference + * @mod_id : ID of module requesting reference * * for MLO connection, get corresponding MLD peer, * otherwise get link peer for non-MLO case. @@ -1567,7 +1567,7 @@ struct dp_peer *dp_peer_get_tgt_peer_by_id(struct dp_soc *soc, else ta_peer = NULL; - /* relese peer reference that added by hash find */ + /* release peer reference that added by hash find */ dp_peer_unref_delete(peer, mod_id); } else { /* mlo MLD peer or non-mlo link peer */ @@ -1716,7 +1716,7 @@ bool dp_peer_is_primary_link_peer(struct dp_peer *peer) * @soc : core DP soc context * @peer_id : peer id from peer object can be retrieved * @handle : reference handle - * @mod_id : ID ot module requesting reference + * @mod_id : ID of module requesting reference * * Return: struct dp_txrx_peer*: Pointer to txrx DP peer object */ @@ -1881,7 +1881,7 @@ bool dp_peer_is_primary_link_peer(struct dp_peer *peer) * @soc : core DP soc context * @peer_id : peer id from peer object can be retrieved * @handle : reference handle - * @mod_id : ID ot module requesting reference + * @mod_id : ID of module requesting reference * * Return: struct dp_txrx_peer*: Pointer to txrx DP peer object */ diff --git a/dp/wifi3.0/dp_reo.c b/dp/wifi3.0/dp_reo.c index 238415a1fb..b8411bb4b0 100644 --- a/dp/wifi3.0/dp_reo.c +++ b/dp/wifi3.0/dp_reo.c @@ -197,7 +197,7 @@ next: /** * dp_reo_cmdlist_destroy - Free REO commands in the queue - * @soc: DP SoC hanle + * @soc: DP SoC handle * */ void dp_reo_cmdlist_destroy(struct dp_soc *soc) @@ -223,7 +223,7 @@ void dp_reo_cmdlist_destroy(struct dp_soc *soc) #ifdef DP_UMAC_HW_RESET_SUPPORT /** * dp_cleanup_reo_cmd_module - Clean up the reo cmd module - * @soc: DP SoC hanle + * @soc: DP SoC handle * */ void dp_cleanup_reo_cmd_module(struct dp_soc *soc) diff --git a/dp/wifi3.0/dp_rx.c b/dp/wifi3.0/dp_rx.c index f857e270fb..2322d322ce 100644 --- a/dp/wifi3.0/dp_rx.c +++ b/dp/wifi3.0/dp_rx.c @@ -1157,7 +1157,7 @@ void dp_rx_fill_mesh_stats(struct dp_vdev *vdev, qdf_nbuf_t nbuf, /* fill recv mesh stats */ rx_info = qdf_mem_malloc(sizeof(struct mesh_recv_hdr_s)); - /* upper layers are resposible to free this memory */ + /* upper layers are responsible to free this memory */ if (!rx_info) { dp_rx_err("%pK: Memory allocation failed for mesh rx stats", @@ -1607,7 +1607,7 @@ void dp_rx_fill_gro_info(struct dp_soc *soc, uint8_t *rx_tlv, * @mpdu_len: mpdu length * @l3_pad_len: L3 padding length by HW * - * Return: returns true if nbuf is last msdu of mpdu else retuns false. + * Return: returns true if nbuf is last msdu of mpdu else returns false. */ static inline bool dp_rx_adjust_nbuf_len(struct dp_soc *soc, qdf_nbuf_t nbuf, diff --git a/dp/wifi3.0/dp_rx.h b/dp/wifi3.0/dp_rx.h index 35f4c31dc4..de5a27a037 100644 --- a/dp/wifi3.0/dp_rx.h +++ b/dp/wifi3.0/dp_rx.h @@ -224,7 +224,7 @@ void dp_rx_set_hdr_pad(qdf_nbuf_t nbuf, uint32_t l3_padding) * dp_rx_is_special_frame() - check is RX frame special needed * * @nbuf: RX skb pointer - * @frame_mask: the mask for speical frame needed + * @frame_mask: the mask for special frame needed * * Check is RX frame wanted matched with mask * @@ -253,7 +253,7 @@ bool dp_rx_is_special_frame(qdf_nbuf_t nbuf, uint32_t frame_mask) * @soc: Datapath soc handler * @peer: pointer to DP peer * @nbuf: pointer to the skb of RX frame - * @frame_mask: the mask for speical frame needed + * @frame_mask: the mask for special frame needed * @rx_tlv_hdr: start of rx tlv header * * note: Msdu_len must have been stored in QDF_NBUF_CB_RX_PKT_LEN(nbuf) and @@ -1647,7 +1647,7 @@ dp_rx_link_desc_return_by_addr(struct dp_soc *soc, /** * 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. diff --git a/dp/wifi3.0/dp_rx_defrag.c b/dp/wifi3.0/dp_rx_defrag.c index 268bf92134..bb6bd31dd5 100644 --- a/dp/wifi3.0/dp_rx_defrag.c +++ b/dp/wifi3.0/dp_rx_defrag.c @@ -1344,7 +1344,7 @@ static QDF_STATUS dp_rx_defrag_reo_reinject(struct dp_txrx_peer *txrx_peer, true, __func__, __LINE__); /* - * As part of rx frag handler bufffer was unmapped and rx desc + * As part of rx frag handler buffer was unmapped and rx desc * unmapped is set to 1. So again for defrag reinject frame reset * it back to 0. */ diff --git a/dp/wifi3.0/dp_rx_err.c b/dp/wifi3.0/dp_rx_err.c index 5a0111047c..7c577fa748 100644 --- a/dp/wifi3.0/dp_rx_err.c +++ b/dp/wifi3.0/dp_rx_err.c @@ -483,7 +483,7 @@ dp_rx_pn_error_handle(struct dp_soc *soc, hal_ring_desc_t ring_desc, * @soc: Datapath soc handler * @peer: pointer to DP peer * @nbuf: pointer to the skb of RX frame - * @frame_mask: the mask for speical frame needed + * @frame_mask: the mask for special frame needed * @rx_tlv_hdr: start of rx tlv header * * note: Msdu_len must have been stored in QDF_NBUF_CB_RX_PKT_LEN(nbuf) and @@ -1451,7 +1451,7 @@ drop_nbuf: * @ring_desc: opaque pointer to the REO error ring descriptor * @mpdu_desc_info: pointer to mpdu level description info * @link_desc_va: pointer to msdu_link_desc virtual address - * @err_code: reo erro code fetched from ring entry + * @err_code: reo error code fetched from ring entry * * Function to handle msdus fetched from msdu link desc, currently * support REO error NULL queue, 2K jump, OOR. @@ -2606,7 +2606,7 @@ done: /** * dp_handle_rxdma_decrypt_err() - Check if decrypt err frames can be handled * - * Return: true if rxdma decrypt err frames are handled and false otheriwse + * Return: true if rxdma decrypt err frames are handled and false otherwise */ static inline bool dp_handle_rxdma_decrypt_err(void) { diff --git a/dp/wifi3.0/dp_stats.c b/dp/wifi3.0/dp_stats.c index fa3b8dab67..f85b4c7826 100644 --- a/dp/wifi3.0/dp_stats.c +++ b/dp/wifi3.0/dp_stats.c @@ -8319,7 +8319,7 @@ bool dp_peer_get_hw_txrx_stats_en(struct dp_txrx_peer *txrx_peer) #ifdef WLAN_FEATURE_11BE_MLO static inline struct dp_peer *dp_get_stats_peer(struct dp_peer *peer) { - /* ML primay link peer return mld_peer */ + /* ML primary link peer return mld_peer */ if (IS_MLO_DP_LINK_PEER(peer) && peer->primary_link) return peer->mld_peer; diff --git a/dp/wifi3.0/dp_tx.c b/dp/wifi3.0/dp_tx.c index 139997da1d..5153ba669c 100644 --- a/dp/wifi3.0/dp_tx.c +++ b/dp/wifi3.0/dp_tx.c @@ -986,7 +986,7 @@ dp_tx_send_traffic_end_indication_pkt(struct dp_vdev *vdev, /** * dp_tx_traffic_end_indication_set_desc_flag() - Set tx descriptor flag to - * mark it trafic end indication + * mark it traffic end indication * packet. * @tx_desc: Tx descriptor pointer * @msdu_info: msdu_info structure pointer @@ -1254,7 +1254,7 @@ failure: * @desc_pool_id : Descriptor Pool ID * * Allocate and prepare Tx descriptor with msdu and fragment descritor - * information. For frames wth fragments, allocate and prepare + * information. For frames with fragments, allocate and prepare * an MSDU extension descriptor * * Return: Pointer to Tx Descriptor on success, @@ -3290,7 +3290,7 @@ dp_tx_send_exception_vdev_id_check(struct cdp_soc_t *soc_hdl, goto fail; } - /* Unref count as it will agin be taken inside dp_tx_exception */ + /* Unref count as it will again be taken inside dp_tx_exception */ dp_vdev_unref_delete(soc, vdev, DP_MOD_ID_TX_EXCEPTION); return dp_tx_send_exception(soc_hdl, vdev_id, nbuf, tx_exc_metadata); @@ -4875,7 +4875,7 @@ static void dp_tx_update_uplink_delay(struct dp_soc *soc, struct dp_vdev *vdev, uint32_t ul_delay; if (qdf_unlikely(!vdev)) { - dp_info_rl("vdev is null or delete in progrss"); + dp_info_rl("vdev is null or delete in progress"); return; } @@ -5213,7 +5213,7 @@ dp_tx_comp_process_desc_list(struct dp_soc *soc, dp_tx_outstanding_dec(pdev); /* - * Calling a QDF WRAPPER here is creating signifcant + * Calling a QDF WRAPPER here is creating significant * performance impact so avoided the wrapper call here */ dp_tx_desc_history_add(soc, desc->dma_addr, desc->nbuf, @@ -5533,7 +5533,7 @@ next_desc: * 2) Ring entries are still near high threshold * 3) Ring entries are below the safe level * - * One more loop will move te state to normal processing and yield + * One more loop will move the state to normal processing and yield */ if (ring_near_full) goto more_data; diff --git a/dp/wifi3.0/dp_tx.h b/dp/wifi3.0/dp_tx.h index 872249c528..319aa11ffc 100644 --- a/dp/wifi3.0/dp_tx.h +++ b/dp/wifi3.0/dp_tx.h @@ -112,7 +112,7 @@ do { \ /** * struct dp_tx_frag_info_s - * @vaddr: hlos vritual address for buffer + * @vaddr: hlos virtual address for buffer * @paddr_lo: physical address lower 32bits * @paddr_hi: physical address higher bits * @len: length of the buffer diff --git a/dp/wifi3.0/dp_tx_desc.c b/dp/wifi3.0/dp_tx_desc.c index ed1b93b9fb..85d5075739 100644 --- a/dp/wifi3.0/dp_tx_desc.c +++ b/dp/wifi3.0/dp_tx_desc.c @@ -246,7 +246,7 @@ void dp_tx_desc_pool_deinit(struct dp_soc *soc, uint8_t pool_id) } /** - * dp_tx_ext_desc_pool_alloc() - allocate Tx extenstion Descriptor pool(s) + * dp_tx_ext_desc_pool_alloc() - allocate Tx extension Descriptor pool(s) * @soc: Handle to DP SoC structure * @num_pool: Number of pools to allocate * @num_elem: Number of descriptor elements per pool @@ -335,7 +335,7 @@ fail_exit: } /** - * dp_tx_ext_desc_pool_init() - initialize Tx extenstion Descriptor pool(s) + * dp_tx_ext_desc_pool_init() - initialize Tx extension Descriptor pool(s) * @soc: Handle to DP SoC structure * @num_pool: Number of pools to initialize * @num_elem: Number of descriptor elements per pool @@ -422,7 +422,7 @@ fail: } /** - * dp_tx_ext_desc_pool_free() - free Tx extenstion Descriptor pool(s) + * dp_tx_ext_desc_pool_free() - free Tx extension Descriptor pool(s) * @soc: Handle to DP SoC structure * @num_pool: Number of pools to free * @@ -450,7 +450,7 @@ void dp_tx_ext_desc_pool_free(struct dp_soc *soc, uint8_t num_pool) } /** - * dp_tx_ext_desc_pool_deinit() - deinit Tx extenstion Descriptor pool(s) + * dp_tx_ext_desc_pool_deinit() - deinit Tx extension Descriptor pool(s) * @soc: Handle to DP SoC structure * @num_pool: Number of pools to de-initialize * diff --git a/dp/wifi3.0/dp_tx_desc.h b/dp/wifi3.0/dp_tx_desc.h index 98f03cb57f..5182c3a737 100644 --- a/dp/wifi3.0/dp_tx_desc.h +++ b/dp/wifi3.0/dp_tx_desc.h @@ -289,7 +289,7 @@ dp_tx_adjust_flow_pool_state(struct dp_soc *soc, WLAN_DATA_FLOW_CTRL_BE_BK); break; default: - dp_err("Invalid pool staus:%u to adjust", pool->status); + dp_err("Invalid pool status:%u to adjust", pool->status); } } @@ -420,7 +420,7 @@ dp_tx_desc_free(struct dp_soc *soc, struct dp_tx_desc_s *tx_desc, reason = WLAN_DATA_FLOW_CTRL_PRI; pool->status = FLOW_POOL_VO_PAUSED; - /* Update maxinum pause duration for HI queue */ + /* Update maximum pause duration for HI queue */ pause_dur = unpause_time - pool->latest_pause_time[DP_TH_HI]; if (pool->max_pause_time[DP_TH_HI] < pause_dur) @@ -433,7 +433,7 @@ dp_tx_desc_free(struct dp_soc *soc, struct dp_tx_desc_s *tx_desc, reason = WLAN_DATA_FLOW_CTRL_VO; pool->status = FLOW_POOL_VI_PAUSED; - /* Update maxinum pause duration for VO queue */ + /* Update maximum pause duration for VO queue */ pause_dur = unpause_time - pool->latest_pause_time[DP_TH_VO]; if (pool->max_pause_time[DP_TH_VO] < pause_dur) @@ -446,7 +446,7 @@ dp_tx_desc_free(struct dp_soc *soc, struct dp_tx_desc_s *tx_desc, reason = WLAN_DATA_FLOW_CTRL_VI; pool->status = FLOW_POOL_BE_BK_PAUSED; - /* Update maxinum pause duration for VI queue */ + /* Update maximum pause duration for VI queue */ pause_dur = unpause_time - pool->latest_pause_time[DP_TH_VI]; if (pool->max_pause_time[DP_TH_VI] < pause_dur) @@ -459,7 +459,7 @@ dp_tx_desc_free(struct dp_soc *soc, struct dp_tx_desc_s *tx_desc, reason = WLAN_DATA_FLOW_CTRL_BE_BK; pool->status = FLOW_POOL_ACTIVE_UNPAUSED; - /* Update maxinum pause duration for BE_BK queue */ + /* Update maximum pause duration for BE_BK queue */ pause_dur = unpause_time - pool->latest_pause_time[DP_TH_BE_BK]; if (pool->max_pause_time[DP_TH_BE_BK] < pause_dur) diff --git a/dp/wifi3.0/dp_tx_flow_control.c b/dp/wifi3.0/dp_tx_flow_control.c index c2168d50b8..1a4b0f1eb0 100644 --- a/dp/wifi3.0/dp_tx_flow_control.c +++ b/dp/wifi3.0/dp_tx_flow_control.c @@ -37,8 +37,8 @@ /** * dp_tx_initialize_threshold() - Threshold of flow Pool initialization * @pool: flow_pool - * @stop_threshold: stop threshold of certian AC - * @start_threshold: start threshold of certian AC + * @stop_threshold: stop threshold of certain AC + * @start_threshold: start threshold of certain AC * @flow_pool_size: flow pool size * * Return: none @@ -55,19 +55,19 @@ dp_tx_initialize_threshold(struct dp_tx_desc_pool_s *pool, pool->stop_th[DP_TH_BE_BK] = (stop_threshold * flow_pool_size) / 100; - /* Update VI threshold based on BE_BK threashold */ + /* Update VI threshold based on BE_BK threshold */ pool->start_th[DP_TH_VI] = (pool->start_th[DP_TH_BE_BK] * FL_TH_VI_PERCENTAGE) / 100; pool->stop_th[DP_TH_VI] = (pool->stop_th[DP_TH_BE_BK] * FL_TH_VI_PERCENTAGE) / 100; - /* Update VO threshold based on BE_BK threashold */ + /* Update VO threshold based on BE_BK threshold */ pool->start_th[DP_TH_VO] = (pool->start_th[DP_TH_BE_BK] * FL_TH_VO_PERCENTAGE) / 100; pool->stop_th[DP_TH_VO] = (pool->stop_th[DP_TH_BE_BK] * FL_TH_VO_PERCENTAGE) / 100; - /* Update High Priority threshold based on BE_BK threashold */ + /* Update High Priority threshold based on BE_BK threshold */ pool->start_th[DP_TH_HI] = (pool->start_th[DP_TH_BE_BK] * FL_TH_HI_PERCENTAGE) / 100; pool->stop_th[DP_TH_HI] = (pool->stop_th[DP_TH_BE_BK] @@ -110,7 +110,7 @@ dp_tx_flow_pool_dump_threshold(struct dp_tx_desc_pool_s *pool) "Level %d :: Start threshold %d :: Stop threshold %d", i, pool->start_th[i], pool->stop_th[i]); QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR, - "Level %d :: Maximun pause time %lu ms", + "Level %d :: Maximum pause time %lu ms", i, pool->max_pause_time[i]); QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR, "Level %d :: Latest pause timestamp %lu", @@ -119,7 +119,7 @@ dp_tx_flow_pool_dump_threshold(struct dp_tx_desc_pool_s *pool) } /** - * dp_tx_flow_ctrl_reset_subqueues() - Reset subqueues to orginal state + * dp_tx_flow_ctrl_reset_subqueues() - Reset subqueues to original state * @soc: dp soc * @pool: flow pool * @pool_status: flow pool status @@ -450,7 +450,7 @@ int dp_tx_delete_flow_pool(struct dp_soc *soc, struct dp_tx_desc_pool_s *pool, qdf_spin_lock_bh(&pool->flow_pool_lock); if (!pool->pool_create_cnt) { qdf_spin_unlock_bh(&pool->flow_pool_lock); - dp_err("flow pool either not created or alread deleted"); + dp_err("flow pool either not created or already deleted"); return -ENOENT; } pool->pool_create_cnt--; diff --git a/dp/wifi3.0/dp_txrx_wds.c b/dp/wifi3.0/dp_txrx_wds.c index 056bae4721..8a25b8fd0f 100644 --- a/dp/wifi3.0/dp_txrx_wds.c +++ b/dp/wifi3.0/dp_txrx_wds.c @@ -1127,7 +1127,7 @@ static inline bool dp_peer_get_ast_valid(uint8_t mask, uint16_t index) /** * dp_peer_ast_index_flow_queue_map_create() - create ast index flow queue map - * @soc - genereic soc handle + * @soc - generic soc handle * @is_wds - flag to indicate if peer is wds * @peer_id - peer_id from htt peer map message * @peer_mac_addr - mac address of the peer diff --git a/dp/wifi3.0/dp_types.h b/dp/wifi3.0/dp_types.h index b9ec12f888..21e030c6e5 100644 --- a/dp/wifi3.0/dp_types.h +++ b/dp/wifi3.0/dp_types.h @@ -748,7 +748,7 @@ struct dp_txrx_pool_stats { * @cached: is the srng ring memory cached or un-cached memory * @irq: irq number of the srng ring * @num_entries: number of entries in the srng ring - * @is_mem_prealloc: Is this srng memeory pre-allocated + * @is_mem_prealloc: Is this srng memory pre-allocated * @crit_thresh: Critical threshold for near-full processing of this srng * @safe_thresh: Safe threshold for near-full processing of this srng * @near_full: Flag to indicate srng is near-full @@ -1609,7 +1609,7 @@ struct dp_last_op_info { /** * struct dp_swlm_tcl_data - params for tcl register write coalescing - * descision making + * decision making * @nbuf: TX packet * @tid: tid for transmitting the current packet * @num_ll_connections: Number of low latency connections on this vdev @@ -1994,7 +1994,7 @@ struct dp_arch_ops { * @pn_in_reo_dest: PN provided by hardware in the REO destination ring. * @dmac_cmn_src_rxbuf_ring_enabled: Flag to indicate DMAC mode common Rx * buffer source rings - * @rssi_dbm_conv_support: Rssi dbm converstion support param. + * @rssi_dbm_conv_support: Rssi dbm conversion support param. * @umac_hw_reset_support: UMAC HW reset support */ struct dp_soc_features { @@ -2335,7 +2335,7 @@ struct dp_soc { #endif qdf_spinlock_t ast_lock; - /*Timer for AST entry ageout maintainance */ + /*Timer for AST entry ageout maintenance */ qdf_timer_t ast_aging_timer; /*Timer counter for WDS AST entry ageout*/ @@ -2930,7 +2930,7 @@ struct dp_pdev { /** * TODO: See if we need a ring map here for LMAC rings. * 1. Monitor rings are currently planning to be processed on receiving - * PPDU end interrupts and hence wont need ring based interrupts. + * PPDU end interrupts and hence won't need ring based interrupts. * 2. Rx buffer rings will be replenished during REO destination * processing and doesn't require regular interrupt handling - we will * only handle low water mark interrupts which is not expected @@ -3090,7 +3090,7 @@ struct dp_pdev { */ struct rx_protocol_tag_stats reo_proto_tag_stats[MAX_REO_DEST_RINGS][RX_PROTOCOL_TAG_MAX]; - /* Track msdus received from expection ring separately */ + /* Track msdus received from exception ring separately */ struct rx_protocol_tag_stats rx_err_proto_tag_stats[RX_PROTOCOL_TAG_MAX]; struct rx_protocol_tag_stats @@ -4055,7 +4055,7 @@ struct dp_peer_stats { }; /** - * struct dp_txrx_peer: DP txrx_peer strcuture used in per pkt path + * struct dp_txrx_peer: DP txrx_peer structure used in per pkt path * @tx_failed: Total Tx failure * @cdp_pkt_info comp_pkt: Pkt Info for which completions were received * @to_stack: Total packets sent up the stack diff --git a/dp/wifi3.0/dp_wdi_event.c b/dp/wifi3.0/dp_wdi_event.c index 3b45a28319..81f85d8c91 100644 --- a/dp/wifi3.0/dp_wdi_event.c +++ b/dp/wifi3.0/dp_wdi_event.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2017-2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -152,7 +153,7 @@ qdf_export_symbol(dp_wdi_event_handler); * dp_wdi_event_sub() - Subscribe WDI event * @soc: soc handle * @pdev_id: id of pdev - * @event_cb_sub_handle: subcribe evnet handle + * @event_cb_sub_handle: subscribe event handle * @event: Event to be subscribe * * Return: 0 for success. nonzero for failure. diff --git a/dp/wifi3.0/li/dp_li.c b/dp/wifi3.0/li/dp_li.c index 248665fa23..1502b3038d 100644 --- a/dp/wifi3.0/li/dp_li.c +++ b/dp/wifi3.0/li/dp_li.c @@ -48,7 +48,7 @@ static struct wlan_cfg_tcl_wbm_ring_num_map g_tcl_wbm_map_array[MAX_TCL_DATA_RIN {2, 2, HAL_LI_WBM_SW2_BM_ID, 0}, /* * Although using wbm_ring 4, wbm_ring 3 is mentioned in order to match - * with the tx_mask in dp_service_srngs. Please be carefull while using + * with the tx_mask in dp_service_srngs. Please be careful while using * this table anywhere else. */ {3, 3, HAL_LI_WBM_SW4_BM_ID, 0} diff --git a/dp/wifi3.0/monitor/1.0/dp_mon_1.0.c b/dp/wifi3.0/monitor/1.0/dp_mon_1.0.c index 31aa727ee1..766782098d 100644 --- a/dp/wifi3.0/monitor/1.0/dp_mon_1.0.c +++ b/dp/wifi3.0/monitor/1.0/dp_mon_1.0.c @@ -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; diff --git a/dp/wifi3.0/monitor/1.0/dp_mon_filter_1.0.c b/dp/wifi3.0/monitor/1.0/dp_mon_filter_1.0.c index e0e30506ee..b3fa0ad24c 100644 --- a/dp/wifi3.0/monitor/1.0/dp_mon_filter_1.0.c +++ b/dp/wifi3.0/monitor/1.0/dp_mon_filter_1.0.c @@ -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)) { diff --git a/dp/wifi3.0/monitor/1.0/dp_rx_mon_1.0.h b/dp/wifi3.0/monitor/1.0/dp_rx_mon_1.0.h index 17d924ff7b..f4523448d1 100644 --- a/dp/wifi3.0/monitor/1.0/dp_rx_mon_1.0.h +++ b/dp/wifi3.0/monitor/1.0/dp_rx_mon_1.0.h @@ -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. diff --git a/dp/wifi3.0/monitor/1.0/dp_rx_mon_dest_1.0.c b/dp/wifi3.0/monitor/1.0/dp_rx_mon_dest_1.0.c index 49bf85b738..5ad560ac6a 100644 --- a/dp/wifi3.0/monitor/1.0/dp_rx_mon_dest_1.0.c +++ b/dp/wifi3.0/monitor/1.0/dp_rx_mon_dest_1.0.c @@ -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)) { diff --git a/dp/wifi3.0/monitor/2.0/dp_mon_filter_2.0.c b/dp/wifi3.0/monitor/2.0/dp_mon_filter_2.0.c index 103d327963..d6008059fc 100644 --- a/dp/wifi3.0/monitor/2.0/dp_mon_filter_2.0.c +++ b/dp/wifi3.0/monitor/2.0/dp_mon_filter_2.0.c @@ -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 diff --git a/dp/wifi3.0/monitor/2.0/dp_rx_mon_2.0.c b/dp/wifi3.0/monitor/2.0/dp_rx_mon_2.0.c index cd2f230ef3..4bbcba7fcc 100644 --- a/dp/wifi3.0/monitor/2.0/dp_rx_mon_2.0.c +++ b/dp/wifi3.0/monitor/2.0/dp_rx_mon_2.0.c @@ -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)) { diff --git a/dp/wifi3.0/monitor/2.0/dp_tx_mon_2.0.h b/dp/wifi3.0/monitor/2.0/dp_tx_mon_2.0.h index fa1c74a7c8..2bb5c63f09 100644 --- a/dp/wifi3.0/monitor/2.0/dp_tx_mon_2.0.h +++ b/dp/wifi3.0/monitor/2.0/dp_tx_mon_2.0.h @@ -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 */ diff --git a/dp/wifi3.0/monitor/2.0/dp_tx_mon_status_2.0.c b/dp/wifi3.0/monitor/2.0/dp_tx_mon_status_2.0.c index cf51983175..10e174a12d 100644 --- a/dp/wifi3.0/monitor/2.0/dp_tx_mon_status_2.0.c +++ b/dp/wifi3.0/monitor/2.0/dp_tx_mon_status_2.0.c @@ -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 */ diff --git a/dp/wifi3.0/monitor/dp_mon.c b/dp/wifi3.0/monitor/dp_mon.c index 0be02ea666..cdf05d6372 100644 --- a/dp/wifi3.0/monitor/dp_mon.c +++ b/dp/wifi3.0/monitor/dp_mon.c @@ -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) { diff --git a/dp/wifi3.0/monitor/dp_mon.h b/dp/wifi3.0/monitor/dp_mon.h index 17bcda56ab..98b7cbac41 100644 --- a/dp/wifi3.0/monitor/dp_mon.h +++ b/dp/wifi3.0/monitor/dp_mon.h @@ -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 * diff --git a/dp/wifi3.0/monitor/dp_mon_filter.c b/dp/wifi3.0/monitor/dp_mon_filter.c index a505231851..93a6de5694 100644 --- a/dp/wifi3.0/monitor/dp_mon_filter.c +++ b/dp/wifi3.0/monitor/dp_mon_filter.c @@ -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; } diff --git a/dp/wifi3.0/monitor/dp_mon_filter.h b/dp/wifi3.0/monitor/dp_mon_filter.h index 864a3eb519..d5052457ef 100644 --- a/dp/wifi3.0/monitor/dp_mon_filter.h +++ b/dp/wifi3.0/monitor/dp_mon_filter.h @@ -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 diff --git a/dp/wifi3.0/monitor/dp_rx_mon.h b/dp/wifi3.0/monitor/dp_rx_mon.h index 24d283752f..7867f81bea 100644 --- a/dp/wifi3.0/monitor/dp_rx_mon.h +++ b/dp/wifi3.0/monitor/dp_rx_mon.h @@ -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