]> git.ipfire.org Git - thirdparty/nqptp.git/log
thirdparty/nqptp.git
3 years agoUpdate README.md
Mike Brady [Sat, 21 May 2022 05:16:46 +0000 (06:16 +0100)] 
Update README.md

3 years agoUpdate README.md
Mike Brady [Sat, 21 May 2022 05:16:00 +0000 (06:16 +0100)] 
Update README.md

3 years agoUpdate README.md
Mike Brady [Sat, 21 May 2022 05:13:47 +0000 (06:13 +0100)] 
Update README.md

3 years agoUpdate README.md
Mike Brady [Sat, 21 May 2022 05:12:40 +0000 (06:12 +0100)] 
Update README.md

3 years agoUpdate README.md
Mike Brady [Fri, 20 May 2022 12:57:41 +0000 (13:57 +0100)] 
Update README.md

3 years agoAdd a syslog tag request to the startup script.
Mike Brady [Fri, 20 May 2022 11:27:50 +0000 (12:27 +0100)] 
Add a syslog tag request to the startup script.

3 years agoFix a compilation bug.
Mike Brady [Thu, 19 May 2022 19:30:08 +0000 (20:30 +0100)] 
Fix a compilation bug.

3 years agoAdd CLOCK_MONOTONIC as an alternative is CLOCK_MONOTONIC_RAW isn't available, as...
Mike Brady [Thu, 19 May 2022 19:29:36 +0000 (20:29 +0100)] 
Add CLOCK_MONOTONIC as an alternative is CLOCK_MONOTONIC_RAW isn't available, as in FreeBSD.

3 years agoAdd an experimental FreeBSD service file and the automake and configure stuff.
Mike Brady [Thu, 19 May 2022 19:28:31 +0000 (20:28 +0100)] 
Add an experimental FreeBSD service file and the automake and configure stuff.

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Thu, 10 Mar 2022 22:51:46 +0000 (09:51 +1100)] 
Update RELEASE_NOTES.md

3 years agoRemove the illegal "Provides" entry.
Mike Brady [Thu, 10 Mar 2022 22:46:39 +0000 (09:46 +1100)] 
Remove the illegal "Provides" entry.

3 years agoRemove the illegal "Provides" entry.
Mike Brady [Thu, 10 Mar 2022 22:41:02 +0000 (09:41 +1100)] 
Remove the illegal "Provides" entry.

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Wed, 2 Mar 2022 09:02:05 +0000 (20:02 +1100)] 
Update RELEASE_NOTES.md

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Wed, 2 Mar 2022 09:01:42 +0000 (20:01 +1100)] 
Update RELEASE_NOTES.md

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Wed, 2 Mar 2022 09:01:06 +0000 (20:01 +1100)] 
Update RELEASE_NOTES.md

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Wed, 2 Mar 2022 09:00:05 +0000 (20:00 +1100)] 
Update RELEASE_NOTES.md

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Wed, 2 Mar 2022 08:59:16 +0000 (19:59 +1100)] 
Update RELEASE_NOTES.md

3 years agoMerge branch 'development'
Mike Brady [Wed, 2 Mar 2022 08:52:06 +0000 (19:52 +1100)] 
Merge branch 'development'
Always create the SHM interface in response to a control message.
Define the service provided.

3 years agoQuieten a debug message.
Mike Brady [Tue, 1 Mar 2022 22:35:19 +0000 (09:35 +1100)] 
Quieten a debug message.

3 years agoAlways create a new SHM interface for every new shm address provided. Remove redundan...
Mike Brady [Mon, 28 Feb 2022 06:42:25 +0000 (17:42 +1100)] 
Always create a new SHM interface for every new shm address provided. Remove redundant coded. Add a few debug messages. Enhance the service record to define the service provided.

3 years agoUpdate README.md
Mike Brady [Wed, 5 Jan 2022 17:54:14 +0000 (17:54 +0000)] 
Update README.md

3 years agoUpdate README.md
Mike Brady [Tue, 4 Jan 2022 09:44:44 +0000 (09:44 +0000)] 
Update README.md

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Sun, 2 Jan 2022 11:06:13 +0000 (11:06 +0000)] 
Update RELEASE_NOTES.md

3 years agoUpdate README.md
Mike Brady [Sun, 2 Jan 2022 11:00:25 +0000 (11:00 +0000)] 
Update README.md

3 years agolatest version of the nqptp interface header
Mike Brady [Sun, 2 Jan 2022 10:43:30 +0000 (10:43 +0000)] 
latest version of the nqptp interface header

3 years agoImprove a few debug messages.
Mike Brady [Sat, 1 Jan 2022 19:00:05 +0000 (19:00 +0000)] 
Improve a few debug messages.

3 years agoFix some debug messages.
Mike Brady [Sat, 1 Jan 2022 18:51:47 +0000 (18:51 +0000)] 
Fix some debug messages.

3 years agoEnable nqptp to deal with multiple independent clients and their associated clock...
Mike Brady [Fri, 31 Dec 2021 10:04:28 +0000 (10:04 +0000)] 
Enable nqptp to deal with multiple independent clients and their associated clock groups. Each client supplies the name of its SMI whenever it wishes to access the service. Note: named SMI interfaces are not garbage collected!

3 years agoold and new system sort-of work now...
Mike Brady [Tue, 28 Dec 2021 10:56:26 +0000 (10:56 +0000)] 
old and new system sort-of work now...

3 years agoAdding more multi-client functionality (still incomplete) but keeping the original...
Mike Brady [Mon, 27 Dec 2021 16:06:10 +0000 (16:06 +0000)] 
Adding more multi-client functionality (still incomplete) but keeping the original single client functional for the present.

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Tue, 21 Dec 2021 16:42:22 +0000 (16:42 +0000)] 
Update RELEASE_NOTES.md

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Tue, 21 Dec 2021 16:35:26 +0000 (16:35 +0000)] 
Update RELEASE_NOTES.md

3 years agoEnsure the interface is updated when the mastership is removed.
Mike Brady [Tue, 21 Dec 2021 15:00:15 +0000 (15:00 +0000)] 
Ensure the interface is updated when the mastership is removed.

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Tue, 21 Dec 2021 12:27:57 +0000 (12:27 +0000)] 
Update RELEASE_NOTES.md

3 years agoFurther simplify nqptp to discard mastership history prior to being made a part of...
Mike Brady [Tue, 21 Dec 2021 12:21:41 +0000 (12:21 +0000)] 
Further simplify nqptp to discard mastership history prior to being made a part of a new timing list. A bit hacky, to be sure.

3 years agoModify code so that all the sampling stuff can be omitted. This is to try to simplify...
Mike Brady [Mon, 20 Dec 2021 12:07:53 +0000 (12:07 +0000)] 
Modify code so that all the sampling stuff can be omitted. This is to try to simplify the code.

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Wed, 15 Dec 2021 14:08:49 +0000 (14:08 +0000)] 
Update RELEASE_NOTES.md

3 years agoMake nqptp less sensitive to breaks in transmission from the master clock -- up to...
Mike Brady [Wed, 15 Dec 2021 14:02:44 +0000 (14:02 +0000)] 
Make nqptp less sensitive to breaks in transmission from the master clock -- up to 300 seconds (5 minutes).

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Tue, 14 Dec 2021 16:25:01 +0000 (16:25 +0000)] 
Update RELEASE_NOTES.md

3 years agoTry to improve the reliability of restarting a "silent clock" device. Also turn off...
Mike Brady [Tue, 14 Dec 2021 16:21:47 +0000 (16:21 +0000)] 
Try to improve the reliability of restarting a "silent clock" device. Also turn off history (mostly) to see if we can make things simpler.

3 years agoTry to improve the reliability of restarting a "silent clock" device. Also turn off...
Mike Brady [Tue, 14 Dec 2021 16:15:25 +0000 (16:15 +0000)] 
Try to improve the reliability of restarting a "silent clock" device. Also turn off history (mostly) to see if we can make things simpler.

3 years agoFix some issues suggested by clang-tidy.
Mike Brady [Thu, 9 Dec 2021 17:36:53 +0000 (17:36 +0000)] 
Fix some issues suggested by clang-tidy.

3 years agoUpdate README.md
Mike Brady [Wed, 8 Dec 2021 17:40:12 +0000 (17:40 +0000)] 
Update README.md

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Wed, 8 Dec 2021 17:32:38 +0000 (17:32 +0000)] 
Update RELEASE_NOTES.md

3 years agoMerge branch 'development' into main
Mike Brady [Wed, 8 Dec 2021 17:16:00 +0000 (17:16 +0000)] 
Merge branch 'development' into main

Many updates -- see log.

3 years agotweak PTP tracking coefficients
Mike Brady [Tue, 7 Dec 2021 15:07:38 +0000 (15:07 +0000)] 
tweak PTP tracking coefficients

3 years agoContinue to experiment with late follow-up correction weights.
Mike Brady [Mon, 6 Dec 2021 18:48:38 +0000 (18:48 +0000)] 
Continue to experiment with late follow-up correction weights.

3 years agoDon't die if the clock table is full or address list is malformed -- just ignore...
Mike Brady [Tue, 30 Nov 2021 17:54:38 +0000 (17:54 +0000)] 
Don't die if the clock table is full or address list is malformed -- just ignore any extra clocks or invalid ip specs.

3 years agoClang Format
Mike Brady [Sun, 28 Nov 2021 16:06:43 +0000 (16:06 +0000)] 
Clang Format

3 years agoMove to using CLOCK_MONOLITHIC_RAW to avoid NTP effects. Increase bias towards positi...
Mike Brady [Sun, 28 Nov 2021 16:05:49 +0000 (16:05 +0000)] 
Move to using CLOCK_MONOLITHIC_RAW to avoid NTP effects. Increase bias towards positive jitter changes. Bump interface version.

3 years agoAdd a comment, increase the weights of the jitter in forming the new offsets.
Mike Brady [Sat, 27 Nov 2021 09:48:55 +0000 (09:48 +0000)] 
Add a comment, increase the weights of the jitter in forming the new offsets.

3 years agoAllow up to 10 ms of negative jitter to be accepted. At the start, give extra weight...
Mike Brady [Thu, 25 Nov 2021 20:43:51 +0000 (20:43 +0000)] 
Allow up to 10 ms of negative jitter to be accepted. At the start, give extra weight to positive jitter as more likely to be a real thing.

3 years agoclang format change only
Mike Brady [Thu, 25 Nov 2021 20:42:01 +0000 (20:42 +0000)] 
clang format change only

3 years agoOnly install a service file if there isn't one there already.
Mike Brady [Thu, 25 Nov 2021 20:29:51 +0000 (20:29 +0000)] 
Only install a service file if there isn't one there already.

3 years agoRemove some redundant structure members and associated code.
Mike Brady [Sun, 14 Nov 2021 11:07:44 +0000 (11:07 +0000)] 
Remove some redundant structure members and associated code.

3 years agoUpdate README.md
Mike Brady [Tue, 9 Nov 2021 17:37:57 +0000 (17:37 +0000)] 
Update README.md

3 years agoUpdate README.md
Mike Brady [Tue, 9 Nov 2021 17:36:51 +0000 (17:36 +0000)] 
Update README.md

3 years agoMerge branch 'wakener' of github.com:mikebrady/nqptp into wakener
Mike Brady [Mon, 8 Nov 2021 13:22:47 +0000 (13:22 +0000)] 
Merge branch 'wakener' of github.com:mikebrady/nqptp into wakener

Documentation update.

3 years agoDocumentation update.
Mike Brady [Mon, 8 Nov 2021 13:21:07 +0000 (13:21 +0000)] 
Documentation update.

3 years agoMerge branch 'development' into wakener
Mike Brady [Mon, 8 Nov 2021 13:19:34 +0000 (13:19 +0000)] 
Merge branch 'development' into wakener

Documentation update.

3 years agoMerge branch 'development' of github.com:mikebrady/nqptp into development
Mike Brady [Mon, 8 Nov 2021 13:19:05 +0000 (13:19 +0000)] 
Merge branch 'development' of github.com:mikebrady/nqptp into development

Documentation update.

3 years agoUpdate README.md
Mike Brady [Mon, 8 Nov 2021 13:18:09 +0000 (13:18 +0000)] 
Update README.md

3 years agoUpdate README.md
Mike Brady [Sun, 7 Nov 2021 19:41:33 +0000 (19:41 +0000)] 
Update README.md

3 years agoUpdate README.md
Mike Brady [Sun, 7 Nov 2021 19:41:09 +0000 (19:41 +0000)] 
Update README.md

3 years agoUpdate README.md
Mike Brady [Sun, 7 Nov 2021 19:40:32 +0000 (19:40 +0000)] 
Update README.md

3 years agoUpdate the release notes.
Mike Brady [Sun, 7 Nov 2021 12:52:16 +0000 (12:52 +0000)] 
Update the release notes.

3 years agoMerge branch 'development' of https://github.com/mikebrady/nqptp into development
Mike Brady [Sun, 7 Nov 2021 12:42:30 +0000 (12:42 +0000)] 
Merge branch 'development' of https://github.com/mikebrady/nqptp into development

Newer documentation.

3 years agoUpdate README.md
Mike Brady [Sun, 7 Nov 2021 12:42:01 +0000 (12:42 +0000)] 
Update README.md

3 years agoRemove superceded code. Calculate priority of ping based on priority of clock.
Mike Brady [Sun, 7 Nov 2021 10:52:45 +0000 (10:52 +0000)] 
Remove superceded code. Calculate priority of ping based on priority of clock.

3 years agoFollow an Announce of a better clock with an Announce of a worse one. The other end...
Mike Brady [Sat, 6 Nov 2021 18:29:54 +0000 (18:29 +0000)] 
Follow an Announce of a better clock with an Announce of a worse one. The other end responds quicker. Don't wait for membership of a timing peer list to ping a clock into life -- more to do here.

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Fri, 5 Nov 2021 17:19:55 +0000 (17:19 +0000)] 
Update RELEASE_NOTES.md

3 years agoWhen a timing peer list is provided, wait for 0.5 sec for a FollowUp message from...
Mike Brady [Fri, 5 Nov 2021 17:08:51 +0000 (17:08 +0000)] 
When a timing peer list is provided, wait for 0.5 sec for a FollowUp message from one of the peers. If none, send out bogus Announce messages to waken up any clocks out there. This is a hacky workaround for an Apple Silicon PTP bug/feature -- not sure which, but definitely not compatible with the IEEE PTP standard.

3 years agoExperiment with replicating a Signaling packet coming from macOS and sending it to...
Mike Brady [Fri, 5 Nov 2021 12:46:39 +0000 (12:46 +0000)] 
Experiment with replicating a Signaling packet coming from macOS and sending it to all clocks, to see if it wakens them. Try two different TLV payloads. It doesn't seem to have that function.

3 years agoAdd some PTP definitions -- a Signaling packet structure and a TLV structure
Mike Brady [Fri, 5 Nov 2021 12:43:45 +0000 (12:43 +0000)] 
Add some PTP definitions -- a Signaling packet structure and a TLV structure

3 years agoMerge branch 'development' of https://github.com/mikebrady/nqptp into development
Mike Brady [Thu, 4 Nov 2021 16:30:04 +0000 (16:30 +0000)] 
Merge branch 'development' of https://github.com/mikebrady/nqptp into development

3 years agoUpdate RELEASE_NOTES.md
Mike Brady [Thu, 4 Nov 2021 16:28:01 +0000 (16:28 +0000)] 
Update RELEASE_NOTES.md

3 years agoMerge branch 'development' of https://github.com/mikebrady/nqptp into development
Mike Brady [Thu, 4 Nov 2021 16:12:35 +0000 (16:12 +0000)] 
Merge branch 'development' of https://github.com/mikebrady/nqptp into development

3 years agoMerge pull request #10 from fwcd/systemd-install-prefix
Mike Brady [Thu, 4 Nov 2021 16:06:38 +0000 (16:06 +0000)] 
Merge pull request #10 from fwcd/systemd-install-prefix

Use `$(libdir)` during systemd service install.
Many thanks for this!

3 years agoUse libdir during systemd service install 10/head
fwcd [Wed, 3 Nov 2021 20:05:13 +0000 (21:05 +0100)] 
Use libdir during systemd service install

3 years agoSet the priorities to 248.
Mike Brady [Tue, 2 Nov 2021 10:33:38 +0000 (10:33 +0000)] 
Set the priorities to 248.

3 years agoSend a faux announcment message to every timing peer. This seems to reawaken the...
Mike Brady [Mon, 1 Nov 2021 17:40:45 +0000 (17:40 +0000)] 
Send a faux announcment message to every timing peer. This seems to reawaken the PTP system in an Apple Silicon Mac.

3 years agoSend an Announce message three times to each valid clock in a new timing peer list
Mike Brady [Sun, 31 Oct 2021 18:50:03 +0000 (18:50 +0000)] 
Send an Announce message three times to each valid clock in a new timing peer list

3 years agoget IPvX family when creating each clock record.
Mike Brady [Sun, 31 Oct 2021 09:58:17 +0000 (09:58 +0000)] 
get IPvX family when creating each clock record.

3 years agoadd ip family stuff to the clock records and the port sockets
Mike Brady [Sat, 30 Oct 2021 17:28:08 +0000 (18:28 +0100)] 
add ip family stuff to the clock records and the port sockets

3 years agoPrepare an Announce message to send to all peers, hopfully to waken them up.
Mike Brady [Fri, 29 Oct 2021 13:57:45 +0000 (14:57 +0100)] 
Prepare an Announce message to send to all peers, hopfully to waken them up.

3 years agofix self id to allow for host byte order
Mike Brady [Fri, 29 Oct 2021 13:46:44 +0000 (14:46 +0100)] 
fix self id to allow for host byte order

3 years agoadd nctoh64() utility
Mike Brady [Fri, 29 Oct 2021 13:45:51 +0000 (14:45 +0100)] 
add nctoh64() utility

3 years agoFix some -endian errors. Include port number in debug message.
Mike Brady [Fri, 29 Oct 2021 11:37:32 +0000 (12:37 +0100)] 
Fix some -endian errors. Include port number in debug message.

3 years agocosmetic change only
Mike Brady [Fri, 29 Oct 2021 11:36:16 +0000 (12:36 +0100)] 
cosmetic change only

3 years agoBegin to add the ability to send out announce messages.
Mike Brady [Fri, 29 Oct 2021 09:51:15 +0000 (10:51 +0100)] 
Begin to add the ability to send out announce messages.

3 years agoAdd infrastructure for executing timed tasks, with a simple example.
Mike Brady [Thu, 28 Oct 2021 15:09:17 +0000 (16:09 +0100)] 
Add infrastructure for executing timed tasks, with a simple example.

4 years agoAdd a flag to selectively enable includion of the startup script.
Mike Brady [Wed, 28 Jul 2021 15:02:37 +0000 (16:02 +0100)] 
Add a flag to selectively enable includion of the startup script.

4 years agoUpdate RELEASE_NOTES.md
Mike Brady [Thu, 22 Jul 2021 09:44:33 +0000 (10:44 +0100)] 
Update RELEASE_NOTES.md

4 years agoUpdate RELEASE_NOTES.md
Mike Brady [Thu, 22 Jul 2021 09:44:10 +0000 (10:44 +0100)] 
Update RELEASE_NOTES.md

4 years agoUpdates from the main branch.
Mike Brady [Thu, 22 Jul 2021 09:27:47 +0000 (10:27 +0100)] 
Updates from the main branch.

4 years agoUpdate RELEASE_NOTES.md
Mike Brady [Thu, 22 Jul 2021 09:25:47 +0000 (10:25 +0100)] 
Update RELEASE_NOTES.md

4 years agoMerge pull request #7 from hifiberry/main
Mike Brady [Thu, 22 Jul 2021 07:47:51 +0000 (08:47 +0100)] 
Merge pull request #7 from hifiberry/main

Use DESTDIR

4 years agoUse DESTDIR 7/head
HiFiBerry [Thu, 22 Jul 2021 06:30:53 +0000 (08:30 +0200)] 
Use DESTDIR

4 years agoCandidate full implementation of BCM algorithm. Clang format.
Mike Brady [Mon, 19 Jul 2021 09:16:03 +0000 (10:16 +0100)] 
Candidate full implementation of BCM algorithm. Clang format.

4 years agoUpdate RELEASE_NOTES.md
Mike Brady [Fri, 16 Jul 2021 10:21:24 +0000 (11:21 +0100)] 
Update RELEASE_NOTES.md