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 -- 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