Yes, these are in there because initially I included all counters available, I need to revisit whether corrupted is worth keeping in. EDIT: Done corrupted is indeed just a sum of two other counters...
But my understanding was, corrupted counts all DTU detected as not "defect", but that also includes empty DTUs for which no retransmission will be attempted. I guess I need to look in the driver whether corrupted are actually synthesized from the other two or not.
Scrap that I just looked at the code I posted....
/* RxCorrupted */
pCounters->nRxCorruptedTotal = pCounters->nRxCorrected + pCounters->nRxUncorrectedProtected;
Yeah, that will go then Thanks for pointing that out
Okay, cleaned up now:
var retx_counters = {
title: "%H: DSL G.INP(retx) retransmission counters",
vlabel: "DTUs (per 30 sec.)",
y_min: -0.1,
y_max: 0.1,
alt_autoscale: true,
data: {
instances: {
errors: ["far_rtx_tx", "near_rtx_c", "near_rtx_ucp", "near_rtx_tx", "far_rtx_c", "far_rtx_ucp"]
},
options: {
errors_near_rtx_tx: {
title: "ReTx tx-retransmitted (far, accounted as near)",
transform_rpn: "30,*",
color: "ff00ff",
overlay: false,
flip: true,
noarea: false
},
errors_near_rtx_c: {
title: "ReTx corrected (near)",
transform_rpn: "30,*",
color: "00ff00",
overlay: true,
noarea: true
},
errors_near_rtx_ucp: {
title: "ReTx uncorrected protected (near)",
transform_rpn: "30,*",
color: "ff0000",
overlay: true,
noarea: false
},
errors_far_rtx_tx: {
title: "ReTx tx-retransmitted (near, accounted as far)",
transform_rpn: "30,*",
color: "af00af",
overlay: false,
noarea: false
},
errors_far_rtx_c: {
title: "ReTx corrected (far)",
transform_rpn: "30,*",
color: "00af00",
flip: true,
overlay: true,
noarea: true
},
errors_far_rtx_ucp: {
title: "ReTx uncorrected protected (far)",
transform_rpn: "30,*",
color: "af0000",
flip: true,
overlay: true,
noarea: false
},
}
}
};