tssi_target 700 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c int tssi_target = target_power << 12, tssi_slope; tssi_target 736 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target += 29491; /* 3.6 * 8192 */ tssi_target 741 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target += 4424; /* 0.54 * 8192 */ tssi_target 752 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target += offset; tssi_target 755 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target += 6554; tssi_target 762 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target -= 49152; /* -6db * 8192 */ tssi_target 765 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target -= 98304; /* -12db * 8192 */ tssi_target 768 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target += 49152; /* 6db * 8192 */ tssi_target 777 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target -= tssi_db; tssi_target 778 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (ltssi > 254 && tssi_target > 0) { tssi_target 780 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target = 0; tssi_target 784 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target -= tssi_db; tssi_target 786 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if ((ltssi > 126 && tssi_target > 0) || tssi_target 787 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c ((ltssi - dev->cal.tssi_dc) < 1 && tssi_target < 0)) { tssi_target 788 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target = 0; tssi_target 792 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if ((dev->cal.tssi_target ^ tssi_target) < 0 && tssi_target 793 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c dev->cal.tssi_target > -4096 && dev->cal.tssi_target < 4096 && tssi_target 794 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target > -4096 && tssi_target < 4096) { tssi_target 795 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if ((tssi_target < 0 && tssi_target 796 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target + dev->cal.tssi_target > 0) || tssi_target 797 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c (tssi_target > 0 && tssi_target 798 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target + dev->cal.tssi_target <= 0)) tssi_target 799 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target = 0; tssi_target 801 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c dev->cal.tssi_target = tssi_target; tssi_target 803 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c dev->cal.tssi_target = tssi_target; tssi_target 807 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (tssi_target > 0) tssi_target 808 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target += 2048; tssi_target 810 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target -= 2048; tssi_target 811 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c tssi_target >>= 12; tssi_target 816 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c ret += tssi_target; tssi_target 56 drivers/net/wireless/mediatek/mt76/mt76x02.h int tssi_target;