Thread (6 messages) flat view 6 messages, 1 author, 2012-09-27
STALE5101d

Revision v3 of 5 in this series.

Revisions (5)
  1. v0 [diff vs current]
  2. v1 [diff vs current]
  3. v2 [diff vs current]
  4. v3 current
  5. v4 [diff vs current]

[PATCH v3 0/5] Audio profile authorization

From: Mikel Astiz <hidden>
Date: 2012-09-27 08:07:47

From: Mikel Astiz <redacted>

v3 is similar to v2 but rebased and adapter against the latest upstream
changes.

Patch v2 2/6 has been dropped since it was not intended to be part of this patchet.
From original cover-letter:
The agent-based profile authorization makes a special consideration for audio profiles: they are processed as if they all belonged to one single profile. This includes several internal policies that are inconvenient for IVI use-cases.

This patchset removes this exception by making use of the conventional authorization mechanism also for audio profiles.

The new approach is not straightforward since devices might send several connection requets in parallel (i.e. HFP, A2DP, AVRCP). This cannot be neither automatically rejected (EBUSY) nor forwarded in parallel to the agent, so a queue was added to store the pending authorization requests. These will be sent to the agent sequentially.

Mikel Astiz (5):
  build: Update glib dependency to 2.32
  adapter: Replace device authorizing flag
  adapter: Use authorization id for cancelling
  adapter: Queue parallel authorization requests
  audio: Drop audio-specific authorization mechanism

 acinclude.m4            |   4 +-
 audio/avctp.c           |  30 ++++----
 audio/avdtp.c           |  25 +++++--
 audio/device.c          | 144 -----------------------------------
 audio/device.h          |  12 +--
 audio/manager.c         |  18 +++--
 plugins/service.c       |  18 +++--
 profiles/input/server.c |   2 +-
 src/adapter.c           | 194 +++++++++++++++++++++++++++++++-----------------
 src/adapter.h           |   2 +-
 src/device.c            |  11 ---
 src/device.h            |   2 -
 src/profile.c           |  24 +++---
 13 files changed, 190 insertions(+), 296 deletions(-)

-- 
1.7.11.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help