ath6kl: Support for TCP checksum offload to firmware
authorRishi Panjwani <rpanjwan@qca.qualcomm.com>
Tue, 27 Dec 2011 22:28:00 +0000 (14:28 -0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 2 Jan 2012 16:23:10 +0000 (18:23 +0200)
commitbc48ad31c5814feb4ff8faca9a8d422279593cb1
tree620e41df17adefa11fec9d8c2c11541c2d4ebc66
parentba1f6fe393c329230d2589ea508cbf90ff3cc9ce
ath6kl: Support for TCP checksum offload to firmware

The change enables offloading TCP checksum calculation to firmware.
There are still some issues with the checksum offload so better to
disable it by default until the issues are resolved.

To enable TCP checksum offload for tx and rx paths, use
the ethtool as follows:
ethtool -K <interface> tx on
ethtool -K <interface> rx on

To disable TCP checksum offload, for tx and rx paths, use
the ethtool as follows:
ethtool -K <interface> tx off
ethtool -K <interface> rx off

kvalo: indentation changes

Signed-off-by: Rishi Panjwani <rpanjwan@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/init.c
drivers/net/wireless/ath/ath6kl/main.c
drivers/net/wireless/ath/ath6kl/txrx.c
drivers/net/wireless/ath/ath6kl/wmi.h