| From f664f6c14d38adc2bf43f4f969ea21eb3daa48a7 Mon Sep 17 00:00:00 2001 |
| From: Peter Chiu <chui-hao.chiu@mediatek.com> |
| Date: Mon, 30 Oct 2023 20:19:41 +0800 |
| Subject: [PATCH 08/17] mtk: wifi: mt76: mt7996: enable ser query |
| |
| Do not return -EINVAL when action is UNI_CMD_SER_QUERY for user |
| to dump SER information from FW. |
| |
| Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com> |
| --- |
| mt7996/mcu.c | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/mt7996/mcu.c b/mt7996/mcu.c |
| index 6b8a5076..0981f592 100644 |
| --- a/mt7996/mcu.c |
| +++ b/mt7996/mcu.c |
| @@ -3860,6 +3860,8 @@ int mt7996_mcu_set_ser(struct mt7996_dev *dev, u8 action, u8 val, u8 band) |
| }; |
| |
| switch (action) { |
| + case UNI_CMD_SER_QUERY: |
| + break; |
| case UNI_CMD_SER_SET: |
| req.set.mask = cpu_to_le32(val); |
| break; |
| -- |
| 2.18.0 |
| |