qualcomm.h.html 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <?xml version='1.0' encoding='iso-8859-1'?>
  2. <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  3. <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
  4. <head>
  5. <title>
  6. qualcomm.h
  7. </title>
  8. <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
  9. <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
  10. <meta name='author' content='cmaier@cmassoc.net'/>
  11. <meta name='robots' content='noindex,nofollow'/>
  12. <link href='toolkit.css' rel='stylesheet' type='text/css'/>
  13. </head>
  14. <body>
  15. <div class='headerlink'>
  16. [<a href='putoptv.h.html' title=' putoptv.h '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='rules.h.html' title=' rules.h '>NEXT</a>]
  19. </div>
  20. <pre>
  21. /*====================================================================*
  22. *
  23. * Copyright (c) 2013 Qualcomm Atheros, Inc.
  24. *
  25. * All rights reserved.
  26. *
  27. * Redistribution and use in source and binary forms, with or
  28. * without modification, are permitted (subject to the limitations
  29. * in the disclaimer below) provided that the following conditions
  30. * are met:
  31. *
  32. * * Redistributions of source code must retain the above copyright
  33. * notice, this list of conditions and the following disclaimer.
  34. *
  35. * * Redistributions in binary form must reproduce the above
  36. * copyright notice, this list of conditions and the following
  37. * disclaimer in the documentation and/or other materials
  38. * provided with the distribution.
  39. *
  40. * * Neither the name of Qualcomm Atheros nor the names of
  41. * its contributors may be used to endorse or promote products
  42. * derived from this software without specific prior written
  43. * permission.
  44. *
  45. * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
  46. * GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE
  47. * COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND ANY EXPRESS OR
  48. * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  49. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  50. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
  51. * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  52. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  53. * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  54. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  55. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  56. * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
  57. * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  58. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  59. *
  60. *--------------------------------------------------------------------*/
  61. /*====================================================================*
  62. *
  63. * qualcomm.h - Qualcomm Definitions and Declarations;
  64. *
  65. *. Qualcomm Atheros HomePlug AV Powerline Toolkit
  66. *: Copyright (c) 2009-2013 by Qualcomm Atheros Inc. ALL RIGHTS RESERVED;
  67. *; For demonstration and evaluation only; Not for production use.
  68. *
  69. * Contributor(s):
  70. * Charles Maier &lt;cmaier@qca.qualcomm.com&gt;
  71. *
  72. *--------------------------------------------------------------------*/
  73. #ifndef QUALCOMM_HEADER
  74. #define QUALCOMM_HEADER
  75. /*====================================================================*
  76. * system header files;
  77. *--------------------------------------------------------------------*/
  78. #include &lt;stdint.h&gt;
  79. /*====================================================================*
  80. * header constants;
  81. *--------------------------------------------------------------------*/
  82. #define BROADCAST &quot;FF:FF:FF:FF:FF:FF&quot;
  83. #define LOCALCAST &quot;00:B0:52:00:00:01&quot;
  84. /*====================================================================*
  85. * Qualcomm Manufacturer Specific Management Message Types;
  86. *--------------------------------------------------------------------*/
  87. #define MS_PB_ENC 0x8000
  88. #define MS_ADC_CAP 0x8004
  89. #define MS_DISCOVER 0x8008
  90. /*====================================================================*
  91. * Qualcomm Vendor Specific Management Message Types;
  92. *--------------------------------------------------------------------*/
  93. #define VS_SW_VER 0xA000
  94. #define VS_WR_MEM 0xA004
  95. #define VS_RD_MEM 0xA008
  96. #define VS_ST_MAC 0xA00C
  97. #define VS_GET_NVM 0xA010
  98. #define VS_RSVD_1 0xA014
  99. #define VS_RSVD_2 0xA018
  100. #define VS_RS_DEV 0xA01C
  101. #define VS_WR_MOD 0xA020
  102. #define VS_RD_MOD 0xA024
  103. #define VS_MOD_NVM 0xA028
  104. #define VS_WD_RPT 0xA02C
  105. #define VS_LNK_STATS 0xA030
  106. #define VS_SNIFFER 0xA034
  107. #define VS_NW_INFO 0xA038
  108. #define VS_RSVD_3 0xA03C
  109. #define VS_CP_RPT 0xA040
  110. #define VS_ARPC 0xA044
  111. #define VS_SET_KEY 0xA050
  112. #define VS_MFG_STRING 0xA054
  113. #define VS_RD_CBLOCK 0xA058
  114. #define VS_SET_SDRAM 0xA05C
  115. #define VS_HOST_ACTION 0xA060
  116. #define VS_OP_ATTRIBUTES 0xA068
  117. #define VS_ENET_SETTINGS 0xA06C
  118. #define VS_TONE_MAP_CHAR 0xA070
  119. #define VS_NW_INFO_STATS 0xA074
  120. #define VS_SLAVE_MEM 0xA078
  121. #define VS_FAC_DEFAULTS 0xA07C
  122. #define VS_MULTICAST_INFO 0xA084
  123. #define VS_CLASSIFICATION 0xA088
  124. #define VS_RX_TONE_MAP_CHAR 0xA090
  125. #define VS_SET_LED_BEHAVIOR 0xA094
  126. #define VS_WRITE_AND_EXECUTE_APPLET 0xA098
  127. #define VS_MDIO_COMMAND 0xA09C
  128. #define VS_SLAVE_REG 0xA0A0
  129. #define VS_BANDWIDTH_LIMITING 0xA0A4
  130. #define VS_SNID_OPERATION 0xA0A8
  131. #define VS_NN_MITIGATE 0xA0AC
  132. #define VS_MODULE_OPERATION 0xA0B0
  133. #define VS_DIAG_NETWORK_PROBE 0xA0B4
  134. #define VS_PL_LINK_STATUS 0xA0B8
  135. #define VS_GPIO_STATE_CHANGE 0xA0BC
  136. #define VS_CONN_ADD 0xA0C0
  137. #define VS_CONN_MOD 0xA0C4
  138. #define VS_CONN_REL 0xA0C8
  139. #define VS_CONN_INFO 0xA0CC
  140. #define VS_MULTIPORT_LNK_STA 0xA0D0
  141. #define VS_EM_ID_TABLE 0xA0DC
  142. #define VS_STANDBY 0xA0E0
  143. #define VS_SLEEPSCHEDULE 0xA0E4
  144. #define VS_SLEEPSCHEDULE_NOTIFICATION 0xA0E8
  145. #define VS_MICROCONTROLLER_DIAG 0xA0F0
  146. #define VS_GET_PROPERTY 0xA0F8
  147. #define VS_SET_PROPERTY 0xA100
  148. #define VS_PHYSWITCH_MDIO 0xA104
  149. #define VS_SELFTEST_ONETIME_CONFIG 0xA10C
  150. #define VS_SELFTEST_RESULTS 0xA110
  151. #define VS_MDU_TRAFFIC_STATS 0xA114
  152. #define VS_FORWARD_CONFIG 0xA118
  153. #define VS_HYBRID_INFO 0xA200
  154. /*====================================================================*
  155. * module codes for VS_RD_MOD, VS_WR_MOD and VS_MOD_NVM;
  156. *--------------------------------------------------------------------*/
  157. #define VS_MODULE_MAC (1 &lt;&lt; 0)
  158. #define VS_MODULE_PIB (1 &lt;&lt; 1)
  159. #define VS_MODULE_FORCE (1 &lt;&lt; 4)
  160. /*====================================================================*
  161. *
  162. *--------------------------------------------------------------------*/
  163. #endif
  164. </pre>
  165. <div class='footerlink'>
  166. [<a href='putoptv.h.html' title=' putoptv.h '>PREV</a>]
  167. [<a href='toolkit.html' title=' Index '>HOME</a>]
  168. [<a href='rules.h.html' title=' rules.h '>NEXT</a>]
  169. </div>
  170. </body>
  171. </html>