Skip to content

Refactor bnep code and implement pan methods

Ravi kumar Veeramally linux-bluetooth 1 version In review

Get series with b4
b4 am 1385649955-29276-1-git-send-email-ravikumar.veeramally@linux.intel.com

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7profiles/network: Remove redundant code for bnep interface nameprofiles/network/common.c profiles/network/connection.c profiles/network/server.c+1 -73 replies
2/7profiles/network: Refactor bnep connection setup functionalityprofiles/network/common.c profiles/network/common.h profiles/network/connection.c+194 -1560 replies
3/7profiles/network: Rename common.c|h to bnep.c|hMakefile.plugins profiles/network/bnep.c profiles/network/bnep.h +5 more+499 -4992 replies
4/7android/pan: Implement pan connect method in daemonandroid/Android.mk android/Makefile.am android/pan.c+213 -80 replies
5/7android/pan: Implement pan disconnect method in daemonandroid/pan.c+28 -20 replies
6/7android/pan: Implement the get local role method in daemonandroid/pan.c+10 -40 replies
7/7android: Add reasons for adding capabilites to processandroid/main.c+3 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH_v2 0/7] Refactor bnep code and implement pan methods

v2: Refactored profiles/network/common.* as per Johan's comments
(renaming common.c|h to bnep.c|h and moving bnep related code to
bnep.c ro reduce redundancy in profiles/netowrk/connection.c and android/pan.c)

v1: This patch set supports PANU role with a minor fix in android. Added
CAP_NET_RAW capability for bnep services. Creates bnep connection and up the inreface on connect call and free the device on disconnect call. Interface name(bnepX) will be notified on control state cb. Android environment will create IP address with dhcp calls.

Ravi kumar Veeramally (7):
profiles/network: Remove redundant code for bnep interface name profiles/network: Refactor bnep connection setup functionality profiles/network: Rename common.c|h to bnep.c|h android/pan: Implement pan connect method in daemon android/pan: Implement pan disconnect method in daemon android/pan: Implement the get local role method in daemon
android: Add reasons for adding capabilites to process

 Makefile.plugins              |   2 +-
 android/Android.mk            |   2 +
 android/Makefile.am           |   3 +-
 android/main.c                |   3 +
 android/pan.c                 | 252 ++++++++++++++++++++++-
 profiles/network/bnep.c       | 453 ++++++++++++++++++++++++++++++++++++++++++
 profiles/network/bnep.h       |  42 ++++
 profiles/network/common.c     | 276 -------------------------
 profiles/network/common.h     |  37 ----
 profiles/network/connection.c | 171 ++--------------
 profiles/network/manager.c    |   2 +-
 profiles/network/server.c     |   5 +-
 12 files changed, 760 insertions(+), 488 deletions(-)
 create mode 100644 profiles/network/bnep.c
 create mode 100644 profiles/network/bnep.h
 delete mode 100644 profiles/network/common.c
 delete mode 100644 profiles/network/common.h
Signature · 1 line
1.8.3.2