diff options
| author | jiad <jiad@codeaurora.org> | 2017-07-24 22:38:03 +0800 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-08-31 21:58:53 -0700 |
| commit | b3ebff8ceceea026114b197f43405e1136a65e85 (patch) | |
| tree | 84b9fa3889f5933ef13e2c25bbc87829a4dea673 | |
| parent | 5c10a8e79cdcb99f5bef758578a041072955e40d (diff) | |
qcacld-3.0: fix pause queue tx margin for MDM
For MDM platforms with IPA offload, tx margin of 400 in MCC mode
is not applicable and thus tput is not able to achieve KPI.
Fix is to define a new marco for MDM platform specific tx flow
control and set tx margin to 0.
Change-Id: Id7c4b078714d72fae907c270eca9f62147cfc3bb
CRs-Fixed: 2081350
| -rw-r--r-- | Kbuild | 3 | ||||
| -rw-r--r-- | core/dp/txrx/ol_tx.c | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -1552,6 +1552,9 @@ CDEFINES += -DQCA_HT_2040_COEX #features specific to mobile router use case ifeq ($(CONFIG_MOBILE_ROUTER), y) +#MDM platform specific LL Legacy TX flow control +CDEFINES += -DFEATURE_WLAN_LL_LEGACY_TX_FLOW_CT + #enable MCC TO SCC switch CDEFINES += -DFEATURE_WLAN_MCC_TO_SCC_SWITCH diff --git a/core/dp/txrx/ol_tx.c b/core/dp/txrx/ol_tx.c index 0753606f85e8..a064ec1e5a55 100644 --- a/core/dp/txrx/ol_tx.c +++ b/core/dp/txrx/ol_tx.c @@ -981,7 +981,12 @@ ol_tx_ll_wrapper(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list) #ifdef QCA_LL_LEGACY_TX_FLOW_CONTROL +#ifdef FEATURE_WLAN_LL_LEGACY_TX_FLOW_CT +#define OL_TX_VDEV_PAUSE_QUEUE_SEND_MARGIN 0 +#else #define OL_TX_VDEV_PAUSE_QUEUE_SEND_MARGIN 400 +#endif + #define OL_TX_VDEV_PAUSE_QUEUE_SEND_PERIOD_MS 5 static void ol_tx_vdev_ll_pause_queue_send_base(struct ol_txrx_vdev_t *vdev) { |
