- 29 Jul, 2016 40 commits
-
-
Adam Wujek authored
Write to the flash, if failed return corresponding error. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Possible to read/write: -- wrpcPtpConfigApply -- wrpcPtpConfigDeltaTx -- wrpcPtpConfigDeltaRx -- wrpcPtpConfigAlpha -- wrpcPtpConfigSfpPn setting a value writeToMemoryCurrentSfp to the wrpcPtpConfigApply will update sfp info in memory. For now it is necessary to restart ptp to reload new sfp information. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
add: -- wrpcPortLinkStatus -- wrpcPortSfpPn -- wrpcPortSfpInDB -- wrpcPortInternalTX -- wrpcPortInternalRX Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add: --wrpcPtpServoStateN(5) --wrpcPtpClockOffsetPsHR(8) --wrpcPtpSkew(9) --wrpcPtpRTT(10) --wrpcPtpServoUpdates(12) --wrpcPtpServoUpdateTime(13) --wrpcPtpDeltaTxM(14) --wrpcPtpDeltaRxM(15) --wrpcPtpDeltaTxS(16) --wrpcPtpDeltaRxS(17) --wrpcPtpServoStateErrCnt(18) --wrpcPtpClockOffsetErrCnt(19) --wrpcPtpRTTErrCnt(20) --wrpcPtpAsymmetry(22) --wrpcPtpTX(23) --wrpcPtpRX(24) --wrpcPtpAlpha(26) Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
add: -- wrpcSpllMode -- wrpcSpllIrqCnt -- wrpcSpllSeqState -- wrpcSpllAlignState -- wrpcSpllHlock -- wrpcSpllMlock -- wrpcSpllHY -- wrpcSpllMY -- wrpcSpllDelCnt Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
add: -- wrpcDateTAI -- wrpcDateTAIString -- wrpcSystemUptime Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
They will be implemented with different OIDs. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add "--x " to all objects. "--x " will be removed when particular object is implemented. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Mostly spacing and indentation. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
adding uint8_t data_size; to struct snmp_oid does not change memory usage due to memory alignment. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
rename: fill -> get fill_tics -> get_tics fill_date -> get_date fill_asn -> get_value fill_struct_pp_asn -> get_pp fill_struct_p_asn -> get_p fill_int32_saturate -> get_i32sat fill_int32_saturate_pp -> get_i32sat_pp Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
By this 32bytes are saved. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It will be possible to set via SNMP system name when SNMP SET is implemented. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Respond with SNMP_ERR_GENERR for versions never than 2. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Now all snmp walks should be possible Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add object with wrpc's version. For example: WR-WRPC-MIB::wrWrpcMIB.3.1.0 = STRING: "wrpc-v3.0-161-g4d63c77-dirty" Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
WR-WRPC-MIB.txt is now for testing purposes, it will change. So far MIB contains following objects: WR-WRPC-MIB::wrpcPtpRTTHR.0 WR-WRPC-MIB::wrpcPtpDeltaMs.0 WR-WRPC-MIB::wrpcPtpCurSetpoint.0 WR-WRPC-MIB::wrpcNicTX.0 WR-WRPC-MIB::wrpcNicRX.0 Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Convert function fill_int32_saturate to take pointer to the data and asn. The interpretation of pointer in struct snmp_oid is done in fill_int32_saturate_pp. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
From now, struct snmp_oid contais the pointer (p) which is up to the callback function to know how to interpret the pointer. It is easier to handle **data and *data in declaration of the oid_array. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
From now function adding the data to snmp packet (fill_asn), just takes pointer to the data and asn type. Interpretation of a pointer in struct snmp_oid is now up to the callback function. It makes easier to handle different data types. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
objects: --oid_wrpcNicTX --oid_wrpcNicRX Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
add: --oid_wrsPtpServoState --oid_wrsPtpServoStateN --oid_wrsPtpClockOffsetPsHR --oid_wrsPtpSkew --oid_wrpcPtpRTTHR --oid_wrpcPtpDeltaMs --oid_wrpcPtpCurSetpoint Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Used to convert 64bit to 32bit. It is better to saturate 32bit during conversion than just passing 32 LSB bits. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-