blob: e6eb8579c7453049db30d3a5cb27d0890f70198f [file] [log] [blame]
developer66e89bc2024-04-23 14:50:01 +08001From 87fdddbf88629d4c0bf6dc966107fb70df157a5a Mon Sep 17 00:00:00 2001
2From: Peter Chiu <chui-hao.chiu@mediatek.com>
3Date: Mon, 30 Oct 2023 20:19:41 +0800
4Subject: [PATCH 011/116] mtk: wifi: mt76: mt7996: enable ser query
5
6Do not return -EINVAL when action is UNI_CMD_SER_QUERY for user
7to dump SER information from FW.
8
9CR-Id: WCNCR00240772
10Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
11---
12 mt7996/mcu.c | 2 ++
13 1 file changed, 2 insertions(+)
14
15diff --git a/mt7996/mcu.c b/mt7996/mcu.c
16index 36f72d586..10637226c 100644
17--- a/mt7996/mcu.c
18+++ b/mt7996/mcu.c
19@@ -3865,6 +3865,8 @@ int mt7996_mcu_set_ser(struct mt7996_dev *dev, u8 action, u8 val, u8 band)
20 };
21
22 switch (action) {
23+ case UNI_CMD_SER_QUERY:
24+ break;
25 case UNI_CMD_SER_SET:
26 req.set.mask = cpu_to_le32(val);
27 break;
28--
292.39.2
30