This commit adds example for configuring master and slave devices that
support features from the Automotive Profile.

Signed-off-by: Vedang Patel <vedang.pa...@intel.com>
---
 configs/automotive-master.cfg | 28 ++++++++++++++++++++++++++++
 configs/automotive-slave.cfg  | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 configs/automotive-master.cfg
 create mode 100644 configs/automotive-slave.cfg

diff --git a/configs/automotive-master.cfg b/configs/automotive-master.cfg
new file mode 100644
index 000000000000..e3ad5a35ebe2
--- /dev/null
+++ b/configs/automotive-master.cfg
@@ -0,0 +1,28 @@
+#
+# Automotive Profile example configuration for master containing those
+# attributes which differ from the defaults.  See the file, default.cfg, for
+# the complete list of available options.
+#
+[global]
+# Options carried over from gPTP.
+gmCapable              1
+priority1              248
+priority2              248
+logSyncInterval                -3
+syncReceiptTimeout     3
+neighborPropDelayThresh        800
+min_neighbor_prop_delay        -20000000
+assume_two_step                1
+path_trace_enabled     1
+follow_up_info         1
+transportSpecific      0x1
+ptp_dst_mac            01:80:C2:00:00:0E
+network_transport      L2
+delay_mechanism                P2P
+#
+# Automotive Profile specific options
+#
+BMCA                   noop
+masterOnly             1
+inhibit_announce       1
+asCapable               true
diff --git a/configs/automotive-slave.cfg b/configs/automotive-slave.cfg
new file mode 100644
index 000000000000..94d45b640ae5
--- /dev/null
+++ b/configs/automotive-slave.cfg
@@ -0,0 +1,33 @@
+#
+# Automotive Profile example configuration for slaves containing those
+# attributes which differ from the defaults.  See the file, default.cfg, for
+# the complete list of available options.
+#
+[global]
+#
+# Options carried over from gPTP.
+#
+gmCapable              1
+priority1              248
+priority2              248
+logSyncInterval                -3
+syncReceiptTimeout     3
+neighborPropDelayThresh        800
+min_neighbor_prop_delay        -20000000
+assume_two_step                1
+path_trace_enabled     1
+follow_up_info         1
+transportSpecific      0x1
+ptp_dst_mac            01:80:C2:00:00:0E
+network_transport      L2
+delay_mechanism                P2P
+#
+# Automotive Profile specific options
+#
+BMCA                   noop
+slaveOnly              1
+inhibit_announce       1
+asCapable               true
+ignore_source_id       1
+# Required to quickly correct Time Jumps in master
+step_threshold          1
-- 
2.7.3



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to