![Dmitry Eremin-Solenikov](/assets/img/avatar_default.png)
IEEE 802.15.4 and Bluetooth networking stacks share 6lowpan compression code. Instead of introducing Makefile/Kconfig hacks, build this code as a separate module referenced from both ieee802154 and bluetooth modules. This fixes the following build error observed in some kernel configurations: net/built-in.o: In function `header_create': 6lowpan.c:(.text+0x166149): undefined reference to `lowpan_header_compress' net/built-in.o: In function `bt_6lowpan_recv': (.text+0x166b3c): undefined reference to `lowpan_process_data' Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
25 lines
817 B
Plaintext
25 lines
817 B
Plaintext
config IEEE802154
|
|
tristate "IEEE Std 802.15.4 Low-Rate Wireless Personal Area Networks support"
|
|
---help---
|
|
IEEE Std 802.15.4 defines a low data rate, low power and low
|
|
complexity short range wireless personal area networks. It was
|
|
designed to organise networks of sensors, switches, etc automation
|
|
devices. Maximum allowed data rate is 250 kb/s and typical personal
|
|
operating space around 10m.
|
|
|
|
Say Y here to compile LR-WPAN support into the kernel or say M to
|
|
compile it as modules.
|
|
|
|
config IEEE802154_6LOWPAN
|
|
tristate "6lowpan support over IEEE 802.15.4"
|
|
depends on IEEE802154 && IPV6
|
|
select 6LOWPAN_IPHC
|
|
---help---
|
|
IPv6 compression over IEEE 802.15.4.
|
|
|
|
config 6LOWPAN_IPHC
|
|
tristate
|
|
---help---
|
|
6lowpan compression code which is shared between IEEE 802.15.4 and Bluetooth
|
|
stacks.
|