mt76: mt7615: enable SCS by default
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 6 Sep 2019 15:29:04 +0000 (17:29 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Nov 2019 12:23:48 +0000 (13:23 +0100)
Enable Smart Carrier Sense algorithm by default in order to improve
performances in a noisy environment

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/init.c

index 5de04f6..ad94a7c 100644 (file)
@@ -50,7 +50,7 @@ static void mt7615_mac_init(struct mt7615_dev *dev)
                 MT_TMAC_CTCR0_INS_DDLMT_EN);
 
        mt7615_mcu_set_rts_thresh(dev, 0x92b);
-       mt7615_mac_set_scs(dev, false);
+       mt7615_mac_set_scs(dev, true);
 
        mt76_rmw(dev, MT_AGG_SCR, MT_AGG_SCR_NLNAV_MID_PTEC_DIS,
                 MT_AGG_SCR_NLNAV_MID_PTEC_DIS);