ieee802154: move ieee802154 header
authorAlexander Aring <alex.aring@gmail.com>
Sat, 25 Oct 2014 07:41:04 +0000 (09:41 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 25 Oct 2014 19:39:57 +0000 (21:39 +0200)
This patch moves the ieee802154 header into include/linux instead
include/net. Similar like wireless which have the ieee80211 header
inside of include/linux.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Cc: Alan Ott <alan@signal11.us>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
15 files changed:
drivers/net/ieee802154/at86rf230.c
drivers/net/ieee802154/cc2520.c
drivers/net/ieee802154/fakehard.c
drivers/net/ieee802154/mrf24j40.c
include/linux/ieee802154.h [new file with mode: 0644]
include/net/ieee802154.h [deleted file]
include/net/ieee802154_netdev.h
net/ieee802154/6lowpan_rtnl.c
net/ieee802154/dgram.c
net/ieee802154/header_ops.c
net/ieee802154/nl-mac.c
net/mac802154/iface.c
net/mac802154/llsec.c
net/mac802154/mac_cmd.c
net/mac802154/monitor.c

index 795ac116602cb2181a46d311f59c57d6e9a30fb7..a433d20587e1e408b3cba38f6a7b32fb7450b8c8 100644 (file)
@@ -29,8 +29,8 @@
 #include <linux/regmap.h>
 #include <linux/skbuff.h>
 #include <linux/of_gpio.h>
+#include <linux/ieee802154.h>
 
-#include <net/ieee802154.h>
 #include <net/mac802154.h>
 #include <net/cfg802154.h>
 
index f1770cf892ed078caaf181d773e803d0cb70b124..32b3c8862b4f15b49abed115ea6256fd9e19ba90 100644 (file)
 #include <linux/skbuff.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/of_gpio.h>
+#include <linux/ieee802154.h>
 
 #include <net/mac802154.h>
 #include <net/cfg802154.h>
-#include <net/ieee802154.h>
 
 #define        SPI_COMMAND_BUFFER      3
 #define        HIGH                    1
index 1460bf52049853892d328d3ccf06a8f13e1ecc54..8be05ade0ceb40d113d17a8d3fcbbdb5fb9aa5d2 100644 (file)
 #include <linux/netdevice.h>
 #include <linux/skbuff.h>
 #include <linux/if_arp.h>
+#include <linux/ieee802154.h>
 
 #include <net/af_ieee802154.h>
 #include <net/ieee802154_netdev.h>
-#include <net/ieee802154.h>
 #include <net/nl802154.h>
 #include <net/cfg802154.h>
 
index bea7349db6ad1cbd90d66813c048c0ad3b430837..56a69599ac31745a3843ac3b548004554a31b84f 100644 (file)
@@ -18,9 +18,9 @@
 #include <linux/spi/spi.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>
+#include <linux/ieee802154.h>
 #include <net/cfg802154.h>
 #include <net/mac802154.h>
-#include <net/ieee802154.h>
 
 /* MRF24J40 Short Address Registers */
 #define REG_RXMCR    0x00  /* Receive MAC control */
diff --git a/include/linux/ieee802154.h b/include/linux/ieee802154.h
new file mode 100644 (file)
index 0000000..2dfab2d
--- /dev/null
@@ -0,0 +1,189 @@
+/*
+ * IEEE802.15.4-2003 specification
+ *
+ * Copyright (C) 2007, 2008 Siemens AG
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * Written by:
+ * Pavel Smolenskiy <pavel.smolenskiy@gmail.com>
+ * Maxim Gorbachyov <maxim.gorbachev@siemens.com>
+ * Maxim Osipov <maxim.osipov@siemens.com>
+ * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+ * Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
+ */
+
+#ifndef LINUX_IEEE802154_H
+#define LINUX_IEEE802154_H
+
+#define IEEE802154_MTU                 127
+
+#define IEEE802154_FC_TYPE_BEACON      0x0     /* Frame is beacon */
+#define        IEEE802154_FC_TYPE_DATA         0x1     /* Frame is data */
+#define IEEE802154_FC_TYPE_ACK         0x2     /* Frame is acknowledgment */
+#define IEEE802154_FC_TYPE_MAC_CMD     0x3     /* Frame is MAC command */
+
+#define IEEE802154_FC_TYPE_SHIFT               0
+#define IEEE802154_FC_TYPE_MASK                ((1 << 3) - 1)
+#define IEEE802154_FC_TYPE(x)          ((x & IEEE802154_FC_TYPE_MASK) >> IEEE802154_FC_TYPE_SHIFT)
+#define IEEE802154_FC_SET_TYPE(v, x)   do {    \
+       v = (((v) & ~IEEE802154_FC_TYPE_MASK) | \
+           (((x) << IEEE802154_FC_TYPE_SHIFT) & IEEE802154_FC_TYPE_MASK)); \
+       } while (0)
+
+#define IEEE802154_FC_SECEN_SHIFT      3
+#define IEEE802154_FC_SECEN            (1 << IEEE802154_FC_SECEN_SHIFT)
+#define IEEE802154_FC_FRPEND_SHIFT     4
+#define IEEE802154_FC_FRPEND           (1 << IEEE802154_FC_FRPEND_SHIFT)
+#define IEEE802154_FC_ACK_REQ_SHIFT    5
+#define IEEE802154_FC_ACK_REQ          (1 << IEEE802154_FC_ACK_REQ_SHIFT)
+#define IEEE802154_FC_INTRA_PAN_SHIFT  6
+#define IEEE802154_FC_INTRA_PAN                (1 << IEEE802154_FC_INTRA_PAN_SHIFT)
+
+#define IEEE802154_FC_SAMODE_SHIFT     14
+#define IEEE802154_FC_SAMODE_MASK      (3 << IEEE802154_FC_SAMODE_SHIFT)
+#define IEEE802154_FC_DAMODE_SHIFT     10
+#define IEEE802154_FC_DAMODE_MASK      (3 << IEEE802154_FC_DAMODE_SHIFT)
+
+#define IEEE802154_FC_VERSION_SHIFT    12
+#define IEEE802154_FC_VERSION_MASK     (3 << IEEE802154_FC_VERSION_SHIFT)
+#define IEEE802154_FC_VERSION(x)       ((x & IEEE802154_FC_VERSION_MASK) >> IEEE802154_FC_VERSION_SHIFT)
+
+#define IEEE802154_FC_SAMODE(x)                \
+       (((x) & IEEE802154_FC_SAMODE_MASK) >> IEEE802154_FC_SAMODE_SHIFT)
+
+#define IEEE802154_FC_DAMODE(x)                \
+       (((x) & IEEE802154_FC_DAMODE_MASK) >> IEEE802154_FC_DAMODE_SHIFT)
+
+#define IEEE802154_SCF_SECLEVEL_MASK           7
+#define IEEE802154_SCF_SECLEVEL_SHIFT          0
+#define IEEE802154_SCF_SECLEVEL(x)             (x & IEEE802154_SCF_SECLEVEL_MASK)
+#define IEEE802154_SCF_KEY_ID_MODE_SHIFT       3
+#define IEEE802154_SCF_KEY_ID_MODE_MASK                (3 << IEEE802154_SCF_KEY_ID_MODE_SHIFT)
+#define IEEE802154_SCF_KEY_ID_MODE(x)          \
+       ((x & IEEE802154_SCF_KEY_ID_MODE_MASK) >> IEEE802154_SCF_KEY_ID_MODE_SHIFT)
+
+#define IEEE802154_SCF_KEY_IMPLICIT            0
+#define IEEE802154_SCF_KEY_INDEX               1
+#define IEEE802154_SCF_KEY_SHORT_INDEX         2
+#define IEEE802154_SCF_KEY_HW_INDEX            3
+
+#define IEEE802154_SCF_SECLEVEL_NONE           0
+#define IEEE802154_SCF_SECLEVEL_MIC32          1
+#define IEEE802154_SCF_SECLEVEL_MIC64          2
+#define IEEE802154_SCF_SECLEVEL_MIC128         3
+#define IEEE802154_SCF_SECLEVEL_ENC            4
+#define IEEE802154_SCF_SECLEVEL_ENC_MIC32      5
+#define IEEE802154_SCF_SECLEVEL_ENC_MIC64      6
+#define IEEE802154_SCF_SECLEVEL_ENC_MIC128     7
+
+/* MAC footer size */
+#define IEEE802154_MFR_SIZE    2 /* 2 octets */
+
+/* MAC's Command Frames Identifiers */
+#define IEEE802154_CMD_ASSOCIATION_REQ         0x01
+#define IEEE802154_CMD_ASSOCIATION_RESP                0x02
+#define IEEE802154_CMD_DISASSOCIATION_NOTIFY   0x03
+#define IEEE802154_CMD_DATA_REQ                        0x04
+#define IEEE802154_CMD_PANID_CONFLICT_NOTIFY   0x05
+#define IEEE802154_CMD_ORPHAN_NOTIFY           0x06
+#define IEEE802154_CMD_BEACON_REQ              0x07
+#define IEEE802154_CMD_COORD_REALIGN_NOTIFY    0x08
+#define IEEE802154_CMD_GTS_REQ                 0x09
+
+/*
+ * The return values of MAC operations
+ */
+enum {
+       /*
+        * The requested operation was completed successfully.
+        * For a transmission request, this value indicates
+        * a successful transmission.
+        */
+       IEEE802154_SUCCESS = 0x0,
+
+       /* The beacon was lost following a synchronization request. */
+       IEEE802154_BEACON_LOSS = 0xe0,
+       /*
+        * A transmission could not take place due to activity on the
+        * channel, i.e., the CSMA-CA mechanism has failed.
+        */
+       IEEE802154_CHNL_ACCESS_FAIL = 0xe1,
+       /* The GTS request has been denied by the PAN coordinator. */
+       IEEE802154_DENINED = 0xe2,
+       /* The attempt to disable the transceiver has failed. */
+       IEEE802154_DISABLE_TRX_FAIL = 0xe3,
+       /*
+        * The received frame induces a failed security check according to
+        * the security suite.
+        */
+       IEEE802154_FAILED_SECURITY_CHECK = 0xe4,
+       /*
+        * The frame resulting from secure processing has a length that is
+        * greater than aMACMaxFrameSize.
+        */
+       IEEE802154_FRAME_TOO_LONG = 0xe5,
+       /*
+        * The requested GTS transmission failed because the specified GTS
+        * either did not have a transmit GTS direction or was not defined.
+        */
+       IEEE802154_INVALID_GTS = 0xe6,
+       /*
+        * A request to purge an MSDU from the transaction queue was made using
+        * an MSDU handle that was not found in the transaction table.
+        */
+       IEEE802154_INVALID_HANDLE = 0xe7,
+       /* A parameter in the primitive is out of the valid range.*/
+       IEEE802154_INVALID_PARAMETER = 0xe8,
+       /* No acknowledgment was received after aMaxFrameRetries. */
+       IEEE802154_NO_ACK = 0xe9,
+       /* A scan operation failed to find any network beacons.*/
+       IEEE802154_NO_BEACON = 0xea,
+       /* No response data were available following a request. */
+       IEEE802154_NO_DATA = 0xeb,
+       /* The operation failed because a short address was not allocated. */
+       IEEE802154_NO_SHORT_ADDRESS = 0xec,
+       /*
+        * A receiver enable request was unsuccessful because it could not be
+        * completed within the CAP.
+        */
+       IEEE802154_OUT_OF_CAP = 0xed,
+       /*
+        * A PAN identifier conflict has been detected and communicated to the
+        * PAN coordinator.
+        */
+       IEEE802154_PANID_CONFLICT = 0xee,
+       /* A coordinator realignment command has been received. */
+       IEEE802154_REALIGMENT = 0xef,
+       /* The transaction has expired and its information discarded. */
+       IEEE802154_TRANSACTION_EXPIRED = 0xf0,
+       /* There is no capacity to store the transaction. */
+       IEEE802154_TRANSACTION_OVERFLOW = 0xf1,
+       /*
+        * The transceiver was in the transmitter enabled state when the
+        * receiver was requested to be enabled.
+        */
+       IEEE802154_TX_ACTIVE = 0xf2,
+       /* The appropriate key is not available in the ACL. */
+       IEEE802154_UNAVAILABLE_KEY = 0xf3,
+       /*
+        * A SET/GET request was issued with the identifier of a PIB attribute
+        * that is not supported.
+        */
+       IEEE802154_UNSUPPORTED_ATTR = 0xf4,
+       /*
+        * A request to perform a scan operation failed because the MLME was
+        * in the process of performing a previously initiated scan operation.
+        */
+       IEEE802154_SCAN_IN_PROGRESS = 0xfc,
+};
+
+
+#endif /* LINUX_IEEE802154_H */
diff --git a/include/net/ieee802154.h b/include/net/ieee802154.h
deleted file mode 100644 (file)
index 4db4e32..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-/*
- * IEEE802.15.4-2003 specification
- *
- * Copyright (C) 2007, 2008 Siemens AG
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * Written by:
- * Pavel Smolenskiy <pavel.smolenskiy@gmail.com>
- * Maxim Gorbachyov <maxim.gorbachev@siemens.com>
- * Maxim Osipov <maxim.osipov@siemens.com>
- * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
- * Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
- */
-
-#ifndef NET_IEEE802154_H
-#define NET_IEEE802154_H
-
-#define IEEE802154_MTU                 127
-
-#define IEEE802154_FC_TYPE_BEACON      0x0     /* Frame is beacon */
-#define        IEEE802154_FC_TYPE_DATA         0x1     /* Frame is data */
-#define IEEE802154_FC_TYPE_ACK         0x2     /* Frame is acknowledgment */
-#define IEEE802154_FC_TYPE_MAC_CMD     0x3     /* Frame is MAC command */
-
-#define IEEE802154_FC_TYPE_SHIFT               0
-#define IEEE802154_FC_TYPE_MASK                ((1 << 3) - 1)
-#define IEEE802154_FC_TYPE(x)          ((x & IEEE802154_FC_TYPE_MASK) >> IEEE802154_FC_TYPE_SHIFT)
-#define IEEE802154_FC_SET_TYPE(v, x)   do {    \
-       v = (((v) & ~IEEE802154_FC_TYPE_MASK) | \
-           (((x) << IEEE802154_FC_TYPE_SHIFT) & IEEE802154_FC_TYPE_MASK)); \
-       } while (0)
-
-#define IEEE802154_FC_SECEN_SHIFT      3
-#define IEEE802154_FC_SECEN            (1 << IEEE802154_FC_SECEN_SHIFT)
-#define IEEE802154_FC_FRPEND_SHIFT     4
-#define IEEE802154_FC_FRPEND           (1 << IEEE802154_FC_FRPEND_SHIFT)
-#define IEEE802154_FC_ACK_REQ_SHIFT    5
-#define IEEE802154_FC_ACK_REQ          (1 << IEEE802154_FC_ACK_REQ_SHIFT)
-#define IEEE802154_FC_INTRA_PAN_SHIFT  6
-#define IEEE802154_FC_INTRA_PAN                (1 << IEEE802154_FC_INTRA_PAN_SHIFT)
-
-#define IEEE802154_FC_SAMODE_SHIFT     14
-#define IEEE802154_FC_SAMODE_MASK      (3 << IEEE802154_FC_SAMODE_SHIFT)
-#define IEEE802154_FC_DAMODE_SHIFT     10
-#define IEEE802154_FC_DAMODE_MASK      (3 << IEEE802154_FC_DAMODE_SHIFT)
-
-#define IEEE802154_FC_VERSION_SHIFT    12
-#define IEEE802154_FC_VERSION_MASK     (3 << IEEE802154_FC_VERSION_SHIFT)
-#define IEEE802154_FC_VERSION(x)       ((x & IEEE802154_FC_VERSION_MASK) >> IEEE802154_FC_VERSION_SHIFT)
-
-#define IEEE802154_FC_SAMODE(x)                \
-       (((x) & IEEE802154_FC_SAMODE_MASK) >> IEEE802154_FC_SAMODE_SHIFT)
-
-#define IEEE802154_FC_DAMODE(x)                \
-       (((x) & IEEE802154_FC_DAMODE_MASK) >> IEEE802154_FC_DAMODE_SHIFT)
-
-#define IEEE802154_SCF_SECLEVEL_MASK           7
-#define IEEE802154_SCF_SECLEVEL_SHIFT          0
-#define IEEE802154_SCF_SECLEVEL(x)             (x & IEEE802154_SCF_SECLEVEL_MASK)
-#define IEEE802154_SCF_KEY_ID_MODE_SHIFT       3
-#define IEEE802154_SCF_KEY_ID_MODE_MASK                (3 << IEEE802154_SCF_KEY_ID_MODE_SHIFT)
-#define IEEE802154_SCF_KEY_ID_MODE(x)          \
-       ((x & IEEE802154_SCF_KEY_ID_MODE_MASK) >> IEEE802154_SCF_KEY_ID_MODE_SHIFT)
-
-#define IEEE802154_SCF_KEY_IMPLICIT            0
-#define IEEE802154_SCF_KEY_INDEX               1
-#define IEEE802154_SCF_KEY_SHORT_INDEX         2
-#define IEEE802154_SCF_KEY_HW_INDEX            3
-
-#define IEEE802154_SCF_SECLEVEL_NONE           0
-#define IEEE802154_SCF_SECLEVEL_MIC32          1
-#define IEEE802154_SCF_SECLEVEL_MIC64          2
-#define IEEE802154_SCF_SECLEVEL_MIC128         3
-#define IEEE802154_SCF_SECLEVEL_ENC            4
-#define IEEE802154_SCF_SECLEVEL_ENC_MIC32      5
-#define IEEE802154_SCF_SECLEVEL_ENC_MIC64      6
-#define IEEE802154_SCF_SECLEVEL_ENC_MIC128     7
-
-/* MAC footer size */
-#define IEEE802154_MFR_SIZE    2 /* 2 octets */
-
-/* MAC's Command Frames Identifiers */
-#define IEEE802154_CMD_ASSOCIATION_REQ         0x01
-#define IEEE802154_CMD_ASSOCIATION_RESP                0x02
-#define IEEE802154_CMD_DISASSOCIATION_NOTIFY   0x03
-#define IEEE802154_CMD_DATA_REQ                        0x04
-#define IEEE802154_CMD_PANID_CONFLICT_NOTIFY   0x05
-#define IEEE802154_CMD_ORPHAN_NOTIFY           0x06
-#define IEEE802154_CMD_BEACON_REQ              0x07
-#define IEEE802154_CMD_COORD_REALIGN_NOTIFY    0x08
-#define IEEE802154_CMD_GTS_REQ                 0x09
-
-/*
- * The return values of MAC operations
- */
-enum {
-       /*
-        * The requested operation was completed successfully.
-        * For a transmission request, this value indicates
-        * a successful transmission.
-        */
-       IEEE802154_SUCCESS = 0x0,
-
-       /* The beacon was lost following a synchronization request. */
-       IEEE802154_BEACON_LOSS = 0xe0,
-       /*
-        * A transmission could not take place due to activity on the
-        * channel, i.e., the CSMA-CA mechanism has failed.
-        */
-       IEEE802154_CHNL_ACCESS_FAIL = 0xe1,
-       /* The GTS request has been denied by the PAN coordinator. */
-       IEEE802154_DENINED = 0xe2,
-       /* The attempt to disable the transceiver has failed. */
-       IEEE802154_DISABLE_TRX_FAIL = 0xe3,
-       /*
-        * The received frame induces a failed security check according to
-        * the security suite.
-        */
-       IEEE802154_FAILED_SECURITY_CHECK = 0xe4,
-       /*
-        * The frame resulting from secure processing has a length that is
-        * greater than aMACMaxFrameSize.
-        */
-       IEEE802154_FRAME_TOO_LONG = 0xe5,
-       /*
-        * The requested GTS transmission failed because the specified GTS
-        * either did not have a transmit GTS direction or was not defined.
-        */
-       IEEE802154_INVALID_GTS = 0xe6,
-       /*
-        * A request to purge an MSDU from the transaction queue was made using
-        * an MSDU handle that was not found in the transaction table.
-        */
-       IEEE802154_INVALID_HANDLE = 0xe7,
-       /* A parameter in the primitive is out of the valid range.*/
-       IEEE802154_INVALID_PARAMETER = 0xe8,
-       /* No acknowledgment was received after aMaxFrameRetries. */
-       IEEE802154_NO_ACK = 0xe9,
-       /* A scan operation failed to find any network beacons.*/
-       IEEE802154_NO_BEACON = 0xea,
-       /* No response data were available following a request. */
-       IEEE802154_NO_DATA = 0xeb,
-       /* The operation failed because a short address was not allocated. */
-       IEEE802154_NO_SHORT_ADDRESS = 0xec,
-       /*
-        * A receiver enable request was unsuccessful because it could not be
-        * completed within the CAP.
-        */
-       IEEE802154_OUT_OF_CAP = 0xed,
-       /*
-        * A PAN identifier conflict has been detected and communicated to the
-        * PAN coordinator.
-        */
-       IEEE802154_PANID_CONFLICT = 0xee,
-       /* A coordinator realignment command has been received. */
-       IEEE802154_REALIGMENT = 0xef,
-       /* The transaction has expired and its information discarded. */
-       IEEE802154_TRANSACTION_EXPIRED = 0xf0,
-       /* There is no capacity to store the transaction. */
-       IEEE802154_TRANSACTION_OVERFLOW = 0xf1,
-       /*
-        * The transceiver was in the transmitter enabled state when the
-        * receiver was requested to be enabled.
-        */
-       IEEE802154_TX_ACTIVE = 0xf2,
-       /* The appropriate key is not available in the ACL. */
-       IEEE802154_UNAVAILABLE_KEY = 0xf3,
-       /*
-        * A SET/GET request was issued with the identifier of a PIB attribute
-        * that is not supported.
-        */
-       IEEE802154_UNSUPPORTED_ATTR = 0xf4,
-       /*
-        * A request to perform a scan operation failed because the MLME was
-        * in the process of performing a previously initiated scan operation.
-        */
-       IEEE802154_SCAN_IN_PROGRESS = 0xfc,
-};
-
-
-#endif
-
-
index f87420689d70dcc2f27aa046ea13801fa454bf4a..5e62d758eea538a2f47abadad3259133a6d21e88 100644 (file)
 #ifndef IEEE802154_NETDEVICE_H
 #define IEEE802154_NETDEVICE_H
 
-#include <net/ieee802154.h>
 #include <net/af_ieee802154.h>
 #include <linux/netdevice.h>
 #include <linux/skbuff.h>
+#include <linux/ieee802154.h>
 
 struct ieee802154_sechdr {
 #if defined(__LITTLE_ENDIAN_BITFIELD)
index 0c1a49b51e57c11cd1d78efdbe89b089c7004ded..1779a08d110a5b9be37c396d031a8e976ff35949 100644 (file)
@@ -49,8 +49,8 @@
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/netdevice.h>
+#include <linux/ieee802154.h>
 #include <net/af_ieee802154.h>
-#include <net/ieee802154.h>
 #include <net/ieee802154_netdev.h>
 #include <net/6lowpan.h>
 #include <net/ipv6.h>
index 71e99a0994e1c6a577ff162c481a694f3ce17053..3d58befef467b406c4c8b8b0585f5a35d21863a7 100644 (file)
@@ -23,9 +23,9 @@
 #include <linux/if_arp.h>
 #include <linux/list.h>
 #include <linux/slab.h>
+#include <linux/ieee802154.h>
 #include <net/sock.h>
 #include <net/af_ieee802154.h>
-#include <net/ieee802154.h>
 #include <net/ieee802154_netdev.h>
 
 #include <asm/ioctls.h>
index c09294e39ca60326d5b40c8431bf202ce5559225..a051b69931779438b33f61456203c451167fa591 100644 (file)
@@ -14,8 +14,9 @@
  * Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
  */
 
+#include <linux/ieee802154.h>
+
 #include <net/mac802154.h>
-#include <net/ieee802154.h>
 #include <net/ieee802154_netdev.h>
 
 static int
index a9c8e3e983872faa5c6c03d58ef858cdea07936a..fb6866d1dd39494d042bb133a30e036e841572b8 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/kernel.h>
 #include <linux/if_arp.h>
 #include <linux/netdevice.h>
+#include <linux/ieee802154.h>
 #include <net/netlink.h>
 #include <net/genetlink.h>
 #include <net/sock.h>
@@ -29,7 +30,6 @@
 #include <linux/export.h>
 #include <net/af_ieee802154.h>
 #include <net/nl802154.h>
-#include <net/ieee802154.h>
 #include <net/ieee802154_netdev.h>
 #include <net/cfg802154.h>
 
index 5a604074555bed1614a4542dfe8e143b413e1c7d..03eedc3b23ef948738960a8894a9ce916c511d7b 100644 (file)
 #include <linux/netdevice.h>
 #include <linux/module.h>
 #include <linux/if_arp.h>
+#include <linux/ieee802154.h>
 
 #include <net/rtnetlink.h>
 #include <linux/nl802154.h>
 #include <net/af_ieee802154.h>
 #include <net/mac802154.h>
 #include <net/ieee802154_netdev.h>
-#include <net/ieee802154.h>
 #include <net/cfg802154.h>
 
 #include "ieee802154_i.h"
index 26f876128ae085f49d924a34429f40dd74f03dba..fa0d5237c2e08ba35cf4229b4527dbdb3030062c 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/err.h>
 #include <linux/bug.h>
 #include <linux/completion.h>
-#include <net/ieee802154.h>
+#include <linux/ieee802154.h>
 #include <crypto/algapi.h>
 
 #include "ieee802154_i.h"
index f118ea06d3449a0e2f8c6d150213693a4a87aaa1..ad09d54bc690c1bec3c521c767a978ff4275483e 100644 (file)
@@ -20,8 +20,8 @@
 
 #include <linux/skbuff.h>
 #include <linux/if_arp.h>
+#include <linux/ieee802154.h>
 
-#include <net/ieee802154.h>
 #include <net/ieee802154_netdev.h>
 #include <net/cfg802154.h>
 #include <net/mac802154.h>
index ca1dedd9b2299aa6bbfa097c513d8acd1082cf0a..ca82c72a635cd28de8046edc79e523877a7fa7a3 100644 (file)
@@ -21,8 +21,8 @@
 #include <linux/skbuff.h>
 #include <linux/if_arp.h>
 #include <linux/crc-ccitt.h>
+#include <linux/ieee802154.h>
 
-#include <net/ieee802154.h>
 #include <net/mac802154.h>
 #include <net/netlink.h>
 #include <net/cfg802154.h>
This page took 0.04446 seconds and 5 git commands to generate.