linux/drivers/net/wireless/microchip/wilc1000
David Mosberger-Tang b530d5f39c wilc1000: Improve WILC TX performance when power_save is off
The wakeup and sleep commands need to be sent to the WILC chip only
when it is in power save mode (PSM, as controlled by "iw dev wlan0 set
power_save on/off").  The commands are relatively costly, so it pays
to skip them when possible.

iperf3 without this patch (no significant different with PSM on/off):
  TX   0.00-120.01 sec   140 MBytes  9.82 Mbits/sec
  RX   0.00-120.69 sec   283 MBytes  19.6 Mbits/sec

with this patch applied:

PSM off (TX is 46% improved, RX slightly improved; may not be significant):
  TX   0.00-120.00 sec   206 MBytes  14.4 Mbits/sec
  RX   0.00-120.48 sec   322 MBytes  22.4 Mbits/sec

PSM on (no significant change):
  TX   0.00-120.00 sec   140 MBytes  9.78 Mbits/sec
  RX   0.00-120.08 sec   257 MBytes  18.0 Mbits/sec

Signed-off-by: David Mosberger-Tang <davidm@egauge.net>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211210203016.3680425-2-davidm@egauge.net
2021-12-16 10:30:21 +02:00
..
cfg80211.c wilc1000: Rename workqueue from "WILC_wq" to "NETDEV-wq" 2021-12-14 20:46:35 +02:00
cfg80211.h
fw.h wilc1000: use flexible-array member instead of zero-length array 2021-01-14 19:33:02 +02:00
hif.c wilc1000: Improve WILC TX performance when power_save is off 2021-12-16 10:30:21 +02:00
hif.h wilc1000: add new WID to pass wake_enable information to firmware 2021-09-21 18:08:15 +03:00
Kconfig wilc1000: Add support for enabling CRC 2021-04-17 20:47:40 +03:00
Makefile wilc1000: use API version number info along with firmware filename 2020-07-14 20:52:27 +03:00
mon.c cfg80211: change netdev registration/unregistration semantics 2021-01-22 16:28:39 +01:00
netdev.c wilc1000: Rename workqueue from "WILC_wq" to "NETDEV-wq" 2021-12-14 20:46:35 +02:00
netdev.h wilc1000: Improve WILC TX performance when power_save is off 2021-12-16 10:30:21 +02:00
sdio.c wilc1000: handle read failure issue for clockless registers 2021-09-21 18:08:16 +03:00
spi.c wilc1000: Rename SPI driver from "WILC_SPI" to "wilc1000_spi" 2021-12-14 20:46:33 +02:00
wlan_cfg.c wilc1000: add new WID to pass wake_enable information to firmware 2021-09-21 18:08:15 +03:00
wlan_cfg.h
wlan_if.h wilc1000: configure registers to handle chip wakeup sequence 2021-09-21 18:08:15 +03:00
wlan.c wilc1000: Improve WILC TX performance when power_save is off 2021-12-16 10:30:21 +02:00
wlan.h wilc1000: Rename SPI driver from "WILC_SPI" to "wilc1000_spi" 2021-12-14 20:46:33 +02:00