Commit 6df4d4b9 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

Kconfig: adding t24p phase transition values to dot-config

parent fd9cd6f0
......@@ -127,6 +127,12 @@ config PORT01_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT01_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 13600
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT01_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -292,6 +298,12 @@ config PORT02_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT02_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 10800
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT02_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -457,6 +469,12 @@ config PORT03_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT03_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 13650
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT03_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -622,6 +640,12 @@ config PORT04_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT04_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 12150
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT04_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -787,6 +811,12 @@ config PORT05_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT05_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 13550
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT05_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -952,6 +982,12 @@ config PORT06_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT06_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14500
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT06_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -1117,6 +1153,12 @@ config PORT07_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT07_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 13950
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT07_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -1282,6 +1324,12 @@ config PORT08_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT08_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14450
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT08_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -1447,6 +1495,12 @@ config PORT09_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT09_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14750
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT09_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -1612,6 +1666,12 @@ config PORT10_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT10_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 15100
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT10_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -1777,6 +1837,12 @@ config PORT11_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT11_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14500
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT11_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -1942,6 +2008,12 @@ config PORT12_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT12_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 9850
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT12_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -2107,6 +2179,12 @@ config PORT13_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT13_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14150
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT13_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -2272,6 +2350,12 @@ config PORT14_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT14_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 11950
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT14_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -2437,6 +2521,12 @@ config PORT15_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT15_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 12900
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT15_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -2602,6 +2692,12 @@ config PORT16_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT16_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 13800
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT16_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -2767,6 +2863,12 @@ config PORT17_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT17_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14200
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT17_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......@@ -2932,6 +3034,12 @@ config PORT18_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT18_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14350
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT18_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
......
......@@ -106,6 +106,7 @@ function print_instance_header() {
if [ $instIdx -eq 1 ] ; then prof=WR ; else prof=HA ; fi
local tx=${port_tx[$1]}
local rx=${port_rx[$1]}
local t24p=${port_t24p[$1]}
echo -e "\nmenu \"Instance ${instIdx}\"" >>$OUTPUT_FILE
echo -n " depends on " >>$OUTPUT_FILE
for inst in `seq $instIdx $instCount` ; do
......@@ -190,6 +191,12 @@ function print_instance_header() {
echo -e " default ${rx}" >>$OUTPUT_FILE
echo -e " help" >>$OUTPUT_FILE
echo -e " Defines the reception constant delay (ps)" >>$OUTPUT_FILE
echo -e "\nconfig PORT${portStr}_INST${instStr}_T24P_TRANS_POINT" >>$OUTPUT_FILE
echo -e " int \"timestampCorrectionPortDS.t24p_trans_point (ps)\"" >>$OUTPUT_FILE
echo -e " default ${t24p}" >>$OUTPUT_FILE
echo -e " help" >>$OUTPUT_FILE
echo -e " Defines the phase transition point for reception timestamps t2/t4 (ps)" >>$OUTPUT_FILE
echo -e "\nconfig PORT${portStr}_INST${instStr}_ANNOUNCE_INTERVAL" >>$OUTPUT_FILE
echo -e " int \"logAnnounceInterval\" " >>$OUTPUT_FILE
......@@ -339,6 +346,12 @@ declare -A port_rx=(
[13]=229225 [14]=229463 [15]=229850 [16]=229907 [17]=230106 [18]=230273
)
declare -A port_t24p=(
[1]=13600 [2]=10800 [3]=13650 [4]=12150 [5]=13550 [6]=14500
[7]=13950 [8]=14450 [9]=14750 [10]=15100 [11]=14500 [12]=9850
[13]=14150 [14]=11950 [15]=12900 [16]=13800 [17]=14200 [18]=14350
)
# Profile configuration
defaultProfile="WR"
profileList="PTP WR"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment