<p>Hoernchen <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/20071">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ccid fsm: proper wtime calculation<br><br>The timeouts had a minor off by a million problem because WT (in ETU) =<br>WI * 960 as per 7816-3 10.2, but WI was used as WT without the factor of<br>960 after the pps exchange, so WT (in ETU) was accidentally set to 10<br>instead of 9600 for the default WI=10.<br>Additionally that time was only added once, even though the wait time is<br>the time between the leading character edge of one character and the<br>next one, irrespective of direction, so the total wait time is this<br>multiplied with the number of expected bytes.<br><br>In practice this had no real effect due to to a reasonable minimum<br>timeout value and cards that were much faster than this.<br><br>Closes: OS#4742<br>Change-Id: I9ea0b6b51c8cc6f08a36b48e516c64b5e2bbaf9b<br>---<br>M ccid_common/ccid_slot_fsm.c<br>M ccid_common/cuart.c<br>2 files changed, 3 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/71/20071/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/20071">change 20071</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/20071"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ccid-firmware </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I9ea0b6b51c8cc6f08a36b48e516c64b5e2bbaf9b </div>
<div style="display:none"> Gerrit-Change-Number: 20071 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>