Searched refs:agc_gain_adjust (Results 1 – 5 of 5) sorted by relevance
178 if (false_cca > 800 && dev->cal.agc_gain_adjust < limit) { in mt76x02_phy_adjust_vga_gain()179 dev->cal.agc_gain_adjust += 2; in mt76x02_phy_adjust_vga_gain()181 } else if ((false_cca < 10 && dev->cal.agc_gain_adjust > 0) || in mt76x02_phy_adjust_vga_gain()182 (dev->cal.agc_gain_adjust >= limit && false_cca < 500)) { in mt76x02_phy_adjust_vga_gain()183 dev->cal.agc_gain_adjust -= 2; in mt76x02_phy_adjust_vga_gain()187 dev->cal.agc_lowest_gain = dev->cal.agc_gain_adjust >= limit; in mt76x02_phy_adjust_vga_gain()
82 seq_printf(file, "agc_gain_adjust: %d\n", dev->cal.agc_gain_adjust); in read_agc()
45 s8 agc_gain_adjust; member
250 gain_val[0] = dev->cal.agc_gain_cur[0] - dev->cal.agc_gain_adjust; in mt76x2_phy_set_gain_val()251 gain_val[1] = dev->cal.agc_gain_cur[1] - dev->cal.agc_gain_adjust; in mt76x2_phy_set_gain_val()332 dev->cal.agc_gain_adjust = 0; in mt76x2_phy_update_channel_gain()336 dev->cal.agc_gain_adjust = low_gain_delta; in mt76x2_phy_update_channel_gain()
1056 u8 gain = dev->cal.agc_gain_cur[0] - dev->cal.agc_gain_adjust; in mt76x0_phy_set_gain_val()1089 dev->cal.agc_gain_adjust = (low_gain == 2) ? 0 : 10; in mt76x0_phy_update_channel_gain()
Completed in 9 milliseconds