Linux Kernel
3.7.1
|
#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/if_arp.h>
#include <linux/netdevice.h>
#include <net/netlink.h>
#include <net/genetlink.h>
#include <net/sock.h>
#include <linux/nl802154.h>
#include <linux/export.h>
#include <net/af_ieee802154.h>
#include <net/nl802154.h>
#include <net/ieee802154.h>
#include <net/ieee802154_netdev.h>
#include <net/wpan-phy.h>
#include "ieee802154.h"
Go to the source code of this file.
Functions | |
int | ieee802154_nl_assoc_indic (struct net_device *dev, struct ieee802154_addr *addr, u8 cap) |
EXPORT_SYMBOL (ieee802154_nl_assoc_indic) | |
int | ieee802154_nl_assoc_confirm (struct net_device *dev, u16 short_addr, u8 status) |
EXPORT_SYMBOL (ieee802154_nl_assoc_confirm) | |
int | ieee802154_nl_disassoc_indic (struct net_device *dev, struct ieee802154_addr *addr, u8 reason) |
EXPORT_SYMBOL (ieee802154_nl_disassoc_indic) | |
int | ieee802154_nl_disassoc_confirm (struct net_device *dev, u8 status) |
EXPORT_SYMBOL (ieee802154_nl_disassoc_confirm) | |
int | ieee802154_nl_beacon_indic (struct net_device *dev, u16 panid, u16 coord_addr) |
EXPORT_SYMBOL (ieee802154_nl_beacon_indic) | |
int | ieee802154_nl_scan_confirm (struct net_device *dev, u8 status, u8 scan_type, u32 unscanned, u8 page, u8 *edl) |
EXPORT_SYMBOL (ieee802154_nl_scan_confirm) | |
int | ieee802154_nl_start_confirm (struct net_device *dev, u8 status) |
EXPORT_SYMBOL (ieee802154_nl_start_confirm) | |
int | nl802154_mac_register (void) |
EXPORT_SYMBOL | ( | ieee802154_nl_assoc_indic | ) |
EXPORT_SYMBOL | ( | ieee802154_nl_assoc_confirm | ) |
EXPORT_SYMBOL | ( | ieee802154_nl_disassoc_indic | ) |
EXPORT_SYMBOL | ( | ieee802154_nl_disassoc_confirm | ) |
EXPORT_SYMBOL | ( | ieee802154_nl_beacon_indic | ) |
EXPORT_SYMBOL | ( | ieee802154_nl_scan_confirm | ) |
EXPORT_SYMBOL | ( | ieee802154_nl_start_confirm | ) |
int ieee802154_nl_assoc_confirm | ( | struct net_device * | dev, |
u16 | short_addr, | ||
u8 | status | ||
) |
ieee802154_nl_assoc_confirm - Notify userland of association. : The device which has completed association. : The short address assigned to the device. : The status of the association.
Inform userland of the result of an association request. If the association request included asking the coordinator to allocate a short address then it is returned in .
Note: This is in section 7.3.2 of the IEEE 802.15.4 document.
int ieee802154_nl_assoc_indic | ( | struct net_device * | dev, |
struct ieee802154_addr * | addr, | ||
u8 | cap | ||
) |
ieee802154_nl_assoc_indic - Notify userland of an association request. : The network device on which this association request was received. : The address of the device requesting association. : The capability information field from the device.
This informs a userland coordinator of a device requesting to associate with the PAN controlled by the coordinator.
Note: This is in section 7.3.1 of the IEEE 802.15.4-2006 document.
int ieee802154_nl_beacon_indic | ( | struct net_device * | dev, |
u16 | panid, | ||
u16 | coord_addr | ||
) |
ieee802154_nl_beacon_indic - Notify userland of a received beacon. : The device on which a beacon was received. : The PAN of the coordinator. : The short address of the coordinator on that PAN.
Note: This is in section 7.1.5 of the IEEE 802.15.4 document. Note: This API does not provide extended information such as what channel the PAN is on or what the LQI of the beacon frame was on receipt. Note: This API cannot indicate a beacon frame for a coordinator operating in long addressing mode.
int ieee802154_nl_disassoc_confirm | ( | struct net_device * | dev, |
u8 | status | ||
) |
ieee802154_nl_disassoc_confirm - Notify userland of disassociation completion. : The device on which disassociation was ordered. : The result of the disassociation.
Inform userland of the result of requesting that a device disassociate, or the result of requesting that we disassociate from a PAN managed by another coordinator.
Note: This is in section 7.1.4.3 of the IEEE 802.15.4 document.
int ieee802154_nl_disassoc_indic | ( | struct net_device * | dev, |
struct ieee802154_addr * | addr, | ||
u8 | reason | ||
) |
ieee802154_nl_disassoc_indic - Notify userland of disassociation. : The device on which disassociation was indicated. : The device which is disassociating. : The reason for the disassociation.
Inform userland that a device has disassociated from the network.
Note: This is in section 7.3.3 of the IEEE 802.15.4 document.
int ieee802154_nl_scan_confirm | ( | struct net_device * | dev, |
u8 | status, | ||
u8 | scan_type, | ||
u32 | unscanned, | ||
u8 | page, | ||
u8 * | edl | ||
) |
ieee802154_nl_scan_confirm - Notify userland of completion of scan. : The device which was instructed to scan. : The status of the scan operation. : What type of scan was performed. : Any channels that the device was unable to scan. : The energy levels (if a passive scan).
Note: This is in section 7.1.11 of the IEEE 802.15.4 document. Note: This API does not permit the return of an active scan result.
int ieee802154_nl_start_confirm | ( | struct net_device * | dev, |
u8 | status | ||
) |