Linux bluetooth development
 help / color / mirror / Atom feed
* BT_AMP_POLICY and RFCOMM
@ 2012-01-24  4:15 Greg Hazel
  2012-01-24  8:27 ` Andrei Emeltchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Hazel @ 2012-01-24  4:15 UTC (permalink / raw)
  To: linux-bluetooth

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

-Greg


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-01-24 20:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-24  4:15 BT_AMP_POLICY and RFCOMM Greg Hazel
2012-01-24  8:27 ` Andrei Emeltchenko
2012-01-24  8:36   ` Greg Hazel
2012-01-24  8:57     ` Andrei Emeltchenko
2012-01-24  9:57       ` Greg Hazel
2012-01-24 17:45         ` Peter Krystad
2012-01-24 20:59           ` ghazel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox