Re: BT_AMP_POLICY and RFCOMM

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

 



On Mon, Jan 23, 2012 at 08:15:16PM -0800, Greg Hazel wrote:
> Hi,
> 
> I'm trying to set BT_AMP_POLICY on an RFCOMM socket to
> BT_AMP_POLICY_PREFER_AMP. In return I'm getting "Operation not supported

BTW: Why would you need to set this? Functionality is not supported yet so
nothing will change.

Best regards 
Andrei Emeltchenko 

> on transport endpoint" (errno 95). Glancing at the code, it looks like
> RFCOMM sockets do not handle BT_AMP_POLICY, and the default policy for
> the underlying L2CAP socket is BT_AMP_POLICY_REQUIRE_BR_EDR. However,
> the L2CAP socket is L2CAP_MODE_ERTM, so my expectation is that it would
> work to use AMP.
> 
> So, why was BT_AMP_POLICY left out for RFCOMM sockets? Was it simply an
> oversight?

--
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