Files
qemu-reims-vgpu/hw/core
Marc-André Lureau 43a60aa2fb hw/usb/dev-smartcard-reader: advertise T=1 protocol support
The CCID descriptor only advertised T=0, but it actually handles t=1
since it shuttles framed blocks to the backend. libcacard advertized T=0
in the ATR, so it works fine. This allows passthrough cards to work
at t=1 if they need to.

Add a configurable property to also advertise T=1 in the dwProtocols
field, enabled by default.

Use the correct error code (7, ICC protocol not supported) instead
of CMD_NOT_SUPPORTED when SetParameters receives an invalid protocol.

Note: I only tested with libcacard emulation.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
2026-10-01 17:29:31 +04:00
..
2025-12-27 10:11:06 +01:00
2026-02-27 14:22:07 +01:00
2026-02-27 14:22:07 +01:00
2026-09-11 15:54:47 -04:00
2026-08-16 16:32:42 +02:00
2026-09-03 12:22:32 +02:00
2025-12-27 10:11:09 +01:00
2026-09-11 15:54:47 -04:00
2025-12-27 10:11:08 +01:00