This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Hoernchen gerrit-no-reply at lists.osmocom.orgHoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16239 )
Change subject: additional descriptor fixes
......................................................................
additional descriptor fixes
Change-Id: I5ebe907b3c35107e5a50cbc65835aca75e617c41
---
M sysmoOCTSIM/main.c
M sysmoOCTSIM/usb_descriptors.c
2 files changed, 3 insertions(+), 4 deletions(-)
  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/39/16239/1
diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c
index 92091cd..6815b18 100644
--- a/sysmoOCTSIM/main.c
+++ b/sysmoOCTSIM/main.c
@@ -1086,7 +1086,7 @@
 };
 
 static uint32_t data_rates[] = {
-	9600
+	6720
 };
 extern struct usb_desc_collection usb_fs_descs;
 
diff --git a/sysmoOCTSIM/usb_descriptors.c b/sysmoOCTSIM/usb_descriptors.c
index f0d1a5c..5ea11ec 100644
--- a/sysmoOCTSIM/usb_descriptors.c
+++ b/sysmoOCTSIM/usb_descriptors.c
@@ -136,18 +136,17 @@
 			.bcdCCID = LE16(0x0110),
 			.bMaxSlotIndex = 7,
 			.bVoltageSupport = 0x07, /* 5/3/1.8V */
-//			.dwProtocols = 0x03,
 			.dwProtocols = 0x01,
 			.dwDefaultClock = LE32(2500),
 			.dwMaximumClock = LE32(20000),
 			.bNumClockSupported = CCID_NUM_CLK_SUPPORTED,
-			.dwDataRate = LE32(9600),
+			.dwDataRate = LE32(6720), // default clock 2.5M/372
 			.dwMaxDataRate = LE32(921600),
 			.bNumDataRatesSupported = 0,
 			.dwMaxIFSD = LE32(0),
 			.dwSynchProtocols = LE32(0),
 			.dwMechanical = LE32(0),
-			.dwFeatures = LE32(0x10 | 0x00010080),
+			.dwFeatures = LE32(0x10 | 0x20 | 0x80 | 0x00010000),
 //			.dwFeatures = LE32(0x2 | 0x40),
 			.dwMaxCCIDMessageLength = 272,
 			.bClassGetResponse = 0xff,
-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16239
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I5ebe907b3c35107e5a50cbc65835aca75e617c41
Gerrit-Change-Number: 16239
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191126/1fc37f51/attachment.htm>