developer | 2a6f182 | 2023-10-17 18:02:57 +0800 | [diff] [blame] | 1 | From 46622d363ac9ad1a45ab3447eccf76f1fda9dc7e Mon Sep 17 00:00:00 2001 |
| 2 | From: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 3 | Date: Tue, 17 Oct 2023 16:32:51 +0800 |
| 4 | Subject: [PATCH] wifi: mt76: mt7915: add new chip version in power on sequence |
| 5 | |
| 6 | Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 7 | --- |
| 8 | mt7915/soc.c | 3 ++- |
| 9 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/mt7915/soc.c b/mt7915/soc.c |
| 12 | index d8c80de6..b2916b02 100644 |
| 13 | --- a/mt7915/soc.c |
| 14 | +++ b/mt7915/soc.c |
| 15 | @@ -517,7 +517,8 @@ static int mt798x_wmac_adie_patch_7976(struct mt7915_dev *dev, u8 adie) |
| 16 | if (ret) |
| 17 | return ret; |
| 18 | |
| 19 | - if (version == 0x8a00 || version == 0x8a10 || version == 0x8b00) { |
| 20 | + if (version == 0x8a00 || version == 0x8a10 || |
| 21 | + version == 0x8b00 || version == 0x8c10) { |
| 22 | rg_xo_01 = 0x1d59080f; |
| 23 | rg_xo_03 = 0x34c00fe0; |
| 24 | } else { |
| 25 | -- |
| 26 | 2.18.0 |
| 27 | |