• Felix Fietkau's avatar
    mt76: mt76x02: reduce false positives in ED/CCA tx blocking · a0ac8061
    Felix Fietkau authored
    Full tx blocking (as opposed to CCA blocking) should only happen if there
    is a continuous non-802.11 signal above the energy detect threshold.
    Unfortunately the ED/CCA counter can't detect that, as it also counts 802.11
    signals as busy.
    
    Similar to the vendor code, implement a learning mode that waits until the AGC
    gain has already been adjusted to the lowest value (due to false CCA events),
    and the number of false CCA events still remains high, and the blocking
    threshold is exceeded for more than 5 seconds.
    Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
    a0ac8061
mt76x02_mac.c 30.5 KB