From 4d251d8358e9464c001e5e623a6f35bca4791786 Mon Sep 17 00:00:00 2001 From: Vedang Patel Date: Wed, 3 Oct 2018 09:41:53 -0700 Subject: [PATCH] Add example configuration for Automotive Profile. This commit adds example for configuring master and slave devices that support features from the Automotive Profile. Signed-off-by: Vedang Patel --- 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 0000000..e3ad5a3 --- /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 0000000..94d45b6 --- /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