All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFCv2 bluetooth-next 00/19] bluetooth: rework 6lowpan implementation
@ 2016-08-07 14:30 Alexander Aring
  2016-08-07 14:30 ` [RFCv2 bluetooth-next 01/19] ieee802154: 6lowpan: remove headroom check Alexander Aring
                   ` (19 more replies)
  0 siblings, 20 replies; 23+ messages in thread
From: Alexander Aring @ 2016-08-07 14:30 UTC (permalink / raw)
  To: linux-wpan; +Cc: kernel, linux-bluetooth, Alexander Aring

Hi,

This patch series is my second RFC for making btle 6lowpan into the right
direction.

I added hopefully all suggestions which I got from RFCv1. The interface address
will be assigned when the first l2cap chan connection gets in. This device
address will be get by "hci_copy_identity_address" bluetooth API function and
I hope this is the right function to get the "RPA device address".

Checkout commit message of Patch 19/19 to see how I used it.

Bad news are, I will start my master thesis shortly so I am not able to work
on this patch series anymore.

- Alex

changes since v2:
 - Add patch "bluetooth: introduce l2cap chan priv data" to deal with private
   l2cap chan data when doing the final put, instead handling own heap
   allocation to do that.
 - remove patch "6lowpan: ndisc: don't remove short address" which was for
   802.15.4 handling only. It's mainline now.
 - following changes was done for new btle 6lowpan implementation:
    - Changing debugfs UAPI:
      - 6LoWPAN interface will be add/del on power on/off per hci dev. Depends
        on 6lowpan_enable is "1".
      - "6lowpan_control" is moved now to the hci debugfs entry and available
         if 6lowpan interface is also available only.
    - Setting device address is done when the first l2cap_chan connection comes
      in (ready callback). This will be done by hci_copy_identity_address and
      I hope this will be the RPA address. After first connection comes in
      the 6LoWPAN interface will came up.
      If last connection is lost, the device address will be 0...0.
      In general a device address of 0...0 indicates no connection and the
      interface can be set "up" while this.
    - Adding module_get/put to don't remove module while interfaces are
      there and other bug fixes.
    - Added TODO comment for multicast listener support.

Alexander Aring (19):
  ieee802154: 6lowpan: remove headroom check
  ieee802154: 6lowpan: move skb cb BUILD_BUG_ON check
  6lowpan: remove LOWPAN_IPHC_MAX_HEADER_LEN
  6lowpan: hold netdev while unregister
  6lowpan: introduce generic default naming
  6lowpan: move rx defines to generic
  bluetooth: introduce l2cap_hdev_chan_connect
  bluetooth: add hci dev notifier
  bluetooth: introduce l2cap chan priv data
  bluetooth: export functions and variables
  6lowpan: bluetooth: remove implementation
  ieee802154: 6lowpan: move header create to 6lowpan
  6lowpan: move dev_init to generic
  6lowpan: iphc: override l2 packet information
  ipv6: addrconf: fix 48 bit 6lowpan autoconfiguration
  6lowpan: iphc: add handling for btle
  6lowpan: move multicast flags to generic
  6lowpan: move addr_len setting away from generic
  6lowpan: bluetooth: add new implementation

 include/net/6lowpan.h              |   30 +-
 include/net/bluetooth/hci_core.h   |    8 +
 include/net/bluetooth/l2cap.h      |    7 +
 net/6lowpan/core.c                 |   47 +-
 net/6lowpan/iphc.c                 |  111 +++
 net/bluetooth/6lowpan.c            | 1707 +++++++++++++-----------------------
 net/bluetooth/hci_core.c           |   24 +
 net/bluetooth/hci_sock.c           |    2 +
 net/bluetooth/l2cap_core.c         |   50 +-
 net/ieee802154/6lowpan/6lowpan_i.h |    9 -
 net/ieee802154/6lowpan/core.c      |   23 +-
 net/ieee802154/6lowpan/tx.c        |   94 +-
 net/ipv6/addrconf.c                |   19 +-
 13 files changed, 922 insertions(+), 1209 deletions(-)

-- 
2.9.2


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2016-11-22 15:41 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-07 14:30 [RFCv2 bluetooth-next 00/19] bluetooth: rework 6lowpan implementation Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 01/19] ieee802154: 6lowpan: remove headroom check Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 02/19] ieee802154: 6lowpan: move skb cb BUILD_BUG_ON check Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 03/19] 6lowpan: remove LOWPAN_IPHC_MAX_HEADER_LEN Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 04/19] 6lowpan: hold netdev while unregister Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 05/19] 6lowpan: introduce generic default naming Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 06/19] 6lowpan: move rx defines to generic Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 07/19] bluetooth: introduce l2cap_hdev_chan_connect Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 08/19] bluetooth: add hci dev notifier Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 09/19] bluetooth: introduce l2cap chan priv data Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 10/19] bluetooth: export functions and variables Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 11/19] 6lowpan: bluetooth: remove implementation Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 12/19] ieee802154: 6lowpan: move header create to 6lowpan Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 13/19] 6lowpan: move dev_init to generic Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 14/19] 6lowpan: iphc: override l2 packet information Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 15/19] ipv6: addrconf: fix 48 bit 6lowpan autoconfiguration Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 16/19] 6lowpan: iphc: add handling for btle Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 17/19] 6lowpan: move multicast flags to generic Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 18/19] 6lowpan: move addr_len setting away from generic Alexander Aring
2016-08-07 14:30 ` [RFCv2 bluetooth-next 19/19] 6lowpan: bluetooth: add new implementation Alexander Aring
2016-08-08 12:10 ` [RFCv2 bluetooth-next 00/19] bluetooth: rework 6lowpan implementation Alexander Aring
2016-11-22 12:14   ` Luiz Augusto von Dentz
2016-11-22 15:41     ` Alexander Aring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.