qcacld-3.0: Use only 2 copy engine for RFS in Genoa
Use only 2 copy engine channels for RFS in QCN7605 (Genoa) if IPA is enabled. Change-Id: Iabc1c21960807c707b2c9c2ad66d2e426dcb38ab CRs-Fixed: 2265172
This commit is contained in:

committed by
nshrivas

orang tua
db3c6f57e3
melakukan
23054cfb6d
@@ -325,6 +325,31 @@ void htt_clear_bundle_stats(htt_pdev_handle pdev)
|
||||
*
|
||||
* Return: 0 for success or error code.
|
||||
*/
|
||||
|
||||
#if defined(QCN7605_SUPPORT) && defined(IPA_OFFLOAD)
|
||||
|
||||
/* In case of QCN7605 with IPA offload only 2 CE
|
||||
* are used for RFS
|
||||
*/
|
||||
static int
|
||||
htt_htc_attach_all(struct htt_pdev_t *pdev)
|
||||
{
|
||||
if (htt_htc_attach(pdev, HTT_DATA_MSG_SVC))
|
||||
goto flush_endpoint;
|
||||
|
||||
if (htt_htc_attach(pdev, HTT_DATA2_MSG_SVC))
|
||||
goto flush_endpoint;
|
||||
|
||||
return 0;
|
||||
|
||||
flush_endpoint:
|
||||
htc_flush_endpoint(pdev->htc_pdev, ENDPOINT_0, HTC_TX_PACKET_TAG_ALL);
|
||||
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
static int
|
||||
htt_htc_attach_all(struct htt_pdev_t *pdev)
|
||||
{
|
||||
@@ -344,6 +369,9 @@ flush_endpoint:
|
||||
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
/**
|
||||
* htt_htc_attach_all() - Connect to HTC service for HTT
|
||||
|
Reference in New Issue
Block a user