mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-21 10:05:00 +08:00
94b4f6c21c
This patch provides a set of structures to represent 802.15.4 MAC headers, and a set of operations to push/pull/peek these structs from skbs. We cannot simply pointer-cast the skb MAC header pointer to these structs, because 802.15.4 headers are wildly variable - depending on the first three bytes, virtually all other fields of the header may be present or not, and be present with different lengths. The new header creation/parsing routines also support 802.15.4 security headers, which are currently not supported by the mac802154 implementation of the protocol. Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>
11 lines
364 B
Makefile
11 lines
364 B
Makefile
obj-$(CONFIG_IEEE802154) += ieee802154.o af_802154.o
|
|
obj-$(CONFIG_IEEE802154_6LOWPAN) += 6lowpan.o
|
|
obj-$(CONFIG_6LOWPAN_IPHC) += 6lowpan_iphc.o
|
|
|
|
6lowpan-y := 6lowpan_rtnl.o reassembly.o
|
|
ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o wpan-class.o \
|
|
header_ops.o
|
|
af_802154-y := af_ieee802154.o raw.o dgram.o
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|