qualcomm.h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. /*====================================================================*
  2. Copyright (c) 2013,2018-2022 Qualcomm Technologies, Inc.
  3. All Rights Reserved.
  4. Confidential and Proprietary - Qualcomm Technologies, Inc.
  5. ******************************************************************
  6. 2013 Qualcomm Atheros, Inc.
  7. *--------------------------------------------------------------------*/
  8. /*====================================================================*
  9. *
  10. * qualcomm.h - Qualcomm Definitions and Declarations;
  11. *
  12. * Contributor(s):
  13. * Charles Maier <cmaier@qca.qualcomm.com>
  14. *
  15. *--------------------------------------------------------------------*/
  16. #ifndef QUALCOMM_HEADER
  17. #define QUALCOMM_HEADER
  18. /*====================================================================*
  19. * system header files;
  20. *--------------------------------------------------------------------*/
  21. #include <stdint.h>
  22. /*====================================================================*
  23. * header constants;
  24. *--------------------------------------------------------------------*/
  25. #define BROADCAST "FF:FF:FF:FF:FF:FF"
  26. #define LOCALCAST "00:B0:52:00:00:01"
  27. /*====================================================================*
  28. * Qualcomm Manufacturer Specific Management Message Types;
  29. *--------------------------------------------------------------------*/
  30. #define MS_PB_ENC 0x8000
  31. #define MS_ADC_CAP 0x8004
  32. /*====================================================================*
  33. * Qualcomm Vendor Specific Management Message Types;
  34. *--------------------------------------------------------------------*/
  35. #define VS_SW_VER 0xA000
  36. #define VS_WR_MEM 0xA004
  37. #define VS_RD_MEM 0xA008
  38. #define VS_ST_MAC 0xA00C
  39. #define VS_GET_NVM 0xA010
  40. #define VS_RSVD_1 0xA014
  41. #define VS_RSVD_2 0xA018
  42. #define VS_RS_DEV 0xA01C
  43. #define VS_WR_MOD 0xA020
  44. #define VS_RD_MOD 0xA024
  45. #define VS_MOD_NVM 0xA028
  46. #define VS_WD_RPT 0xA02C
  47. #define VS_LNK_STATS 0xA030
  48. #define VS_SNIFFER 0xA034
  49. #define VS_NW_INFO 0xA038
  50. #define VS_RSVD_3 0xA03C
  51. #define VS_CP_RPT 0xA040
  52. #define VS_ARPC 0xA044
  53. #define VS_FR_LBK 0xA048
  54. #define VS_LBK_STAT 0xA04C
  55. #define VS_SET_KEY 0xA050
  56. #define VS_MFG_STRING 0xA054
  57. #define VS_RD_CBLOCK 0xA058
  58. #define VS_SET_SDRAM 0xA05C
  59. #define VS_HOST_ACTION 0xA060
  60. #define VS_RD_BLK_NVM 0xA064
  61. #define VS_OP_ATTRIBUTES 0xA068
  62. #define VS_ENET_SETTINGS 0xA06C
  63. #define VS_TONE_MAP_CHAR 0xA070
  64. #define VS_NW_INFO_STATS 0xA074
  65. #define VS_SLAVE_MEM 0xA078
  66. #define VS_FAC_DEFAULTS 0xA07C
  67. #define VS_PTS_NVM 0xA080
  68. #define VS_MULTICAST_INFO 0xA084
  69. #define VS_CLASSIFICATION 0xA088
  70. #define VS_DIAG_STAGE 0xA08C
  71. #define VS_RX_TONE_MAP_CHAR 0xA090
  72. #define VS_SET_LED_BEHAVIOR 0xA094
  73. #define VS_WRITE_AND_EXECUTE_APPLET 0xA098
  74. #define VS_MDIO_COMMAND 0xA09C
  75. #define VS_SLAVE_REG 0xA0A0
  76. #define VS_BANDWIDTH_LIMITING 0xA0A4
  77. #define VS_SNID_OPERATION 0xA0A8
  78. #define VS_NN_MITIGATE 0xA0AC
  79. #define VS_MODULE_OPERATION 0xA0B0
  80. #define VS_DIAG_NETWORK_PROBE 0xA0B4
  81. #define VS_PL_LINK_STATUS 0xA0B8
  82. #define VS_GPIO_STATE_CHANGE 0xA0BC
  83. #define VS_CONN_ADD 0xA0C0
  84. #define VS_CONN_MOD 0xA0C4
  85. #define VS_CONN_REL 0xA0C8
  86. #define VS_CONN_INFO 0xA0CC
  87. #define VS_MULTIPORT_LNK_STA 0xA0D0
  88. #define VS_RAND_MAC_ADDR 0xA0D4
  89. #define VS_CUSTOM_INFO 0xA0D8
  90. #define VS_EM_ID_TABLE 0xA0DC
  91. #define VS_STANDBY 0xA0E0
  92. #define VS_SLEEPSCHEDULE 0xA0E4
  93. #define VS_SLEEPSCHEDULE_NOTIFICATION 0xA0E8
  94. #define VS_MICROCONTROLLER_DIAG 0xA0F0
  95. #define VS_DEBUG_INFO 0xA0F4
  96. #define VS_GET_PROPERTY 0xA0F8
  97. #define VS_SET_PROPERTY 0xA100
  98. #define VS_PHYSWITCH_MDIO 0xA104
  99. #define VS_FLASH_ERASE 0xA108
  100. #define VS_SELFTEST_ONETIME_CONFIG 0xA10C
  101. #define VS_SELFTEST_RESULTS 0xA110
  102. #define VS_MDU_TRAFFIC_STATS 0xA114
  103. #define VS_FORWARD_CONFIG 0xA118
  104. #define VS_ACCESS_LEVEL_CONTROL 0xA148
  105. #define VS_ATTEN_CHAR 0xA14C
  106. #define VS_WIRETAP 0xA150
  107. #define VS_BAT_PROG 0xA154
  108. #define VS_ENCRYPTED_PAYLOAD 0xA158
  109. #define VS_SESSION_CONTROL 0xA15C
  110. #define VS_TONE_MAP_OPER 0xA1F8
  111. #define VS_HYBRID_INFO 0xA200
  112. #define VS_CONSOLE_MSG 0xA210
  113. #define VS_SET_PRESCALER_BACKOFF 0xA238
  114. #define VS_GET_PRESCALER_BACKOFF 0xA23C
  115. #define VS_TRAFFIC_GENERATOR 0xA240
  116. #define VS_PROXY_NW_INFO 0xA244
  117. #define VS_ROUTE_INFO 0xA248
  118. #define VS_LLDP_INFO 0xA24C
  119. #define VS_XDSL_DETECTION_STATUS 0xA250
  120. #define VS_TOPOLOGY_TABLE 0xA254
  121. #define VS_TR069_LOG 0xA258
  122. /*====================================================================*
  123. * module codes for VS_RD_MOD, VS_WR_MOD and VS_MOD_NVM;
  124. *--------------------------------------------------------------------*/
  125. #define VS_MODULE_MAC (1 << 0)
  126. #define VS_MODULE_PIB (1 << 1)
  127. #define VS_MODULE_FORCE (1 << 4)
  128. /*====================================================================*
  129. *
  130. *--------------------------------------------------------------------*/
  131. #endif