blob: 8a136aee5abfccc73b24fd9524c3ab0da6c5d0e6 [file] [log] [blame]
developerebda9012024-02-22 13:42:45 +08001From 3874c792c9987f38c91a10db6a9edf3c97ef3bc2 Mon Sep 17 00:00:00 2001
developerd243af02023-12-21 14:49:33 +08002From: Peter Chiu <chui-hao.chiu@mediatek.com>
3Date: Mon, 30 Oct 2023 20:19:41 +0800
developerebda9012024-02-22 13:42:45 +08004Subject: [PATCH 05/15] mtk: wifi: mt76: mt7996: enable ser query
developerd243af02023-12-21 14:49:33 +08005
6Do not return -EINVAL when action is UNI_CMD_SER_QUERY for user
7to dump SER information from FW.
8
9Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
10---
11 mt7996/mcu.c | 2 ++
12 1 file changed, 2 insertions(+)
13
14diff --git a/mt7996/mcu.c b/mt7996/mcu.c
developerebda9012024-02-22 13:42:45 +080015index 0f1905f2..0c1dd93f 100644
developerd243af02023-12-21 14:49:33 +080016--- a/mt7996/mcu.c
17+++ b/mt7996/mcu.c
developerebda9012024-02-22 13:42:45 +080018@@ -3842,6 +3842,8 @@ int mt7996_mcu_set_ser(struct mt7996_dev *dev, u8 action, u8 val, u8 band)
developerd243af02023-12-21 14:49:33 +080019 };
20
21 switch (action) {
22+ case UNI_CMD_SER_QUERY:
23+ break;
24 case UNI_CMD_SER_SET:
25 req.set.mask = cpu_to_le32(val);
26 break;
27--
282.18.0
29