determining link quality for poor connections

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

 



In reading the spec, I noticed that implementation of link quality is
up to the implementation of the bluetooth chip manufacturer.
After testing this (hci_read_link_quality())  on two separate
bluetooth chipsets, I got some inconsistent results.

The test scenario involes sending a simple l2cap message every second
to a mobile device with bluetooth.
The mobile device displays the received message to the console.
I gradually walk away from the sender until the messages are no longer
displayed (meaning outside of the range.)
I have bluez 4.98.

After each packet is sent I retrieve the link quality (hci_read_link_quality()).
I tested this scenario on two different bluetooth chipsets:

Broadcom device id: 0a5c:217f:  I receive link quality of 255 ( the
entire duration)
Atheros-Qualcom devide id:  04ca:3004 (ath3k device) I receive link
quality of 172 ( the entire duration)
(I also confirmed these results with hcitool)

It seems that link_quality is not a useful parameter. As the link
quality is obviously impaired, this function always returns the same
value.  I'm also retrieving RSSI which seems to be more indicative of
the poor connection quality.

Is there a better way to determine link quality? Is there a way to
count packets which need to be re-transmitted?
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux