From: Luiz Augusto von Dentz Date: Wed, 20 Oct 2021 21:29:08 +0000 (-0700) Subject: monitor: Enable decoding of MSFT extension with emulator X-Git-Tag: submit/tizen/20220313.220938~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da7674fb0ff44ed1130111c46b83ebd7e0a3896f;p=platform%2Fupstream%2Fbluez.git 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 --- 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; } }