wifi: mt76: mt7915: update mt798x_wmac_adie_patch_7976
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Tue, 17 Oct 2023 08:32:51 +0000 (16:32 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 22 Feb 2024 08:55:16 +0000 (09:55 +0100)
Add support for a newer ADIE version

Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/soc.c

index 8b4809703efcf67f4dc26bc53da41d738110c278..f5b99917c08e104eb61e91a395a6b8c161846b6f 100644 (file)
@@ -516,7 +516,8 @@ static int mt798x_wmac_adie_patch_7976(struct mt7915_dev *dev, u8 adie)
        if (ret)
                return ret;
 
-       if (version == 0x8a00 || version == 0x8a10 || version == 0x8b00) {
+       if (version == 0x8a00 || version == 0x8a10 ||
+           version == 0x8b00 || version == 0x8c10) {
                rg_xo_01 = 0x1d59080f;
                rg_xo_03 = 0x34c00fe0;
        } else {