ath9k: add TX power per-rate tables
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Mon, 24 Nov 2014 23:21:40 +0000 (00:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Nov 2014 19:09:56 +0000 (14:09 -0500)
commit23f53dd3062628d2215cab810e4cfc22c29d47ee
treece41f0b0b1835e53e09e8b3800580bdcb38907dd
parent4f3fff148679d5850994e53c57eb798cd201c88c
ath9k: add TX power per-rate tables

Add TX power per-rate tables for different MIMO modes (e.g STBC) in order to
cap the maximum TX power value per-rate in the TX descriptor path.
Cap TX power for self generated frames (ACK, RTS/CTS).
Currently TPC is supported just by AR9003 based chips

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
drivers/net/wireless/ath/ath9k/ar9003_phy.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/reg.h