Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt76x0/
Dphy.c543 mt76x0_phy_tssi_adc_calibrate(struct mt76x02_dev *dev, s16 *ltssi, in mt76x0_phy_tssi_adc_calibrate() argument
557 *ltssi = mt76_rr(dev, MT_BBP(CORE, 35)) & 0xff; in mt76x0_phy_tssi_adc_calibrate()
559 *ltssi += 128; in mt76x0_phy_tssi_adc_calibrate()
699 s16 ltssi) in mt76x0_phy_get_delta_power() argument
776 tssi_db = mt76x0_phy_lin2db(ltssi - dev->cal.tssi_dc) * tssi_slope; in mt76x0_phy_get_delta_power()
780 if (ltssi > 254 && tssi_target > 0) { in mt76x0_phy_get_delta_power()
788 if ((ltssi > 126 && tssi_target > 0) || in mt76x0_phy_get_delta_power()
789 ((ltssi - dev->cal.tssi_dc) < 1 && tssi_target < 0)) { in mt76x0_phy_get_delta_power()
828 s16 ltssi; in mt76x0_phy_tssi_calibrate() local
831 if (mt76x0_phy_tssi_adc_calibrate(dev, &ltssi, tssi_info) < 0) in mt76x0_phy_tssi_calibrate()
[all …]