Skip to content
Snippets Groups Projects
  1. Mar 05, 2025
  2. Jan 20, 2025
  3. Jul 09, 2024
    • li hongming's avatar
      [FEATURE: #148] userspace/tools/wrs_ext_pps_latency: Support aligning the PPS... · 4806a89e
      li hongming authored
      [FEATURE: #148
      
      ] userspace/tools/wrs_ext_pps_latency: Support aligning the PPS out to PPS input in GM
      
      1. Add new paramter CONFIG_EXT_PPS_LATENCY_PS in dot-config.
         Calibration is needed to align the PPS out to PPS input in GM mode.
      2. Add new variable ext_pps_latency_ps in struct spll_stats, using it
         to transfer the ext_pps_latency parameter to WRPC-SW.
      3. Change SPLL_STATS_VER to 4, modify the related function.
      4. (deleted from the commit)
         Add a new tool function: wrs_ext_pps_latency, which will change
         the Main PLL phase shift in GM mode, according to the parameter
         CONFIG_EXT_PPS_LATENCY_PS in dot-config. Add this new function to
         startup-mb.sh, making it autostart.
      
      Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
      4806a89e
  4. Jan 08, 2020
  5. Jun 26, 2019
  6. Aug 11, 2016
  7. Jul 19, 2016
  8. Jul 07, 2016
  9. Jun 01, 2016
  10. Feb 24, 2016
    • Adam Wujek's avatar
      userspace/snmpd: bugfix 1164, replace time() with monotinic version from libwr · 3a82aacf
      Adam Wujek authored
      
      It was possible that SNMP objects in expert branch don't update.
      It pop-up in following scenario:
      1. slave switch is started with no ntp configured
      2. read via snmp from slave
      3. master switch is started with no ntp configured
      4. slave sync to master and set it's time, by this system clock on slave is set
         to earlier date
      5. read via snmp from slave will end up in the same results in expert branch of
         the MIB.
      
      Our part of SNMP implementation used "time" function for calculating SNMP's
      cache timeouts. When clock is set backwards then cache can be valid for very
      long time.
      
      Monotonic clock is used instead from ulit.c (libwr)
      
      Add util.c to the compilation.
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      3a82aacf
  11. Jun 30, 2015
    • Adam Wujek's avatar
      userspace/snmpd: add new wrsSpllVersionGroup · 73242ab3
      Adam Wujek authored
      
      Add following spll version info:
      --wrsSpllVersion
      --wrsSpllBuildDate
      
      Additionally:
      --update Makefile
      --update MIB
      --update init.c
      --increase version number of spll_stat structure due to new fields
      --support version 2 of spll_stat structure in wrsSpllStatusGroup
      
      Please note that this commit requires changes done in wrpc-sw commit:
      revision: report build information via spll_stats structure
      
      Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
      73242ab3