nl802154.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * nl802154.h
  3. *
  4. * Copyright (C) 2007, 2008, 2009 Siemens AG
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2
  8. * as published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License along
  16. * with this program; if not, write to the Free Software Foundation, Inc.,
  17. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  18. *
  19. */
  20. #ifndef IEEE802154_NL_H
  21. #define IEEE802154_NL_H
  22. struct net_device;
  23. struct ieee802154_addr;
  24. int ieee802154_nl_assoc_indic(struct net_device *dev,
  25. struct ieee802154_addr *addr, u8 cap);
  26. int ieee802154_nl_assoc_confirm(struct net_device *dev,
  27. u16 short_addr, u8 status);
  28. int ieee802154_nl_disassoc_indic(struct net_device *dev,
  29. struct ieee802154_addr *addr, u8 reason);
  30. int ieee802154_nl_disassoc_confirm(struct net_device *dev,
  31. u8 status);
  32. int ieee802154_nl_scan_confirm(struct net_device *dev,
  33. u8 status, u8 scan_type, u32 unscanned,
  34. u8 *edl/*, struct list_head *pan_desc_list */);
  35. int ieee802154_nl_beacon_indic(struct net_device *dev, u16 panid,
  36. u16 coord_addr);
  37. #endif