Lines Matching full:txp
141 struct mt76x2_tx_power_info txp; in mt76x2_phy_set_txpower() local
146 mt76x2_get_power_info(dev, &txp, chan); in mt76x2_phy_set_txpower()
149 delta = txp.delta_bw40; in mt76x2_phy_set_txpower()
151 delta = txp.delta_bw80; in mt76x2_phy_set_txpower()
154 mt76x02_add_rate_power_offset(&t, txp.target_power + delta); in mt76x2_phy_set_txpower()
159 delta = base_power - txp.target_power; in mt76x2_phy_set_txpower()
160 txp_0 = txp.chain[0].target_power + txp.chain[0].delta + delta; in mt76x2_phy_set_txpower()
161 txp_1 = txp.chain[1].target_power + txp.chain[1].delta + delta; in mt76x2_phy_set_txpower()
175 dev->target_power = txp.target_power; in mt76x2_phy_set_txpower()
176 dev->target_power_delta[0] = txp_0 - txp.chain[0].target_power; in mt76x2_phy_set_txpower()
177 dev->target_power_delta[1] = txp_1 - txp.chain[0].target_power; in mt76x2_phy_set_txpower()
206 struct mt76x2_tx_power_info txp; in mt76x2_phy_tssi_compensate() local
222 mt76x2_get_power_info(dev, &txp, chan); in mt76x2_phy_tssi_compensate()
228 t.slope0 = txp.chain[0].tssi_slope; in mt76x2_phy_tssi_compensate()
229 t.offset0 = txp.chain[0].tssi_offset; in mt76x2_phy_tssi_compensate()
230 t.slope1 = txp.chain[1].tssi_slope; in mt76x2_phy_tssi_compensate()
231 t.offset1 = txp.chain[1].tssi_offset; in mt76x2_phy_tssi_compensate()