2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 WPAN_MENU
:=Wireless Drivers
9 define KernelPackage
/ieee802154
11 TITLE
:=IEEE-802.15
.4 support
15 CONFIG_IEEE802154_SOCKET
=y
17 $(LINUX_DIR
)/net
/ieee802154
/ieee802154.ko \
18 $(LINUX_DIR
)/net
/ieee802154
/ieee802154_socket.ko
19 AUTOLOAD
:=$(call AutoLoad
,90,ieee802154 ieee802154_socket
)
22 define KernelPackage
/ieee802154
/description
23 IEEE Std
802.15.4 defines a low data rate
, low power and low
24 complexity short range wireless personal area networks. It was
25 designed to organise networks of sensors
, switches
, etc automation
26 devices. Maximum allowed data rate is
250 kb
/s and typical personal
27 operating space around
10m.
30 $(eval
$(call KernelPackage
,ieee802154
))
32 define KernelPackage
/mac802154
34 TITLE
:=MAC-802.15
.4 support
38 CONFIG_IEEE802154_DRIVERS
=y
39 DEPENDS
:=+kmod-ieee802154
+kmod-crypto-aead
+kmod-lib-crc-ccitt @LINUX_4_0
40 FILES
:=$(LINUX_DIR
)/net
/mac802154
/mac802154.ko
41 AUTOLOAD
:=$(call AutoLoad
,91,mac802154
)
44 define KernelPackage
/mac802154
/description
45 This option enables the hardware independent IEEE
802.15.4
46 networking stack for SoftMAC devices
(the ones implementing
47 only PHY level of IEEE
802.15.4 standard
).
49 Note
: this implementation is neither certified
, nor feature
50 complete
! Compatibility with other implementations hasn
't
54 $(eval $(call KernelPackage,mac802154))
56 define KernelPackage/fakelb
58 TITLE:=Fake LR-WPAN driver
59 DEPENDS:=+kmod-mac802154 @LINUX_4_0
60 KCONFIG:=CONFIG_IEEE802154_FAKELB
61 FILES:=$(LINUX_DIR)/drivers/net/ieee802154/fakelb.ko
62 AUTOLOAD:=$(call AutoLoad,92,fakelb)
65 define KernelPackage/fakelb/description
66 Say Y here to enable the fake driver that can emulate a net
67 of several interconnected radio devices.
70 $(eval $(call KernelPackage,fakelb))
72 define KernelPackage/at86rf230
74 TITLE:=AT86RF230 transceiver driver
75 DEPENDS:=+kmod-mac802154
76 KCONFIG:=CONFIG_IEEE802154_AT86RF230 \
79 FILES:=$(LINUX_DIR)/drivers/net/ieee802154/at86rf230.ko
82 $(eval $(call KernelPackage,at86rf230))
84 define KernelPackage/mrf24j40
86 TITLE:=MRF24J40 transceiver driver
87 DEPENDS:=+kmod-mac802154
88 KCONFIG:=CONFIG_IEEE802154_MRF24J40 \
91 FILES:=$(LINUX_DIR)/drivers/net/ieee802154/mrf24j40.ko
94 $(eval $(call KernelPackage,mrf24j40))
96 define KernelPackage/cc2520
98 TITLE:=CC2520 transceiver driver
99 DEPENDS:=+kmod-mac802154
100 KCONFIG:=CONFIG_IEEE802154_CC2520 \
103 FILES:=$(LINUX_DIR)/drivers/net/ieee802154/cc2520.ko
106 $(eval $(call KernelPackage,cc2520))
108 define KernelPackage/ieee802154_6lowpan
109 SUBMENU:=$(WPAN_MENU)
110 TITLE:= 6LoWPAN support over IEEE-802.15.4
112 KCONFIG:=CONFIG_IEEE802154_6LOWPAN
113 FILES:=$(LINUX_DIR)/net/ieee802154/6lowpan/ieee802154_6lowpan.ko
114 AUTOLOAD:=$(call AutoLoad,91,ieee802154_6lowpan)
117 define KernelPackage/ieee802154_6lowpan/description
118 IPv6 compression over IEEE 802.15.4
121 $(eval $(call KernelPackage,ieee802154_6lowpan))