mt76: increase ED/CCA tx block threshold
authorFelix Fietkau <nbd@nbd.name>
Sun, 3 Feb 2019 19:35:31 +0000 (20:35 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 18 Feb 2019 18:54:34 +0000 (19:54 +0100)
Block only when the busy time reaches 92%, as lower values can be reached with
heavy 802.11 traffic as well.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c

index 462ac030c08aecf581fa9de79564b470583a3c6a..bf39624c9b98ee8d2262470c27f63eec22ebaf35 100644 (file)
@@ -926,7 +926,7 @@ void mt76x02_edcca_init(struct mt76x02_dev *dev, bool enable)
 }
 EXPORT_SYMBOL_GPL(mt76x02_edcca_init);
 
-#define MT_EDCCA_TH            90
+#define MT_EDCCA_TH            92
 #define MT_EDCCA_BLOCK_TH      2
 static void mt76x02_edcca_check(struct mt76x02_dev *dev)
 {