Skip to content
Commit a0ac8061 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

mt76: mt76x02: reduce false positives in ED/CCA tx blocking



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>
parent 3fd0824a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment