Re: [Linuxptp-devel] [PATCH 1/4] Schedule announce TX timeout also when in slave-only mode
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Richard C. <ric...@gm...> - 2013-11-30 16:34:42
|
On Sat, Nov 30, 2013 at 10:35:25AM +0100, Delio Brignoli wrote: > > From memory, the problem was that when running in slave-only mode linuxptp didn't start announcing when the port became asCapable. According to 802.1AS we should be announcing ourselves immediately when the port becomes asCapable even if we do not support being master. AFAICT, the only part of 802.1AS-2011 that mentions when to transmit an announce message is Figure 10-15 on page 84. On the right hand side there is the state TRANSMIT_ANNOUNCE which calls the txAnnounce method. That state is only reachable if (selectedRole == MasterPort), and so it looks like we should not transmit when is slave only mode, just like in 1588. Thanks, Richard |