ath9k_htc: add new WMI_REG_RMW_CMDID command
authorOleksij Rempel <linux@rempel-privat.de>
Sun, 22 Mar 2015 18:29:46 +0000 (19:29 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Mar 2015 08:31:18 +0000 (11:31 +0300)
commit8badb50cfab6d433622dbfd5a90b6adf27333107
treeb8b6569c7390aaa1a8fb693c5e37a4935d0175bb
parente480e1344873b6a715d06a003e603d86a11a4033
ath9k_htc: add new WMI_REG_RMW_CMDID command

Since usb bus add extra delay on each request, a command
with read + write requests is too expensive. We can dramtically
reduce usb load by moving this command to firmware.

In my tests, this patch will reduce channel scan time
for about 5-10 seconds.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/ath9k/htc.h
drivers/net/wireless/ath/ath9k/htc_drv_init.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/wmi.c
drivers/net/wireless/ath/ath9k/wmi.h