Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Network Time Foundation


Collective - Host: opensource - https://opencollective.com/network-time-foundation - Website: https://www.nwtime.org - Code: https://github.com/nwtime

port: adjust peer delay calculation using neighborRateRatio

Previouly the peer delay was not taking into account the
frequency offset between the local cloc...

github.com/nwtime/linuxptp - bd001fdec784fc4aa8f36a773f4e75e634cbc6ba authored almost 11 years ago
Version 1.4

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 54c9effeba6bf7aaf9948a7cc2643f269f63100c authored almost 11 years ago
Fix new -Wformat warnings.

Signed-off-by: Miroslav Lichvar <[email protected]>

github.com/nwtime/linuxptp - 9190959693cf94ab030d872c8e2548a37b137447 authored almost 11 years ago
Set printf format attribute for print().

This allows gcc to check format strings used in pr_* calls.

Signed-off-by: Miroslav Lichvar <ml...

github.com/nwtime/linuxptp - 1fa57ac411cecc2fd877c207913c305aaf333ede authored almost 11 years ago
Clarify units used in clock stepping constants.

Signed-off-by: Miroslav Lichvar <[email protected]>

github.com/nwtime/linuxptp - 661639420ccd459216cb7154101492eedeeb8142 authored almost 11 years ago
Make functions and structs dealing with string literals const correct.

This allows the compiler to check if someone writes into string
literals.

Signed-off-by: Stepha...

github.com/nwtime/linuxptp - 110849d42247943b54672d1b5301ee2d2d1d6164 authored almost 11 years ago
Make udp_physical_addr() and udp_protocol_addr() static.

They aren't used outside udp.c

Signed-off-by: Stephan Gatzka <[email protected]>

github.com/nwtime/linuxptp - 886112e202000a0683f94eb3e496c031e7f660bf authored almost 11 years ago
pmc: support retrieving neighborPropDelayThresh and asCapable using management interface

Define new PORT_DATA_SET_NP TLV
neighborPropDelayThresh can also be set using the same TLV

Sign...

github.com/nwtime/linuxptp - 29063a822767617d87d3e7f9b3ac16fb30f160cf authored almost 11 years ago
uds: disable the accidentally enabled announce timer.

Commit e425da2f inadvertently enabled the announce timer on the UDS port,
causing it to continua...

github.com/nwtime/linuxptp - f36af8e0c350328bb3257bf2082c22b3d8fde2ec authored about 11 years ago
uds: take the interface data off the stack.

The 'struct interface' for the UDS port is allocated on the stack, and
when this gets passed to ...

github.com/nwtime/linuxptp - 21889c5e7e57fde81c5cf290c7b348bdabd2bf45 authored about 11 years ago
phc2sys: Mention that PPS output needs to be enabled without -s.

Signed-off-by: Miroslav Lichvar <[email protected]>

github.com/nwtime/linuxptp - 5dd5af5565880553b5a6736b517fe2a6759ddcd1 authored about 11 years ago
Change level of negative path delay messages to debug.

Negative path delay measurements are expected with E2E, the user doesn't
need to know when that ...

github.com/nwtime/linuxptp - f7d745f8fa2a1a01ca926854eb655fa1cc7a9c9f authored about 11 years ago
Clarify c1, c2, c3 in negative path delay log message.

Signed-off-by: Miroslav Lichvar <[email protected]>

github.com/nwtime/linuxptp - 647bce1c0c16563490bc53d852c9ac9b94f50233 authored about 11 years ago
Print current frequency when PI servo is in unlocked state.

Store the current frequency and return it when the servo is in unlocked
state instead of zero. T...

github.com/nwtime/linuxptp - cee9397b664b3eaed528283ac4555c600fc2b93e authored about 11 years ago
Fix drift calculation in PI servo with large values.

When the drift value is adjusted by the newly measured frequency offset,
multiply the frequencie...

github.com/nwtime/linuxptp - 2ca067dcace97e1b5c28f1da3755b9d33f02bf0b authored about 11 years ago
Adjust tick length with system clock.

This increases the maximum frequency adjustment of the system clock
from 500 ppm to 10%.

Signed...

github.com/nwtime/linuxptp - e63a6ea89b8fac5ee6ef12a18b6fdbd81ed76dd6 authored about 11 years ago
Simplify the text of the driver support matrix in the readme file.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - eb9b0bd2757b0fb8a57a122888ca82d635eb6ccf authored about 11 years ago
Fix filter allocation failure on the UDS port.

Although it does not need to, the UDS port tries to allocate a filter,
just as any normal port w...

github.com/nwtime/linuxptp - c00889f9eb8e1658d45d7cf959c20b47086d7933 authored about 11 years ago
clock: add missing call to clockcheck_destroy.

This patch lets the clock release allocated memory when shutting down. The
main benefit is just ...

github.com/nwtime/linuxptp - 3aedebe74bd3d5c74139e15d184c3c58285b7ee8 authored about 11 years ago
Merge Miroslav's random PTP timeout branch.

Conflicts:
makefile

github.com/nwtime/linuxptp - e2586af94a3acf7974ea25641d7459325ec3cfa8 authored about 11 years ago
Add a configuration file option for the 802.1AS gmCapable flag.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 101e9dcc0eb49b42e0bfc32de2d1499582b7b26e authored about 11 years ago
Inhibit sync messages from unwilling 802.1AS ports.

According to 802.1AS, ports are always expected to transmit announce
messages, even if they neve...

github.com/nwtime/linuxptp - d72e795727d40353feb31933bd8cad73138d8026 authored about 11 years ago
Introduce the gmCapable flag for use with 802.1AS clocks.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - bdbda10c73fe3c315f785325ce0739cb5ef6b308 authored about 11 years ago
Reset pdr_missing early in port_nrate_calculate(), implement ratio_valid flag

[ RC: the point is that a port may not be considered capable until
enough messages to compute ...

github.com/nwtime/linuxptp - 7f7012eab5c776b9504e0279321bd10a9cf1aee4 authored about 11 years ago
Set sync timeout only on port_synchronize()

Sync rx timeout should be set only after receiving the first sync, see
section 10.2.7, figure 10...

github.com/nwtime/linuxptp - a0171b035efdbaa82521afbcdbdb75e50525476f authored about 11 years ago
Add median filter.

Median filter has an advantage over moving average that it is much less
sensitive to outliers.

...

github.com/nwtime/linuxptp - ed9e0fa975ce0e38d3240d05979bc4104a0b0cdf authored over 11 years ago
Add options to configure delay filter.

Add new options delay_filter and delay_filter_length to select the
filter and its length. They s...

github.com/nwtime/linuxptp - 85a1bcfa8e20222c4939afc42ed78b13eb21a107 authored over 11 years ago
Add modular filter interface.

Similarly to the servo interface, allow multiple filters to be
used for delay filtering. Convert...

github.com/nwtime/linuxptp - 2c9718f3c22f078b9b69831c0ec1da4550e0d24a authored over 11 years ago
sk: update error message for Tx timestamp polling

This patch cleans up the error message for the Tx timestamp polling, and adds a
line which indic...

github.com/nwtime/linuxptp - 7bd59737d3306d534a6c10093bf9da3c1acb3c59 authored over 11 years ago
Make random() more random between machines.

Include also nanoseconds from the current time in the srandom() call.
This should significantly ...

github.com/nwtime/linuxptp - ab84eade0a946e094f0852430d47625e38a6a3c5 authored over 11 years ago
Drop tmtab module.

Instead of maintaining a table of precalculated values, use the
newly added set_tmo_random() fun...

github.com/nwtime/linuxptp - 23d31d090ebb3a077d3dbbb86175818b23e9b0a7 authored over 11 years ago
Add random delay to announce timeout.

According to 9.2.6.11 of the spec the ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
timeout in addition to an...

github.com/nwtime/linuxptp - e425da2f1704d2ec1677af36e900518993d9f98d authored over 11 years ago
Add clock sanity check.

Check the sanity of the synchronized clock by comparing its uncorrected
frequency with the syste...

github.com/nwtime/linuxptp - ed379b402834739d5910d11b6de2f15b564b5dbc authored over 11 years ago
Add reset function to servo.

This will be used with clock sanity checking.

Signed-off-by: Miroslav Lichvar <mlichvar@redhat....

github.com/nwtime/linuxptp - cc7be3fc67366900842ea85f4dba179c1015c327 authored over 11 years ago
Merge the configurable UDS server path branch.

github.com/nwtime/linuxptp - 25cf96d4ca1cd6d05314713aeda334a4dfb37a9b authored over 11 years ago
Don't calculate delay with old master's sync time stamp.

When a new master is selected, drop the old sync time stamp to prevent
calculating invalid delay...

github.com/nwtime/linuxptp - 52c5e0cfc972c3e2b65ca492eecbff6edb8b2aaf authored over 11 years ago
Ignore delay_resp messages from foreign masters.

When a new master appears, it will start to respond to our delay_req
messages. Make sure we proc...

github.com/nwtime/linuxptp - ea4201298ca5bbadf631e6ee868a6988c01f0a8b authored over 11 years ago
pmc: add a command line option to select the server's UDS address.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 4f6f1e1cbafa3b42cec3a70eda8af4dce0ecec68 authored over 11 years ago
pmc: bring the man page more up to date.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 289699e3c9eeac98b9961fb0bda2d243214cf577 authored over 11 years ago
Extend the interface name length to allow any UDS address.

This patch increases the maximum length of an interface name to
accommodate a UNIX domain socket...

github.com/nwtime/linuxptp - 67b03860425bfb89d9182da6cf6e39af863dd6ae authored over 11 years ago
Introduce a configuration file option for the server's UDS address.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 9fe2ffd2efbbc35dcb185af6a0f21be9261da0e4 authored over 11 years ago
Convert the hard coded UDS server path into a variable.

This patch changes the macro for the server socket address into a global
variable so that a subs...

github.com/nwtime/linuxptp - e5ddfd491e6a444cfd5404ddfe251b17ce676230 authored over 11 years ago
Make the CFLAGS more robust.

This patch introduces a shell script to figure out the proper definitions
for the HAVE_CLOCK_ADJ...

github.com/nwtime/linuxptp - ba12da671fc3161a8b6a4b769ce4e66947ab0e3c authored over 11 years ago
Don't try to forward messages to faulty UDS port.

When the socket couldn't be opened (e.g. in clknetsim), the file
descriptor is invalid and shoul...

github.com/nwtime/linuxptp - 45493756f8f5054893d787f4b8498c2924c922f8 authored over 11 years ago
Reset delay timer when switching to P2P delay mechanism.

When ptp4l was configured to use the auto delay mechanism and the first
pdelay request was not r...

github.com/nwtime/linuxptp - b366b79306f0d5d8c7da0ae10acdca2b01cb54fe authored over 11 years ago
Merge the gPTP sync timeout branch.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - bf659ae09d43b64abad62e2196fc587f5adaad9a authored over 11 years ago
Add missing semicolon to enumeration.

This patch adds a semicolon forgotten in commit
5bf265e "missing: add onestep sync to missing.h"...

github.com/nwtime/linuxptp - ad3793aaf7957d13d70767493e04452bfd233d7f authored over 11 years ago
phc2sys: Fix lower bound value of update_rate

Following command produces unexpected update rate.
# phc2sys -s eth0 -q -m -O0 -R1.084202172485...

github.com/nwtime/linuxptp - b943ea2fba973059159a24743bd777db8637ef2d authored over 11 years ago
missing: add onestep sync to missing.h

this patch uses grep to test whether the net_tstamp.h header has
HWTSTAMP_TX_ONESTEP_SYNC flag d...

github.com/nwtime/linuxptp - 5bf265e8607ead166955a15d8f8a7a9b496828db authored over 11 years ago
Add a configuration file option for the extra sync-fup check.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - b7ebfab0cc2ccdf515db67e2feca9073c0b2ec19 authored over 11 years ago
Add an optional extra check on sync and follow up message ordering.

Because of packet reordering that can occur in the network, in the
hardware, or in the networkin...

github.com/nwtime/linuxptp - 7b7e046e912f6f45a721a226e61394b707be0ae6 authored over 11 years ago
Add a configuration file option for the sync receive timeout.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - c6e046e2a2f690d73b46a736f4c9a6347440b85b authored over 11 years ago
Add a timer implementing the sync receive timeout.

This patch adds a new timer for use in 802.1AS-2011 applications. When
running as a slave in gPT...

github.com/nwtime/linuxptp - 7eef4101c9fb27272ca769d78fc12dc4bd0cd39f authored over 11 years ago
Announce master ambitions right away.

This patch lets a port send the first announce message one millisecond
after the port state tran...

github.com/nwtime/linuxptp - f299b6fb07cfc6ab3a9003819be2332756d21051 authored over 11 years ago
Rename the timer for sending sync messages.

This patch renames the per-port timer in order to make room in the
namespace for a timer that de...

github.com/nwtime/linuxptp - 329e4a2fff0d78ca6ec3574a4a6f2c0a2bc8d54a authored over 11 years ago
Enforce the absolute lower limit for the announce receipt timeout.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 7e69672a8846fe10f71c75c7d9fefb38f5e4be9c authored over 11 years ago
Inhibit lost link recovery in P2P mode.

The closing and reopening of the transport when in slave only mode is not
necessary if the port ...

github.com/nwtime/linuxptp - 78d3669b06118510d80a1009b2b59a730a436348 authored over 11 years ago
Do not qualify announce messages with stepsRemoved >= 255

See IEEE1588-2008 section 9.3.2.5 (d)

Signed-off-by: Delio Brignoli <[email protected]>

github.com/nwtime/linuxptp - b268cf048b8f07c269d357623651f949903ed2bb authored over 11 years ago
Fix port numbering in clock log messages.

Add 1 to port numbers printed in the log messages to make them
consistent with messages from por...

github.com/nwtime/linuxptp - ad1b14e126e564243224630db7508e4686700ad9 authored over 11 years ago
Use freeifaddrs() to free data from getifaddrs().

Signed-off-by: Miroslav Lichvar <[email protected]>

github.com/nwtime/linuxptp - 011ba7b455b844d86672d03cd575d2c06b8ad076 authored over 11 years ago
Version 1.3

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 6bcda22752d5ea946d6104ff719acaffdf2ba49b authored over 11 years ago
Fix bug in unlucky sync/follow up handling.

Ken Ichikawa has identified a situation in which a sync message can be
wrongly associated with a...

github.com/nwtime/linuxptp - 7be069817536cd0ce608b468105b2f0eca31807c authored over 11 years ago
Be more careful when receiving clock description TLVs.

This patch adds checks to prevent buffer overruns in the TLV parsing code.

Signed-off-by: Richa...

github.com/nwtime/linuxptp - 7789f0c313733621327ab7ed4b3e213a328883ae authored over 11 years ago
Fix check for timestamping modes

The code was checking the wrong interface's capabilities.

Signed-off-by: Andy Lutomirski <luto@...

github.com/nwtime/linuxptp - f6536fe36a0e6c4291a2732606bd61954cd7e48d authored over 11 years ago
pmc: release the message cache on exit.

This makes valgrind happier by freeing any cached message buffers.

Signed-off-by: Richard Cochr...

github.com/nwtime/linuxptp - b74e46724edd1b62177bbc06961418b538352f43 authored over 11 years ago
pmc: send GET management messages according to interpretation #29.

This commit makes the GET messages have data bodies, just like the erratum
says to. It really do...

github.com/nwtime/linuxptp - 0650b079f9813ab932c6f7b0d806cfa7065522dc authored over 11 years ago
pmc: add a command to select the target port.

This patch adds a new pmc command called "target" that lets the user
address a particular clock ...

github.com/nwtime/linuxptp - a3762c506ecc5c9e0f1d6c447158fc1cba381604 authored over 11 years ago
pmc_common: introduce a variable for the target port identity.

This patch replaces the hard coded wild card target port identity with
a variable initially set ...

github.com/nwtime/linuxptp - 923ff5bbc1696117267de5bbc20588eff92ce57c authored over 11 years ago
pmc: optional legacy zero length TLV for GET actions.

This patch makes the original behavior of sending the
TLV values for GET actions with a length o...

github.com/nwtime/linuxptp - b0d789a73e7f72973a05a89ff514131b02611e24 authored over 11 years ago
pmc: make the TLV length a functional result.

This patch lets the TLV length field of GET messages come from a
function. For now, the function...

github.com/nwtime/linuxptp - 4ae27d917962ee72ce44198228c0f37185e4bd15 authored over 11 years ago
msg: Add missing network byte order conversion.

This patch adds proper byte order processing for the target port
identity field of management me...

github.com/nwtime/linuxptp - b4b5487887561ad0d92aded95a28281fb914ae91 authored over 11 years ago
ptp4l: flush old cached packets

This patch fixes a bug with time mysteriously jumping back and forth:

ptp4l[930.687]: port 1: U...

github.com/nwtime/linuxptp - 48f4dcbeb294f1241714c7a3709666f5edd6dc13 authored over 11 years ago
Become the grand master when all alone.

This patch cleans up the BMC logic to allow assuming the GM role when no
other clocks are found ...

github.com/nwtime/linuxptp - 46db4005895000d3ee97159c349ee6cd1dcf97a5 authored over 11 years ago
phc2sys: Set servo sync interval.

[RC: merged servo_sync_interval signature change with earlier patch]

Signed-off-by: Miroslav Li...

github.com/nwtime/linuxptp - 639ebbca13a3633e0ac9caf7f9a034cb720c8632 authored over 11 years ago
Use a dynamic frequency estimation interval.

A slow servo (with smaller constants and lower sync rate) needs a
longer, better frequency estim...

github.com/nwtime/linuxptp - 6edbea4996175b883c6ce7e66d5009ac04619ea5 authored over 11 years ago
Adjust constants of PI servo according to sync interval.

Instead of using fixed constants, set them by the following formula from
the current sync to all...

github.com/nwtime/linuxptp - c7c675852ecd1c01e4bb982b81523ac8c5161cf6 authored over 11 years ago
pmc: add our very first SET command.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 617a9056436c149c2acaa93bf8c56611b35030c9 authored over 11 years ago
Let the clock servo know the expected sync interval.

This patch adds a new servo method to let the algorithm know about the
master clock's reported s...

github.com/nwtime/linuxptp - 36951376198a395cc6db0ee3d85037fca2dad9ea authored over 11 years ago
pmc: add a utility function for sending a message with the SET action.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 6a1a16ac667e6a76363952501160ed0adf738a4f authored over 11 years ago
Throw a state decision event if the clock quality changes.

Management messages can cause a change in the clock quality. If this
happens, then it is time to...

github.com/nwtime/linuxptp - a367175b0d22bbf9818995c4155e170a4b64bb70 authored over 11 years ago
Support configuration of the grand master settings.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 12ab15818ce8a8f37ac69ac63adca737d7dac6ac authored over 11 years ago
pmc: Support the grandmaster settings management request.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 661d7a77162bcc5e03675827cea5239aaeaf81b6 authored over 11 years ago
Support the grand master settings management query.

This patch also replaces the hard coded logic for the UTC offset and the
time property flags wit...

github.com/nwtime/linuxptp - 24ecd786c86b921f0e8016521da57e2a87996268 authored over 11 years ago
Add a clock variable to hold the value of the time source.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 4782d669c2511a986325a31c7a57b7330d219208 authored over 11 years ago
Add a configuration option for the time source.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - f89e20320913b4181f39c86e55275526430610a8 authored over 11 years ago
Introduce a non-portable management TLV for grand masters.

When running as grand master, the attributes of the local clock are not
known by the ptp4l progr...

github.com/nwtime/linuxptp - 64ec0478235b8de9403fa93b099e247ffb588932 authored over 11 years ago
pmc: fix coding style by using K&R style functions.

github.com/nwtime/linuxptp - 5be0770dfce113f6afa270aac0435c4770f1a8fe authored over 11 years ago
Add another Freescale driver into the support matrix.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 4b214008698d82467dd4373d48662798384facd2 authored over 11 years ago
Add missing option to the default configuration file.

While the userDescription field is implemented in the code, the same
option is not present in th...

github.com/nwtime/linuxptp - d9bdf4f876e8f98dc0197febaf5614c7e47b72c2 authored over 11 years ago
No need to set kernel_leap twice in a row.

This patch removes a redundant initialization of the kernel_leap clock
variable. The field is al...

github.com/nwtime/linuxptp - c9ac677c98b877ef4e9baf52cb1d1a1ac115a44b authored over 11 years ago
Reset announce timer when port is passive.

Whenever a port enters the passive state, it should act like a slaved
port in one respect. Incom...

github.com/nwtime/linuxptp - 81db403af835d41af2b239db2099eb7fc947e0ff authored over 11 years ago
Clean up indented white space.

Signed-off-by: Richard Cochran <[email protected]>

github.com/nwtime/linuxptp - 93c609eee90d8e8ded77e3d1eba40d62352512db authored over 11 years ago
Allow received GET management messages to have bodies

You'd probably expect the body of GET messages to be empty, but
interpretation #29 in
http://sta...

github.com/nwtime/linuxptp - 42b2173a4db2155f4c85598b54f4fdc897d72869 authored over 11 years ago
Place clock type values in the correct positon

Signed-off-by: Dale P. Smith <[email protected]>

github.com/nwtime/linuxptp - 6dedf8bc247cd547f536ac4f3e8409ea6d879fdd authored over 11 years ago
ptp4l: add support for using configured_pi_f_offset servo option

This patch adds support for using the configured_pi_f_offset servo option to ptp4l.
If "pi_f_off...

github.com/nwtime/linuxptp - fa41be7e6e19bf4fe42ade18d4d1737ec5b2d5e7 authored over 11 years ago
Add a new servo option which specifies first step threshold

Current pi servo steps clock without any condition on start.
This patch adds a new servo option ...

github.com/nwtime/linuxptp - 28b8dc999600128eb8d75dc400dbb1dd84f88c8a authored over 11 years ago
Add missing state setting in PI servo when date check fails.

Signed-off-by: Miroslav Lichvar <[email protected]>

github.com/nwtime/linuxptp - f657e47c262b66760df51f9c469056995dfdc70c authored over 11 years ago
Minor documentation improvements.

Signed-off-by: Miroslav Lichvar <[email protected]>

github.com/nwtime/linuxptp - b796d90e80817d654d219708b47650f3cc9fa570 authored over 11 years ago
phc2sys: common code exit point for bad usage case

Removed duplicate calls to usage() by providing common exit point for the case.

Signed-off-by: ...

github.com/nwtime/linuxptp - daca2773ded610633ba524179a64d6e1946681aa authored over 11 years ago
Reordered options in manual page synopsis

Options without parameters are now grouped together at the beginning of line
for better legibili...

github.com/nwtime/linuxptp - 0bf412d24b51227ed91ebf553b10091e861b7c20 authored over 11 years ago