qcacld-3.0: core: dp: Fix misspellings
Fix misspellings in core/dp/... Change-Id: Ibafb9996aeec83ff18fdad269c2ee918afcb397f CRs-Fixed: 3303628
このコミットが含まれているのは:
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2014-2019-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011, 2014-2019-2020 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
|
* 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
|
||||||
@@ -557,7 +558,7 @@ htt_attach(struct htt_pdev_t *pdev, int desc_pool_size)
|
|||||||
* here will have to be adjusted accordingly.
|
* here will have to be adjusted accordingly.
|
||||||
* NOTE: for HL, because fw rx desc is in ind msg,
|
* NOTE: for HL, because fw rx desc is in ind msg,
|
||||||
* not in rx desc, so the
|
* not in rx desc, so the
|
||||||
* offset should be negtive value
|
* offset should be negative value
|
||||||
*/
|
*/
|
||||||
pdev->rx_fw_desc_offset =
|
pdev->rx_fw_desc_offset =
|
||||||
HTT_ENDIAN_BYTE_IDX_SWAP(
|
HTT_ENDIAN_BYTE_IDX_SWAP(
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2012-2019 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
|
* 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
|
||||||
@@ -319,7 +320,7 @@ htt_t2h_stats_pdev_stats_print(struct wlan_dbg_stats *wlan_pdev_stats,
|
|||||||
qdf_nofl_info("sched self trig :%d", tx->self_triggers);
|
qdf_nofl_info("sched self trig :%d", tx->self_triggers);
|
||||||
/* SW retry failures */
|
/* SW retry failures */
|
||||||
qdf_nofl_info("ampdu retry failed:%d", tx->sw_retry_failure);
|
qdf_nofl_info("ampdu retry failed:%d", tx->sw_retry_failure);
|
||||||
/* ilegal phy rate errirs */
|
/* illegal phy rate errors */
|
||||||
qdf_nofl_info("illegal rate errs :%d", tx->illgl_rate_phy_err);
|
qdf_nofl_info("illegal rate errs :%d", tx->illgl_rate_phy_err);
|
||||||
/* pdev continuous excessive retries */
|
/* pdev continuous excessive retries */
|
||||||
qdf_nofl_info("pdev cont xretry :%d", tx->pdev_cont_xretry);
|
qdf_nofl_info("pdev cont xretry :%d", tx->pdev_cont_xretry);
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2021 The Linux Foundation. All rights reserved.
|
||||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. 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
|
||||||
@@ -328,7 +328,7 @@ QDF_STATUS htt_h2t_rx_ring_rfs_cfg_msg_ll(struct htt_pdev_t *pdev)
|
|||||||
struct cds_config_info *cds_cfg;
|
struct cds_config_info *cds_cfg;
|
||||||
|
|
||||||
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO_LOW,
|
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO_LOW,
|
||||||
"Receive flow steering configuration, disable gEnableFlowSteering(=0) in ini if FW doesnot support it\n");
|
"Receive flow steering configuration, disable gEnableFlowSteering(=0) in ini if FW does not support it\n");
|
||||||
pkt = htt_htc_pkt_alloc(pdev);
|
pkt = htt_htc_pkt_alloc(pdev);
|
||||||
if (!pkt)
|
if (!pkt)
|
||||||
return QDF_STATUS_E_NOMEM; /* failure */
|
return QDF_STATUS_E_NOMEM; /* failure */
|
||||||
@@ -403,7 +403,7 @@ QDF_STATUS htt_h2t_rx_ring_rfs_cfg_msg_ll(struct htt_pdev_t *pdev)
|
|||||||
QDF_STATUS htt_h2t_rx_ring_rfs_cfg_msg_ll(struct htt_pdev_t *pdev)
|
QDF_STATUS htt_h2t_rx_ring_rfs_cfg_msg_ll(struct htt_pdev_t *pdev)
|
||||||
{
|
{
|
||||||
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO,
|
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO,
|
||||||
"Doesnot support receive flow steering configuration\n");
|
"Does not support receive flow steering configuration\n");
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
#endif /* HELIUMPLUS */
|
#endif /* HELIUMPLUS */
|
||||||
@@ -776,7 +776,7 @@ htt_h2t_rx_ring_cfg_msg_hl(struct htt_pdev_t *pdev)
|
|||||||
QDF_STATUS htt_h2t_rx_ring_rfs_cfg_msg_hl(struct htt_pdev_t *pdev)
|
QDF_STATUS htt_h2t_rx_ring_rfs_cfg_msg_hl(struct htt_pdev_t *pdev)
|
||||||
{
|
{
|
||||||
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO,
|
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO,
|
||||||
"Doesnot support Receive flow steering configuration\n");
|
"Does not support Receive flow steering configuration\n");
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2014-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011, 2014-2020 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
|
* 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
|
||||||
@@ -209,7 +210,7 @@ struct htt_host_rx_desc_base {
|
|||||||
* Both of these events are stored on the same entry
|
* Both of these events are stored on the same entry
|
||||||
* @paddr : physical address posted on the ring
|
* @paddr : physical address posted on the ring
|
||||||
* @nbuf : virtual address of nbuf containing data
|
* @nbuf : virtual address of nbuf containing data
|
||||||
* @ndata : virual address of data (corresponds to physical address)
|
* @ndata : virtual address of data (corresponds to physical address)
|
||||||
* @posted: time-stamp when the buffer is posted to the ring
|
* @posted: time-stamp when the buffer is posted to the ring
|
||||||
* @recved: time-stamp when the buffer is received (rx_in_order_ind)
|
* @recved: time-stamp when the buffer is received (rx_in_order_ind)
|
||||||
* : or 0, if the buffer has not been received yet
|
* : or 0, if the buffer has not been received yet
|
||||||
@@ -223,7 +224,7 @@ struct htt_host_rx_desc_base {
|
|||||||
* @paddr : = 0
|
* @paddr : = 0
|
||||||
* @nbuf : = 0
|
* @nbuf : = 0
|
||||||
* @ndata : msdu_cnt
|
* @ndata : msdu_cnt
|
||||||
* @posted: time-stamp when HTT message is recived
|
* @posted: time-stamp when HTT message is received
|
||||||
* @recvd : 0x48545452584D5367 ('HTTRXMSG')
|
* @recvd : 0x48545452584D5367 ('HTTRXMSG')
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_SLUB_DEBUG_ON
|
#ifdef CONFIG_SLUB_DEBUG_ON
|
||||||
@@ -235,7 +236,7 @@ struct rx_buf_debug {
|
|||||||
qdf_dma_addr_t paddr;
|
qdf_dma_addr_t paddr;
|
||||||
qdf_nbuf_t nbuf;
|
qdf_nbuf_t nbuf;
|
||||||
void *nbuf_data;
|
void *nbuf_data;
|
||||||
uint64_t posted; /* timetamp */
|
uint64_t posted; /* timestamp */
|
||||||
uint64_t recved; /* timestamp */
|
uint64_t recved; /* timestamp */
|
||||||
int cpu;
|
int cpu;
|
||||||
|
|
||||||
|
@@ -931,7 +931,7 @@ htt_rx_restitch_mpdu_from_msdus(htt_pdev_handle pdev,
|
|||||||
|
|
||||||
/* Allocate a new nbuf for holding the 802.11 header retrieved from the
|
/* Allocate a new nbuf for holding the 802.11 header retrieved from the
|
||||||
* status of the now decapped first msdu. Leave enough headroom for
|
* 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
|
||||||
*/
|
*/
|
||||||
#define HTT_MAX_MONITOR_HEADER (512)
|
#define HTT_MAX_MONITOR_HEADER (512)
|
||||||
mpdu_buf = qdf_nbuf_alloc(pdev->osdev,
|
mpdu_buf = qdf_nbuf_alloc(pdev->osdev,
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2020 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
|
* 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
|
||||||
@@ -113,7 +114,7 @@ void htt_set_checksum_result_hl(qdf_nbuf_t msdu,
|
|||||||
* htt_rx_fill_ring_count() - replenish rx msdu buffer
|
* htt_rx_fill_ring_count() - replenish rx msdu buffer
|
||||||
* @pdev: Handle (pointer) to HTT pdev.
|
* @pdev: Handle (pointer) to HTT pdev.
|
||||||
*
|
*
|
||||||
* This funciton will replenish the rx buffer to the max number
|
* This function will replenish the rx buffer to the max number
|
||||||
* that can be kept in the ring
|
* that can be kept in the ring
|
||||||
*
|
*
|
||||||
* Return: None
|
* Return: None
|
||||||
|
@@ -2087,7 +2087,7 @@ void *htt_rx_mpdu_desc_list_next_ll(htt_pdev_handle pdev, qdf_nbuf_t rx_ind_msg)
|
|||||||
* htt_rx_fill_ring_count() - replenish rx msdu buffer
|
* htt_rx_fill_ring_count() - replenish rx msdu buffer
|
||||||
* @pdev: Handle (pointer) to HTT pdev.
|
* @pdev: Handle (pointer) to HTT pdev.
|
||||||
*
|
*
|
||||||
* This funciton will replenish the rx buffer to the max number
|
* This function will replenish the rx buffer to the max number
|
||||||
* that can be kept in the ring
|
* that can be kept in the ring
|
||||||
*
|
*
|
||||||
* Return: None
|
* Return: None
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2020 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
|
* 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
|
||||||
@@ -738,7 +739,7 @@ static void htt_t2h_lp_msg_handler(void *context, qdf_nbuf_t htt_t2h_msg,
|
|||||||
/**
|
/**
|
||||||
* Generic Target to host Msg/event handler for low priority messages
|
* Generic Target to host Msg/event handler for low priority messages
|
||||||
* Low priority message are handler in a different handler called from
|
* Low priority message are handler in a different handler called from
|
||||||
* this function . So that the most likely succes path like Rx and
|
* this function . So that the most likely success path like Rx and
|
||||||
* Tx comp has little code foot print
|
* Tx comp has little code foot print
|
||||||
*/
|
*/
|
||||||
void htt_t2h_msg_handler(void *context, HTC_PACKET *pkt)
|
void htt_t2h_msg_handler(void *context, HTC_PACKET *pkt)
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2014-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011, 2014-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
|
* 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
|
||||||
@@ -418,7 +419,7 @@ void htt_tx_detach(struct htt_pdev_t *pdev)
|
|||||||
/**
|
/**
|
||||||
* htt_tx_set_frag_desc_addr() - set up the fragmentation descriptor address
|
* htt_tx_set_frag_desc_addr() - set up the fragmentation descriptor address
|
||||||
* @pdev: pointer to the HTT instance making the allocation
|
* @pdev: pointer to the HTT instance making the allocation
|
||||||
* @htt_tx_desc: Host tx decriptor that does not include HTC hdr
|
* @htt_tx_desc: Host tx descriptor that does not include HTC hdr
|
||||||
* @index: index to alloc htt tx desc
|
* @index: index to alloc htt tx desc
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
@@ -435,7 +436,7 @@ htt_tx_set_frag_desc_addr(struct htt_pdev_t *pdev,
|
|||||||
* htt_tx_desc_frags_table_set() - set up the descriptor and payload
|
* htt_tx_desc_frags_table_set() - set up the descriptor and payload
|
||||||
* to correspondinf fragments
|
* to correspondinf fragments
|
||||||
* @pdev: pointer to the HTT instance making the allocation
|
* @pdev: pointer to the HTT instance making the allocation
|
||||||
* @htt_tx_desc: Host tx decriptor that does not include HTC hdr
|
* @htt_tx_desc: Host tx descriptor that does not include HTC hdr
|
||||||
* @paddr: fragment physical address
|
* @paddr: fragment physical address
|
||||||
* @frag_desc_paddr_lo: frag descriptor address
|
* @frag_desc_paddr_lo: frag descriptor address
|
||||||
* @reset: reset
|
* @reset: reset
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2014-2018-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011, 2014-2018-2021 The Linux Foundation. All rights reserved.
|
||||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. 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
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the base misclist size to the size of the htt tx copy engine
|
* Set the base misclist size to the size of the htt tx copy engine
|
||||||
* 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.
|
* is sitting in the copy engine.
|
||||||
*/
|
*/
|
||||||
#define HTT_HTC_PKT_MISCLIST_SIZE 2048
|
#define HTT_HTC_PKT_MISCLIST_SIZE 2048
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2020 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
|
* 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
|
||||||
@@ -149,7 +150,7 @@ struct ieee80211_rx_status {
|
|||||||
* so that the user application can do processing based on the RX stats.
|
* so that the user application can do processing based on the RX stats.
|
||||||
* This structure will be preceded by an ethernet header with
|
* This structure will be preceded by an ethernet header with
|
||||||
* the proto field set to 0x8152. This struct includes various RX
|
* the proto field set to 0x8152. This struct includes various RX
|
||||||
* paramaters including RSSI, data rate, and center frequency.
|
* parameters including RSSI, data rate, and center frequency.
|
||||||
*/
|
*/
|
||||||
PREPACK struct ocb_rx_stats_hdr_t {
|
PREPACK struct ocb_rx_stats_hdr_t {
|
||||||
uint16_t version;
|
uint16_t version;
|
||||||
@@ -913,7 +914,7 @@ int htt_rx_msdu_buff_in_order_replenish(htt_pdev_handle pdev, uint32_t num)
|
|||||||
* @param pdev - the HTT instance the rx data was received on
|
* @param pdev - the HTT instance the rx data was received on
|
||||||
* @param head_msdu - network buffer handle, which points to the first MSDU
|
* @param head_msdu - network buffer handle, which points to the first MSDU
|
||||||
* in the list. This is a NULL terminated list
|
* in the list. This is a NULL terminated list
|
||||||
* @param rx_staus - pointer to the status associated with this MPDU.
|
* @param rx_status - pointer to the status associated with this MPDU.
|
||||||
* Updated only if there is a new PPDU and new status associated with it
|
* Updated only if there is a new PPDU and new status associated with it
|
||||||
* @param clone_not_reqd - If set the MPDU linking destroys the passed in
|
* @param clone_not_reqd - If set the MPDU linking destroys the passed in
|
||||||
* list, else operates on a cloned nbuf
|
* list, else operates on a cloned nbuf
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2019 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2019 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
|
* 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
|
||||||
@@ -168,7 +169,7 @@ enum htt_ofdm_datarate { /* Value MBPS Modulation Coding*/
|
|||||||
* When sending an OCB packet, the user application has
|
* When sending an OCB packet, the user application has
|
||||||
* the option of including the following struct following an ethernet header
|
* the option of including the following struct following an ethernet header
|
||||||
* with the proto field set to 0x8151. This struct includes various TX
|
* with the proto field set to 0x8151. This struct includes various TX
|
||||||
* paramaters including the TX power and MCS.
|
* parameters including the TX power and MCS.
|
||||||
*/
|
*/
|
||||||
PREPACK struct ocb_tx_ctrl_hdr_t {
|
PREPACK struct ocb_tx_ctrl_hdr_t {
|
||||||
uint16_t version;
|
uint16_t version;
|
||||||
@@ -389,7 +390,7 @@ static inline int htt_tx_frag_alloc(htt_pdev_handle pdev,
|
|||||||
/**
|
/**
|
||||||
* @brief Discard all tx frames in the process of being downloaded.
|
* @brief Discard all tx frames in the process of being downloaded.
|
||||||
* @details
|
* @details
|
||||||
* This function dicards any tx frames queued in HTT or the layers
|
* This function discards any tx frames queued in HTT or the layers
|
||||||
* under HTT.
|
* under HTT.
|
||||||
* The download completion callback is invoked on these frames.
|
* The download completion callback is invoked on these frames.
|
||||||
*
|
*
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2020 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
|
* 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
|
||||||
@@ -87,12 +88,12 @@ enum ol_txrx_peer_update_select_t {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Update the data peer object as some informaiton changed in node.
|
* @brief Update the data peer object as some information changed in node.
|
||||||
* @details
|
* @details
|
||||||
* Only a single prarameter can be changed for each call to this func.
|
* Only a single parameter can be changed for each call to this func.
|
||||||
*
|
*
|
||||||
* @param peer - pointer to the node's object
|
* @param peer - pointer to the node's object
|
||||||
* @param param - new param to be upated in peer object.
|
* @param param - new param to be updated in peer object.
|
||||||
* @param select - specify what's parameter needed to be update
|
* @param select - specify what's parameter needed to be update
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
@@ -397,7 +398,7 @@ ol_txrx_peer_stats_copy(ol_txrx_pdev_handle pdev,
|
|||||||
* channel.
|
* channel.
|
||||||
*
|
*
|
||||||
* @param peer - which peer's RSSI is desired
|
* @param peer - which peer's RSSI is desired
|
||||||
* @return RSSI evaluted from frames sent by the specified peer
|
* @return RSSI evaluated from frames sent by the specified peer
|
||||||
*/
|
*/
|
||||||
#ifdef QCA_SUPPORT_PEER_DATA_RX_RSSI
|
#ifdef QCA_SUPPORT_PEER_DATA_RX_RSSI
|
||||||
int16_t ol_txrx_peer_rssi(ol_txrx_peer_handle peer);
|
int16_t ol_txrx_peer_rssi(ol_txrx_peer_handle peer);
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2020 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
|
* 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
|
||||||
@@ -432,7 +433,7 @@ void ol_rx_frag_indication_handler(ol_txrx_pdev_handle pdev,
|
|||||||
* target to the host. The packet itself resides in host ring along with some
|
* target to the host. The packet itself resides in host ring along with some
|
||||||
* metadata describing the peer id, vdev id, tid, FW desc and length of
|
* metadata describing the peer id, vdev id, tid, FW desc and length of
|
||||||
* the packet being delivered.
|
* the packet being delivered.
|
||||||
* Hight letency case:
|
* High latency case:
|
||||||
* The message itself contains the payload of the MSDU being delivered by
|
* The message itself contains the payload of the MSDU being delivered by
|
||||||
* the target to the host. The message also contains meta data describing
|
* the target to the host. The message also contains meta data describing
|
||||||
* the packet such as peer id, vdev id, tid, FW desc and length of the packet
|
* the packet such as peer id, vdev id, tid, FW desc and length of the packet
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-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
|
* 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
|
||||||
@@ -147,7 +148,7 @@ static void ol_rx_frag_pull_hdr(htt_pdev_handle htt_pdev,
|
|||||||
* @msdu: msdu
|
* @msdu: msdu
|
||||||
* @rx_desc_old_position: rx descriptor old position
|
* @rx_desc_old_position: rx descriptor old position
|
||||||
* @ind_old_position:index of old position
|
* @ind_old_position:index of old position
|
||||||
* @rx_desc_len: rx desciptor length
|
* @rx_desc_len: rx descriptor length
|
||||||
*
|
*
|
||||||
* Return: None
|
* Return: None
|
||||||
*/
|
*/
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2020 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
|
* 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
|
||||||
@@ -113,7 +114,7 @@ ol_rx_reorder_seq_num_check(
|
|||||||
* should be the one with retry bit set.
|
* should be the one with retry bit set.
|
||||||
* However, since many implementations do not set the retry bit,
|
* However, since many implementations do not set the retry bit,
|
||||||
* and since this same function is also used for filtering out
|
* and since this same function is also used for filtering out
|
||||||
* late-arriving frames (frames that arive after their rx reorder
|
* late-arriving frames (frames that arrive after their rx reorder
|
||||||
* timeout has expired) which are not retries, don't bother checking
|
* timeout has expired) which are not retries, don't bother checking
|
||||||
* the retry bit for now.
|
* the retry bit for now.
|
||||||
*/
|
*/
|
||||||
|
@@ -58,7 +58,7 @@
|
|||||||
#include "qdf_hrtimer.h"
|
#include "qdf_hrtimer.h"
|
||||||
|
|
||||||
/* High/Low tx resource count in percentage */
|
/* High/Low tx resource count in percentage */
|
||||||
/* Set default high threashold to 15% */
|
/* Set default high threshold to 15% */
|
||||||
#ifndef TX_RESOURCE_HIGH_TH_IN_PER
|
#ifndef TX_RESOURCE_HIGH_TH_IN_PER
|
||||||
#define TX_RESOURCE_HIGH_TH_IN_PER 15
|
#define TX_RESOURCE_HIGH_TH_IN_PER 15
|
||||||
#endif
|
#endif
|
||||||
@@ -128,7 +128,7 @@ ol_tx_desc_pool_size_hl(struct cdp_cfg *ctrl_pdev)
|
|||||||
* @msdu: the tx frame
|
* @msdu: the tx frame
|
||||||
* @msdu_info: the tx meta data
|
* @msdu_info: the tx meta data
|
||||||
*
|
*
|
||||||
* Return: the tx decriptor
|
* Return: the tx descriptor
|
||||||
*/
|
*/
|
||||||
static inline
|
static inline
|
||||||
struct ol_tx_desc_t *ol_tx_hl_desc_alloc(struct ol_txrx_pdev_t *pdev,
|
struct ol_tx_desc_t *ol_tx_hl_desc_alloc(struct ol_txrx_pdev_t *pdev,
|
||||||
@@ -373,7 +373,7 @@ static bool parse_ocb_tx_header(qdf_nbuf_t msdu,
|
|||||||
* @tx_mgmt_frm: the tx management frame
|
* @tx_mgmt_frm: the tx management frame
|
||||||
* @tx_msdu_info: the tx meta data
|
* @tx_msdu_info: the tx meta data
|
||||||
*
|
*
|
||||||
* Return: the tx decriptor
|
* Return: the tx descriptor
|
||||||
*/
|
*/
|
||||||
struct ol_tx_desc_t *
|
struct ol_tx_desc_t *
|
||||||
ol_txrx_mgmt_tx_desc_alloc(
|
ol_txrx_mgmt_tx_desc_alloc(
|
||||||
@@ -429,7 +429,7 @@ int ol_txrx_mgmt_send_frame(
|
|||||||
/* Initialize the HTT tx desc l2 header offset field.
|
/* Initialize the HTT tx desc l2 header offset field.
|
||||||
* Even though tx encap does not apply to mgmt frames,
|
* Even though tx encap does not apply to mgmt frames,
|
||||||
* htt_tx_desc_mpdu_header still needs to be called,
|
* htt_tx_desc_mpdu_header still needs to be called,
|
||||||
* to specifiy that there was no L2 header added by tx encap,
|
* to specify that there was no L2 header added by tx encap,
|
||||||
* so the frame's length does not need to be adjusted to account for
|
* so the frame's length does not need to be adjusted to account for
|
||||||
* an added L2 header.
|
* an added L2 header.
|
||||||
*/
|
*/
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2019 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2019 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
|
* 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
|
||||||
@@ -394,7 +395,7 @@ uint8_t ol_tx_prepare_tso(ol_txrx_vdev_handle vdev,
|
|||||||
= tso_seg;
|
= tso_seg;
|
||||||
num_seg--;
|
num_seg--;
|
||||||
} else {
|
} else {
|
||||||
/* Free above alocated TSO segements till now */
|
/* Free above allocated TSO segments till now */
|
||||||
msdu_info->tso_info.curr_seg =
|
msdu_info->tso_info.curr_seg =
|
||||||
msdu_info->tso_info.tso_seg_list;
|
msdu_info->tso_info.tso_seg_list;
|
||||||
ol_free_remaining_tso_segs(vdev, msdu_info,
|
ol_free_remaining_tso_segs(vdev, msdu_info,
|
||||||
@@ -486,7 +487,7 @@ uint32_t ol_tx_tso_get_stats_idx(struct ol_txrx_pdev_t *pdev)
|
|||||||
/**
|
/**
|
||||||
* ol_tso_seg_list_init() - function to initialise the tso seg freelist
|
* ol_tso_seg_list_init() - function to initialise the tso seg freelist
|
||||||
* @pdev: the data physical device sending the data
|
* @pdev: the data physical device sending the data
|
||||||
* @num_seg: number of segments needs to be intialised
|
* @num_seg: number of segments needs to be initialized
|
||||||
*
|
*
|
||||||
* Return: none
|
* Return: none
|
||||||
*/
|
*/
|
||||||
@@ -600,7 +601,7 @@ void ol_tso_seg_list_deinit(struct ol_txrx_pdev_t *pdev)
|
|||||||
* use to count the num of tso segments in jumbo
|
* use to count the num of tso segments in jumbo
|
||||||
* skb packet freelist
|
* skb packet freelist
|
||||||
* @pdev: the data physical device sending the data
|
* @pdev: the data physical device sending the data
|
||||||
* @num_seg: number of elements needs to be intialised
|
* @num_seg: number of elements needs to be initialized
|
||||||
*
|
*
|
||||||
* Return: none
|
* Return: none
|
||||||
*/
|
*/
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2020 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
|
* 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
|
||||||
@@ -157,7 +158,7 @@ ol_tx_tso_adjust_pkt_dnld_len(qdf_nbuf_t msdu,
|
|||||||
* ol_tx_prepare_ll_fast() Alloc and prepare Tx descriptor
|
* ol_tx_prepare_ll_fast() Alloc and prepare Tx descriptor
|
||||||
*
|
*
|
||||||
* Allocate and prepare Tx descriptor with msdu and fragment descritor
|
* Allocate and prepare Tx descriptor with msdu and fragment descritor
|
||||||
* inforamtion.
|
* information.
|
||||||
*
|
*
|
||||||
* @pdev: pointer to ol pdev handle
|
* @pdev: pointer to ol pdev handle
|
||||||
* @vdev: pointer to ol vdev handle
|
* @vdev: pointer to ol vdev handle
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2012-2020 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
|
* 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
|
||||||
@@ -199,7 +200,7 @@ ol_tx_queue_discard(
|
|||||||
* is_ol_tx_discard_frames_success() - check whether currently queued tx frames
|
* is_ol_tx_discard_frames_success() - check whether currently queued tx frames
|
||||||
* can be discarded or not
|
* can be discarded or not
|
||||||
* @pdev: the physical device object
|
* @pdev: the physical device object
|
||||||
* @tx_desc: tx desciptor ptr
|
* @tx_desc: tx descriptor ptr
|
||||||
*
|
*
|
||||||
* Return: Success if available tx descriptors are too few
|
* Return: Success if available tx descriptors are too few
|
||||||
*/
|
*/
|
||||||
@@ -711,7 +712,7 @@ ol_txrx_peer_bal_add_limit_peer(struct ol_txrx_pdev_t *pdev,
|
|||||||
/* Check if peer_num has reached the capabilit */
|
/* Check if peer_num has reached the capabilit */
|
||||||
if (peer_num >= MAX_NO_PEERS_IN_LIMIT) {
|
if (peer_num >= MAX_NO_PEERS_IN_LIMIT) {
|
||||||
TX_SCHED_DEBUG_PRINT_ALWAYS(
|
TX_SCHED_DEBUG_PRINT_ALWAYS(
|
||||||
"reach the maxinum peer num %d", peer_num);
|
"reach the maximum peer num %d", peer_num);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pdev->tx_peer_bal.limit_list[peer_num].peer_id = peer_id;
|
pdev->tx_peer_bal.limit_list[peer_num].peer_id = peer_id;
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2012-2020 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
|
* 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
|
||||||
@@ -765,7 +766,7 @@ ol_tx_sched_select_batch_wrr_adv(
|
|||||||
}
|
}
|
||||||
if (++category->state.wrr_count <
|
if (++category->state.wrr_count <
|
||||||
category->specs.wrr_skip_weight) {
|
category->specs.wrr_skip_weight) {
|
||||||
/* skip this cateogry (move it to the back) */
|
/* skip this category (move it to the back) */
|
||||||
ol_tx_sched_wrr_adv_rotate_order_list_tail(scheduler,
|
ol_tx_sched_wrr_adv_rotate_order_list_tail(scheduler,
|
||||||
index);
|
index);
|
||||||
/*
|
/*
|
||||||
|
@@ -433,7 +433,7 @@ int ol_tx_deduct_one_credit(struct ol_txrx_pdev_t *pdev)
|
|||||||
_lcl_freelist, _tx_desc_last) \
|
_lcl_freelist, _tx_desc_last) \
|
||||||
do { \
|
do { \
|
||||||
qdf_atomic_init(&(_tx_desc)->ref_cnt); \
|
qdf_atomic_init(&(_tx_desc)->ref_cnt); \
|
||||||
/* restore orginal hdr offset */ \
|
/* restore original hdr offset */ \
|
||||||
OL_TX_RESTORE_HDR((_tx_desc), (_netbuf)); \
|
OL_TX_RESTORE_HDR((_tx_desc), (_netbuf)); \
|
||||||
qdf_nbuf_unmap((_pdev)->osdev, (_netbuf), QDF_DMA_TO_DEVICE); \
|
qdf_nbuf_unmap((_pdev)->osdev, (_netbuf), QDF_DMA_TO_DEVICE); \
|
||||||
qdf_nbuf_free((_netbuf)); \
|
qdf_nbuf_free((_netbuf)); \
|
||||||
@@ -449,7 +449,7 @@ int ol_tx_deduct_one_credit(struct ol_txrx_pdev_t *pdev)
|
|||||||
#define ol_tx_msdu_complete_single(_pdev, _tx_desc, _netbuf,\
|
#define ol_tx_msdu_complete_single(_pdev, _tx_desc, _netbuf,\
|
||||||
_lcl_freelist, _tx_desc_last) \
|
_lcl_freelist, _tx_desc_last) \
|
||||||
do { \
|
do { \
|
||||||
/* restore orginal hdr offset */ \
|
/* restore original hdr offset */ \
|
||||||
OL_TX_RESTORE_HDR((_tx_desc), (_netbuf)); \
|
OL_TX_RESTORE_HDR((_tx_desc), (_netbuf)); \
|
||||||
qdf_nbuf_unmap((_pdev)->osdev, (_netbuf), QDF_DMA_TO_DEVICE); \
|
qdf_nbuf_unmap((_pdev)->osdev, (_netbuf), QDF_DMA_TO_DEVICE); \
|
||||||
qdf_nbuf_free((_netbuf)); \
|
qdf_nbuf_free((_netbuf)); \
|
||||||
|
@@ -1134,7 +1134,7 @@ ol_txrx_pdev_post_attach(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* LL - initialize the target credit outselves.
|
* LL - initialize the target credit ourselves.
|
||||||
* HL - wait for a HTT target credit initialization
|
* HL - wait for a HTT target credit initialization
|
||||||
* during htt_attach.
|
* during htt_attach.
|
||||||
*/
|
*/
|
||||||
@@ -3831,7 +3831,7 @@ static QDF_STATUS ol_txrx_bus_suspend(struct cdp_soc_t *soc_hdl,
|
|||||||
* @soc_hdl: Datapath soc handle
|
* @soc_hdl: Datapath soc handle
|
||||||
* @pdev_id: id of data path pdev handle
|
* @pdev_id: id of data path pdev handle
|
||||||
*
|
*
|
||||||
* Dummy function for symetry
|
* Dummy function for symmetry
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS_SUCCESS
|
* Return: QDF_STATUS_SUCCESS
|
||||||
*/
|
*/
|
||||||
@@ -3868,7 +3868,7 @@ void ol_txrx_discard_tx_pending(ol_txrx_pdev_handle pdev_handle)
|
|||||||
/*
|
/*
|
||||||
* First let hif do the qdf_atomic_dec_and_test(&tx_desc->ref_cnt)
|
* First let hif do the qdf_atomic_dec_and_test(&tx_desc->ref_cnt)
|
||||||
* then let htt do the qdf_atomic_dec_and_test(&tx_desc->ref_cnt)
|
* then let htt do the qdf_atomic_dec_and_test(&tx_desc->ref_cnt)
|
||||||
* which is tha same with normal data send complete path
|
* which is the same with normal data send complete path
|
||||||
*/
|
*/
|
||||||
htt_tx_pending_discard(pdev_handle->htt_pdev);
|
htt_tx_pending_discard(pdev_handle->htt_pdev);
|
||||||
|
|
||||||
@@ -5768,7 +5768,7 @@ static void ol_txrx_soc_detach(struct cdp_soc_t *soc)
|
|||||||
* @pdev_id: id of data path pdev handle
|
* @pdev_id: id of data path pdev handle
|
||||||
* @scn: device context
|
* @scn: device context
|
||||||
*
|
*
|
||||||
* Return: noe
|
* Return: none
|
||||||
*/
|
*/
|
||||||
static void ol_txrx_pkt_log_con_service(struct cdp_soc_t *soc_hdl,
|
static void ol_txrx_pkt_log_con_service(struct cdp_soc_t *soc_hdl,
|
||||||
uint8_t pdev_id, void *scn)
|
uint8_t pdev_id, void *scn)
|
||||||
@@ -5780,7 +5780,7 @@ static void ol_txrx_pkt_log_con_service(struct cdp_soc_t *soc_hdl,
|
|||||||
* @soc_hdl: Datapath soc handle
|
* @soc_hdl: Datapath soc handle
|
||||||
* @pdev_id: id of data path pdev handle
|
* @pdev_id: id of data path pdev handle
|
||||||
*
|
*
|
||||||
* Return: noe
|
* Return: none
|
||||||
*/
|
*/
|
||||||
static void ol_txrx_pkt_log_exit(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
|
static void ol_txrx_pkt_log_exit(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
|
||||||
{
|
{
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2015-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
|
* 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
|
||||||
@@ -724,7 +725,7 @@ int ol_tx_free_invalid_flow_pool(struct ol_tx_flow_pool_t *pool)
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* direclty distribute to other deficient pools */
|
/* directly distribute to other deficient pools */
|
||||||
ol_tx_distribute_descs_to_deficient_pools(pool);
|
ol_tx_distribute_descs_to_deficient_pools(pool);
|
||||||
|
|
||||||
qdf_spin_lock_bh(&pool->flow_pool_lock);
|
qdf_spin_lock_bh(&pool->flow_pool_lock);
|
||||||
@@ -1005,7 +1006,7 @@ int ol_tx_distribute_descs_to_deficient_pools_from_global_pool(void)
|
|||||||
if (!desc_move_count)
|
if (!desc_move_count)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* destribute desc to deficient pool */
|
/* distribute desc to deficient pool */
|
||||||
qdf_spin_lock_bh(&pdev->tx_desc.flow_pool_list_lock);
|
qdf_spin_lock_bh(&pdev->tx_desc.flow_pool_list_lock);
|
||||||
TAILQ_FOREACH(dst_pool, &pdev->tx_desc.flow_pool_list,
|
TAILQ_FOREACH(dst_pool, &pdev->tx_desc.flow_pool_list,
|
||||||
flow_pool_list_elem) {
|
flow_pool_list_elem) {
|
||||||
|
@@ -900,7 +900,7 @@ QDF_STATUS ol_txrx_ipa_setup_iface(char *ifname, uint8_t *mac_addr,
|
|||||||
ret = qdf_ipa_wdi_reg_intf(&in);
|
ret = qdf_ipa_wdi_reg_intf(&in);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
|
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
|
||||||
"%s: ipa_wdi_reg_intf falied: ret=%d", __func__, ret);
|
"%s: ipa_wdi_reg_intf failed: ret=%d", __func__, ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2015-2019,2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011, 2015-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
|
* 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
|
||||||
@@ -33,7 +34,7 @@
|
|||||||
* @dbg_id: debug id to keep track of peer references
|
* @dbg_id: debug id to keep track of peer references
|
||||||
*
|
*
|
||||||
* The function increments the peer ref count. The ref count can be reduced by
|
* The function increments the peer ref count. The ref count can be reduced by
|
||||||
* caling ol_txrx_peer_release_ref function. Callers are responsible for
|
* calling ol_txrx_peer_release_ref function. Callers are responsible for
|
||||||
* acquiring the peer_ref_mutex lock when needed.
|
* acquiring the peer_ref_mutex lock when needed.
|
||||||
*
|
*
|
||||||
* Return: peer debug id ref count or error
|
* Return: peer debug id ref count or error
|
||||||
|
@@ -1185,7 +1185,7 @@ QDF_STATUS dp_rx_tm_flush_by_vdev_id(struct dp_rx_tm_handle *rx_tm_hdl,
|
|||||||
wait_timeout);
|
wait_timeout);
|
||||||
|
|
||||||
/* if one thread timeout happened, shrink timeout value
|
/* if one thread timeout happened, shrink timeout value
|
||||||
* to 1/4 of origional value
|
* to 1/4 of original value
|
||||||
*/
|
*/
|
||||||
if (qdf_status == QDF_STATUS_E_TIMEOUT)
|
if (qdf_status == QDF_STATUS_E_TIMEOUT)
|
||||||
wait_timeout = DP_RX_THREAD_WAIT_TIMEOUT / 4;
|
wait_timeout = DP_RX_THREAD_WAIT_TIMEOUT / 4;
|
||||||
|
@@ -244,7 +244,7 @@ QDF_STATUS dp_rx_tm_enqueue_pkt(struct dp_rx_tm_handle *rx_tm_hdl,
|
|||||||
/**
|
/**
|
||||||
* dp_rx_tm_gro_flush_ind() - flush GRO packets for a RX Context Id
|
* dp_rx_tm_gro_flush_ind() - flush GRO packets for a RX Context Id
|
||||||
* @rx_tm_hdl: dp_rx_tm_handle containing the overall thread infrastructure
|
* @rx_tm_hdl: dp_rx_tm_handle containing the overall thread infrastructure
|
||||||
* @rx_ctx_id: RX Thread Contex Id for which GRO flush needs to be done
|
* @rx_ctx_id: RX Thread Context Id for which GRO flush needs to be done
|
||||||
* @flush_code: flush code to differentiate low TPUT flush
|
* @flush_code: flush code to differentiate low TPUT flush
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS_SUCCESS
|
* Return: QDF_STATUS_SUCCESS
|
||||||
|
新しいイシューから参照
ユーザーをブロックする