mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Increase default tx_queue_len for WLAN netdevice
qcacld-2.0 to qcacld-3.0 propagation An increase in tx_queue_len of netdev to 3000 is giving us better TCP TX performance. Hence, increasing its value from its default (1000). This gives us about 30 - 40 Mbps of boost. Change-Id: I68f26ac0f4a040b0bbf10dd571dae8e5316f16b3 CRs-Fixed: 927673
This commit is contained in:
parent
e71e2264cd
commit
ee9e80f8d4
3 changed files with 6 additions and 0 deletions
|
|
@ -75,6 +75,10 @@
|
|||
#else
|
||||
#define NUM_TX_QUEUES 4
|
||||
#endif
|
||||
|
||||
/** Length of the TX queue for the netdev */
|
||||
#define HDD_NETDEV_TX_QUEUE_LEN (3000)
|
||||
|
||||
/** Bytes to reserve in the headroom */
|
||||
#define LIBRA_HW_NEEDED_HEADROOM 128
|
||||
/** Hdd Tx Time out value */
|
||||
|
|
|
|||
|
|
@ -5935,6 +5935,7 @@ hdd_adapter_t *hdd_wlan_create_ap_dev(hdd_context_t *pHddCtx,
|
|||
|
||||
pWlanHostapdDev->watchdog_timeo = HDD_TX_TIMEOUT;
|
||||
pWlanHostapdDev->mtu = HDD_DEFAULT_MTU;
|
||||
pWlanHostapdDev->tx_queue_len = HDD_NETDEV_TX_QUEUE_LEN;
|
||||
|
||||
cdf_mem_copy(pWlanHostapdDev->dev_addr, (void *)macAddr,
|
||||
sizeof(tSirMacAddr));
|
||||
|
|
|
|||
|
|
@ -1812,6 +1812,7 @@ static hdd_adapter_t *hdd_alloc_station_adapter(hdd_context_t *hdd_ctx,
|
|||
|
||||
pWlanDev->destructor = free_netdev;
|
||||
pWlanDev->ieee80211_ptr = &adapter->wdev;
|
||||
pWlanDev->tx_queue_len = HDD_NETDEV_TX_QUEUE_LEN;
|
||||
adapter->wdev.wiphy = hdd_ctx->wiphy;
|
||||
adapter->wdev.netdev = pWlanDev;
|
||||
/* set pWlanDev's parent to underlying device */
|
||||
|
|
|
|||
Loading…
Reference in a new issue