commit | 25eeb9e3876a161e3afcc820c6cb72e13f9b7c7e | [log] [tgz] |
---|---|---|
author | Ido Yariv <ido@wizery.com> | Tue Oct 12 16:20:06 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Nov 15 13:25:06 2010 -0500 |
tree | 433aef6e8bc0ec254c99ebbfce150cb104078185 | |
parent | a522550a283de31c7cfc30c7a129ce584e38c582 [diff] |
wl1271: Allocate TX descriptors more efficiently On each TX descriptor allocation, a free entry is found by traversing the TX descriptors array. Improve this by holding a bitmap of all TX descriptors, and using efficient bit operations to search for free entries. Signed-off-by: Ido Yariv <ido@wizery.com> Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>