Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_phy.c173 u32 false_cca; in mt76x02_phy_adjust_vga_gain() local
175 false_cca = FIELD_GET(MT_RX_STAT_1_CCA_ERRORS, in mt76x02_phy_adjust_vga_gain()
177 dev->cal.false_cca = false_cca; in mt76x02_phy_adjust_vga_gain()
178 if (false_cca > 800 && dev->cal.agc_gain_adjust < limit) { 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()
Dmt76x02_debugfs.c81 seq_printf(file, "false_cca: %d\n", dev->cal.false_cca); in read_agc()
Dmt76x02.h43 u16 false_cca; member
Dmt76x02_mac.c1144 dev->cal.false_cca > MT_EDCCA_LEARN_CCA && in mt76x02_edcca_check()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c1732 int false_cca; in mt7603_false_cca_check() local
1761 false_cca = dev->false_cca_ofdm + dev->false_cca_cck; in mt7603_false_cca_check()
1762 if (false_cca > 600 && in mt7603_false_cca_check()
1769 } else if (false_cca < 100 || in mt7603_false_cca_check()
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2400pci.c586 qual->false_cca = bbp; in rt2400pci_link_stats()
618 if ((qual->false_cca > 512) && (qual->vgc_level < 0x20)) in rt2400pci_link_tuner()
620 else if ((qual->false_cca < 100) && (qual->vgc_level > 0x08)) in rt2400pci_link_tuner()
Drt2500pci.c624 qual->false_cca = rt2x00_get_field32(reg, CNT3_FALSE_CCA); in rt2500pci_link_stats()
707 if (qual->false_cca > 512 && qual->vgc_level_reg < 0x40) in rt2500pci_link_tuner()
709 else if (qual->false_cca < 100 && qual->vgc_level_reg > 0x32) in rt2500pci_link_tuner()
Drt73usb.c890 qual->false_cca = rt2x00_get_field32(reg, STA_CSR1_FALSE_CCA_ERROR); in rt73usb_link_stats()
1002 if ((qual->false_cca > 512) && (qual->vgc_level < up_bound)) in rt73usb_link_tuner()
1005 else if ((qual->false_cca < 100) && (qual->vgc_level > low_bound)) in rt73usb_link_tuner()
Drt2x00.h220 int false_cca; member
Drt61pci.c930 qual->false_cca = rt2x00_get_field32(reg, STA_CSR1_FALSE_CCA_ERROR); in rt61pci_link_stats()
1032 if ((qual->false_cca > 512) && (qual->vgc_level < up_bound)) in rt61pci_link_tuner()
1034 else if ((qual->false_cca < 100) && (qual->vgc_level > low_bound)) in rt61pci_link_tuner()
Drt2500usb.c686 qual->false_cca = rt2x00_get_field16(reg, STA_CSR3_FALSE_CCA_ERROR); in rt2500usb_link_stats()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c1627 int false_cca = ofdm ? phy->false_cca_ofdm : phy->false_cca_cck; in mt7615_mac_adjust_sensitivity() local
1642 if (false_cca > 500) { in mt7615_mac_adjust_sensitivity()
1654 } else if ((false_cca > 0 && false_cca < 50) || in mt7615_mac_adjust_sensitivity()