]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Don't recalculate HT40 compensation for each rate
authorHelmut Schaa <helmut.schaa@googlemail.com>
Mon, 28 Mar 2011 11:32:01 +0000 (13:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Apr 2011 20:20:02 +0000 (16:20 -0400)
commit9d2feb57dc9da074b52b1a8a02a9e4c1eda0eb52
treea7492fb3651ad39cc053e64f0af19469f1958f2d
parent27d152f0cbbe3391fba08e9e221b963240131a79
rt2x00: Don't recalculate HT40 compensation for each rate

Previously the HT40 tx power compensation value was calculated for each
rate. However, the calculation is independent of the tx rate and as such
can be precalculated and just passed in for each rate.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c