Re: [RFC 0/3] add TPC capability for AR9002 based chips
From: Lorenzo Bianconi <hidden>
Date: 2014-12-29 14:18:22
Am 28.12.2014 um 15:32 schrieb Lorenzo Bianconi:quoted
quoted
Hi, can you please describe some testcases for you patches.This patchset adds Transmission Power Control (TPC) for AR9002 based chips. IOW it enables the capability of correct TX power on per-packet basis. It is preparatory for upcoming Thomas's joint rate and power control algorithm.Do you mean, right now there is no way to test your patches?
I have just added TPC support to ath9k. In order to exploit that hw feature we have to wait Thomas's algorithm :). However in order to test patches you can set tx_power field of ath_frame_info data structure in setup_frame_info() to a different value (for the moment it is set to MAX_RATE_POWER) and measure the RX power on the other end of the link (this is what I did). Regards, Lorenzo
quoted
Regards, Lorenzoquoted
Am 27.12.2014 um 15:12 schrieb Lorenzo Bianconi:quoted
This patchset adds TPC capability to ath9k for AR9002 based chips *[RFC 1/3]: add TX power per-rate tables to cap TX power in TX descriptor path *[RFC 2/3]: cap per-packet TX power according to TX power per-rate tables *[RFC 3/3]: enable per-packet TPC on AR9002 based chips by default This pachset is based on Adrian Chadd's hints (https://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg10396.html) Lorenzo Bianconi (3): ath9k: add power per-rate tables for AR9002 chips ath9k: add TPC to TX path for AR9002 based chips ath9k: enable per-packet TPC on AR9002 based chips drivers/net/wireless/ath/ath9k/ar5008_phy.c | 80 ++++++++++++++++++++++++++++ drivers/net/wireless/ath/ath9k/debug.c | 5 -- drivers/net/wireless/ath/ath9k/eeprom_4k.c | 14 +++++ drivers/net/wireless/ath/ath9k/eeprom_9287.c | 15 ++++++ drivers/net/wireless/ath/ath9k/eeprom_def.c | 14 +++++ drivers/net/wireless/ath/ath9k/hw.c | 3 +- drivers/net/wireless/ath/ath9k/hw.h | 2 + drivers/net/wireless/ath/ath9k/xmit.c | 66 +++++++++++++++++++---- 8 files changed, 181 insertions(+), 18 deletions(-)-- Regards, Oleksij-- Regards, Oleksij
-- UNIX is Sexy: who | grep -i blonde | talk; cd ~; wine; talk; touch; unzip; touch; strip; gasp; finger; gasp; mount; fsck; more; yes; gasp; umount; make clean; sleep