]> git.baikalelectronics.ru Git - kernel.git/commit
b43: Rewrite TX power adjustment
authorMichael Buesch <mb@bu3sch.de>
Thu, 28 Aug 2008 17:33:40 +0000 (19:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Aug 2008 20:24:13 +0000 (16:24 -0400)
commitc66cf5181479954458e79a4c1d42629d31fb7e57
tree1b294669d04c207d8e90b5807780fe4eb81778d9
parentea9e077df14faf3e44ac59f79371b5b6300839bf
b43: Rewrite TX power adjustment

This patch rewrites the TX power recalculation algorithms to scale better
with changed enviromnent. If there's low
TX traffic, the power will be checked against the desired values
every 60 seconds.
If there is high TX traffic, the check is redone every 2 seconds. This improves
the reaction times a lot and confuses the rate control less.
It will also reduce the time it initially takes to tune to a new TX power
value. With the old algorithm it could take about 30 to 45 seconds to settle to
a new power value. This will happen in about two to four seconds now.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43/nphy.c
drivers/net/wireless/b43/phy_a.c
drivers/net/wireless/b43/phy_common.c
drivers/net/wireless/b43/phy_common.h
drivers/net/wireless/b43/phy_g.c
drivers/net/wireless/b43/phy_g.h
drivers/net/wireless/b43/xmit.c