Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2_phy.c165 gain_val[0] = dev->cal.agc_gain_cur[0] - dev->cal.agc_gain_adjust; in mt76x2_phy_set_gain_val()
166 gain_val[1] = dev->cal.agc_gain_cur[1] - dev->cal.agc_gain_adjust; in mt76x2_phy_set_gain_val()
192 if (false_cca > 800 && dev->cal.agc_gain_adjust < limit) in mt76x2_phy_adjust_vga_gain()
193 dev->cal.agc_gain_adjust += 2; in mt76x2_phy_adjust_vga_gain()
194 else if ((false_cca < 10 && dev->cal.agc_gain_adjust > 0) || in mt76x2_phy_adjust_vga_gain()
195 (dev->cal.agc_gain_adjust >= limit && false_cca < 500)) in mt76x2_phy_adjust_vga_gain()
196 dev->cal.agc_gain_adjust -= 2; in mt76x2_phy_adjust_vga_gain()
247 dev->cal.agc_gain_adjust = 0; in mt76x2_phy_update_channel_gain()
256 dev->cal.agc_gain_adjust = low_gain_delta; in mt76x2_phy_update_channel_gain()
Dmt76x2_debugfs.c133 seq_printf(file, "agc_gain_adjust: %d\n", dev->cal.agc_gain_adjust); in read_agc()
Dmt76x2.h81 s8 agc_gain_adjust; member