Return-Path: Subject: Re: [Bluez-devel] pan link quality From: Marcel Holtmann To: bluez-devel@lists.sourceforge.net In-Reply-To: <43C29249.3020008@fillibach.de> References: <43C29249.3020008@fillibach.de> Content-Type: text/plain Message-Id: <1136909256.7200.6.camel@localhost.localdomain> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 10 Jan 2006 17:07:36 +0100 Hi Kosta, > I am currently playing around in setting up IP ad-hoc networks using > bluez. olsr-over-bluetooth works, and `pand -Q` is a nice thing :) > > The bad stuff is that inquiry & connecting can take some time, but its > hard to really do something against that. (I have a few hacks in mind, > but they wont scale) > > What would be really nice is some link quality metric. On my mobile > device `hcitool lq` always returns 255 (Even if the link goes bad and > the other side sees it). But I have one metric in mind: the interface > gets destroyed if a certain number of packets are not acknowledged by > the receiver. Is there some way (other than writing a script that > listens to hcidump) to measure this? `ifconfig bnep0` shows errors:0 > and dropped:0 until it is detroyed. I am not a kernel hacker, i looked > around a bit in the bluez module, the library and pand, but couldnt > really find anything... > > Do you have any hints? Is there any "unacknoledged packets" metric > accessible from userland? Where is the code that destroys the bnep > interface after x packets? the link quality is vendor specific and we really only know how CSR implemented it. The RSSI might be another indicator, but I assume some chip manufacturers did a bad implementation. What chips are you using? > PS: Are you interesed in a "zeroconf ip" patch for pand? Go ahead and post the patch to the mailing list. We will review it. Regards Marcel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel