This patchset adds TPC capability to ath9k for AR9003 based chips. For the time being some FCC checks are missing in ar9003_hw_init_txpower_stbc() and CDD mode is not supported. *[PATCH 1/2]: add TX power per-rate tables to cap TX power in TX descriptor path *[PATCH 2/2]: cap per-packet TX power according to TX power per-rate tables This pachset is based on Adrian Chadd's hints (https://www.mail-archive.com/ath9k-devel@xxxxxxxxxxxxxxx/msg10396.html) Changes since RFC: - make the ah->txpower array one-dimensional and store max TX power for the current chainmask only Lorenzo Bianconi (2): ath9k: add TX power per-rate tables ath9k: add TPC capability to TX descriptor path drivers/net/wireless/ath/ath9k/ar9002_mac.c | 8 +- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 47 +++++++ drivers/net/wireless/ath/ath9k/ar9003_mac.c | 8 +- drivers/net/wireless/ath/ath9k/ar9003_phy.c | 174 +++++++++++++++++++++++++ drivers/net/wireless/ath/ath9k/ath9k.h | 1 + drivers/net/wireless/ath/ath9k/beacon.c | 5 +- drivers/net/wireless/ath/ath9k/hw.h | 6 + drivers/net/wireless/ath/ath9k/mac.h | 2 +- drivers/net/wireless/ath/ath9k/reg.h | 2 + drivers/net/wireless/ath/ath9k/xmit.c | 37 +++++- 10 files changed, 278 insertions(+), 12 deletions(-) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html