PageRenderTime 14ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/drivers/net/wireless/bcmdhd/include/proto/bcmeth.h

https://bitbucket.org/slukk/jb-tsm-kernel-4.2
C Header | 83 lines | 31 code | 27 blank | 25 comment | 0 complexity | b058aa16284411d302fb72b000960b0b MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
  1. /*
  2. * Broadcom Ethernettype protocol definitions
  3. *
  4. * Copyright (C) 1999-2011, Broadcom Corporation
  5. *
  6. * Unless you and Broadcom execute a separate written software license
  7. * agreement governing use of this software, this software is licensed to you
  8. * under the terms of the GNU General Public License version 2 (the "GPL"),
  9. * available at http://www.broadcom.com/licenses/GPLv2.php, with the
  10. * following added to such license:
  11. *
  12. * As a special exception, the copyright holders of this software give you
  13. * permission to link this software with independent modules, and to copy and
  14. * distribute the resulting executable under terms of your choice, provided that
  15. * you also meet, for each linked independent module, the terms and conditions of
  16. * the license of that module. An independent module is a module which is not
  17. * derived from this software. The special exception does not apply to any
  18. * modifications of the software.
  19. *
  20. * Notwithstanding the above, under no circumstances may you combine this
  21. * software in any way with any other Broadcom software provided under a license
  22. * other than the GPL, without Broadcom's express prior written consent.
  23. *
  24. * $Id: bcmeth.h 277737 2011-08-16 17:54:59Z $
  25. */
  26. #ifndef _BCMETH_H_
  27. #define _BCMETH_H_
  28. #ifndef _TYPEDEFS_H_
  29. #include <typedefs.h>
  30. #endif
  31. #include <packed_section_start.h>
  32. #define BCMILCP_SUBTYPE_RATE 1
  33. #define BCMILCP_SUBTYPE_LINK 2
  34. #define BCMILCP_SUBTYPE_CSA 3
  35. #define BCMILCP_SUBTYPE_LARQ 4
  36. #define BCMILCP_SUBTYPE_VENDOR 5
  37. #define BCMILCP_SUBTYPE_FLH 17
  38. #define BCMILCP_SUBTYPE_VENDOR_LONG 32769
  39. #define BCMILCP_SUBTYPE_CERT 32770
  40. #define BCMILCP_SUBTYPE_SES 32771
  41. #define BCMILCP_BCM_SUBTYPE_RESERVED 0
  42. #define BCMILCP_BCM_SUBTYPE_EVENT 1
  43. #define BCMILCP_BCM_SUBTYPE_SES 2
  44. #define BCMILCP_BCM_SUBTYPE_DPT 4
  45. #define BCMILCP_BCM_SUBTYPEHDR_MINLENGTH 8
  46. #define BCMILCP_BCM_SUBTYPEHDR_VERSION 0
  47. typedef BWL_PRE_PACKED_STRUCT struct bcmeth_hdr
  48. {
  49. uint16 subtype;
  50. uint16 length;
  51. uint8 version;
  52. uint8 oui[3];
  53. uint16 usr_subtype;
  54. } BWL_POST_PACKED_STRUCT bcmeth_hdr_t;
  55. #include <packed_section_end.h>
  56. #endif