[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Bluetooth and USB - buffer overflow problem



I have a USB Bluetooth device connected to another Bluetooth device and am
using PPP overtop the wireless link.  I am trying to send a web page from
the USB device to the second BT device and part of the webpage is sent,
then transmission stops due to the Ericsson hardware crashing (Rev P9A):
The AXIS stack is running on the USB-BT device.  Below is a dump when
things go "bad".  For some reason, an HCI buffer of size 1272 bytes is
created.  The max size of an ACL buffer on my HW is 800 bytes.
One or more things are going wrong:

1) The AXIS stack is not dividing the HCI stream into sizes smaller
than the max ACL buffersize (in my case 800 bytes).
2) The Linux USB Bluetooth driver cannot handle a buffer greater than 255
data bytes.
3) ????

Any idea where to start?  Any known problems/limitations in these
areas?  I'll start digging....
I guess my max ACL buffersize using USB-BT is really 255 bytes....

Thanks for any help you can give me,
Craig Gwydir

Nov 13 11:46:08 moose kernel: HCI: send_acl_packet: unsubscribing tx_buf.
Nov 13 11:46:08 moose kernel: HCI: hci_send_data: 52 bytes
Nov 13 11:46:08 moose kernel: HCI: -->81 (0)
Nov 13 11:46:08 moose kernel: HCI: hci_send_data: 24 bytes
Nov 13 11:46:08 moose kernel: HCI: -->134 (0)
Nov 13 11:46:08 moose kernel: HCI: hci_send_data: 69 bytes
Nov 13 11:46:08 moose kernel: HCI: -->232 (0)
Nov 13 11:46:08 moose kernel: HCI: hci_send_data: 107 bytes
Nov 13 11:46:08 moose kernel: HCI: -->368 (0)
Nov 13 11:46:08 moose kernel: VFS: Disk change detected on device ide1(22,0)
Nov 13 11:46:09 moose kernel: HCI: hci_send_data: 109 bytes
Nov 13 11:46:09 moose kernel: HCI: -->506 (0)
Nov 13 11:46:09 moose kernel: bluetooth.c: bluetooth_int_callback - packet
was too long
Nov 13 11:46:09 moose kernel: HCI: hci_send_data: 135 bytes
Nov 13 11:46:09 moose kernel: HCI: -->670 (0)
Nov 13 11:46:09 moose kernel: HCI: hci_send_data: 131 bytes
Nov 13 11:46:09 moose kernel: HCI: -->830 (0)
Nov 13 11:46:09 moose kernel: HCI: hci_send_data: 135 bytes
Nov 13 11:46:09 moose kernel: HCI: -->994 (0)
Nov 13 11:46:09 moose kernel: HCI: hci_send_data: 131 bytes
Nov 13 11:46:09 moose kernel: HCI: -->1154 (0)
Nov 13 11:46:09 moose kernel: HCI: hci_send_data: 89 bytes
Nov 13 11:46:09 moose kernel: HCI: -->1272 (0)
Nov 13 11:46:09 moose kernel:
Nov 13 11:46:09 moose kernel: hci_receive_data :  (11)
Nov 13 11:46:09 moose kernel:    0x04 0xff 0x08 0x04 0x00 0x04 0x00 0x00
0x01 0x8f 0x00
Nov 13 11:46:09 moose kernel: hci-11
Nov 13 11:46:09 moose kernel: HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
Nov 13 11:46:09 moose kernel: HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
Nov 13 11:46:09 moose kernel: HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
Nov 13 11:46:09 moose kernel:
Nov 13 11:46:09 moose kernel: process_event:  (8)
Nov 13 11:46:09 moose kernel:    0x04 0x00 0x04 0x00 0x00 0x01 0x8f 0x00
Nov 13 11:46:09 moose kernel: HCI: process_event: DIGIANSWER EVENT
Nov 13 11:46:09 moose kernel: Unkown error digianswer code
Nov 13 11:46:09 moose kernel: hci_receive_data :  (11)
Nov 13 11:46:09 moose kernel:    0x04 0xff 0x08 0x04 0x00 0x04 0x00 0x00
0x0e 0x94 0x00

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com