Root/package/kernel/modules/wpan.mk

Source at commit 484be412b5bc2156954e4508be49f05748db056e created 8 years 8 months ago.
By Xiangfu Liu, wpan.mk: fix typo thanks blogic and jivs
1#
2# Copyright (C) 2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8WPAN_MENU:=WPAN
9
10define KernelPackage/ieee802154
11  SUBMENU:=$(WPAN_MENU)
12  TITLE:=IEEE802.15.4 support
13  KCONFIG:= \
14    CONFIG_IEEE802154 \
15    CONFIG_IEEE802154_PROTO_DEBUG=y
16  DEPENDS:=+kmod-crc-ccitt
17  FILES:= \
18    $(LINUX_DIR)/net/ieee802154/ieee802154.ko \
19    $(LINUX_DIR)/net/ieee802154/af_802154.ko
20  AUTOLOAD:=$(call AutoLoad,90,ieee802154 af_802154)
21endef
22
23define KernelPackage/ieee802154/description
24  IEEE Std 802.15.4 defines a low data rate, low power and low
25  complexity short range wireless personal area networks. It was
26  designed to organise networks of sensors, switches, etc automation
27  devices. Maximum allowed data rate is 250 kb/s and typical personal
28  operating space around 10m.
29endef
30
31$(eval $(call KernelPackage,ieee802154))
32
33define KernelPackage/mac802154
34  SUBMENU:=$(WPAN_MENU)
35  TITLE:=MAC802.15.4 support
36  KCONFIG:= \
37    CONFIG_MAC802154 \
38    CONFIG_MAC802154_PROTO_DEBUG=y \
39    CONFIG_IEEE802154_DRIVERS=y \
40    CONFIG_IEEE802154_DRIVERS_DEBUG=y
41  DEPENDS:=+kmod-ieee802154
42  FILES:=$(LINUX_DIR)/net/mac802154/mac802154.ko
43  AUTOLOAD:=$(call AutoLoad,91,mac802154)
44endef
45
46define KernelPackage/mac802154/description
47  This option enables the hardware independent IEEE 802.15.4
48  networking stack for SoftMAC devices (the ones implementing
49  only PHY level of IEEE 802.15.4 standard).
50
51  Note: this implementation is neither certified, nor feature
52  complete! We do not guarantee that it is compatible w/ other
53  implementations, etc.
54endef
55
56$(eval $(call KernelPackage,mac802154))
57
58define KernelPackage/fakehard
59  SUBMENU:=$(WPAN_MENU)
60  TITLE:=Fake LR-WPAN driver
61  KCONFIG:=CONFIG_IEEE802154_FAKEHARD
62  DEPENDS:=+kmod-ieee802154
63  FILES:=$(LINUX_DIR)/drivers/ieee802154/fakehard.ko
64  AUTOLOAD:=$(call AutoLoad,92,fakehard)
65endef
66
67define KernelPackage/fakehard/description
68  Say Y here to enable the fake driver that serves as an example
69  of HardMAC device driver.
70endef
71
72$(eval $(call KernelPackage,fakehard))
73
74define KernelPackage/fakelb
75  SUBMENU:=$(WPAN_MENU)
76  TITLE:=Fake LR-WPAN driver
77  KCONFIG:=CONFIG_IEEE802154_FAKELB
78  DEPENDS:=+kmod-mac802154
79  FILES:=$(LINUX_DIR)/drivers/ieee802154/fakelb.ko
80  AUTOLOAD:=$(call AutoLoad,92,fakelb)
81endef
82
83define KernelPackage/fakehard/description
84  Say Y here to enable the fake driver that can emulate a net
85  of several interconnected radio devices.
86endef
87
88$(eval $(call KernelPackage,fakelb))
89
90define KernelPackage/at86rf230
91  SUBMENU:=$(WPAN_MENU)
92  TITLE:=AT86RF230 transceiver driver
93  KCONFIG:=CONFIG_IEEE802154_AT86RF230 \
94    CONFIG_SPI=y \
95    CONFIG_SPI_MASTER=y
96  DEPENDS:=+kmod-mac802154
97  FILES:=$(LINUX_DIR)/drivers/ieee802154/at86rf230.ko
98endef
99
100$(eval $(call KernelPackage,at86rf230))
101
102define KernelPackage/spi_atusb
103  SUBMENU:=$(WPAN_MENU)
104  TITLE:=ATUSB SPI interface
105  KCONFIG:=CONFIG_SPI_ATUSB
106  DEPENDS:=+kmod-at86rf230 +kmod-usb-core
107  FILES:=$(LINUX_DIR)/drivers/ieee802154/spi_atusb.ko
108  AUTOLOAD:=$(call AutoLoad,93,spi_atusb)
109endef
110
111define KernelPackage/fakehard/description
112  SPI-over-USB driver for the ATUSB IEEE 802.15.4 board.
113endef
114
115$(eval $(call KernelPackage,spi_atusb))
116
117define KernelPackage/spi_atben
118  SUBMENU:=$(WPAN_MENU)
119  TITLE:=ATBEN 8:10 SPI interface
120  KCONFIG:=CONFIG_SPI_ATBEN
121  DEPENDS:=+kmod-at86rf230 @TARGET_xburst
122  FILES:=$(LINUX_DIR)/drivers/ieee802154/spi_atben.ko
123endef
124
125define KernelPackage/fakehard/description
126  Bit-banging SPI driver for the 8:10 interface of the Ben NanoNote
127  when equipped with an ATBEN board.
128endef
129
130$(eval $(call KernelPackage,spi_atben))
131
132

Archive Download this file



interactive