Searched refs:tssi_offset (Results 1 – 5 of 5) sorted by relevance
701 int tssi_offset, tssi_db, ret; in mt76x0_phy_get_delta_power() local720 tssi_offset = val >> 8; in mt76x0_phy_get_delta_power()721 if ((tssi_offset >= 64 && tssi_offset <= 127) || in mt76x0_phy_get_delta_power()722 (tssi_offset & BIT(7))) in mt76x0_phy_get_delta_power()723 tssi_offset -= BIT(8); in mt76x0_phy_get_delta_power()727 tssi_offset = val >> 8; in mt76x0_phy_get_delta_power()728 if (tssi_offset & BIT(7)) in mt76x0_phy_get_delta_power()729 tssi_offset -= BIT(8); in mt76x0_phy_get_delta_power()776 tssi_db += ((tssi_offset - 50) << 10); /* offset s4.3 */ in mt76x0_phy_get_delta_power()783 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()
367 t->chain[chain].tssi_offset = data[1]; in mt76x2_get_power_info_2g()419 t->chain[chain].tssi_offset = data[1]; in mt76x2_get_power_info_5g()
877 char tssi_offset; in mt7601u_tssi_cal() local902 tssi_offset = dev->ee->tssi_data.offset[0]; in mt7601u_tssi_cal()904 tssi_offset = dev->ee->tssi_data.offset[1]; in mt7601u_tssi_cal()906 tssi_offset = dev->ee->tssi_data.offset[2]; in mt7601u_tssi_cal()911 curr_pwr = tssi_db * dev->ee->tssi_data.slope + (tssi_offset << 9); in mt7601u_tssi_cal()