From 47be9d40561649a2d060016cdc2a67bb79cd4d36 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 20 Oct 2021 14:29:08 -0700 Subject: [PATCH] monitor: Enable decoding of MSFT extension with emulator This enables decoding MSFT extension with emulator instances since it shall be the only one using Linux Foundation as manufacturer. --- monitor/packet.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/monitor/packet.c b/monitor/packet.c index 9b81cfc89..9030f2493 100644 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -4021,6 +4021,15 @@ void packet_monitor(struct timeval *tv, struct ucred *cred, */ index_list[index].msft_opcode = 0xFCF0; break; + case 1521: + /* + * Emulator controllers use Linux Foundation as + * manufacturer and support the + * Microsoft vendor extenions using + * 0xFC1E for VsMsftOpCode. + */ + index_list[index].msft_opcode = 0xFC1E; + break; } } -- 2.47.3