1. 19 Dec, 2019 1 commit
  2. 11 Oct, 2019 3 commits
  3. 24 May, 2019 1 commit
  4. 07 May, 2019 1 commit
  5. 09 Apr, 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
  7. 29 Jan, 2019 1 commit
    • 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
      - 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()
  8. 21 Nov, 2018 7 commits
    • Jean-Claude BAU's avatar
      Configuration enhancement (follow up) · 0141769d
      Jean-Claude BAU authored
          - Add new config parameters (l1SyncRxCoherencyIsRequired,...)
          - Add new profile: CUSTOM. It will be mostly used for testing
          - Fix issue on state name: "pre_master" instead of "pre-master"
    • Jean-Claude BAU's avatar
      Implement one-step clock for HA & WR profiles · cd3ee739
      Jean-Claude BAU authored
      The one-step clock didn't work for HA & WR profiles. This new
      implementation is based on a new hook "handle_sync" called in case of
      one-step clock mode.
    • Jean-Claude BAU's avatar
      Fix issues with standart ptp (e2e & p2p) · ada5fb06
      Jean-Claude BAU authored
      In the ptp servo the adjustment of the time was too slow. When the
      difference of the time with the master was less than 1 second, the
      adjustment was done only with the frequency. In case if the difference
      is 0.999s, it can take a very long time to adjust the time.
      Changes made :
      - Adjust with frequency only when time difference is below 20ms
      - Check the timestamp validity before each calculation
      - Create a new function to check the timestamps and use it on all
      servos. This improve significantly the size of the code.
      - Add verification in order not to set an invalid UNIX time
    • Jean-Claude BAU's avatar
      L1SYNC: change UNCALIBRATED and DISABLE state behaviour · 6fc858fb
      Jean-Claude BAU authored
      - We do not wait the L1SYNC state UP before to go from UNCALIBRATED to
      SLAVE state.
      - When the link goes down, we force the next state to DISABLE
    • Jean-Claude BAU's avatar
      HA updates, bug fixes and optimization · fbe6df4e
      Jean-Claude BAU authored
      - Move initialization of configurable parameters in L1SYNC init hook
      - Set the L1SYNC state to DISABLE in the startup otherwise the state is
      not set if the port is not connected
      - Remove time printing in diag messages
      - restrict call to servo only when the state is UP
      - Adjust properly the delay returned by each l1sync state functions
      - Set REQUEST timeout value dependent of the delay mechanism (E2E/P2P)
      - Bug fix: PP_P2P_MECH used instead of P2P
      - Optimize the REQUEST timeout to generate asap a DelayReq message after
      the first SYNC message received
    • Jean-Claude BAU's avatar
      High Accuracy - Second implementation · a45008ca
      Jean-Claude BAU authored
      This implementation does not include yet the possibility to declare 2
      exclusive instances on a same port (WR & HA)
      - Some structures are renamed with the suffix _t to make it more
      - Some variables are renamed  to be more clear
      - Implementation of masterOnly, slaveOnly and externalPortConfiguration
      - All extension specific includes (XX-api.h) is now automatically
      included in ppsi.h and do not need to be included in other files.
    • Jean-Claude BAU's avatar
      HA: Use scaledDelayCoefficient instead of fiber_fix_alpha · 6a112729
      Jean-Claude BAU authored
      For the calculation of the delay MS, we use now
      asymmetryCorrectionPortDS.scaledDelayCoefficient (fpa:2^62) instead of
  9. 20 Nov, 2018 1 commit
    • Jean-Claude BAU's avatar
      High Accuracy - first implementation · 4bfaea77
      Jean-Claude BAU authored
      This implementation works on a WR Switch but does not yet integrate all
      required functionalities. List of current modifications :
      - Implementation of the L1SYNC protocol
      - Modifications of the standard protocol: new hook, TS calculation
      - Change WRS to integrate HA
      - HAL adaptations
      - ...