summaryrefslogtreecommitdiff
path: root/dahdi_maint.c
AgeCommit message (Collapse)Author
2011-11-02Fix GCC 4.6 "set but not used" warningsTzafrir Cohen
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10311 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-09-29dahdi_maint: Print 'unsupported' warning if framing errors is -1.Shaun Ruffell
Warn the user if attempting to monitor a statistic that the particular board driver does not appear to be collecting. The wcte12xp in r10212 in now fills in -1 for any statistic it does not collect and other digital cards can do the same. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10215 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-09-09Man page for dahdi_maintTzafrir Cohen
Fix dahdi_maint's usage message while we're at it. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10198 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-12-08dahdi_maint: Added the loopup/loopdown functionalityRuss Meyerriecks
Put back in the loopup and loopdown functionality which had been removed from dahdi_tool According to the spec AT&T TR 54016 we should keep the loopback actuate and release signals on the line for 5 seconds. Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com> Acked-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9517 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-11-11dahdi_maint: Minor name change for the error countersRuss Meyerriecks
Make the error counters a little more readable, removed the prbs counters since they are not currently functioning git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9477 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-08-01fix build of dahdi_scan and dahdi_maint with -linux 2.3Tzafrir Cohen
New functionality that was added in r8992 and r8993 uses new items defined only in dahdi-linux trunk (and eventually: 2.4). As in both cases it's a single place to check, we'll just ifdef it away. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9076 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-26wip: dahdi_maint can now trip the alarm simRuss Meyerriecks
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8992 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-26dahdi_maint: Fixed outdated usage textRuss Meyerriecks
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8991 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-29Add a space between words and correct an error message.Kinsey Moore
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8444 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-09Correct an error message to reflect the error that actually occurred.Kinsey Moore
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8306 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-09dahdi_maint: Minor fix for generic error reportingRuss Meyerriecks
kpflemming suggested modifying the error messages due to the fact that some spans may not have a physical card associated with it. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8299 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-08dahdi_maint: Added unsupported function handlingRuss Meyerriecks
Added handling for -1 returns by the driver. This indicates that the specific hardware doesn't support a particular feature. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8290 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-05Modify dahdi_maint interface to match the exclusive nature of loopbackMike Spiceland
modes. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8260 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-26dahdi_tool, dahdi_maint: 'struct spaninfo' changed in dahdi-linux r8147Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8148 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-22Updated copyright yearsRuss Meyerriecks
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8075 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-22dahdi-tool: Maintenance and Performance additionsRuss Meyerriecks
* Created a new tool "dahdi_maint" which is used for manipulating the different maintenance and performance modes for drivers which support it. It supports: Dual/Quad Span Card (TE4xx): - Setting a local loopback (virtual loopback plug) - Setting a network and network payload loopback - Sending loopup, loopdown, and loopstop codes down the line - Reporting the current status of the hardware based error counters : - Framing Errors - CRC4 Errors - Code Violation Errors - Errored Seconds - Bipolar Violations - Ebit Errors - Fas Errors Single Span Card (TE12x): - Setting a local loopback (virtual loopback plug) - Setting a network and network payload loopback - Sending loopup, loopdown, and loopstop codes down the line * Modified dahdi_tool to support the new counter substructure. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8069 a0bf4364-ded3-4de4-8d8a-66a801d63aff