qca-vendor.h 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. /*
  2. * Qualcomm Atheros OUI and vendor specific assignments
  3. * Copyright (c) 2014-2015, Qualcomm Atheros, Inc.
  4. *
  5. * This software may be distributed under the terms of the BSD license.
  6. * See README for more details.
  7. */
  8. #ifndef QCA_VENDOR_H
  9. #define QCA_VENDOR_H
  10. /*
  11. * This file is a registry of identifier assignments from the Qualcomm Atheros
  12. * OUI 00:13:74 for purposes other than MAC address assignment. New identifiers
  13. * can be assigned through normal review process for changes to the upstream
  14. * hostap.git repository.
  15. */
  16. #define OUI_QCA 0x001374
  17. /**
  18. * enum qca_radiotap_vendor_ids - QCA radiotap vendor namespace IDs
  19. */
  20. enum qca_radiotap_vendor_ids {
  21. QCA_RADIOTAP_VID_WLANTEST = 0,
  22. };
  23. /**
  24. * enum qca_nl80211_vendor_subcmds - QCA nl80211 vendor command identifiers
  25. *
  26. * @QCA_NL80211_VENDOR_SUBCMD_UNSPEC: Reserved value 0
  27. *
  28. * @QCA_NL80211_VENDOR_SUBCMD_TEST: Test command/event
  29. *
  30. * @QCA_NL80211_VENDOR_SUBCMD_ROAMING: Set roaming policy for drivers that use
  31. * internal BSS-selection. This command uses
  32. * @QCA_WLAN_VENDOR_ATTR_ROAMING_POLICY to specify the new roaming policy
  33. * for the current connection (i.e., changes policy set by the nl80211
  34. * Connect command). @QCA_WLAN_VENDOR_ATTR_MAC_ADDR may optionally be
  35. * included to indicate which BSS to use in case roaming is disabled.
  36. *
  37. * @QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY: Recommendation of frequency
  38. * ranges to avoid to reduce issues due to interference or internal
  39. * co-existence information in the driver. The event data structure is
  40. * defined in struct qca_avoid_freq_list.
  41. *
  42. * @QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY: Command to check driver support
  43. * for DFS offloading.
  44. *
  45. * @QCA_NL80211_VENDOR_SUBCMD_NAN: NAN command/event which is used to pass
  46. * NAN Request/Response and NAN Indication messages. These messages are
  47. * interpreted between the framework and the firmware component.
  48. *
  49. * @QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_SET_KEY: Set key operation that can be
  50. * used to configure PMK to the driver even when not connected. This can
  51. * be used to request offloading of key management operations. Only used
  52. * if device supports QCA_WLAN_VENDOR_FEATURE_KEY_MGMT_OFFLOAD.
  53. *
  54. * @QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_ROAM_AUTH: An extended version of
  55. * NL80211_CMD_ROAM event with optional attributes including information
  56. * from offloaded key management operation. Uses
  57. * enum qca_wlan_vendor_attr_roam_auth attributes. Only used
  58. * if device supports QCA_WLAN_VENDOR_FEATURE_KEY_MGMT_OFFLOAD.
  59. *
  60. * @QCA_NL80211_VENDOR_SUBCMD_DO_ACS: ACS command/event which is used to
  61. * invoke the ACS function in device and pass selected channels to
  62. * hostapd.
  63. *
  64. * @QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES: Command to get the features
  65. * supported by the driver. enum qca_wlan_vendor_features defines
  66. * the possible features.
  67. *
  68. * @QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_CAC_STARTED: Event used by driver,
  69. * which supports DFS offloading, to indicate a channel availability check
  70. * start.
  71. *
  72. * @QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_CAC_FINISHED: Event used by driver,
  73. * which supports DFS offloading, to indicate a channel availability check
  74. * completion.
  75. *
  76. * @QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_CAC_ABORTED: Event used by driver,
  77. * which supports DFS offloading, to indicate that the channel availability
  78. * check aborted, no change to the channel status.
  79. *
  80. * @QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_CAC_NOP_FINISHED: Event used by
  81. * driver, which supports DFS offloading, to indicate that the
  82. * Non-Occupancy Period for this channel is over, channel becomes usable.
  83. *
  84. * @QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_RADAR_DETECTED: Event used by driver,
  85. * which supports DFS offloading, to indicate a radar pattern has been
  86. * detected. The channel is now unusable.
  87. *
  88. * @QCA_NL80211_VENDOR_SUBCMD_P2P_LISTEN_OFFLOAD_START: Command used to
  89. * start the P2P Listen offload function in device and pass the listen
  90. * channel, period, interval, count, device types, and vendor specific
  91. * information elements to the device driver and firmware.
  92. * Uses the attributes defines in
  93. * enum qca_wlan_vendor_attr_p2p_listen_offload.
  94. *
  95. * @QCA_NL80211_VENDOR_SUBCMD_P2P_LISTEN_OFFLOAD_STOP: Command/event used to
  96. * indicate stop request/response of the P2P Listen offload function in
  97. * device. As an event, it indicates either the feature stopped after it
  98. * was already running or feature has actually failed to start. Uses the
  99. * attributes defines in enum qca_wlan_vendor_attr_p2p_listen_offload.
  100. *
  101. * @QCA_NL80211_VENDOR_SUBCMD_SAP_CONDITIONAL_CHAN_SWITCH: After AP starts
  102. * beaconing, this sub command provides the driver, the frequencies on the
  103. * 5 GHz band to check for any radar activity. Driver selects one channel
  104. * from this priority list provided through
  105. * @QCA_WLAN_VENDOR_ATTR_SAP_CONDITIONAL_CHAN_SWITCH_FREQ_LIST and starts
  106. * to check for radar activity on it. If no radar activity is detected
  107. * during the channel availability check period, driver internally switches
  108. * to the selected frequency of operation. If the frequency is zero, driver
  109. * internally selects a channel. The status of this conditional switch is
  110. * indicated through an event using the same sub command through
  111. * @QCA_WLAN_VENDOR_ATTR_SAP_CONDITIONAL_CHAN_SWITCH_STATUS. Attributes are
  112. * listed in qca_wlan_vendor_attr_sap_conditional_chan_switch.
  113. */
  114. enum qca_nl80211_vendor_subcmds {
  115. QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
  116. QCA_NL80211_VENDOR_SUBCMD_TEST = 1,
  117. /* subcmds 2..8 not yet allocated */
  118. QCA_NL80211_VENDOR_SUBCMD_ROAMING = 9,
  119. QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY = 10,
  120. QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY = 11,
  121. QCA_NL80211_VENDOR_SUBCMD_NAN = 12,
  122. QCA_NL80211_VENDOR_SUBMCD_STATS_EXT = 13,
  123. QCA_NL80211_VENDOR_SUBCMD_LL_STATS_SET = 14,
  124. QCA_NL80211_VENDOR_SUBCMD_LL_STATS_GET = 15,
  125. QCA_NL80211_VENDOR_SUBCMD_LL_STATS_CLR = 16,
  126. QCA_NL80211_VENDOR_SUBCMD_LL_STATS_RADIO_RESULTS = 17,
  127. QCA_NL80211_VENDOR_SUBCMD_LL_STATS_IFACE_RESULTS = 18,
  128. QCA_NL80211_VENDOR_SUBCMD_LL_STATS_PEERS_RESULTS = 19,
  129. QCA_NL80211_VENDOR_SUBCMD_GSCAN_START = 20,
  130. QCA_NL80211_VENDOR_SUBCMD_GSCAN_STOP = 21,
  131. QCA_NL80211_VENDOR_SUBCMD_GSCAN_GET_VALID_CHANNELS = 22,
  132. QCA_NL80211_VENDOR_SUBCMD_GSCAN_GET_CAPABILITIES = 23,
  133. QCA_NL80211_VENDOR_SUBCMD_GSCAN_GET_CACHED_RESULTS = 24,
  134. QCA_NL80211_VENDOR_SUBCMD_GSCAN_SCAN_RESULTS_AVAILABLE = 25,
  135. QCA_NL80211_VENDOR_SUBCMD_GSCAN_FULL_SCAN_RESULT = 26,
  136. QCA_NL80211_VENDOR_SUBCMD_GSCAN_SCAN_EVENT = 27,
  137. QCA_NL80211_VENDOR_SUBCMD_GSCAN_HOTLIST_AP_FOUND = 28,
  138. QCA_NL80211_VENDOR_SUBCMD_GSCAN_SET_BSSID_HOTLIST = 29,
  139. QCA_NL80211_VENDOR_SUBCMD_GSCAN_RESET_BSSID_HOTLIST = 30,
  140. QCA_NL80211_VENDOR_SUBCMD_GSCAN_SIGNIFICANT_CHANGE = 31,
  141. QCA_NL80211_VENDOR_SUBCMD_GSCAN_SET_SIGNIFICANT_CHANGE = 32,
  142. QCA_NL80211_VENDOR_SUBCMD_GSCAN_RESET_SIGNIFICANT_CHANGE = 33,
  143. QCA_NL80211_VENDOR_SUBCMD_TDLS_ENABLE = 34,
  144. QCA_NL80211_VENDOR_SUBCMD_TDLS_DISABLE = 35,
  145. QCA_NL80211_VENDOR_SUBCMD_TDLS_GET_STATUS = 36,
  146. QCA_NL80211_VENDOR_SUBCMD_TDLS_STATE = 37,
  147. QCA_NL80211_VENDOR_SUBCMD_GET_SUPPORTED_FEATURES = 38,
  148. QCA_NL80211_VENDOR_SUBCMD_SCANNING_MAC_OUI = 39,
  149. QCA_NL80211_VENDOR_SUBCMD_NO_DFS_FLAG = 40,
  150. QCA_NL80211_VENDOR_SUBCMD_GSCAN_HOTLIST_AP_LOST = 41,
  151. QCA_NL80211_VENDOR_SUBCMD_GET_CONCURRENCY_MATRIX = 42,
  152. /* 43..49 - reserved for QCA */
  153. QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_SET_KEY = 50,
  154. QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_ROAM_AUTH = 51,
  155. QCA_NL80211_VENDOR_SUBCMD_APFIND = 52,
  156. /* 53 - reserved - was used by QCA, but not in use anymore */
  157. QCA_NL80211_VENDOR_SUBCMD_DO_ACS = 54,
  158. QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES = 55,
  159. QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_CAC_STARTED = 56,
  160. QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_CAC_FINISHED = 57,
  161. QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_CAC_ABORTED = 58,
  162. QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_CAC_NOP_FINISHED = 59,
  163. QCA_NL80211_VENDOR_SUBCMD_DFS_OFFLOAD_RADAR_DETECTED = 60,
  164. /* 61-73 - reserved for QCA */
  165. /* Wi-Fi configuration subcommands */
  166. QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION = 74,
  167. QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_CONFIGURATION = 75,
  168. /* 76-90 - reserved for QCA */
  169. QCA_NL80211_VENDOR_SUBCMD_DATA_OFFLOAD = 91,
  170. QCA_NL80211_VENDOR_SUBCMD_OCB_SET_CONFIG = 92,
  171. QCA_NL80211_VENDOR_SUBCMD_OCB_SET_UTC_TIME = 93,
  172. QCA_NL80211_VENDOR_SUBCMD_OCB_START_TIMING_ADVERT = 94,
  173. QCA_NL80211_VENDOR_SUBCMD_OCB_STOP_TIMING_ADVERT = 95,
  174. QCA_NL80211_VENDOR_SUBCMD_OCB_GET_TSF_TIMER = 96,
  175. QCA_NL80211_VENDOR_SUBCMD_DCC_GET_STATS = 97,
  176. QCA_NL80211_VENDOR_SUBCMD_DCC_CLEAR_STATS = 98,
  177. QCA_NL80211_VENDOR_SUBCMD_DCC_UPDATE_NDL = 99,
  178. QCA_NL80211_VENDOR_SUBCMD_DCC_STATS_EVENT = 100,
  179. QCA_NL80211_VENDOR_SUBCMD_LINK_PROPERTIES = 101,
  180. QCA_NL80211_VENDOR_SUBCMD_GW_PARAM_CONFIG = 102,
  181. QCA_NL80211_VENDOR_SUBCMD_GET_PREFERRED_FREQ_LIST = 103,
  182. QCA_NL80211_VENDOR_SUBCMD_SET_PROBABLE_OPER_CHANNEL = 104,
  183. QCA_NL80211_VENDOR_SUBCMD_SETBAND = 105,
  184. QCA_NL80211_VENDOR_SUBCMD_TRIGGER_SCAN = 106,
  185. QCA_NL80211_VENDOR_SUBCMD_SCAN_DONE = 107,
  186. QCA_NL80211_VENDOR_SUBCMD_OTA_TEST = 108,
  187. QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_SCALE = 109,
  188. /* 110..114 - reserved for QCA */
  189. QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_DECR_DB = 115,
  190. /* 116..117 - reserved for QCA */
  191. QCA_NL80211_VENDOR_SUBCMD_SET_SAP_CONFIG = 118,
  192. QCA_NL80211_VENDOR_SUBCMD_TSF = 119,
  193. QCA_NL80211_VENDOR_SUBCMD_WISA = 120,
  194. /* 121 - reserved for QCA */
  195. QCA_NL80211_VENDOR_SUBCMD_P2P_LISTEN_OFFLOAD_START = 122,
  196. QCA_NL80211_VENDOR_SUBCMD_P2P_LISTEN_OFFLOAD_STOP = 123,
  197. QCA_NL80211_VENDOR_SUBCMD_SAP_CONDITIONAL_CHAN_SWITCH = 124,
  198. };
  199. enum qca_wlan_vendor_attr {
  200. QCA_WLAN_VENDOR_ATTR_INVALID = 0,
  201. /* used by QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY */
  202. QCA_WLAN_VENDOR_ATTR_DFS = 1,
  203. /* used by QCA_NL80211_VENDOR_SUBCMD_NAN */
  204. QCA_WLAN_VENDOR_ATTR_NAN = 2,
  205. /* used by QCA_NL80211_VENDOR_SUBCMD_STATS_EXT */
  206. QCA_WLAN_VENDOR_ATTR_STATS_EXT = 3,
  207. /* used by QCA_NL80211_VENDOR_SUBCMD_STATS_EXT */
  208. QCA_WLAN_VENDOR_ATTR_IFINDEX = 4,
  209. /* used by QCA_NL80211_VENDOR_SUBCMD_ROAMING, u32 with values defined
  210. * by enum qca_roaming_policy. */
  211. QCA_WLAN_VENDOR_ATTR_ROAMING_POLICY = 5,
  212. QCA_WLAN_VENDOR_ATTR_MAC_ADDR = 6,
  213. /* used by QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES */
  214. QCA_WLAN_VENDOR_ATTR_FEATURE_FLAGS = 7,
  215. QCA_WLAN_VENDOR_ATTR_TEST = 8,
  216. /* used by QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES */
  217. /* Unsigned 32-bit value. */
  218. QCA_WLAN_VENDOR_ATTR_CONCURRENCY_CAPA = 9,
  219. /* Unsigned 32-bit value */
  220. QCA_WLAN_VENDOR_ATTR_MAX_CONCURRENT_CHANNELS_2_4_BAND = 10,
  221. /* Unsigned 32-bit value */
  222. QCA_WLAN_VENDOR_ATTR_MAX_CONCURRENT_CHANNELS_5_0_BAND = 11,
  223. /* Unsigned 32-bit value from enum qca_set_band. */
  224. QCA_WLAN_VENDOR_ATTR_SETBAND_VALUE = 12,
  225. /* keep last */
  226. QCA_WLAN_VENDOR_ATTR_AFTER_LAST,
  227. QCA_WLAN_VENDOR_ATTR_MAX = QCA_WLAN_VENDOR_ATTR_AFTER_LAST - 1,
  228. };
  229. enum qca_roaming_policy {
  230. QCA_ROAMING_NOT_ALLOWED,
  231. QCA_ROAMING_ALLOWED_WITHIN_ESS,
  232. };
  233. enum qca_wlan_vendor_attr_roam_auth {
  234. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_INVALID = 0,
  235. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_BSSID,
  236. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_REQ_IE,
  237. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_RESP_IE,
  238. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AUTHORIZED,
  239. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_KEY_REPLAY_CTR,
  240. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PTK_KCK,
  241. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PTK_KEK,
  242. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_SUBNET_STATUS,
  243. /* keep last */
  244. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AFTER_LAST,
  245. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_MAX =
  246. QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AFTER_LAST - 1
  247. };
  248. enum qca_wlan_vendor_attr_p2p_listen_offload {
  249. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_INVALID = 0,
  250. /* A 32-bit unsigned value; the P2P listen frequency (MHz); must be one
  251. * of the social channels.
  252. */
  253. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_CHANNEL,
  254. /* A 32-bit unsigned value; the P2P listen offload period (ms).
  255. */
  256. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_PERIOD,
  257. /* A 32-bit unsigned value; the P2P listen interval duration (ms).
  258. */
  259. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_INTERVAL,
  260. /* A 32-bit unsigned value; number of interval times the firmware needs
  261. * to run the offloaded P2P listen operation before it stops.
  262. */
  263. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_COUNT,
  264. /* An array of arbitrary binary data with one or more 8-byte values.
  265. * The device types include both primary and secondary device types.
  266. */
  267. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_DEVICE_TYPES,
  268. /* An array of unsigned 8-bit characters; vendor information elements.
  269. */
  270. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_VENDOR_IE,
  271. /* A 32-bit unsigned value; a control flag to indicate whether listen
  272. * results need to be flushed to wpa_supplicant.
  273. */
  274. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_CTRL_FLAG,
  275. /* A 8-bit unsigned value; reason code for P2P listen offload stop
  276. * event.
  277. */
  278. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_STOP_REASON,
  279. /* keep last */
  280. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_AFTER_LAST,
  281. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_MAX =
  282. QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_AFTER_LAST - 1
  283. };
  284. enum qca_wlan_vendor_attr_acs_offload {
  285. QCA_WLAN_VENDOR_ATTR_ACS_CHANNEL_INVALID = 0,
  286. QCA_WLAN_VENDOR_ATTR_ACS_PRIMARY_CHANNEL,
  287. QCA_WLAN_VENDOR_ATTR_ACS_SECONDARY_CHANNEL,
  288. QCA_WLAN_VENDOR_ATTR_ACS_HW_MODE,
  289. QCA_WLAN_VENDOR_ATTR_ACS_HT_ENABLED,
  290. QCA_WLAN_VENDOR_ATTR_ACS_HT40_ENABLED,
  291. QCA_WLAN_VENDOR_ATTR_ACS_VHT_ENABLED,
  292. QCA_WLAN_VENDOR_ATTR_ACS_CHWIDTH,
  293. QCA_WLAN_VENDOR_ATTR_ACS_CH_LIST,
  294. QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG0_CENTER_CHANNEL,
  295. QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG1_CENTER_CHANNEL,
  296. QCA_WLAN_VENDOR_ATTR_ACS_FREQ_LIST,
  297. /* keep last */
  298. QCA_WLAN_VENDOR_ATTR_ACS_AFTER_LAST,
  299. QCA_WLAN_VENDOR_ATTR_ACS_MAX =
  300. QCA_WLAN_VENDOR_ATTR_ACS_AFTER_LAST - 1
  301. };
  302. enum qca_wlan_vendor_acs_hw_mode {
  303. QCA_ACS_MODE_IEEE80211B,
  304. QCA_ACS_MODE_IEEE80211G,
  305. QCA_ACS_MODE_IEEE80211A,
  306. QCA_ACS_MODE_IEEE80211AD,
  307. QCA_ACS_MODE_IEEE80211ANY,
  308. };
  309. /**
  310. * enum qca_wlan_vendor_features - Vendor device/driver feature flags
  311. *
  312. * @QCA_WLAN_VENDOR_FEATURE_KEY_MGMT_OFFLOAD: Device supports key
  313. * management offload, a mechanism where the station's firmware
  314. * does the exchange with the AP to establish the temporal keys
  315. * after roaming, rather than having the user space wpa_supplicant do it.
  316. * @QCA_WLAN_VENDOR_FEATURE_SUPPORT_HW_MODE_ANY: Device supports automatic
  317. * band selection based on channel selection results.
  318. * @QCA_WLAN_VENDOR_FEATURE_OFFCHANNEL_SIMULTANEOUS: Device supports
  319. * simultaneous off-channel operations.
  320. * @QCA_WLAN_VENDOR_FEATURE_P2P_LISTEN_OFFLOAD: Device supports P2P
  321. * Listen offload; a mechanism where the station's firmware takes care of
  322. * responding to incoming Probe Request frames received from other P2P
  323. * Devices whilst in Listen state, rather than having the user space
  324. * wpa_supplicant do it. Information from received P2P requests are
  325. * forwarded from firmware to host whenever the host processor wakes up.
  326. * @NUM_QCA_WLAN_VENDOR_FEATURES: Number of assigned feature bits
  327. */
  328. enum qca_wlan_vendor_features {
  329. QCA_WLAN_VENDOR_FEATURE_KEY_MGMT_OFFLOAD = 0,
  330. QCA_WLAN_VENDOR_FEATURE_SUPPORT_HW_MODE_ANY = 1,
  331. QCA_WLAN_VENDOR_FEATURE_OFFCHANNEL_SIMULTANEOUS = 2,
  332. QCA_WLAN_VENDOR_FEATURE_P2P_LISTEN_OFFLOAD = 3,
  333. NUM_QCA_WLAN_VENDOR_FEATURES /* keep last */
  334. };
  335. /**
  336. * enum qca_wlan_vendor_attr_data_offload_ind - Vendor Data Offload Indication
  337. *
  338. * @QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_SESSION: Session corresponding to
  339. * the offloaded data.
  340. * @QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_PROTOCOL: Protocol of the offloaded
  341. * data.
  342. * @QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_EVENT: Event type for the data offload
  343. * indication.
  344. */
  345. enum qca_wlan_vendor_attr_data_offload_ind {
  346. QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_INVALID = 0,
  347. QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_SESSION,
  348. QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_PROTOCOL,
  349. QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_EVENT,
  350. /* keep last */
  351. QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_AFTER_LAST,
  352. QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_MAX =
  353. QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_AFTER_LAST - 1
  354. };
  355. enum qca_vendor_attr_get_preferred_freq_list {
  356. QCA_WLAN_VENDOR_ATTR_GET_PREFERRED_FREQ_LIST_INVALID,
  357. /* A 32-unsigned value; the interface type/mode for which the preferred
  358. * frequency list is requested (see enum qca_iface_type for possible
  359. * values); used in GET_PREFERRED_FREQ_LIST command from user-space to
  360. * kernel and in the kernel response back to user-space.
  361. */
  362. QCA_WLAN_VENDOR_ATTR_GET_PREFERRED_FREQ_LIST_IFACE_TYPE,
  363. /* An array of 32-unsigned values; values are frequency (MHz); sent
  364. * from kernel space to user space.
  365. */
  366. QCA_WLAN_VENDOR_ATTR_GET_PREFERRED_FREQ_LIST,
  367. /* keep last */
  368. QCA_WLAN_VENDOR_ATTR_GET_PREFERRED_FREQ_LIST_AFTER_LAST,
  369. QCA_WLAN_VENDOR_ATTR_GET_PREFERRED_FREQ_LIST_MAX =
  370. QCA_WLAN_VENDOR_ATTR_GET_PREFERRED_FREQ_LIST_AFTER_LAST - 1
  371. };
  372. enum qca_vendor_attr_probable_oper_channel {
  373. QCA_WLAN_VENDOR_ATTR_PROBABLE_OPER_CHANNEL_INVALID,
  374. /* 32-bit unsigned value; indicates the connection/iface type likely to
  375. * come on this channel (see enum qca_iface_type).
  376. */
  377. QCA_WLAN_VENDOR_ATTR_PROBABLE_OPER_CHANNEL_IFACE_TYPE,
  378. /* 32-bit unsigned value; the frequency (MHz) of the probable channel */
  379. QCA_WLAN_VENDOR_ATTR_PROBABLE_OPER_CHANNEL_FREQ,
  380. /* keep last */
  381. QCA_WLAN_VENDOR_ATTR_PROBABLE_OPER_CHANNEL_AFTER_LAST,
  382. QCA_WLAN_VENDOR_ATTR_PROBABLE_OPER_CHANNEL_MAX =
  383. QCA_WLAN_VENDOR_ATTR_PROBABLE_OPER_CHANNEL_AFTER_LAST - 1
  384. };
  385. enum qca_iface_type {
  386. QCA_IFACE_TYPE_STA,
  387. QCA_IFACE_TYPE_AP,
  388. QCA_IFACE_TYPE_P2P_CLIENT,
  389. QCA_IFACE_TYPE_P2P_GO,
  390. QCA_IFACE_TYPE_IBSS,
  391. QCA_IFACE_TYPE_TDLS,
  392. };
  393. enum qca_set_band {
  394. QCA_SETBAND_AUTO,
  395. QCA_SETBAND_5G,
  396. QCA_SETBAND_2G,
  397. };
  398. /**
  399. * enum qca_vendor_attr_get_tsf: Vendor attributes for TSF capture
  400. * @QCA_WLAN_VENDOR_ATTR_TSF_CMD: enum qca_tsf_operation (u32)
  401. * @QCA_WLAN_VENDOR_ATTR_TSF_TIMER_VALUE: Unsigned 64 bit TSF timer value
  402. * @QCA_WLAN_VENDOR_ATTR_TSF_SOC_TIMER_VALUE: Unsigned 64 bit Synchronized
  403. * SOC timer value at TSF capture
  404. */
  405. enum qca_vendor_attr_tsf_cmd {
  406. QCA_WLAN_VENDOR_ATTR_TSF_INVALID = 0,
  407. QCA_WLAN_VENDOR_ATTR_TSF_CMD,
  408. QCA_WLAN_VENDOR_ATTR_TSF_TIMER_VALUE,
  409. QCA_WLAN_VENDOR_ATTR_TSF_SOC_TIMER_VALUE,
  410. QCA_WLAN_VENDOR_ATTR_TSF_AFTER_LAST,
  411. QCA_WLAN_VENDOR_ATTR_TSF_MAX =
  412. QCA_WLAN_VENDOR_ATTR_TSF_AFTER_LAST - 1
  413. };
  414. /**
  415. * enum qca_tsf_operation: TSF driver commands
  416. * @QCA_TSF_CAPTURE: Initiate TSF Capture
  417. * @QCA_TSF_GET: Get TSF capture value
  418. * @QCA_TSF_SYNC_GET: Initiate TSF capture and return with captured value
  419. */
  420. enum qca_tsf_cmd {
  421. QCA_TSF_CAPTURE,
  422. QCA_TSF_GET,
  423. QCA_TSF_SYNC_GET,
  424. };
  425. /**
  426. * enum qca_vendor_attr_wisa_cmd
  427. * @QCA_WLAN_VENDOR_ATTR_WISA_MODE: WISA mode value (u32)
  428. * WISA setup vendor commands
  429. */
  430. enum qca_vendor_attr_wisa_cmd {
  431. QCA_WLAN_VENDOR_ATTR_WISA_INVALID = 0,
  432. QCA_WLAN_VENDOR_ATTR_WISA_MODE,
  433. QCA_WLAN_VENDOR_ATTR_WISA_AFTER_LAST,
  434. QCA_WLAN_VENDOR_ATTR_WISA_MAX =
  435. QCA_WLAN_VENDOR_ATTR_WISA_AFTER_LAST - 1
  436. };
  437. /* IEEE 802.11 Vendor Specific elements */
  438. /**
  439. * enum qca_vendor_element_id - QCA Vendor Specific element types
  440. *
  441. * These values are used to identify QCA Vendor Specific elements. The
  442. * payload of the element starts with the three octet OUI (OUI_QCA) and
  443. * is followed by a single octet type which is defined by this enum.
  444. *
  445. * @QCA_VENDOR_ELEM_P2P_PREF_CHAN_LIST: P2P preferred channel list.
  446. * This element can be used to specify preference order for supported
  447. * channels. The channels in this list are in preference order (the first
  448. * one has the highest preference) and are described as a pair of
  449. * (global) Operating Class and Channel Number (each one octet) fields.
  450. *
  451. * This extends the standard P2P functionality by providing option to have
  452. * more than one preferred operating channel. When this element is present,
  453. * it replaces the preference indicated in the Operating Channel attribute.
  454. * For supporting other implementations, the Operating Channel attribute is
  455. * expected to be used with the highest preference channel. Similarly, all
  456. * the channels included in this Preferred channel list element are
  457. * expected to be included in the Channel List attribute.
  458. *
  459. * This vendor element may be included in GO Negotiation Request, P2P
  460. * Invitation Request, and Provision Discovery Request frames.
  461. *
  462. * @QCA_VENDOR_ELEM_HE_CAPAB: HE Capabilities element.
  463. * This element can be used for pre-standard publication testing of HE
  464. * before P802.11ax draft assigns the element ID. The payload of this
  465. * vendor specific element is defined by the latest P802.11ax draft.
  466. * Please note that the draft is still work in progress and this element
  467. * payload is subject to change.
  468. *
  469. * @QCA_VENDOR_ELEM_HE_OPER: HE Operation element.
  470. * This element can be used for pre-standard publication testing of HE
  471. * before P802.11ax draft assigns the element ID. The payload of this
  472. * vendor specific element is defined by the latest P802.11ax draft.
  473. * Please note that the draft is still work in progress and this element
  474. * payload is subject to change.
  475. */
  476. enum qca_vendor_element_id {
  477. QCA_VENDOR_ELEM_P2P_PREF_CHAN_LIST = 0,
  478. QCA_VENDOR_ELEM_HE_CAPAB = 1,
  479. QCA_VENDOR_ELEM_HE_OPER = 2,
  480. };
  481. /**
  482. * enum qca_wlan_vendor_attr_scan - Specifies vendor scan attributes
  483. *
  484. * @QCA_WLAN_VENDOR_ATTR_SCAN_IE: IEs that should be included as part of scan
  485. * @QCA_WLAN_VENDOR_ATTR_SCAN_FREQUENCIES: Nested unsigned 32-bit attributes
  486. * with frequencies to be scanned (in MHz)
  487. * @QCA_WLAN_VENDOR_ATTR_SCAN_SSIDS: Nested attribute with SSIDs to be scanned
  488. * @QCA_WLAN_VENDOR_ATTR_SCAN_SUPP_RATES: Nested array attribute of supported
  489. * rates to be included
  490. * @QCA_WLAN_VENDOR_ATTR_SCAN_TX_NO_CCK_RATE: flag used to send probe requests
  491. * at non CCK rate in 2GHz band
  492. * @QCA_WLAN_VENDOR_ATTR_SCAN_FLAGS: Unsigned 32-bit scan flags
  493. * @QCA_WLAN_VENDOR_ATTR_SCAN_COOKIE: Unsigned 64-bit cookie provided by the
  494. * driver for the specific scan request
  495. * @QCA_WLAN_VENDOR_ATTR_SCAN_STATUS: Unsigned 8-bit status of the scan
  496. * request decoded as in enum scan_status
  497. * @QCA_WLAN_VENDOR_ATTR_SCAN_MAC: 6-byte MAC address to use when randomisation
  498. * scan flag is set
  499. * @QCA_WLAN_VENDOR_ATTR_SCAN_MAC_MASK: 6-byte MAC address mask to be used with
  500. * randomisation
  501. */
  502. enum qca_wlan_vendor_attr_scan {
  503. QCA_WLAN_VENDOR_ATTR_SCAN_INVALID_PARAM = 0,
  504. QCA_WLAN_VENDOR_ATTR_SCAN_IE,
  505. QCA_WLAN_VENDOR_ATTR_SCAN_FREQUENCIES,
  506. QCA_WLAN_VENDOR_ATTR_SCAN_SSIDS,
  507. QCA_WLAN_VENDOR_ATTR_SCAN_SUPP_RATES,
  508. QCA_WLAN_VENDOR_ATTR_SCAN_TX_NO_CCK_RATE,
  509. QCA_WLAN_VENDOR_ATTR_SCAN_FLAGS,
  510. QCA_WLAN_VENDOR_ATTR_SCAN_COOKIE,
  511. QCA_WLAN_VENDOR_ATTR_SCAN_STATUS,
  512. QCA_WLAN_VENDOR_ATTR_SCAN_MAC,
  513. QCA_WLAN_VENDOR_ATTR_SCAN_MAC_MASK,
  514. QCA_WLAN_VENDOR_ATTR_SCAN_AFTER_LAST,
  515. QCA_WLAN_VENDOR_ATTR_SCAN_MAX =
  516. QCA_WLAN_VENDOR_ATTR_SCAN_AFTER_LAST - 1
  517. };
  518. /**
  519. * enum scan_status - Specifies the valid values the vendor scan attribute
  520. * QCA_WLAN_VENDOR_ATTR_SCAN_STATUS can take
  521. *
  522. * @VENDOR_SCAN_STATUS_NEW_RESULTS: implies the vendor scan is successful with
  523. * new scan results
  524. * @VENDOR_SCAN_STATUS_ABORTED: implies the vendor scan was aborted in-between
  525. */
  526. enum scan_status {
  527. VENDOR_SCAN_STATUS_NEW_RESULTS,
  528. VENDOR_SCAN_STATUS_ABORTED,
  529. VENDOR_SCAN_STATUS_MAX,
  530. };
  531. /**
  532. * enum qca_vendor_attr_ota_test - Specifies the values for vendor
  533. * command QCA_NL80211_VENDOR_SUBCMD_OTA_TEST
  534. * @QCA_WLAN_VENDOR_ATTR_OTA_TEST_ENABLE: enable ota test
  535. */
  536. enum qca_vendor_attr_ota_test {
  537. QCA_WLAN_VENDOR_ATTR_OTA_TEST_INVALID,
  538. /* 8-bit unsigned value to indicate if OTA test is enabled */
  539. QCA_WLAN_VENDOR_ATTR_OTA_TEST_ENABLE,
  540. /* keep last */
  541. QCA_WLAN_VENDOR_ATTR_OTA_TEST_AFTER_LAST,
  542. QCA_WLAN_VENDOR_ATTR_OTA_TEST_MAX =
  543. QCA_WLAN_VENDOR_ATTR_OTA_TEST_AFTER_LAST - 1
  544. };
  545. /**
  546. * enum qca_vendor_attr_txpower_scale - vendor sub commands index
  547. *
  548. * @QCA_WLAN_VENDOR_ATTR_TXPOWER_SCALE: scaling value
  549. */
  550. enum qca_vendor_attr_txpower_scale {
  551. QCA_WLAN_VENDOR_ATTR_TXPOWER_SCALE_INVALID,
  552. /* 8-bit unsigned value to indicate the scaling of tx power */
  553. QCA_WLAN_VENDOR_ATTR_TXPOWER_SCALE,
  554. /* keep last */
  555. QCA_WLAN_VENDOR_ATTR_TXPOWER_SCALE_AFTER_LAST,
  556. QCA_WLAN_VENDOR_ATTR_TXPOWER_SCALE_MAX =
  557. QCA_WLAN_VENDOR_ATTR_TXPOWER_SCALE_AFTER_LAST - 1
  558. };
  559. /**
  560. * enum qca_vendor_attr_txpower_decr_db - Attributes for TX power decrease
  561. *
  562. * These attributes are used with QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_DECR_DB.
  563. */
  564. enum qca_vendor_attr_txpower_decr_db {
  565. QCA_WLAN_VENDOR_ATTR_TXPOWER_DECR_DB_INVALID,
  566. /* 8-bit unsigned value to indicate the reduction of TX power in dB for
  567. * a virtual interface. */
  568. QCA_WLAN_VENDOR_ATTR_TXPOWER_DECR_DB,
  569. /* keep last */
  570. QCA_WLAN_VENDOR_ATTR_TXPOWER_DECR_DB_AFTER_LAST,
  571. QCA_WLAN_VENDOR_ATTR_TXPOWER_DECR_DB_MAX =
  572. QCA_WLAN_VENDOR_ATTR_TXPOWER_DECR_DB_AFTER_LAST - 1
  573. };
  574. /* Attributes for data used by
  575. * QCA_NL80211_VENDOR_SUBCMD_SET_CONFIGURATION and
  576. * QCA_NL80211_VENDOR_SUBCMD_GET_CONFIGURATION subcommands.
  577. */
  578. enum qca_wlan_vendor_attr_config {
  579. QCA_WLAN_VENDOR_ATTR_CONFIG_INVALID,
  580. /* Unsigned 32-bit value to set the DTIM period.
  581. * Whether the wifi chipset wakes at every dtim beacon or a multiple of
  582. * the DTIM period. If DTIM is set to 3, the STA shall wake up every 3
  583. * DTIM beacons.
  584. */
  585. QCA_WLAN_VENDOR_ATTR_CONFIG_DYNAMIC_DTIM,
  586. /* Unsigned 32-bit value to set the wifi_iface stats averaging factor
  587. * used to calculate statistics like average the TSF offset or average
  588. * number of frame leaked.
  589. * For instance, upon Beacon frame reception:
  590. * current_avg = ((beacon_TSF - TBTT) * factor + previous_avg * (0x10000 - factor) ) / 0x10000
  591. * For instance, when evaluating leaky APs:
  592. * current_avg = ((num frame received within guard time) * factor + previous_avg * (0x10000 - factor)) / 0x10000
  593. */
  594. QCA_WLAN_VENDOR_ATTR_CONFIG_STATS_AVG_FACTOR,
  595. /* Unsigned 32-bit value to configure guard time, i.e., when
  596. * implementing IEEE power management based on frame control PM bit, how
  597. * long the driver waits before shutting down the radio and after
  598. * receiving an ACK frame for a Data frame with PM bit set.
  599. */
  600. QCA_WLAN_VENDOR_ATTR_CONFIG_GUARD_TIME,
  601. /* Unsigned 32-bit value to change the FTM capability dynamically */
  602. QCA_WLAN_VENDOR_ATTR_CONFIG_FINE_TIME_MEASUREMENT,
  603. /* Unsigned 16-bit value to configure maximum TX rate dynamically */
  604. QCA_WLAN_VENDOR_ATTR_CONF_TX_RATE,
  605. /* Unsigned 32-bit value to configure the number of continuous
  606. * Beacon Miss which shall be used by the firmware to penalize
  607. * the RSSI.
  608. */
  609. QCA_WLAN_VENDOR_ATTR_CONFIG_PENALIZE_AFTER_NCONS_BEACON_MISS,
  610. /* Unsigned 8-bit value to configure the channel avoidance indication
  611. * behavior. Firmware to send only one indication and ignore duplicate
  612. * indications when set to avoid multiple Apps wakeups.
  613. */
  614. QCA_WLAN_VENDOR_ATTR_CONFIG_CHANNEL_AVOIDANCE_IND,
  615. /* 8-bit unsigned value to configure the maximum TX MPDU for
  616. * aggregation. */
  617. QCA_WLAN_VENDOR_ATTR_CONFIG_TX_MPDU_AGGREGATION,
  618. /* 8-bit unsigned value to configure the maximum RX MPDU for
  619. * aggregation. */
  620. QCA_WLAN_VENDOR_ATTR_CONFIG_RX_MPDU_AGGREGATION,
  621. /* 8-bit unsigned value to configure the Non aggregrate/11g sw
  622. * retry threshold (0 disable, 31 max). */
  623. QCA_WLAN_VENDOR_ATTR_CONFIG_NON_AGG_RETRY,
  624. /* 8-bit unsigned value to configure the aggregrate sw
  625. * retry threshold (0 disable, 31 max). */
  626. QCA_WLAN_VENDOR_ATTR_CONFIG_AGG_RETRY,
  627. /* 8-bit unsigned value to configure the MGMT frame
  628. * retry threshold (0 disable, 31 max). */
  629. QCA_WLAN_VENDOR_ATTR_CONFIG_MGMT_RETRY,
  630. /* 8-bit unsigned value to configure the CTRL frame
  631. * retry threshold (0 disable, 31 max). */
  632. QCA_WLAN_VENDOR_ATTR_CONFIG_CTRL_RETRY,
  633. /* 8-bit unsigned value to configure the propagation delay for
  634. * 2G/5G band (0~63, units in us) */
  635. QCA_WLAN_VENDOR_ATTR_CONFIG_PROPAGATION_DELAY,
  636. /* Unsigned 32-bit value to configure the number of unicast TX fail
  637. * packet count. The peer is disconnected once this threshold is
  638. * reached. */
  639. QCA_WLAN_VENDOR_ATTR_CONFIG_TX_FAIL_COUNT,
  640. /* Attribute used to set scan default IEs to the driver.
  641. *
  642. * These IEs can be used by scan operations that will be initiated by
  643. * the driver/firmware.
  644. *
  645. * For further scan requests coming to the driver, these IEs should be
  646. * merged with the IEs received along with scan request coming to the
  647. * driver. If a particular IE is present in the scan default IEs but not
  648. * present in the scan request, then that IE should be added to the IEs
  649. * sent in the Probe Request frames for that scan request. */
  650. QCA_WLAN_VENDOR_ATTR_CONFIG_SCAN_DEFAULT_IES,
  651. /* keep last */
  652. QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
  653. QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
  654. QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST - 1,
  655. };
  656. /**
  657. * enum qca_wlan_vendor_attr_sap_config - Parameters for AP configuration
  658. */
  659. enum qca_wlan_vendor_attr_sap_config {
  660. QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_INVALID = 0,
  661. /* 1 - reserved for QCA */
  662. /* List of frequencies on which AP is expected to operate.
  663. * This is irrespective of ACS configuration. This list is a priority
  664. * based one and is looked for before the AP is created to ensure the
  665. * best concurrency sessions (avoid MCC and use DBS/SCC) co-exist in
  666. * the system.
  667. */
  668. QCA_WLAN_VENDOR_ATTR_SAP_MANDATORY_FREQUENCY_LIST = 2,
  669. QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_AFTER_LAST,
  670. QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_MAX =
  671. QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_AFTER_LAST - 1,
  672. };
  673. /**
  674. * enum qca_wlan_vendor_attr_sap_conditional_chan_switch - Parameters for AP
  675. * conditional channel switch
  676. */
  677. enum qca_wlan_vendor_attr_sap_conditional_chan_switch {
  678. QCA_WLAN_VENDOR_ATTR_SAP_CONDITIONAL_CHAN_SWITCH_INVALID = 0,
  679. /* Priority based frequency list (an array of u32 values in host byte
  680. * order) */
  681. QCA_WLAN_VENDOR_ATTR_SAP_CONDITIONAL_CHAN_SWITCH_FREQ_LIST = 1,
  682. /* Status of the conditional switch (u32).
  683. * 0: Success, Non-zero: Failure
  684. */
  685. QCA_WLAN_VENDOR_ATTR_SAP_CONDITIONAL_CHAN_SWITCH_STATUS = 2,
  686. QCA_WLAN_VENDOR_ATTR_SAP_CONDITIONAL_CHAN_SWITCH_AFTER_LAST,
  687. QCA_WLAN_VENDOR_ATTR_SAP_CONDITIONAL_CHAN_SWITCH_MAX =
  688. QCA_WLAN_VENDOR_ATTR_SAP_CONDITIONAL_CHAN_SWITCH_AFTER_LAST - 1,
  689. };
  690. #endif /* QCA_VENDOR_H */