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. *[RFC 1/3]: add chainmask parameter to ath9k_hw_get_scaled_power() to compute maximum TX power for different number of TX chains *[RFC 2/3]: add TX power per-rate per-chain tables to cap TX power in TX descriptor path *[RFC 3/3]: cap per-packet TX power according to TX power per-rate per-chain tables This pachset is based on Adrian Chadd's hints (https://www.mail-archive.com/ath9k-devel@xxxxxxxxxxxxxxx/msg10396.html) Lorenzo Bianconi (3): ath9k: add chainmask parameter to ath9k_hw_get_scaled_power() ath9k: add TX power per-rate per-chain 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 | 68 +++++- drivers/net/wireless/ath/ath9k/ar9003_eeprom.h | 5 + drivers/net/wireless/ath/ath9k/ar9003_mac.c | 8 +- drivers/net/wireless/ath/ath9k/ar9003_phy.c | 281 +++++++++++++++++++++++++ drivers/net/wireless/ath/ath9k/ath9k.h | 1 + drivers/net/wireless/ath/ath9k/beacon.c | 5 +- drivers/net/wireless/ath/ath9k/eeprom.c | 4 +- drivers/net/wireless/ath/ath9k/eeprom.h | 2 +- drivers/net/wireless/ath/ath9k/eeprom_9287.c | 3 +- drivers/net/wireless/ath/ath9k/eeprom_def.c | 3 +- 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 | 41 +++- 15 files changed, 419 insertions(+), 20 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