]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: initialize msdu ext. descriptor before use
authorPeter Oh <poh@qca.qualcomm.com>
Wed, 29 Jul 2015 08:58:50 +0000 (11:58 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 30 Jul 2015 14:05:29 +0000 (17:05 +0300)
commit489686c1a728e3728f2d5991ed2c59f0c821783c
treeb63f316952f68eef182c4852b73e9a87a04ebdb3
parentfb2699560596d6ca2b8fa8a9308d1e8719a57c4a
ath10k: initialize msdu ext. descriptor before use

Initial QCA99X0 support has a known issue with TCP Tx throughput.
All other path such as UDP Tx/Rx and TCP Rx meet their expectation
(> 900Mbps), but TCP Tx marked as low as 5Mbps when single pair is
used on iperf.

The root cause is turned out because TSO flag is not initialized
properly so that firmware configures TSO in wrong way.
TSO flags in msdu extension descriptor is required to be reset
to indicate firmware there is no TSO is enabled, otherwise it
could act as TSO is enabled which causes huge throughput drop.

In fact, it's enough by resetting TSO flags only to prevent the
unexpected behavior, but initializing whole msdu ext. descriptor
will help to clear uncertainty of firmware could bring on as it
constantly updated.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_tx.c