Skip to content

Remove HFP implementation

Luiz Augusto von Dentz linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13audio: Remove HFP and HSP headset role supportaudio/manager.c+0 -5020 replies
2/13audio: Remove HFP option from audio.confaudio/audio.conf audio/manager.c audio/manager.h+0 -130 replies
3/13audio: Remove code using headsetaudio/device.c audio/headset.c audio/main.c +4 more+9 -5530 replies
4/13build: Remove telephony-maemo5.cMakefile.am audio/telephony-maemo5.c+2 -21040 replies
5/13build: Remove telephony-maemo6.cMakefile.am audio/telephony-maemo6.c+2 -22000 replies
6/13build: Remove telephony-ofono.cMakefile.am audio/telephony-ofono.c+1 -16390 replies
7/13build: Remove telephony-dummy.cMakefile.am audio/telephony-dummy.c+1 -4530 replies
8/13build: Remove telephony.hMakefile.am audio/manager.c audio/telephony.h+1 -2460 replies
9/13build: Remove headset.c and headset.hMakefile.am audio/device.h audio/headset.c +1 more+0 -29360 replies
10/13audio: Remove code HFP and HS gateway roleaudio/device.c audio/main.c audio/manager.c +3 more+8 -5980 replies
11/13build: Remove gateway.c and gateway.hMakefile.am audio/device.h audio/gateway.c +1 more+0 -11250 replies
12/13audio: Move to profiles directoryMakefile.am profiles/audio/a2dp-codecs.h profiles/audio/a2dp.c +26 more+16 -160 replies
13/13audio: Add support for passing endpoints as custom propertyprofiles/audio/media.c+114 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH BlueZ 00/13] Remove HFP implementation

From: Luiz Augusto von Dentz <[email protected]>

These changes remove HFP implemention from audio plugin and move audio under profiles directory.

HFP can be emulated by test-profile -u hfp, all the telephony backends are gone as well since this is now suppose to be a external profile probably done inside the telephony stack e.g. oFono in use in the platform.

Luiz Augusto von Dentz (13):
audio: Remove HFP and HSP headset role support
audio: Remove HFP option from audio.conf
audio: Remove code using headset
build: Remove telephony-maemo5.c
build: Remove telephony-maemo6.c
build: Remove telephony-ofono.c
build: Remove telephony-dummy.c
build: Remove telephony.h
build: Remove headset.c and headset.h
audio: Remove code HFP and HS gateway role
build: Remove gateway.c and gateway.h
audio: Move to profiles directory
audio: Add support for passing endpoints as custom property

 Makefile.am                             |   48 +-
 audio/gateway.c                         | 1048 ------------
 audio/gateway.h                         |   75 -
 audio/headset.c                         | 2825 -------------------------------
 audio/headset.h                         |  112 --
 audio/manager.c                         | 1387 ---------------
 audio/telephony-dummy.c                 |  444 -----
 audio/telephony-maemo5.c                | 2102 -----------------------
 audio/telephony-maemo6.c                | 2196 ------------------------
 audio/telephony-ofono.c                 | 1636 ------------------
 audio/telephony.h                       |  244 ---
 {audio => profiles/audio}/a2dp-codecs.h |    0
 {audio => profiles/audio}/a2dp.c        |    0
 {audio => profiles/audio}/a2dp.h        |    0
 {audio => profiles/audio}/audio.conf    |    4 -
 {audio => profiles/audio}/avctp.c       |    0
 {audio => profiles/audio}/avctp.h       |    0
 {audio => profiles/audio}/avdtp.c       |    0
 {audio => profiles/audio}/avdtp.h       |    0
 {audio => profiles/audio}/avrcp.c       |    0
 {audio => profiles/audio}/avrcp.h       |    0
 {audio => profiles/audio}/control.c     |    0
 {audio => profiles/audio}/control.h     |    0
 {audio => profiles/audio}/device.c      |  198 +--
 {audio => profiles/audio}/device.h      |    2 -
 {audio => profiles/audio}/main.c        |   98 +-
 profiles/audio/manager.c                |  552 ++++++
 {audio => profiles/audio}/manager.h     |    7 +-
 {audio => profiles/audio}/media.c       |  245 ++-
 {audio => profiles/audio}/media.h       |    0
 {audio => profiles/audio}/player.c      |    0
 {audio => profiles/audio}/player.h      |    0
 {audio => profiles/audio}/rtp.h         |    0
 {audio => profiles/audio}/sink.c        |    0
 {audio => profiles/audio}/sink.h        |    0
 {audio => profiles/audio}/source.c      |    0
 {audio => profiles/audio}/source.h      |    0
 {audio => profiles/audio}/transport.c   |  380 -----
 {audio => profiles/audio}/transport.h   |    0
 39 files changed, 673 insertions(+), 12930 deletions(-)
 delete mode 100644 audio/gateway.c
 delete mode 100644 audio/gateway.h
 delete mode 100644 audio/headset.c
 delete mode 100644 audio/headset.h
 delete mode 100644 audio/manager.c
 delete mode 100644 audio/telephony-dummy.c
 delete mode 100644 audio/telephony-maemo5.c
 delete mode 100644 audio/telephony-maemo6.c
 delete mode 100644 audio/telephony-ofono.c
 delete mode 100644 audio/telephony.h
 rename {audio => profiles/audio}/a2dp-codecs.h (100%)
 rename {audio => profiles/audio}/a2dp.c (100%)
 rename {audio => profiles/audio}/a2dp.h (100%)
 rename {audio => profiles/audio}/audio.conf (93%)
 rename {audio => profiles/audio}/avctp.c (100%)
 rename {audio => profiles/audio}/avctp.h (100%)
 rename {audio => profiles/audio}/avdtp.c (100%)
 rename {audio => profiles/audio}/avdtp.h (100%)
 rename {audio => profiles/audio}/avrcp.c (100%)
 rename {audio => profiles/audio}/avrcp.h (100%)
 rename {audio => profiles/audio}/control.c (100%)
 rename {audio => profiles/audio}/control.h (100%)
 rename {audio => profiles/audio}/device.c (69%)
 rename {audio => profiles/audio}/device.h (96%)
 rename {audio => profiles/audio}/main.c (53%)
 create mode 100644 profiles/audio/manager.c
 rename {audio => profiles/audio}/manager.h (89%)
 rename {audio => profiles/audio}/media.c (91%)
 rename {audio => profiles/audio}/media.h (100%)
 rename {audio => profiles/audio}/player.c (100%)
 rename {audio => profiles/audio}/player.h (100%)
 rename {audio => profiles/audio}/rtp.h (100%)
 rename {audio => profiles/audio}/sink.c (100%)
 rename {audio => profiles/audio}/sink.h (100%)
 rename {audio => profiles/audio}/source.c (100%)
 rename {audio => profiles/audio}/source.h (100%)
 rename {audio => profiles/audio}/transport.c (72%)
 rename {audio => profiles/audio}/transport.h (100%)
Signature · 1 line
1.7.11.7