Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dmt76x02_phy.c178 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()
A Dmt76x02_debugfs.c82 seq_printf(file, "agc_gain_adjust: %d\n", dev->cal.agc_gain_adjust); in read_agc()
A Dmt76x02.h45 s8 agc_gain_adjust; member
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt76x2/
A Dphy.c250 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()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt76x0/
A Dphy.c1058 u8 gain = dev->cal.agc_gain_cur[0] - dev->cal.agc_gain_adjust; in mt76x0_phy_set_gain_val()
1091 dev->cal.agc_gain_adjust = (low_gain == 2) ? 0 : 10; in mt76x0_phy_update_channel_gain()

Completed in 9 milliseconds