]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix PA predistortion thermal measurement handling
authorFelix Fietkau <nbd@openwrt.org>
Mon, 13 Dec 2010 07:40:52 +0000 (08:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 13 Dec 2010 20:23:32 +0000 (15:23 -0500)
commit8edafbc767085f63c78d82963a56861c1a9eac3a
treead58d3195819e33ded6f208253a849b4211c8ce9
parent816e10d316817f560daaa68ac86a2081f25deac4
ath9k: fix PA predistortion thermal measurement handling

To be able to measure the thermal values correctly for PAPRD, we need
to send training frames before setting up the gain table for the measurement,
and then again afterwards for the actual training.

For further improvement, send training frames at MCS0 instead of 54 MBit/s
legacy. That way we can use the No-ACK flag for the transmission, which
speeds up PAPRD training in general, as the hardware won't have to
retransmit and wait for ACK timeout (was previously set to 4 * 6
transmission attempts).

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c