From da7674fb0ff44ed1130111c46b83ebd7e0a3896f 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. Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- monitor/packet.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/monitor/packet.c b/monitor/packet.c index 51fc09a5..ff066b2b 100755 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -4015,6 +4015,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.34.1