Home
last modified time | relevance | path

Searched refs:trgt_power (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c820 p.trgt_power = mt7601u_current_tx_power(dev); in mt7601u_tssi_params_get()
841 p.trgt_power += rate_table[tx_rate / 2].bw20; in mt7601u_tssi_params_get()
843 p.trgt_power += rate_table[tx_rate / 2].bw40; in mt7601u_tssi_params_get()
845 p.trgt_power <<= 12; in mt7601u_tssi_params_get()
847 dev_dbg(dev->dev, "tx_rate:%02hhx pwr:%08x\n", tx_rate, p.trgt_power); in mt7601u_tssi_params_get()
849 p.trgt_power += mt7601u_phy_rf_pa_mode_val(dev, pkt_type & 0x03, in mt7601u_tssi_params_get()
855 p.trgt_power += mt7601u_bbp_rr(dev, 178) ? 18022 : 9830; in mt7601u_tssi_params_get()
857 p.trgt_power += mt7601u_bbp_rr(dev, 178) ? 819 : 24576; in mt7601u_tssi_params_get()
860 p.trgt_power += static_power[mt7601u_bbp_rr(dev, 1) & 0x03]; in mt7601u_tssi_params_get()
862 p.trgt_power += dev->ee->tssi_data.tx0_delta_offset; in mt7601u_tssi_params_get()
[all …]
H A Dmt7601u.h249 int trgt_power; member