From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Grzegorz Kolodziejczyk To: linux-bluetooth@vger.kernel.org Subject: [PATCH v4 0/4] Handling extended headers of bnep control frames Date: Wed, 1 Apr 2015 16:24:11 +0200 Message-Id: <1427898255-27496-1-git-send-email-grzegorz.kolodziejczyk@tieto.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: This patch set adds support for handling extended headers of bnep control frames which is mandatory. Until now extended headers for control messages was ignored. Patch [1/4] adds setting of err variable if control message is not understood. Patch [2/4] adds additional ioctl for get supported bnep features. This is needed for user space to know if handling of sending success setup response frame should be handled by kernel or by user space. Patch [3/4] adds support for handling extended headers of bnep control frames. Patch [4/4] adds support for handling connection setup request. Patch set tested with PTS bnep test cases. No regression, issues found during testing. v2. - Added ioctl definition to compat_ioctl, - Distinct bnep session flags and bnep features. v3. - Splited extended header, connection setup request handling into separated patches, - Fixed flags, supported features defines as Marcel pointed, - Extended commit messages, - Remove copying flags from us to kernel bnep session, - Fix setting bnep session bits as Marcel pointed. v4. - Unify internal/us flags usage like in HIDP, CMTP, - Refactor send setup response as Marcel suggested, - Make supported feature variable as local ioctl variable and set it while adding session if required. Grzegorz Kolodziejczyk (4): Bluetooth: bnep: Return err value while sending cmd is not understood Bluetooth: bnep: Add support for get bnep features via ioctl Bluetooth: bnep: Add support to extended headers of control frames Bluetooth: bnep: Handle BNEP connection setup request fs/compat_ioctl.c | 1 + net/bluetooth/bnep/bnep.h | 4 ++++ net/bluetooth/bnep/core.c | 58 +++++++++++++++++++++++++++++++++++++---------- net/bluetooth/bnep/sock.c | 8 +++++++ 4 files changed, 59 insertions(+), 12 deletions(-) -- 2.1.0