|
@@ -1,5 +1,6 @@
|
|
/*
|
|
/*
|
|
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
|
|
* 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
|
|
* 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
|
|
@@ -62,17 +63,10 @@ static void dp_rx_refill_thread_schedule(ol_txrx_soc_handle soc)
|
|
*
|
|
*
|
|
* Return: number of threads
|
|
* Return: number of threads
|
|
*/
|
|
*/
|
|
-#ifdef WLAN_FEATURE_REDUCE_RX_THREADS
|
|
|
|
-static uint8_t dp_get_rx_threads_num(ol_txrx_soc_handle soc)
|
|
|
|
-{
|
|
|
|
- return DP_REDUCED_NUM_RX_THREADS;
|
|
|
|
-}
|
|
|
|
-#else
|
|
|
|
static uint8_t dp_get_rx_threads_num(ol_txrx_soc_handle soc)
|
|
static uint8_t dp_get_rx_threads_num(ol_txrx_soc_handle soc)
|
|
{
|
|
{
|
|
return cdp_get_num_rx_contexts(soc);
|
|
return cdp_get_num_rx_contexts(soc);
|
|
}
|
|
}
|
|
-#endif
|
|
|
|
|
|
|
|
QDF_STATUS dp_txrx_init(ol_txrx_soc_handle soc, uint8_t pdev_id,
|
|
QDF_STATUS dp_txrx_init(ol_txrx_soc_handle soc, uint8_t pdev_id,
|
|
struct dp_txrx_config *config)
|
|
struct dp_txrx_config *config)
|