Re: [PATCH 1/9] Bluetooth: Add BT_AMP_POLICY socket option

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

 



Hi Mat,

On Sat, Oct 15, 2011 at 1:38 AM, Mat Martineau <mathewm@xxxxxxxxxxxxxx> wrote:
>>
>> Not sure if applications actually do care, but for OBEX it might be
>> interesting to know if you are on an AMP controller right now or not.
>
> Yes, that would be a nice feature.  OBEX seems to work well even without it,
> though.  The OBEX connection is made over BREDR, and the socket option is
> changed after the OBEX connection is made but before any gets or puts.  What
> you see in hcidump is that the move starts before the first get or put goes
> out over BREDR - those OBEX packets sit in the ERTM tx queue while the
> channel move happens.  When the move completes, the transfer immediatly
> proceeds on the AMP controller.

I guess the is implementation dependent, for obexd we might want to
check if the transfer will take a considerable amount of time to
decide whether or not to use AMP, in some case it might not worth to
switch because it will take more time than transferring over BDEDR.

-- 
Luiz Augusto von Dentz
--
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