Skip to contentSkip to conversation

Brainboxes BL-752(BCSP) card fails to transmit 1M chunk

Bluez-users Franz Fuerbass 2 participants 2 messages Oct 5, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello,

I am using the PCMCIA Brainboxes BL-752 card for measurements of the Bluetooth network. Currently I also recognized the well known error for BCSP (at least in this mailing list):

bcsp_recv: Short BCSP packet
bcsp_recv: Short BCSP packet
bcsp_recv: Out-of-order packet arrived, got 3 expected 1
bcsp_recv: Short BCSP packet
bcsp_recv: Out-of-order packet arrived, got 6 expected 4
bcsp_recv: Short BCSP packet

This does not hurt too much until I try to send chunks of 1 megabyte with a L2CAP MTU of 672 over the network, where the ACL connection (packet type DH5) slows down to 300 kbps.

Using the PAN profile with pand, at least one UDP packet get lost. The last output from hcidump shows:

Quoted 2 lines

HCI Event: Number of Completed Packets (0x13) plen 5 ACL data: handle 41 flags 0x01 dlen 490

L2CAP(d): cid 0x0040 len 1503 [psm 0]

Quoted 4 lines

ACL data: handle 41 flags 0x02 dlen 512
ACL data: handle 41 flags 0x01 dlen 505
ACL data: handle 41 flags 0x01 dlen 339
ACL data: handle 41 flags 0x01 dlen 151

L2CAP(d): cid 0x0040 len 1503 [psm 0]

Quoted 3 lines

ACL data: handle 41 flags 0x02 dlen 512
ACL data: handle 41 flags 0x01 dlen 505
ACL data: handle 41 flags 0x01 dlen 194

L2CAP(d): cid 0x0040 len 1207 [psm 0]

I am using Kernel 2.6.13, the card was connected to a tty device with
$> /usr/sbin/hciattach $DEVICE bcsp
using the hci_uart + serial driver (h4).

The /etc/pcmcia/bluetooth.conf file has the following entry:

card "Brain Boxes BL-752 Bluetooth Adapter"
manfid 0x0160,0xaba0
bind "serial_cs" class "bluetooth"

cat /proc/tty/driver/serial gives:
...
2: uart:TI16750 port:000003E8 irq:3 tx:15970676 rx:17133759 RTS|CTS|DTR|DSR|CD
...
This looks ok, but seems to me that the flow control is not working correctly.

Please let me know if there is a solution for this thanks
Franz

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw
Quoted 58 lines · Franz Fuerbass

Hello,

I am using the PCMCIA Brainboxes BL-752 card for measurements of the Bluetooth network. Currently I also recognized the well known error for BCSP (at least in this mailing list):

bcsp_recv: Short BCSP packet
bcsp_recv: Short BCSP packet
bcsp_recv: Out-of-order packet arrived, got 3 expected 1
bcsp_recv: Short BCSP packet
bcsp_recv: Out-of-order packet arrived, got 6 expected 4
bcsp_recv: Short BCSP packet

This does not hurt too much until I try to send chunks of 1 megabyte with a L2CAP MTU of 672 over the network, where the ACL connection (packet type DH5) slows down to 300 kbps.

Using the PAN profile with pand, at least one UDP packet get lost. The last output from hcidump shows:

Quoted 2 lines

HCI Event: Number of Completed Packets (0x13) plen 5 ACL data: handle 41 flags 0x01 dlen 490

L2CAP(d): cid 0x0040 len 1503 [psm 0]

Quoted 4 lines

ACL data: handle 41 flags 0x02 dlen 512
ACL data: handle 41 flags 0x01 dlen 505
ACL data: handle 41 flags 0x01 dlen 339
ACL data: handle 41 flags 0x01 dlen 151

L2CAP(d): cid 0x0040 len 1503 [psm 0]

Quoted 3 lines

ACL data: handle 41 flags 0x02 dlen 512
ACL data: handle 41 flags 0x01 dlen 505
ACL data: handle 41 flags 0x01 dlen 194

L2CAP(d): cid 0x0040 len 1207 [psm 0]

I am using Kernel 2.6.13, the card was connected to a tty device with
$> /usr/sbin/hciattach $DEVICE bcsp
using the hci_uart + serial driver (h4).

The /etc/pcmcia/bluetooth.conf file has the following entry:

card "Brain Boxes BL-752 Bluetooth Adapter"
manfid 0x0160,0xaba0
bind "serial_cs" class "bluetooth"

cat /proc/tty/driver/serial gives:
...
2: uart:TI16750 port:000003E8 irq:3 tx:15970676 rx:17133759 RTS|CTS|DTR|DSR|CD
...
This looks ok, but seems to me that the flow control is not working correctly.

Please let me know if there is a solution for this thanks
Franz

Quoted 8 lines

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Figured out that this error will only appear on a Evo N1020v Notebook. Everything is fine with another notebook.
Both PC's have the same kernel version and flags with the same distribution and software version.

Don't know the reason, yet

regards Franz

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users