Skip to content

Refactor bnep code and implement pan methods

Ravi kumar Veeramally linux-bluetooth 1 version Applied

Status from this message: Applied, please have a look as I renamed a few other things and I

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

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6profiles/network: Refactor bnep connection setup functionalityprofiles/network/common.c profiles/network/common.h profiles/network/connection.c +1 more+211 -1640 replies
2/6profiles/network: Rename common.c|h to bnep.c|hMakefile.plugins profiles/network/bnep.c profiles/network/bnep.h +3 more+5 -50 replies
3/6android/pan: Implement pan connect method in daemonandroid/Android.mk android/Makefile.am android/pan.c+216 -80 replies
4/6android/pan: Implement pan disconnect method in daemonandroid/pan.c+28 -20 replies
5/6android/pan: Implement the get local role method in daemonandroid/pan.c+8 -20 replies
6/6android: 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_v5 0/6] Refactor bnep code and implement pan methods

v5: Renamed strcut network_peer to pan_device as per Luiz comments.

v4: Fixed Luiz comments (discussed in irc). Merge patch 1 and 2.
Pass fd in bnep_connect instead of GIOChannel.

v3: Fixed Anderson and Luiz comments and solved rebased conflicts.

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 (6):
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                         | 253 ++++++++++++++++++++++++++++++++--
 profiles/network/{common.c => bnep.c} | 197 +++++++++++++++++++++++++-
 profiles/network/{common.h => bnep.h} |   5 +
 profiles/network/connection.c         | 174 ++---------------------
 profiles/network/manager.c            |   2 +-
 profiles/network/server.c             |   5 +-
 10 files changed, 468 insertions(+), 178 deletions(-)
 rename profiles/network/{common.c => bnep.c} (58%)
 rename profiles/network/{common.h => bnep.h} (87%)
Signature · 1 line
1.8.3.2