Return-Path: Message-ID: Date: Tue, 24 Apr 2007 20:38:40 +0530 From: "list subscribe" To: "BlueZ development" In-Reply-To: <462E02FB.8000600@vasmac.com> MIME-Version: 1.0 References: <462E02FB.8000600@vasmac.com> Subject: Re: [Bluez-devel] [PATCH]Dynamic Alternate Setting patch (hci_usb.c) Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0219214597==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============0219214597== Content-Type: multipart/alternative; boundary="----=_Part_22488_9700911.1177427320648" ------=_Part_22488_9700911.1177427320648 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Jose, Hi Alok, > > This is a good start. There are a few other things to consider: > > * Are there error conditions in hci_usb_tx_complete that need to be > handled? I am not sure what you mean. Since we don't flush submitted URBs, these URBs are handled like normal ones. If their status indicates error the error_tx count will be incremented. What error conditions are u pointing at? * How do you make sure data for different channels is interleaved? Well , since we know that there can be max 3 SCO channels , we can have 3 separate queues, and use a round robin method to send out the packets from the queues. i am not sure about this idea though. What do u think? Jose > > ------=_Part_22488_9700911.1177427320648 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Jose,
 


Hi Alok,

This is a good start. There are a few other things to consider:

* Are there error conditions in hci_usb_tx_complete that need to be handled?

I am not sure what you mean.  Since we don't flush submitted  URBs, these URBs are handled like normal ones. If their status indicates error the error_tx count will be incremented. What error conditions are u pointing at?

* How do you make sure data for different channels is interleaved?

Well , since we know that there can be max 3 SCO channels , we can have 3 separate queues, and use a round robin method to send out the packets from the queues. i am not sure about this idea though.  What do u think?

Jose


------=_Part_22488_9700911.1177427320648-- --===============0219214597== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============0219214597== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============0219214597==--