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

Re: [bluetooth-dev] Large file transfert with CSR and BCSP



Hi Steven,

> > it seems the CRCs was disabled :
> > Values for pskey 0x0191:
> > 0x00EC 0x0006 0x00FA 0x0014 0x0004 0x0000 0x0004 0x001E 0x0064 0x000A
> > 
> > I will try Monday with CRCs enabled (I have only one BT module usable
> > now for making large transfert).

I have now do my tests with CRCs enabled. OpenBT dynamically test if the
module is doing CRC checking and use it if the CSR to it.

This correct some more errors, but not all. Sometime, the data transfert
stops. I don't know if this is normal : my opinion is there is lot of
errors. See the attached log : about 958 packet completed, 48
out-of-order packet, 5 incorrect length and 8 incorrect CRC. This mean
an error of 6%. Just for information, this is a transfer of 1.3 MB via
OpenObex over RFCOMM. This log if for a "good" file transfert. File
transfert is OK about 2 times for 3. (1 transfert stops during the
transfert).

> Actually errors are less likely this way as UART reception on the CSR
> chip is handled by a variant of DMA rather than by FIFOs - this makes
> FIFO overrun impossible.

Do you say if we have FIFO overrun, this is in the reception end, not
in the transmition end ?

Thanks for the help.

		Olivier
-- 
Olivier Bornet                      SMARTDATA SA
Olivier.Bornet@xxxxxxx.ch         Centre du Parc
http://www.smartdata.ch             av. des Pr閟-Beudin 20
Phone +41-27-723'55'03              CH-1920 Martigny
Fax   +41-27-723'55'19              GPG key ID: C53D9218
Jul 24 14:13:38 xenon kernel:  BT SYS: l2cap channel (64,64) [RFCOMM] connected
Jul 24 14:13:38 xenon kernel: BT SYS: rfcomm_config_cfm: l2cap is now open
Jul 24 14:13:38 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:13:38 xenon kernel: HCI: process_event: REMOTE_NAME_REQUEST_COMPLETE 
Jul 24 14:13:38 xenon kernel: HCI: process_event: wake_up(get_name_wq)
Jul 24 14:13:38 xenon kernel: HCI: process_event: COMMAND_COMPLETE
Jul 24 14:13:38 xenon kernel: HCI: release_cmd_timer
Jul 24 14:13:38 xenon kernel: HCI: process_return_param: WRITE_LINK_SUPERVISION_TO (0)
Jul 24 14:13:38 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:13:38 xenon kernel: BT SYS: bt_register_rfcomm: dlci 4 on line 0
Jul 24 14:13:38 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:00 xenon last message repeated 16 times
Jul 24 14:14:01 xenon kernel: seq out-of-order [exp:1, got:2], send ack
Jul 24 14:14:01 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:14:01 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:05 xenon last message repeated 24 times
Jul 24 14:14:05 xenon kernel: seq out-of-order [exp:6, got:7], send ack
Jul 24 14:14:06 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:08 xenon last message repeated 8 times
Jul 24 14:14:08 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect length, discarding data
Jul 24 14:14:08 xenon kernel: seq out-of-order [exp:1, got:2], send ack
Jul 24 14:14:08 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:14:08 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:09 xenon last message repeated 6 times
Jul 24 14:14:10 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:14:10 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:14:10 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:13 xenon last message repeated 11 times
Jul 24 14:14:13 xenon kernel: seq out-of-order [exp:6, got:7], send ack
Jul 24 14:14:13 xenon kernel: seq out-of-order [exp:6, got:7], send ack
Jul 24 14:14:14 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:15 xenon last message repeated 7 times
Jul 24 14:14:15 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:14:15 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:14:16 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:30 xenon last message repeated 61 times
Jul 24 14:14:30 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:14:30 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:14:31 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:32 xenon last message repeated 4 times
Jul 24 14:14:32 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect CRC, discarding data
Jul 24 14:14:32 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:36 xenon last message repeated 16 times
Jul 24 14:14:36 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:14:36 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:14:36 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:40 xenon last message repeated 14 times
Jul 24 14:14:40 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect length, discarding data
Jul 24 14:14:40 xenon kernel: seq out-of-order [exp:1, got:2], send ack
Jul 24 14:14:40 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:14:40 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:40 xenon last message repeated 2 times
Jul 24 14:14:41 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:14:41 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:14:41 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:47 xenon last message repeated 26 times
Jul 24 14:14:47 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:14:47 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:48 xenon last message repeated 2 times
Jul 24 14:14:48 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect CRC, discarding data
Jul 24 14:14:48 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:54 xenon last message repeated 26 times
Jul 24 14:14:54 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect CRC, discarding data
Jul 24 14:14:54 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:14:56 xenon last message repeated 8 times
Jul 24 14:14:57 xenon kernel: seq out-of-order [exp:6, got:7], send ack
Jul 24 14:14:57 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:15:14 xenon last message repeated 73 times
Jul 24 14:15:14 xenon kernel: seq out-of-order [exp:6, got:7], send ack
Jul 24 14:15:15 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:15:18 xenon last message repeated 13 times
Jul 24 14:15:18 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect CRC, discarding data
Jul 24 14:15:18 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:15:30 xenon last message repeated 53 times
Jul 24 14:15:31 xenon kernel: seq out-of-order [exp:6, got:7], send ack
Jul 24 14:15:31 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:15:36 xenon last message repeated 20 times
Jul 24 14:15:36 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:15:36 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:15:37 xenon last message repeated 4 times
Jul 24 14:15:37 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:15:37 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:15:37 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:15:38 xenon last message repeated 2 times
Jul 24 14:15:38 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:15:38 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:15:40 xenon last message repeated 9 times
Jul 24 14:15:40 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:15:41 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:15:43 xenon last message repeated 13 times
Jul 24 14:15:43 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:15:44 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:15:45 xenon last message repeated 6 times
Jul 24 14:15:45 xenon kernel: seq out-of-order [exp:6, got:7], send ack
Jul 24 14:15:46 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:03 xenon last message repeated 69 times
Jul 24 14:16:03 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:16:03 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:16:03 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:09 xenon last message repeated 25 times
Jul 24 14:16:09 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:16:09 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:16:09 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:27 xenon last message repeated 72 times
Jul 24 14:16:28 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:16:28 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:31 xenon last message repeated 14 times
Jul 24 14:16:31 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:16:31 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:16:32 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:33 xenon last message repeated 3 times
Jul 24 14:16:33 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:16:33 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:16:33 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:36 xenon last message repeated 12 times
Jul 24 14:16:36 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:16:36 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:42 xenon last message repeated 23 times
Jul 24 14:16:42 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:16:42 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:43 xenon last message repeated 3 times
Jul 24 14:16:43 xenon kernel: seq out-of-order [exp:1, got:2], send ack
Jul 24 14:16:43 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:16:44 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:44 xenon last message repeated 3 times
Jul 24 14:16:44 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect CRC, discarding data
Jul 24 14:16:44 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:46 xenon last message repeated 9 times
Jul 24 14:16:46 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect CRC, discarding data
Jul 24 14:16:46 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:48 xenon last message repeated 7 times
Jul 24 14:16:48 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect CRC, discarding data
Jul 24 14:16:49 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:53 xenon last message repeated 15 times
Jul 24 14:16:53 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:16:53 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:54 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:54 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:16:54 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:54 xenon last message repeated 2 times
Jul 24 14:16:55 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:16:55 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:16:55 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:57 xenon last message repeated 9 times
Jul 24 14:16:57 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:16:57 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:16:57 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:16:59 xenon last message repeated 8 times
Jul 24 14:16:59 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:17:00 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:00 xenon last message repeated 2 times
Jul 24 14:17:00 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:17:00 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:17:01 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:03 xenon last message repeated 12 times
Jul 24 14:17:03 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:17:04 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:04 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:04 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:17:04 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:05 xenon last message repeated 5 times
Jul 24 14:17:05 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:17:06 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:13 xenon last message repeated 31 times
Jul 24 14:17:13 xenon kernel: seq out-of-order [exp:1, got:2], send ack
Jul 24 14:17:13 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:17:13 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:14 xenon last message repeated 5 times
Jul 24 14:17:15 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect length, discarding data
Jul 24 14:17:15 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:17:15 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:16 xenon last message repeated 7 times
Jul 24 14:17:17 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect length, discarding data
Jul 24 14:17:17 xenon kernel: seq out-of-order [exp:1, got:2], send ack
Jul 24 14:17:17 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:17:17 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:19 xenon last message repeated 9 times
Jul 24 14:17:19 xenon kernel: seq out-of-order [exp:1, got:2], send ack
Jul 24 14:17:19 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:17:20 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:21 xenon last message repeated 7 times
Jul 24 14:17:21 xenon kernel: seq out-of-order [exp:1, got:2], send ack
Jul 24 14:17:21 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:17:21 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:17:22 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:31 xenon last message repeated 41 times
Jul 24 14:17:31 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:17:32 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:39 xenon last message repeated 32 times
Jul 24 14:17:40 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:17:40 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:17:40 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:44 xenon last message repeated 15 times
Jul 24 14:17:44 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect length, discarding data
Jul 24 14:17:44 xenon kernel: seq out-of-order [exp:5, got:6], send ack
Jul 24 14:17:44 xenon kernel: seq out-of-order [exp:5, got:7], send ack
Jul 24 14:17:44 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:54 xenon last message repeated 42 times
Jul 24 14:17:55 xenon kernel: seq out-of-order [exp:1, got:2], send ack
Jul 24 14:17:55 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:17:55 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:57 xenon last message repeated 7 times
Jul 24 14:17:57 xenon kernel: seq out-of-order [exp:2, got:3], send ack
Jul 24 14:17:57 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:17:59 xenon last message repeated 7 times
Jul 24 14:17:59 xenon kernel: BCSP: bcsp_integrity_receive: Incorrect CRC, discarding data
Jul 24 14:18:00 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:18:02 xenon last message repeated 11 times
Jul 24 14:18:02 xenon kernel: seq out-of-order [exp:1, got:2], send ack
Jul 24 14:18:02 xenon kernel: seq out-of-order [exp:1, got:3], send ack
Jul 24 14:18:03 xenon kernel: HCI: process_event: NUMBER_OF_COMPLETED_PACKETS : 1
Jul 24 14:18:13 xenon last message repeated 21 times
Jul 24 14:36:23 xenon -- MARK --

Attachment: pgp00016.pgp
Description: PGP signature