]> git.karo-electronics.de Git - linux-beck.git/commit
ath9k: Introduce bit masks for valid and valid_single_stream.
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Tue, 27 Jul 2010 13:46:31 +0000 (19:16 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Jul 2010 18:59:58 +0000 (14:59 -0400)
commitf63b340d1bab58aac07ae1b528d58a73b76b0970
tree98cee83abc348f3f21f64c204e52291239f97aa6
parent32162a4dab0e6a4ca7f886a01173b5f9b80843be
ath9k: Introduce bit masks for valid and valid_single_stream.

replace valid and valid_single_stream in rate table with bit masks
and reorganize the code so adding 3x3 rate control would be easier.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/rc.c
drivers/net/wireless/ath/ath9k/rc.h