]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: Fix register read through bulk pipe
authorRajkumar Manoharan <rmanoharan@atheros.com>
Thu, 16 Sep 2010 14:26:55 +0000 (19:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Sep 2010 19:46:08 +0000 (15:46 -0400)
commit84e5d156cd071eec89646ee50af5a6af6a6e948b
tree72cdac02239c0be521a1bcd89c4e58e4e8664b43
parent381b050b58912a2f71be4e0988afaf91f2db7c0c
ath9k_htc: Fix register read through bulk pipe

To optimize register read/write operations, the HTC firmwares were patched
to change EP3 and EP4 pipe types from Interrupt to Bulk. So register writes
are submitted as bulk urbs, but register reads are not. Also changing the
register read endpoint pipe as bulk type when URBs are filled improves the
register reads considerably which results in reduced scan time and CPU
utilization.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hif_usb.c