[RFC 0/4] Fix BT 6lowpan point-to-point interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hi,

I made an effort some time ago to get the IPv6 ND messages working also
for Bluetooth Low Energy 6lowpan interfaces. The initial discovery was
that they get sent when the interface is not a point-to-point one. The
point-to-point interface flag is removed in patch 4/4.

In order to get the ND messages properly working, the MAC address for a
BTLE interface needs fixing, it's only 48 bits compared to the 64 bits
for 802.15.4. Patches 1/4 and 2/4 fix these common issues.

Patch 3/4, which is more hackish than the others, the patch uses an
array of length EUI64_ADDR_LEN to lowpan_header_decompress() in order
not to overwrite anything

These changes worked when tested against Zephyr, but that was on a
4.5.0-rc2 kernel. This time around I only forward-ported them to latest
and tested that they compiled successfully.

I hope these patches help with ND work moving forward in some way or
another.


Cheers,

	Patrik


Patrik Flykt (4):
  addrconf: Create EUI48 IPv6 addresses for BTLE 6LoWPAN
  6lowpan: Set MAC address lenght according to LOWPAN_LLTYPE
  bluetooth: Set 6 byte device addresses
  bluetooth: Do not set IFF_POINTOPOINT

 net/6lowpan/core.c      | 11 ++++++++++-
 net/bluetooth/6lowpan.c | 25 +++++++++++--------------
 net/ipv6/addrconf.c     |  4 ++++
 3 files changed, 25 insertions(+), 15 deletions(-)

-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux