1. 03 Feb, 2020 1 commit
    • Jean-Claude BAU's avatar
      WR extension: Change how a new parent is detected · 39244edb
      Jean-Claude BAU authored
      The detection of a new parent has been moved in a call back of the S1
      treatment. The previous implementation had some side effect due to the
      fact that the detection was coming too late in some cases (pb with
      erbest calculation)
      
      The doRestart called by the servo is now extension specific. It help to
      make a more cleaner restart.
      39244edb
  2. 24 May, 2019 1 commit
  3. 09 Apr, 2019 1 commit
    • baujc's avatar
      Review of WR protocol implementation (2) · f7205dab
      baujc authored
      - Has Hal is no longer used for ingress/egress latencies, we must then
      take them from the configuration file
      - Definition used by the common servo (WR & HA)
      - Implementation of the IDLE state
      See previous commit 'Review of WR protocol implementation'
      f7205dab
  4. 29 Mar, 2019 1 commit
  5. 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
  6. 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
      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
  7. 03 Dec, 2018 1 commit
  8. 27 Nov, 2018 2 commits
  9. 21 Nov, 2018 2 commits
    • Jean-Claude BAU's avatar
      Timestamp correction in SYNC and DELAY_REQ message · 0856535b
      Jean-Claude BAU authored
      - The origin timestamp sent in SYNC and DELAY_REQ messages is corrected
      with the egressTimestampLatency.
      0856535b
    • 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
      readable.
      - 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.
      a45008ca
  10. 20 Nov, 2018 2 commits
  11. 12 Jul, 2017 6 commits
  12. 23 Jun, 2017 1 commit
  13. 12 Jun, 2017 1 commit
    • Alessandro Rubini's avatar
      pdelay: rework and extend prev commit · 31f08f19
      Alessandro Rubini authored
      The previous commit is not enough as a fix.  This may happen:
      
          - we invalidate stamps after processing them
          - we send request
          - get reply, loose reply-fup
          - send request
          - loose reply, get f-up
      
      So we now invalidate when sending the request. And invalidate t4 alone
      as the beautifulness and symmetry of the previous commit is lost
      anyways.
      
      Note: there no need to invalidate stamps in e2e mode, because checking
      the sequence number to validate RX frames is enough.  But here all
      replies match the sequence number, so the problem is not caught and
      stamps from different tuples are mixed.
      
      Example beofre this commit, with trimmed stamps (was 1497283863):
      
         diag-frames-1-wr1: SENT 54 bytes at 863.333173928 (pdelay_req)
         diag-frames-1-wr1: RECV 54 bytes at 863.334158796 (type 3, pdelay_resp)
         diag-frames-1-wr1: Drop received frame
         diag-frames-1-wr1: SENT 54 bytes at 864.479336104 (pdelay_req)
         diag-frames-1-wr1: Drop received frame
         diag-frames-1-wr1: RECV 54 bytes at 864.481095164 (type a, presp_follow_up)
      
         diag-servo-2-wr1: servo:t3 = 864:479336104:0
         diag-servo-2-wr1: servo:t4 = 863:333174267:586
         diag-servo-2-wr1: servo:t5 = 864:480295312:0
         diag-servo-2-wr1: servo:t6 = 863:334158796:773
         diag-servo-2-wr1: ->mdelay = -2:-292298352:359
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      31f08f19
  14. 03 Mar, 2017 2 commits
  15. 01 Mar, 2017 3 commits
  16. 31 Jan, 2017 1 commit
  17. 21 Nov, 2016 1 commit
  18. 04 Nov, 2016 6 commits
  19. 25 Oct, 2016 3 commits
  20. 20 Sep, 2016 3 commits