diff options
author | Jussi Kivilinna | 2011-02-12 20:43:42 +0200 |
---|---|---|
committer | John W. Linville | 2011-02-14 15:51:21 -0500 |
commit | 8662b2518ff7995002378058488326ef7cb80de8 (patch) | |
tree | e7b0d1c7fca5820a46ac2411a5b4a8e36f8779c4 /samples | |
parent | eefdbec1ea8b7093d2c09d1825f68438701723cf (diff) |
zd1211rw: move async iowrite16v up to callers
Writing beacon to device happen through multiple write command calls.
zd_usb_iowrite16v uses synchronous urb call and with multiple write
commands in row causes high CPU usage.
Make asynchronous zd_usb_iowrite16v_async available outside zd_usb.c
and use where possible.
This lower CPU usage from ~10% to ~2% on Intel Atom when running
AP-mode with 100 TU beacon interval.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions