Searched refs:tssi_offset (Results 1 – 5 of 5) sorted by relevance
703 int tssi_offset, tssi_db, ret; in mt76x0_phy_get_delta_power() local722 tssi_offset = val >> 8; in mt76x0_phy_get_delta_power()723 if ((tssi_offset >= 64 && tssi_offset <= 127) || in mt76x0_phy_get_delta_power()724 (tssi_offset & BIT(7))) in mt76x0_phy_get_delta_power()725 tssi_offset -= BIT(8); in mt76x0_phy_get_delta_power()729 tssi_offset = val >> 8; in mt76x0_phy_get_delta_power()730 if (tssi_offset & BIT(7)) in mt76x0_phy_get_delta_power()731 tssi_offset -= BIT(8); in mt76x0_phy_get_delta_power()778 tssi_db += ((tssi_offset - 50) << 10); /* offset s4.3 */ in mt76x0_phy_get_delta_power()785 tssi_db += (tssi_offset << 9); /* offset s3.4 */ in mt76x0_phy_get_delta_power()
29 s8 tssi_offset; member
229 t.offset0 = txp.chain[0].tssi_offset; in mt76x2_phy_tssi_compensate()231 t.offset1 = txp.chain[1].tssi_offset; in mt76x2_phy_tssi_compensate()
364 t->chain[chain].tssi_offset = data[1]; in mt76x2_get_power_info_2g()416 t->chain[chain].tssi_offset = data[1]; in mt76x2_get_power_info_5g()
880 char tssi_offset; in mt7601u_tssi_cal() local905 tssi_offset = dev->ee->tssi_data.offset[0]; in mt7601u_tssi_cal()907 tssi_offset = dev->ee->tssi_data.offset[1]; in mt7601u_tssi_cal()909 tssi_offset = dev->ee->tssi_data.offset[2]; in mt7601u_tssi_cal()914 curr_pwr = tssi_db * dev->ee->tssi_data.slope + (tssi_offset << 9); in mt7601u_tssi_cal()