<matrixBuild _class='hudson.matrix.MatrixBuild'><action _class='hudson.model.CauseAction'><cause _class='org.jenkinsci.plugins.workflow.support.steps.build.BuildUpstreamCause'><shortDescription>Started by upstream project "gerrit-simtrace2" build number 123</shortDescription><upstreamBuild>123</upstreamBuild><upstreamProject>gerrit-simtrace2</upstreamProject><upstreamUrl>job/gerrit-simtrace2/</upstreamUrl></cause></action><action></action><action _class='hudson.model.ParametersAction'><parameter _class='hudson.model.StringParameterValue'><name>COMMENT_TYPE</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>DISTRO</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_BRANCH</name><value>master</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_CHANGE_NUMBER</name><value>43125</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_HOST</name><value>gerrit.osmocom.org</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_PATCHSET_NUMBER</name><value>1</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_PATCHSET_REVISION</name><value>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_PATCHSET_UPLOADER_NAME</name><value>Hoernchen</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_PORT</name><value>29418</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_PROJECT</name><value>simtrace2</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_REFSPEC</name><value>refs/changes/25/43125/1</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_REPO_URL</name><value>ssh://jenkins@gerrit.osmocom.org:29418/simtrace2</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>PIPELINE_BUILD_URL</name><value>https://jenkins.osmocom.org/jenkins/job/gerrit-simtrace2/123/</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>PROJECT_NAME</name><value>simtrace2</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>BRANCH_CI</name><value>master</value></parameter></action><action _class='jenkins.metrics.impl.TimeInQueueAction'><blockedDurationMillis>0</blockedDurationMillis><blockedTimeMillis>0</blockedTimeMillis><buildableDurationMillis>0</buildableDurationMillis><buildableTimeMillis>0</buildableTimeMillis><buildingDurationMillis>301142</buildingDurationMillis><executingTimeMillis>301142</executingTimeMillis><executorUtilization>1.0</executorUtilization><queuingDurationMillis>6463</queuingDurationMillis><queuingTimeMillis>6463</queuingTimeMillis><subTaskCount>0</subTaskCount><totalDurationMillis>307605</totalDurationMillis><waitingDurationMillis>5371</waitingDurationMillis><waitingTimeMillis>5371</waitingTimeMillis></action><action></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><osmith0.8.2 _class='hudson.plugins.git.util.Build'><buildNumber>55</buildNumber><marked><SHA1>5b5785af7a089b2a4f0c6963fdeebfc48fb22540</SHA1><branch><SHA1>5b5785af7a089b2a4f0c6963fdeebfc48fb22540</SHA1><name>osmith/0.8.2</name></branch></marked><revision><SHA1>5b5785af7a089b2a4f0c6963fdeebfc48fb22540</SHA1><branch><SHA1>5b5785af7a089b2a4f0c6963fdeebfc48fb22540</SHA1><name>osmith/0.8.2</name></branch></revision></osmith0.8.2><master _class='hudson.plugins.git.util.Build'><buildNumber>126</buildNumber><marked><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><branch><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><name>master</name></branch></marked><revision><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><branch><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><name>master</name></branch></revision></master></buildsByBranchName><lastBuiltRevision><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><branch><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><name>master</name></branch></lastBuiltRevision><remoteUrl>ssh://jenkins@gerrit.osmocom.org:29418/simtrace2</remoteUrl><scmName></scmName></action><action></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'><artifactsUrl>https://jenkins.osmocom.org/jenkins/job/gerrit-simtrace2-build/126/artifact</artifactsUrl><changesUrl>https://jenkins.osmocom.org/jenkins/job/gerrit-simtrace2-build/changes</changesUrl><displayUrl>https://jenkins.osmocom.org/jenkins/job/gerrit-simtrace2-build/126/</displayUrl><testsUrl>https://jenkins.osmocom.org/jenkins/job/gerrit-simtrace2-build/126/testReport</testsUrl></action><building>false</building><displayName>#126</displayName><duration>301142</duration><estimatedDuration>327764</estimatedDuration><fullDisplayName>gerrit-simtrace2-build #126</fullDisplayName><id>126</id><inProgress>false</inProgress><keepLog>false</keepLog><number>126</number><queueId>181024</queueId><result>SUCCESS</result><timestamp>1785265452042</timestamp><url>https://jenkins.osmocom.org/jenkins/job/gerrit-simtrace2-build/126/</url><builtOn></builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>firmware/libcommon/source/simtrace_iso7816.c</affectedPath><affectedPath>firmware/libcommon/source/mode_cardemu.c</affectedPath><affectedPath>firmware/libcommon/source/card_emu.c</affectedPath><commitId>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</commitId><timestamp>1785256234000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/ewild</absoluteUrl><fullName>ewild</fullName></author><authorEmail>ewild@sysmocom.de</authorEmail><comment>firmware: use the full 11 bit US_FIDI.FI_DI_RATIO

US_FIDI_FI_DI_RATIO_Msk is 0x7ff,
cemu rejected &gt;= 0x400 in emu_update_fidi() and masked with 0x3ff
in card_emu_uart_update_fidi(), but update_fidi() used by
the sniffer already used 0x7ff.

-&gt; ratios 1024..2047 are unusable in cemu, which is the entire upper
half of ISO 7816-3 Table 7 at Di=1.

A reader trying one of those in a PPS gets the proposal echoed and
accepted, after which the card keeps transmitting at the old rate.

FI_DI_RATIO is clock periods per bit -&gt; larger ratio is a SLOWER link.
The old check rejected slow values but accepted Fi=372/Di=64, ratio 5 !?

Unify and use the register mask (= shifed by 0 so usable as value) and
reject ratios that do not fit rather than truncating to garbage dividers.

Change-Id: I6211dd5be7c5c5d2150af2aa37a403b33e6d340d
</comment><date>2026-07-28 18:30:34 +0200</date><id>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</id><msg>firmware: use the full 11 bit US_FIDI.FI_DI_RATIO</msg><path><editType>edit</editType><file>firmware/libcommon/source/mode_cardemu.c</file></path><path><editType>edit</editType><file>firmware/libcommon/source/card_emu.c</file></path><path><editType>edit</editType><file>firmware/libcommon/source/simtrace_iso7816.c</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/ewild</absoluteUrl><fullName>ewild</fullName><id>ewild</id></culprit><run><action _class='hudson.matrix.MatrixChildParametersAction'><parameter _class='hudson.model.StringParameterValue'><name>COMMENT_TYPE</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>DISTRO</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_BRANCH</name><value>master</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_CHANGE_NUMBER</name><value>43125</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_HOST</name><value>gerrit.osmocom.org</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_PATCHSET_NUMBER</name><value>1</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_PATCHSET_REVISION</name><value>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_PATCHSET_UPLOADER_NAME</name><value>Hoernchen</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_PORT</name><value>29418</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_PROJECT</name><value>simtrace2</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_REFSPEC</name><value>refs/changes/25/43125/1</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GERRIT_REPO_URL</name><value>ssh://jenkins@gerrit.osmocom.org:29418/simtrace2</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>PIPELINE_BUILD_URL</name><value>https://jenkins.osmocom.org/jenkins/job/gerrit-simtrace2/123/</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>PROJECT_NAME</name><value>simtrace2</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>BRANCH_CI</name><value>master</value></parameter></action><action></action><action _class='hudson.model.CauseAction'><cause _class='hudson.model.Cause$UpstreamCause'><shortDescription>Started by upstream project "gerrit-simtrace2-build" build number 126</shortDescription><upstreamBuild>126</upstreamBuild><upstreamProject>gerrit-simtrace2-build</upstreamProject><upstreamUrl>job/gerrit-simtrace2-build/</upstreamUrl></cause></action><action _class='jenkins.metrics.impl.TimeInQueueAction'><blockedDurationMillis>0</blockedDurationMillis><blockedTimeMillis>0</blockedTimeMillis><buildableDurationMillis>216142</buildableDurationMillis><buildableTimeMillis>216142</buildableTimeMillis><buildingDurationMillis>77666</buildingDurationMillis><executingTimeMillis>77666</executingTimeMillis><executorUtilization>1.0</executorUtilization><subTaskCount>0</subTaskCount><waitingDurationMillis>0</waitingDurationMillis><waitingTimeMillis>0</waitingTimeMillis></action><action></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><osmith0.8.2 _class='hudson.plugins.git.util.Build'><buildNumber>55</buildNumber><marked><SHA1>5b5785af7a089b2a4f0c6963fdeebfc48fb22540</SHA1><branch><SHA1>5b5785af7a089b2a4f0c6963fdeebfc48fb22540</SHA1><name>osmith/0.8.2</name></branch></marked><revision><SHA1>5b5785af7a089b2a4f0c6963fdeebfc48fb22540</SHA1><branch><SHA1>5b5785af7a089b2a4f0c6963fdeebfc48fb22540</SHA1><name>osmith/0.8.2</name></branch></revision></osmith0.8.2><master _class='hudson.plugins.git.util.Build'><buildNumber>126</buildNumber><marked><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><branch><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><name>master</name></branch></marked><revision><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><branch><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><name>master</name></branch></revision></master></buildsByBranchName><lastBuiltRevision><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><branch><SHA1>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</SHA1><name>master</name></branch></lastBuiltRevision><remoteUrl>ssh://jenkins@gerrit.osmocom.org:29418/simtrace2</remoteUrl><scmName></scmName></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><displayName>#126</displayName><duration>77666</duration><estimatedDuration>91034</estimatedDuration><fullDisplayName>gerrit-simtrace2-build » a1=default,a2=default,a3=default,a4=default,osmocom-gerrit #126</fullDisplayName><id>126</id><inProgress>false</inProgress><keepLog>false</keepLog><number>126</number><queueId>181031</queueId><result>SUCCESS</result><timestamp>1785265452042</timestamp><url>https://jenkins.osmocom.org/jenkins/job/gerrit-simtrace2-build/a1=default,a2=default,a3=default,a4=default,label=osmocom-gerrit/126/</url><builtOn>build5-deb12build-ansible</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>firmware/libcommon/source/simtrace_iso7816.c</affectedPath><affectedPath>firmware/libcommon/source/mode_cardemu.c</affectedPath><affectedPath>firmware/libcommon/source/card_emu.c</affectedPath><commitId>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</commitId><timestamp>1785256234000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/ewild</absoluteUrl><fullName>ewild</fullName></author><authorEmail>ewild@sysmocom.de</authorEmail><comment>firmware: use the full 11 bit US_FIDI.FI_DI_RATIO

US_FIDI_FI_DI_RATIO_Msk is 0x7ff,
cemu rejected &gt;= 0x400 in emu_update_fidi() and masked with 0x3ff
in card_emu_uart_update_fidi(), but update_fidi() used by
the sniffer already used 0x7ff.

-&gt; ratios 1024..2047 are unusable in cemu, which is the entire upper
half of ISO 7816-3 Table 7 at Di=1.

A reader trying one of those in a PPS gets the proposal echoed and
accepted, after which the card keeps transmitting at the old rate.

FI_DI_RATIO is clock periods per bit -&gt; larger ratio is a SLOWER link.
The old check rejected slow values but accepted Fi=372/Di=64, ratio 5 !?

Unify and use the register mask (= shifed by 0 so usable as value) and
reject ratios that do not fit rather than truncating to garbage dividers.

Change-Id: I6211dd5be7c5c5d2150af2aa37a403b33e6d340d
</comment><date>2026-07-28 18:30:34 +0200</date><id>aa09a6b5beadfcb133cefc3ac4feb936d9bda675</id><msg>firmware: use the full 11 bit US_FIDI.FI_DI_RATIO</msg><path><editType>edit</editType><file>firmware/libcommon/source/card_emu.c</file></path><path><editType>edit</editType><file>firmware/libcommon/source/simtrace_iso7816.c</file></path><path><editType>edit</editType><file>firmware/libcommon/source/mode_cardemu.c</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/ewild</absoluteUrl><fullName>ewild</fullName></culprit></run></matrixBuild>