1. 09 Apr, 2019 4 commits
    • baujc's avatar
      Add new function fixedDelta_to_pp_time · fc7d5eaf
      baujc authored
      fc7d5eaf
    • baujc's avatar
      Change callback signature · 6e6cffc7
      baujc authored
      - Add extra parameters in unpack_announce and run_ext_state_machine
      callbacks
      6e6cffc7
    • baujc's avatar
      Suppress obsolete and unused callbacks · da4495fc
      baujc authored
      - Removed master_msg, s1, execute slave
      da4495fc
    • baujc's avatar
      Review of WR protocol implementation · 0b031b22
      baujc authored
      - It has now its own state table
      - The servo is shared with L1Sync extension. It means that servo
      calculation is now following the new standard IEEE 1588
      - It stay compatible with older versions of the switch. The correction
      field value in the exchange messages are still not compliant with the
      standard to keep the compatibility.
      0b031b22
  2. 29 Mar, 2019 1 commit
  3. 05 Mar, 2019 1 commit
    • baujc's avatar
      Suppress timer PP_TO_FAULT · 765c661b
      baujc authored
      After reviewing the code with Maciej, this time-out does not seem to be
      used in a very coherent way. We decided then to remove it.
      765c661b
  4. 01 Mar, 2019 1 commit
    • baujc's avatar
      Code optimization · 25692a35
      baujc authored
      - Make externalPortConfiguration compliant with the PTP specifications
      - Optimize code for externalPortConfiguration
      - Optimize code for slaveOnly
      - Replace "CONFIG_HAS_P2P && ppi->delayMechanism==P2P" by an inline
      function
      25692a35
  5. 26 Feb, 2019 1 commit
  6. 25 Feb, 2019 1 commit
    • baujc's avatar
      Big update 2 · 515af578
      baujc authored
      . Better integrate of code optimization with PPSi Kconfig
      . PPSi Kconfig changes to simplify the code in PPSi and avoid #ifdef ..
      . Improve code optimization
      . Move some declaration in ppsi.h in other files to ligthen ppsi.h
      . Improvement of timers: global or instance dependent, dyn. allocation,
      renaming for better diagnostics, disabling allowed, ...
      . New behaviour for the PPS output generation (configurable,...)
      . Move control of the timing mode from HAL to PPSi
      . Optimization of code when a Protocol extension is not available
      . BMCA: Calculate the ebest,... only one time and then trigger all
      instances to execute the bmca state descision
      . Fix bug in the calculation of the clockIdentity to bring it into
      compliance with PTP spec 2008 document
      . Fix a bug related to Announce message received in SLAVE/UNCALIB
      . WR ext: use dynamic timer and adapt to new PPS generation
      . HA ext: Fix bug in fault injection mechanism
      515af578
  7. 06 Feb, 2019 1 commit
  8. 01 Feb, 2019 1 commit
  9. 29 Jan, 2019 3 commits
    • baujc's avatar
      Big update ... · c81db09e
      baujc authored
      - New L1Sync and PTP servo calculation (delayAsym,...)
      - Make function calls more uniforms between extensions
      - refactoring
      - Add a new state machine to enable/disable an extension and provide
      only PTP support: New timer, new hooks, ...
      - Fix bug in time format conversion
      - Code removed when an extension is not required (#ifdef XXX )
      - Align the PTP and L1Sync servo calculation (shared fct, same
      calculation,...)
      - Force only one servo running at a given time for a given instance
      - New servo reset hook : called by main loop
      - Add function to converte a time into a string
      - Force to stay in FAULTY state during 60s
      - Optimise function wrs_enable_timing_output()
      c81db09e
    • baujc's avatar
      Add possibility to remove CUSTOM profile · d456d2fd
      baujc authored
      The custom profile is usefull for the White Rabbit switch integration
      tests. It is now possible to remove it for other targets where the
      memory space is critical (nodes)
      d456d2fd
    • baujc's avatar
      Improvee detection of multiple PPSi running instances · 88d2f789
      baujc authored
      When /etc/init.d/ppsi.sh is called with the parameter 'restart', it
      happens sometimes that the restarted PPSI process detects that another
      one is running but it is not really the case. To  sove this problem, the
      PPSI process is now  checking  few times with a delay in between before
      to decide to exit.
      88d2f789
  10. 28 Jan, 2019 1 commit
    • baujc's avatar
      wrs_time_set(): Adjust seconds first · d8dfb539
      baujc authored
      When a jitter greater than 20ms is observed with peer, the seconds are
      never adjusted. The solution is then to adjust first the seconds.
      d8dfb539
  11. 25 Jan, 2019 1 commit
  12. 24 Jan, 2019 5 commits
  13. 10 Jan, 2019 1 commit
    • baujc's avatar
      Optimize unix time update in L1Sync servo · d7b4fea2
      baujc authored
      As we can get know the WR time (IRPC call) we use it instead of using
      the T4 time aproximation. Making some tests, the difference between Unix
      time and WR time is around 30us (was 20ms before with T4)
      d7b4fea2
  14. 03 Dec, 2018 2 commits
  15. 30 Nov, 2018 1 commit
  16. 29 Nov, 2018 2 commits
  17. 28 Nov, 2018 2 commits
  18. 27 Nov, 2018 5 commits
  19. 21 Nov, 2018 6 commits