[Home]

Summary:DAHLIN-00089: [patch] HDLC packets doesn't pass over D-channel (driver wcb4xxp, card B410)
Reporter:Victor Vengerov (vvv)Labels:
Date Opened:2009-04-06 07:05:40Date Closed:2011-01-20 23:32:25.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:wcb4xxp
Versions:2.2.0-rc1 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) dahdi-linux-complete-2.2.0-rc1.patch
Description:dahdi/wcb4xxp driver used with Digium Wildcard B410 quad-BRI PCI card unable to communicate with another ISDN device (ISDN phone, another port of B410). It appears that B-channels are capable to transport data, but D-channel is not.


****** ADDITIONAL INFORMATION ******

Debug output added into the driver shows that packets are transmitted to the D-channel, but no packets are received. Further investigation shows that no interrupts received from Rx FIFO associated with D-channel, although packets are delivered to the FIFO. I've found that problem is in improper usage of chan->chanpos while indexing the fifo index (bspan->fifos): chanpos starts from 1 and fifos starts from 0. Therefore, garbage read instead of fifo number.
Comments:By: Digium Subversion (svnbot) 2011-01-03 07:30:37.000-0600

Repository: dahdi
Revision: 9555

U   linux/trunk/drivers/dahdi/wcb4xxp/base.c

------------------------------------------------------------------------
r9555 | sruffell | 2011-01-03 07:30:36 -0600 (Mon, 03 Jan 2011) | 21 lines

wcb4xxp: HDLC packets do not pass over D-channel.

dahdi/wcb4xxp driver used with Digium Wildcard B410 quad-BRI PCI card
unable to communicate with another ISDN device (ISDN phone, another port
of B410). It appears that B-channels are capable to transport data, but
D-channel is not.

Debug output added into the driver shows that packets are transmitted to
the D-channel, but no packets are received. Further investigation shows
that no interrupts received from Rx FIFO associated with D-channel,
although packets are delivered to the FIFO. I've found that problem is
in improper usage of chan->chanpos while indexing the fifo index
(bspan->fifos): chanpos starts from 1 and fifos starts from 0.
Therefore, garbage read instead of fifo number.

(closes issue DAHLIN-89)
Reported by: vvv
Patches:
     dahdi-linux-complete-2.2.0-rc1.patch uploaded by vvv (license 741)

Signed-off-by: Shaun Ruffell <sruffell@digium.com>
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=9555

By: Digium Subversion (svnbot) 2011-01-20 23:32:24.000-0600

Repository: dahdi
Revision: 9689

U   linux/branches/2.4/drivers/dahdi/wcb4xxp/base.c

------------------------------------------------------------------------
r9689 | sruffell | 2011-01-20 23:32:24 -0600 (Thu, 20 Jan 2011) | 23 lines

wcb4xxp: HDLC packets do not pass over D-channel.

dahdi/wcb4xxp driver used with Digium Wildcard B410 quad-BRI PCI card
unable to communicate with another ISDN device (ISDN phone, another port
of B410). It appears that B-channels are capable to transport data, but
D-channel is not.

Debug output added into the driver shows that packets are transmitted to
the D-channel, but no packets are received. Further investigation shows
that no interrupts received from Rx FIFO associated with D-channel,
although packets are delivered to the FIFO. I've found that problem is
in improper usage of chan->chanpos while indexing the fifo index
(bspan->fifos): chanpos starts from 1 and fifos starts from 0.
Therefore, garbage read instead of fifo number.

(closes issue DAHLIN-89)
Reported by: vvv
Patches:
     dahdi-linux-complete-2.2.0-rc1.patch uploaded by vvv (license 741)

Signed-off-by: Shaun Ruffell <sruffell@digium.com>

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9555
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=9689