> On 2014-11-20 14:31, Lorenzo Bianconi wrote: >> Add TX power per-rate per-chain 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@xxxxxxxxx> > I think you should make the ah->txpower array one-dimensional and store > it for the current chainmask only - this will simplify the code. > The chainmask cannot be changed while the interface is up, so there's no > need to make this dynamically switchable. > > - Felix Ack. In this way I can drop patch 1/3 and simplify the code. Thx :) Lorenzo -- 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 -- 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