ath9k: add new function ath9k_hw_read_array
authorOleksij Rempel <linux@rempel-privat.de>
Sun, 22 Mar 2015 18:29:51 +0000 (19:29 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Mar 2015 08:31:29 +0000 (11:31 +0300)
commita57cb45a0a051601e14f81436b62750cc4f478c3
tree4e24818d82bc299f92c0b023cf6eff1b9e618ad4
parentd55ce0a6f98305c75c4581d7a19be622bb95179a
ath9k: add new function ath9k_hw_read_array

REG_READ generate most overhead on usb bus. It send and read micro packages
and reduce usb bandwidth. To reduce this overhead we should read in batches.

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