qcacld-3.0: Enable TSO

Add FEATURE_TSO flag in Kbuild to enable the
TSO feature for Lithium based chipsets

Change-Id: Ie26b2b9a191828b3ce833000a7abbb09dd492713
CRs-Fixed: 2042950
This commit is contained in:
Venkata Sharath Chandra Manchala 2017-05-04 14:18:09 -07:00 committed by snandini
parent 905e33947d
commit 1676defe7e
3 changed files with 5 additions and 3 deletions

2
Kbuild
View File

@ -2094,6 +2094,8 @@ CDEFINES += -DDP_INTR_POLL_BASED
CDEFINES += -DTX_PER_PDEV_DESC_POOL
CDEFINES += -DWLAN_RX_HASH
CDEFINES += -DCONFIG_DP_TRACE
CDEFINES += -DFEATURE_TSO
CDEFINES += -DTSO_DEBUG_LOG_ENABLE
CDEFINES += -DDP_LFR
endif

View File

@ -1404,7 +1404,7 @@ int htt_tx_ipa_uc_detach(struct htt_pdev_t *pdev)
}
#endif /* IPA_OFFLOAD */
#if defined(FEATURE_TSO)
#if defined(FEATURE_TSO) && defined(HELIUMPLUS)
void
htt_tx_desc_fill_tso_info(htt_pdev_handle pdev, void *desc,
struct qdf_tso_info_t *tso_info)
@ -1417,7 +1417,7 @@ htt_tx_desc_fill_tso_info(htt_pdev_handle pdev, void *desc,
word = (u_int32_t *)(desc);
/* Initialize the TSO flags per MSDU */
((struct msdu_ext_desc_t *)msdu_ext_desc)->tso_flags =
msdu_ext_desc->tso_flags =
tso_seg->seg.tso_flags;
/* First 24 bytes (6*4) contain the TSO flags */

View File

@ -838,7 +838,7 @@ void htt_tx_desc_set_chanfreq(void *htt_tx_desc, uint16_t chanfreq)
*chanfreq_field_ptr = chanfreq;
}
#if defined(FEATURE_TSO)
#if defined(FEATURE_TSO) && defined(HELIUMPLUS)
void
htt_tx_desc_fill_tso_info(htt_pdev_handle pdev, void *desc,
struct qdf_tso_info_t *tso_info);