wmi_unified_twt_param.h 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817
  1. /*
  2. * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
  3. * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
  4. *
  5. * Permission to use, copy, modify, and/or distribute this software for
  6. * any purpose with or without fee is hereby granted, provided that the
  7. * above copyright notice and this permission notice appear in all
  8. * copies.
  9. *
  10. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  11. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  12. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  13. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  14. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  15. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  16. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  17. * PERFORMANCE OF THIS SOFTWARE.
  18. */
  19. /*
  20. * This file contains the API definitions for the TWT WMI APIs.
  21. */
  22. #ifndef _WMI_UNIFIED_TWT_PARAM_H_
  23. #define _WMI_UNIFIED_TWT_PARAM_H_
  24. /* enum WMI_TWT_ROLE - role specified in ext conf in wmi_twt_enable/disable_cmd
  25. * WMI_TWT_ROLE_REQUESTOR: TWT role is requestor
  26. * WMI_TWT_ROLE_RESPONDER: TWT role is responder
  27. */
  28. enum WMI_TWT_ROLE {
  29. WMI_TWT_ROLE_REQUESTOR,
  30. WMI_TWT_ROLE_RESPONDER,
  31. };
  32. /* enum WMI_TWT_OPERATION - specified in ext conf in wmi_twt_enable/disable_cmd
  33. * WMI_TWT_OPERATION_INDIVIDUAL: Individual TWT operation
  34. * WMI_TWT_OPERATION_BROADCAST: Broadcast TWT operation
  35. */
  36. enum WMI_TWT_OPERATION {
  37. WMI_TWT_OPERATION_INDIVIDUAL,
  38. WMI_TWT_OPERATION_BROADCAST,
  39. };
  40. /**
  41. * @pdev_id: pdev_id for identifying the MAC.
  42. * @sta_cong_timer_ms: STA TWT congestion timer TO value in terms of ms
  43. * @mbss_support: Flag indicating if AP TWT feature supported in
  44. * MBSS mode or not.
  45. * @default_slot_size: This is the default value for the TWT slot setup
  46. * by AP (units = microseconds)
  47. * @congestion_thresh_setup: Minimum congestion required to start setting
  48. * up TWT sessions
  49. * @congestion_thresh_teardown: Minimum congestion below which TWT will be
  50. * torn down (in percent of occupied airtime)
  51. * @congestion_thresh_critical: Threshold above which TWT will not be active
  52. * (in percent of occupied airtime)
  53. * @interference_thresh_teardown: Minimum interference above that TWT
  54. * will not be active. The interference parameters use an
  55. * abstract method of evaluating interference.
  56. * The parameters are in percent, ranging from 0 for no
  57. * interference, to 100 for interference extreme enough
  58. * to completely block the signal of interest.
  59. * @interference_thresh_setup: Minimum interference below that TWT session
  60. * can be setup. The interference parameters use an
  61. * abstract method of evaluating interference.
  62. * The parameters are in percent, ranging from 0 for no
  63. * interference, to 100 for interference extreme enough
  64. * to completely block the signal of interest.
  65. * @min_no_sta_setup: Minimum no of STA required to start TWT setup
  66. * @min_no_sta_teardown: Minimum no of STA below which TWT will be torn down
  67. * @no_of_bcast_mcast_slots: Number of default slot sizes reserved for
  68. * BCAST/MCAST delivery
  69. * @min_no_twt_slots: Minimum no of available slots for TWT to be operational
  70. * @max_no_sta_twt: Max no of STA with which TWT is possible
  71. * (must be <= the wmi_resource_config's twt_ap_sta_count value)
  72. * * The below interval parameters have units of milliseconds.
  73. * @mode_check_interval: Interval between two successive check to decide the
  74. * mode of TWT. (units = milliseconds)
  75. * @add_sta_slot_interval: Interval between decisions making to create
  76. * TWT slots for STAs. (units = milliseconds)
  77. * @remove_sta_slot_interval: Inrerval between decisions making to remove TWT
  78. * slot of STAs. (units = milliseconds)
  79. * @twt_role: values from enum WMI_TWT_ROLE.
  80. * @twt_oper: values from enum WMI_TWT_OPERATION.
  81. * @ext_conf_present: If requestor/responder extend config is present.
  82. * @b_twt_enable: Enable or disable broadcast TWT.
  83. * @b_twt_legacy_mbss_enable: Enable or disable legacy MBSSID TWT.
  84. * @b_twt_ax_mbss_enable: Enable or disable 11AX MBSSID TWT.
  85. */
  86. struct wmi_twt_enable_param {
  87. uint32_t pdev_id;
  88. uint32_t sta_cong_timer_ms;
  89. uint32_t mbss_support;
  90. uint32_t default_slot_size;
  91. uint32_t congestion_thresh_setup;
  92. uint32_t congestion_thresh_teardown;
  93. uint32_t congestion_thresh_critical;
  94. uint32_t interference_thresh_teardown;
  95. uint32_t interference_thresh_setup;
  96. uint32_t min_no_sta_setup;
  97. uint32_t min_no_sta_teardown;
  98. uint32_t no_of_bcast_mcast_slots;
  99. uint32_t min_no_twt_slots;
  100. uint32_t max_no_sta_twt;
  101. uint32_t mode_check_interval;
  102. uint32_t add_sta_slot_interval;
  103. uint32_t remove_sta_slot_interval;
  104. enum WMI_TWT_ROLE twt_role;
  105. enum WMI_TWT_OPERATION twt_oper;
  106. bool ext_conf_present;
  107. uint32_t b_twt_enable:1,
  108. b_twt_legacy_mbss_enable:1,
  109. b_twt_ax_mbss_enable:1;
  110. };
  111. /* status code of enabling TWT
  112. * WMI_ENABLE_TWT_STATUS_OK: enabling TWT successfully completed
  113. * WMI_ENABLE_TWT_STATUS_ALREADY_ENABLED: TWT already enabled
  114. * WMI_ENABLE_TWT_STATUS_NOT_READY: FW not ready for enabling TWT
  115. * WMI_ENABLE_TWT_INVALID_PARAM: invalid parameters
  116. * WMI_ENABLE_TWT_STATUS_UNKNOWN_ERROR: enabling TWT failed with an
  117. * unknown reason
  118. */
  119. enum WMI_HOST_ENABLE_TWT_STATUS {
  120. WMI_HOST_ENABLE_TWT_STATUS_OK,
  121. WMI_HOST_ENABLE_TWT_STATUS_ALREADY_ENABLED,
  122. WMI_HOST_ENABLE_TWT_STATUS_NOT_READY,
  123. WMI_HOST_ENABLE_TWT_INVALID_PARAM,
  124. WMI_HOST_ENABLE_TWT_STATUS_UNKNOWN_ERROR,
  125. };
  126. /**
  127. * struct wmi_twt_enable_complete_event_param:
  128. * @pdev_is: pdev_id for identifying the MAC.
  129. * @status: From enum WMI_HOST_ENABLE_TWT_STATUS
  130. */
  131. struct wmi_twt_enable_complete_event_param {
  132. uint32_t pdev_id;
  133. uint32_t status;
  134. };
  135. /**
  136. * struct wmi_twt_disable_param:
  137. * @pdev_id: pdev_id for identifying the MAC.
  138. * @ext_conf_present: If requestor/responder extend config is present.
  139. * @twt_role: values from enum WMI_TWT_ROLE.
  140. * @twt_oper: values from enum WMI_TWT_OPERATION.
  141. */
  142. struct wmi_twt_disable_param {
  143. uint32_t pdev_id;
  144. bool ext_conf_present;
  145. enum WMI_TWT_ROLE twt_role;
  146. enum WMI_TWT_OPERATION twt_oper;
  147. };
  148. /**
  149. * struct wmi_twt_disable_complete_event:
  150. * @pdev_id: pdev_id for identifying the MAC.
  151. */
  152. struct wmi_twt_disable_complete_event {
  153. uint32_t pdev_id;
  154. };
  155. /**
  156. * wmi_twt_ack_complete_event_param:
  157. * @vdev_id: vdev id
  158. * @peer_macaddr: peer mac address
  159. * @dialog_id: dialog id
  160. * @twt_cmd_ack: ack event to the corresponding twt command
  161. * @status: twt command status
  162. */
  163. struct wmi_twt_ack_complete_event_param {
  164. uint32_t vdev_id;
  165. struct qdf_mac_addr peer_macaddr;
  166. uint32_t dialog_id;
  167. uint32_t twt_cmd_ack;
  168. uint32_t status;
  169. };
  170. /* TWT event types
  171. * refer to wmi_unified.h enum wmi_twt_session_stats_type
  172. */
  173. enum host_twt_session_stats_type {
  174. HOST_TWT_SESSION_SETUP = 1,
  175. HOST_TWT_SESSION_TEARDOWN = 2,
  176. HOST_TWT_SESSION_UPDATE = 3,
  177. };
  178. /**
  179. * struct wmi_host_twt_session_stats_info:
  180. * @vdev_id: id of VDEV for twt session
  181. * @peer_mac: MAC address of node
  182. * @event_type: Indicates TWT session type (SETUP/TEARDOWN/UPDATE)
  183. * @flow_id: TWT flow identifier established with TWT peer
  184. * @bcast: If this is a broacast TWT session
  185. * @trig: If the TWT session is trigger enabled
  186. * @announ: If the flow type is announced/unannounced
  187. * @protection: If the TWT protection field is set
  188. * @info_frame_disabled: If the TWT Information frame is disabled
  189. * @pm_responder_bit_valid: pm responder bit is valid or not
  190. * @pm_responder_bit: pm responder value
  191. * @dialog_id: Dialog_id of current session
  192. * @wake_dura_us: wake duration in us
  193. * @wake_intvl_us: wake time interval in us
  194. * @sp_offset_us: Time until initial TWT SP occurs
  195. * @sp_tsf_us_lo: TWT wake time TSF in usecs lower bits - 31:0
  196. * @sp_tsf_us_hi: TWT wake time TSF in usecs higher bits - 63:32
  197. */
  198. struct wmi_host_twt_session_stats_info {
  199. uint32_t vdev_id;
  200. uint8_t peer_mac[QDF_MAC_ADDR_SIZE];
  201. uint32_t event_type;
  202. uint32_t flow_id:16,
  203. bcast:1,
  204. trig:1,
  205. announ:1,
  206. protection:1,
  207. info_frame_disabled:1,
  208. pm_responder_bit_valid:1,
  209. pm_responder_bit:1;
  210. uint32_t dialog_id;
  211. uint32_t wake_dura_us;
  212. uint32_t wake_intvl_us;
  213. uint32_t sp_offset_us;
  214. uint32_t sp_tsf_us_lo;
  215. uint32_t sp_tsf_us_hi;
  216. };
  217. /**
  218. * struct wmi_twt_session_stats_event:
  219. * @pdev_id: pdev_id for identifying the MAC.
  220. * @num_sessions: number of TWT sessions
  221. * @twt_sessions: received TWT sessions
  222. */
  223. struct wmi_twt_session_stats_event_param {
  224. uint32_t pdev_id;
  225. uint32_t num_sessions;
  226. };
  227. /* from IEEE 802.11ah section 9.4.2.200 */
  228. enum WMI_HOST_TWT_COMMAND {
  229. WMI_HOST_TWT_COMMAND_REQUEST_TWT = 0,
  230. WMI_HOST_TWT_COMMAND_SUGGEST_TWT = 1,
  231. WMI_HOST_TWT_COMMAND_DEMAND_TWT = 2,
  232. WMI_HOST_TWT_COMMAND_TWT_GROUPING = 3,
  233. WMI_HOST_TWT_COMMAND_ACCEPT_TWT = 4,
  234. WMI_HOST_TWT_COMMAND_ALTERNATE_TWT = 5,
  235. WMI_HOST_TWT_COMMAND_DICTATE_TWT = 6,
  236. WMI_HOST_TWT_COMMAND_REJECT_TWT = 7,
  237. };
  238. /**
  239. * struct wmi_twt_add_dialog_param -
  240. * @vdev_id: VDEV identifier
  241. * @peer_macaddr: peer MAC address when vdev is AP VDEV
  242. * @dialog_id: diaglog_id (TWT dialog ID)
  243. * This dialog ID must be unique within its vdev.
  244. * @wake_intvl_us: TWT Wake Interval in units of us
  245. * @wake_intvl_mantis: TWT Wake Interval Mantissa
  246. * - wake_intvl_mantis must be <= 0xFFFF
  247. * - wake_intvl_us must be divided evenly by wake_intvl_mantis,
  248. * i.e., wake_intvl_us % wake_intvl_mantis == 0
  249. * - the quotient of wake_intvl_us/wake_intvl_mantis must be
  250. * 2 to N-th(0<=N<=31) power,
  251. * i.e., wake_intvl_us/wake_intvl_mantis == 2^N, 0<=N<=31
  252. * @min_wake_intvl_us: Min tolerance limit of TWT wake interval
  253. * @max_wake_intvl_us: Max tolerance limit of TWT wake interval
  254. * @wake_dura_us: TWT Wake Duration in units of us, must be <= 0xFFFF
  255. * wake_dura_us must be divided evenly by 256,
  256. * i.e., wake_dura_us % 256 == 0
  257. * @min_wake_dura_us: Min tolerance limit of TWT wake duration.
  258. * @max_wake_dura_us: Max tolerance limit of TWT wake duration.
  259. * @sp_offset_us: this long time after TWT setup the 1st SP will start.
  260. * @twt_cmd: cmd from enum WMI_HOST_TWT_COMMAND
  261. * @flag_bcast: 0 means Individual TWT,
  262. * 1 means Broadcast TWT
  263. * @flag_trigger: 0 means non-Trigger-enabled TWT,
  264. * 1 means means Trigger-enabled TWT
  265. * @flag_flow_type: 0 means announced TWT,
  266. * 1 means un-announced TWT
  267. * @flag_protection: 0 means TWT protection is required,
  268. * 1 means TWT protection is not required
  269. * @b_twt_id0: 0 means BTWT recommendation will not be used
  270. * 1 means BTWT recommendation will be used
  271. * @flag_reserved: unused bits
  272. * @b_twt_recommendation: defines types of frames tx during bTWT SP
  273. * @b_twt_persistence: Countdown VAL frames to param update/teardown
  274. * @wake_time_tsf: Absolute TSF value to start first TWT service period
  275. * @annouce_timeout_us: Timeout value before sending QoS NULL frame.
  276. */
  277. struct wmi_twt_add_dialog_param {
  278. uint32_t vdev_id;
  279. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  280. uint32_t dialog_id;
  281. uint32_t wake_intvl_us;
  282. uint32_t wake_intvl_mantis;
  283. uint32_t min_wake_intvl_us;
  284. uint32_t max_wake_intvl_us;
  285. uint32_t wake_dura_us;
  286. uint32_t min_wake_dura_us;
  287. uint32_t max_wake_dura_us;
  288. uint32_t sp_offset_us;
  289. enum WMI_HOST_TWT_COMMAND twt_cmd;
  290. uint32_t
  291. flag_bcast:1,
  292. flag_trigger:1,
  293. flag_flow_type:1,
  294. flag_protection:1,
  295. flag_b_twt_id0:1,
  296. flag_reserved:11,
  297. b_twt_persistence:8,
  298. b_twt_recommendation:3;
  299. uint64_t wake_time_tsf;
  300. uint32_t announce_timeout_us;
  301. };
  302. /* enum - status code of Get stats TWT dialog
  303. * @WMI_HOST_GET_STATS_TWT_STATUS_OK: Get status TWT dialog successfully completed
  304. * @WMI_HOST_GET_STATS_TWT_STATUS_DIALOG_ID_NOT_EXIST: TWT dialog ID does not exist
  305. * @WMI_HOST_GET_STATS_TWT_STATUS_INVALID_PARAM: Invalid parameters
  306. * @WMI_HOST_GET_STATS_TWT_STATUS_UNKNOWN_ERROR: Unknown error
  307. */
  308. enum WMI_HOST_GET_STATS_TWT_STATUS {
  309. WMI_HOST_GET_STATS_TWT_STATUS_OK,
  310. WMI_HOST_GET_STATS_TWT_STATUS_DIALOG_ID_NOT_EXIST,
  311. WMI_HOST_GET_STATS_TWT_STATUS_INVALID_PARAM,
  312. WMI_HOST_GET_STATS_TWT_STATUS_UNKNOWN_ERROR,
  313. };
  314. /* enum - status code of adding TWT dialog
  315. * @WMI_HOST_ADD_TWT_STATUS_OK: adding TWT dialog successfully completed
  316. * @WMI_HOST_ADD_TWT_STATUS_TWT_NOT_ENABLED: TWT not enabled
  317. * @WMI_HOST_ADD_TWT_STATUS_USED_DIALOG_ID: TWT dialog ID is already used
  318. * @WMI_HOST_ADD_TWT_STATUS_INVALID_PARAM: invalid parameters
  319. * @WMI_HOST_ADD_TWT_STATUS_NOT_READY: FW not ready
  320. * @WMI_HOST_ADD_TWT_STATUS_NO_RESOURCE: FW resource exhausted
  321. * @WMI_HOST_ADD_TWT_STATUS_NO_ACK: peer AP/STA did not ACK the
  322. * request/response frame
  323. * @WMI_HOST_ADD_TWT_STATUS_NO_RESPONSE: peer AP did not send the response frame
  324. * @WMI_HOST_ADD_TWT_STATUS_DENIED: AP did not accept the request
  325. * @WMI_HOST_ADD_TWT_STATUS_UNKNOWN_ERROR: adding TWT dialog failed with
  326. * an unknown reason
  327. * @WMI_HOST_ADD_TWT_STATUS_AP_PARAMS_NOT_IN_RANGE: peer AP wake interval,
  328. * duration not in range
  329. * @WMI_HOST_ADD_TWT_STATUS_AP_IE_VALIDATION_FAILED: peer AP IE Validation
  330. * Failed
  331. * @WMI_HOST_ADD_TWT_STATUS_ROAM_IN_PROGRESS: Roaming in progress
  332. * @WMI_HOST_ADD_TWT_STATUS_CHAN_SW_IN_PROGRESS: Channel switch in progress
  333. * @WMI_HOST_ADD_TWT_STATUS_SCAN_IN_PROGRESS: Scan is in progress
  334. */
  335. enum WMI_HOST_ADD_TWT_STATUS {
  336. WMI_HOST_ADD_TWT_STATUS_OK,
  337. WMI_HOST_ADD_TWT_STATUS_TWT_NOT_ENABLED,
  338. WMI_HOST_ADD_TWT_STATUS_USED_DIALOG_ID,
  339. WMI_HOST_ADD_TWT_STATUS_INVALID_PARAM,
  340. WMI_HOST_ADD_TWT_STATUS_NOT_READY,
  341. WMI_HOST_ADD_TWT_STATUS_NO_RESOURCE,
  342. WMI_HOST_ADD_TWT_STATUS_NO_ACK,
  343. WMI_HOST_ADD_TWT_STATUS_NO_RESPONSE,
  344. WMI_HOST_ADD_TWT_STATUS_DENIED,
  345. WMI_HOST_ADD_TWT_STATUS_UNKNOWN_ERROR,
  346. WMI_HOST_ADD_TWT_STATUS_AP_PARAMS_NOT_IN_RANGE,
  347. WMI_HOST_ADD_TWT_STATUS_AP_IE_VALIDATION_FAILED,
  348. WMI_HOST_ADD_TWT_STATUS_ROAM_IN_PROGRESS,
  349. WMI_HOST_ADD_TWT_STATUS_CHAN_SW_IN_PROGRESS,
  350. WMI_HOST_ADD_TWT_STATUS_SCAN_IN_PROGRESS,
  351. };
  352. /**
  353. * struct wmi_twt_add_dialog_additional_params -
  354. * @twt_cmd: TWT command
  355. * @bcast: 0 means Individual TWT
  356. * 1 means Broadcast TWT
  357. * @trig_en: 0 means non-Trigger-enabled TWT
  358. * 1 means Trigger-enabled TWT
  359. * @announce: 0 means announced TWT
  360. * 1 means un-announced TWT
  361. * @protection: 0 means TWT protection is required
  362. * 1 means TWT protection is not required
  363. * @b_twt_id0: 0 means non-0 B-TWT ID or I-TWT
  364. * 1 means B-TWT ID 0
  365. * @info_frame_disabled: 0 means TWT Information frame is enabled
  366. * 1 means TWT Information frame is disabled
  367. * @pm_responder_bit_valid: 1 means responder pm mode field is valid
  368. * 0 means responder pm mode field is not valid
  369. * @pm_responder_bit: 1 means that responder set responder pm mode to 1
  370. * 0 means that responder set responder pm mode to 0
  371. * @wake_dura_us: wake duration in us
  372. * @wake_intvl_us: wake time interval in us
  373. * @sp_offset_us: Time until initial TWT SP occurs
  374. * @sp_tsf_us_lo: TWT service period tsf in usecs lower bits - 31:0
  375. * @sp_tsf_us_hi: TWT service period tsf in usecs higher bits - 63:32
  376. */
  377. struct wmi_twt_add_dialog_additional_params {
  378. uint32_t twt_cmd:8,
  379. bcast:1,
  380. trig_en:1,
  381. announce:1,
  382. protection:1,
  383. b_twt_id0:1,
  384. info_frame_disabled:1,
  385. pm_responder_bit_valid:1,
  386. pm_responder_bit:1;
  387. uint32_t wake_dur_us;
  388. uint32_t wake_intvl_us;
  389. uint32_t sp_offset_us;
  390. uint32_t sp_tsf_us_lo;
  391. uint32_t sp_tsf_us_hi;
  392. };
  393. /**
  394. * struct wmi_twt_add_dialog_complete_param -
  395. * @vdev_id: VDEV identifier
  396. * @peer_macaddr: Peer mac address
  397. * @dialog_id: TWT dialog ID
  398. * @status: refer to WMI_HOST_ADD_TWT_STATUS enum
  399. * @num_additional_twt_params: no of additional_twt_params available
  400. */
  401. struct wmi_twt_add_dialog_complete_event_param {
  402. uint32_t vdev_id;
  403. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  404. uint32_t dialog_id;
  405. uint32_t status;
  406. uint32_t num_additional_twt_params;
  407. };
  408. /**
  409. * struct wmi_twt_cap_bitmap_params -
  410. * twt_cap_bitmap: TWT capability bitmap
  411. *
  412. */
  413. struct wmi_twt_cap_bitmap_params {
  414. uint32_t twt_ack_support_cap:1;
  415. };
  416. /**
  417. * struct wmi_twt_del_dialog_param -
  418. * @vdev_id: VDEV identifier
  419. * @peer_macaddr: Peer mac address
  420. * @dialog_id: TWT dialog ID
  421. * @b_twt_persistence: persistence val for b-twt
  422. */
  423. struct wmi_twt_del_dialog_param {
  424. uint32_t vdev_id;
  425. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  426. uint32_t dialog_id;
  427. #ifdef WLAN_SUPPORT_BCAST_TWT
  428. uint32_t b_twt_persistence;
  429. #endif
  430. };
  431. /**
  432. * enum WMI_HOST_DEL_TWT_STATUS - status code of deleting TWT dialog
  433. * @WMI_HOST_DEL_TWT_STATUS_OK: deleting TWT dialog successfully completed
  434. * @WMI_HOST_DEL_TWT_STATUS_DIALOG_ID_NOT_EXIST: TWT dialog ID not exists
  435. * @WMI_HOST_DEL_TWT_STATUS_INVALID_PARAM: invalid parameters
  436. * @WMI_HOST_DEL_TWT_STATUS_DIALOG_ID_BUSY: FW is in the process of handling
  437. * this dialog
  438. * @WMI_HOST_DEL_TWT_STATUS_NO_RESOURCE: FW resource exhausted
  439. * @WMI_HOST_DEL_TWT_STATUS_NO_ACK: peer AP/STA did not ACK the request/response
  440. * frame
  441. * @WMI_HOST_DEL_TWT_STATUS_UNKNOWN_ERROR: deleting TWT dialog failed with an
  442. * unknown reason
  443. * @WMI_HOST_DEL_TWT_STATUS_PEER_INIT_TEARDOWN: Peer initiated TWT teardown
  444. * @WMI_HOST_DEL_TWT_STATUS_ROAMING: TWT teardown due to roaming.
  445. * @WMI_HOST_DEL_TWT_STATUS_CONCURRENCY: TWT session teardown due to
  446. * concurrent session comming up.
  447. * @WMI_HOST_DEL_TWT_STATUS_CHAN_SW_IN_PROGRESS: Channel switch in progress
  448. * @WMI_HOST_DEL_TWT_STATUS_SCAN_IN_PROGRESS: Scan is in progress
  449. * @WMI_HOST_DEL_TWT_STATUS_PS_DISABLE_TEARDOWN: PS disable TWT teardown
  450. */
  451. enum WMI_HOST_DEL_TWT_STATUS {
  452. WMI_HOST_DEL_TWT_STATUS_OK,
  453. WMI_HOST_DEL_TWT_STATUS_DIALOG_ID_NOT_EXIST,
  454. WMI_HOST_DEL_TWT_STATUS_INVALID_PARAM,
  455. WMI_HOST_DEL_TWT_STATUS_DIALOG_ID_BUSY,
  456. WMI_HOST_DEL_TWT_STATUS_NO_RESOURCE,
  457. WMI_HOST_DEL_TWT_STATUS_NO_ACK,
  458. WMI_HOST_DEL_TWT_STATUS_UNKNOWN_ERROR,
  459. WMI_HOST_DEL_TWT_STATUS_PEER_INIT_TEARDOWN,
  460. WMI_HOST_DEL_TWT_STATUS_ROAMING,
  461. WMI_HOST_DEL_TWT_STATUS_CONCURRENCY,
  462. WMI_HOST_DEL_TWT_STATUS_CHAN_SW_IN_PROGRESS,
  463. WMI_HOST_DEL_TWT_STATUS_SCAN_IN_PROGRESS,
  464. WMI_HOST_DEL_TWT_STATUS_PS_DISABLE_TEARDOWN,
  465. };
  466. /**
  467. * struct wmi_twt_del_dialog_complete_event_param -
  468. * @vdev_id: VDEV identifier
  469. * @peer_macaddr: Peer mac address
  470. * @dialog_id: TWT dialog ID
  471. * @b_twt_persistence: persistence val for b-twt
  472. * @status: refer to WMI_HOST_DEL_TWT_STATUS enum
  473. */
  474. struct wmi_twt_del_dialog_complete_event_param {
  475. uint32_t vdev_id;
  476. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  477. uint32_t dialog_id;
  478. #ifdef WLAN_SUPPORT_BCAST_TWT
  479. uint32_t b_twt_persistence;
  480. #endif
  481. uint32_t status;
  482. };
  483. /**
  484. * struct wmi_twt_pause_dialog_cmd_param -
  485. * @vdev_id: VDEV identifier
  486. * @peer_macaddr: Peer mac address
  487. * @dialog_id: TWT dialog ID
  488. */
  489. struct wmi_twt_pause_dialog_cmd_param {
  490. uint32_t vdev_id;
  491. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  492. uint32_t dialog_id;
  493. };
  494. /**
  495. * struct wmi_twt_nudge_dialog_cmd_param -
  496. * @vdev_id: VDEV identifier
  497. * @peer_macaddr: Peer mac address
  498. * @dialog_id: TWT dialog ID
  499. * @suspend_duration: TWT suspend duration in microseconds
  500. * @next_twt_size: next TWT size
  501. */
  502. struct wmi_twt_nudge_dialog_cmd_param {
  503. uint32_t vdev_id;
  504. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  505. uint32_t dialog_id;
  506. uint32_t suspend_duration;
  507. uint32_t next_twt_size;
  508. };
  509. /* enum WMI_HOST_PAUSE_TWT_STATUS - status code of pausing TWT dialog
  510. * @WMI_HOST_PAUSE_TWT_STATUS_OK: pausing TWT dialog successfully completed
  511. * @WMI_HOST_PAUSE_TWT_STATUS_DIALOG_ID_NOT_EXIST: TWT dialog ID not exists
  512. * @WMI_HOST_PAUSE_TWT_STATUS_INVALID_PARAM: invalid parameters
  513. * @WMI_HOST_PAUSE_TWT_STATUS_DIALOG_ID_BUSY: FW is in the process of handling
  514. * this dialog
  515. * @WMI_HOST_PAUSE_TWT_STATUS_NO_RESOURCE: FW resource exhausted
  516. * @WMI_HOST_PAUSE_TWT_STATUS_NO_ACK: peer AP/STA did not ACK the
  517. * request/response frame
  518. * @WMI_HOST_PAUSE_TWT_STATUS_UNKNOWN_ERROR: pausing TWT dialog failed with an
  519. * unknown reason
  520. * @WMI_HOST_PAUSE_TWT_STATUS_ALREADY_PAUSED: TWT dialog already in paused state
  521. * @WMI_HOST_PAUSE_TWT_STATUS_CHAN_SW_IN_PROGRESS: Channel switch in progress
  522. * @WMI_HOST_PAUSE_TWT_STATUS_ROAM_IN_PROGRESS: Roaming is in progress
  523. * @WMI_HOST_PAUSE_TWT_STATUS_SCAN_IN_PROGRESS: Scan is in progress
  524. */
  525. enum WMI_HOST_PAUSE_TWT_STATUS {
  526. WMI_HOST_PAUSE_TWT_STATUS_OK,
  527. WMI_HOST_PAUSE_TWT_STATUS_DIALOG_ID_NOT_EXIST,
  528. WMI_HOST_PAUSE_TWT_STATUS_INVALID_PARAM,
  529. WMI_HOST_PAUSE_TWT_STATUS_DIALOG_ID_BUSY,
  530. WMI_HOST_PAUSE_TWT_STATUS_NO_RESOURCE,
  531. WMI_HOST_PAUSE_TWT_STATUS_NO_ACK,
  532. WMI_HOST_PAUSE_TWT_STATUS_UNKNOWN_ERROR,
  533. WMI_HOST_PAUSE_TWT_STATUS_ALREADY_PAUSED,
  534. WMI_HOST_PAUSE_TWT_STATUS_CHAN_SW_IN_PROGRESS,
  535. WMI_HOST_PAUSE_TWT_STATUS_ROAM_IN_PROGRESS,
  536. WMI_HOST_PAUSE_TWT_STATUS_SCAN_IN_PROGRESS,
  537. };
  538. /**
  539. * struct wmi_twt_pause_dialog_complete_event_param -
  540. * @vdev_id: VDEV identifier
  541. * @peer_macaddr: Peer mac address
  542. * @dialog_id: TWT dialog ID
  543. * @status: refer to WMI_HOST_PAUSE_TWT_STATUS
  544. */
  545. struct wmi_twt_pause_dialog_complete_event_param {
  546. uint32_t vdev_id;
  547. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  548. uint32_t dialog_id;
  549. enum WMI_HOST_PAUSE_TWT_STATUS status;
  550. };
  551. /* enum WMI_HOST_NUDGE_TWT_STATUS - status code of nudge TWT dialog
  552. * @WMI_HOST_NUDGE_TWT_STATUS_OK: nudge TWT dialog successfully completed
  553. * @WMI_HOST_NUDGE_TWT_STATUS_DIALOG_ID_NOT_EXIST: TWT dialog ID not exists
  554. * @WMI_HOST_NUDGE_TWT_STATUS_INVALID_PARAM: invalid parameters
  555. * @WMI_HOST_NUDGE_TWT_STATUS_DIALOG_ID_BUSY: FW is in the process of handling
  556. * this dialog
  557. * @WMI_HOST_NUDGE_TWT_STATUS_NO_RESOURCE: FW resource exhausted
  558. * @WMI_HOST_NUDGE_TWT_STATUS_NO_ACK: peer AP/STA did not ACK the
  559. * request/response frame
  560. * @WMI_HOST_NUDGE_TWT_STATUS_UNKNOWN_ERROR: nudge TWT dialog failed with an
  561. * unknown reason
  562. * @WMI_HOST_NUDGE_TWT_STATUS_ALREADY_PAUSED: TWT dialog already in paused state
  563. * @WMI_HOST_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS: Channel switch in progress
  564. * @WMI_HOST_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS: Roaming in progress
  565. * @WMI_HOST_NUDGE_TWT_STATUS_SCAN_IN_PROGRESS: Scan is in progress
  566. */
  567. enum WMI_HOST_NUDGE_TWT_STATUS {
  568. WMI_HOST_NUDGE_TWT_STATUS_OK,
  569. WMI_HOST_NUDGE_TWT_STATUS_DIALOG_ID_NOT_EXIST,
  570. WMI_HOST_NUDGE_TWT_STATUS_INVALID_PARAM,
  571. WMI_HOST_NUDGE_TWT_STATUS_DIALOG_ID_BUSY,
  572. WMI_HOST_NUDGE_TWT_STATUS_NO_RESOURCE,
  573. WMI_HOST_NUDGE_TWT_STATUS_NO_ACK,
  574. WMI_HOST_NUDGE_TWT_STATUS_UNKNOWN_ERROR,
  575. WMI_HOST_NUDGE_TWT_STATUS_ALREADY_PAUSED,
  576. WMI_HOST_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS,
  577. WMI_HOST_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS,
  578. WMI_HOST_NUDGE_TWT_STATUS_SCAN_IN_PROGRESS,
  579. };
  580. /**
  581. * struct wmi_twt_nudge_dialog_complete_event_param -
  582. * @vdev_id: VDEV identifier
  583. * @peer_macaddr: Peer mac address
  584. * @dialog_id: TWT dialog ID
  585. * @status: refer to WMI_HOST_PAUSE_TWT_STATUS
  586. * @next_twt_tsf_us_lo: TSF lower bits (31:0) of next wake time
  587. * @next_twt_tsf_us_hi: TSF higher bits (32:63) of next wake time
  588. */
  589. struct wmi_twt_nudge_dialog_complete_event_param {
  590. uint32_t vdev_id;
  591. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  592. uint32_t dialog_id;
  593. enum WMI_HOST_NUDGE_TWT_STATUS status;
  594. uint32_t next_twt_tsf_us_lo;
  595. uint32_t next_twt_tsf_us_hi;
  596. };
  597. /**
  598. * struct wmi_twt_resume_dialog_cmd_param -
  599. * @vdev_id: VDEV identifier
  600. * @peer_macaddr: Peer mac address
  601. * @dialog_id: TWT dialog ID
  602. * @sp_offset_us: this long time after TWT resumed the 1st SP will start
  603. * @next_twt_size: Next TWT subfield Size.
  604. * Refer IEEE 802.11ax section "9.4.1.60 TWT Information field"
  605. */
  606. struct wmi_twt_resume_dialog_cmd_param {
  607. uint32_t vdev_id;
  608. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  609. uint32_t dialog_id;
  610. uint32_t sp_offset_us;
  611. uint32_t next_twt_size;
  612. };
  613. /* enum WMI_HOST_RESUME_TWT_STATUS - status code of resuming TWT dialog
  614. * @WMI_HOST_RESUME_TWT_STATUS_OK: resuming TWT dialog successfully completed
  615. * @WMI_HOST_RESUME_TWT_STATUS_DIALOG_ID_NOT_EXIST: TWT dialog ID not exists
  616. * @WMI_HOST_RESUME_TWT_STATUS_INVALID_PARAM: invalid parameters
  617. * @WMI_HOST_RESUME_TWT_STATUS_DIALOG_ID_BUSY: FW is in the process of handling
  618. * this dialog
  619. * @WMI_HOST_RESUME_TWT_STATUS_NOT_PAUSED: dialog not paused currently
  620. * @WMI_HOST_RESUME_TWT_STATUS_NO_RESOURCE: FW resource exhausted
  621. * @WMI_HOST_RESUME_TWT_STATUS_NO_ACK: peer AP/STA did not ACK the
  622. * request/response frame
  623. * @WMI_HOST_RESUME_TWT_STATUS_UNKNOWN_ERROR: resuming TWT dialog failed with an
  624. * unknown reason
  625. * @WMI_HOST_RESUME_TWT_STATUS_CHAN_SW_IN_PROGRESS: Channel switch in progress
  626. * @WMI_HOST_RESUME_TWT_STATUS_ROAM_IN_PROGRESS: Roaming in progress
  627. * @WMI_HOST_RESUME_TWT_STATUS_SCAN_IN_PROGRESS: Scan is in progress
  628. */
  629. enum WMI_HOST_RESUME_TWT_STATUS {
  630. WMI_HOST_RESUME_TWT_STATUS_OK,
  631. WMI_HOST_RESUME_TWT_STATUS_DIALOG_ID_NOT_EXIST,
  632. WMI_HOST_RESUME_TWT_STATUS_INVALID_PARAM,
  633. WMI_HOST_RESUME_TWT_STATUS_DIALOG_ID_BUSY,
  634. WMI_HOST_RESUME_TWT_STATUS_NOT_PAUSED,
  635. WMI_HOST_RESUME_TWT_STATUS_NO_RESOURCE,
  636. WMI_HOST_RESUME_TWT_STATUS_NO_ACK,
  637. WMI_HOST_RESUME_TWT_STATUS_UNKNOWN_ERROR,
  638. WMI_HOST_RESUME_TWT_STATUS_CHAN_SW_IN_PROGRESS,
  639. WMI_HOST_RESUME_TWT_STATUS_ROAM_IN_PROGRESS,
  640. WMI_HOST_RESUME_TWT_STATUS_SCAN_IN_PROGRESS,
  641. };
  642. /**
  643. * struct wmi_twt_resume_dialog_complete_event_param -
  644. * @vdev_id: VDEV identifier
  645. * @peer_macaddr: Peer mac address
  646. * @dialog_id: TWT dialog ID
  647. * @status: refer to WMI_HOST_RESUME_TWT_STATUS
  648. */
  649. struct wmi_twt_resume_dialog_complete_event_param {
  650. uint32_t vdev_id;
  651. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  652. uint32_t dialog_id;
  653. uint32_t status;
  654. };
  655. /**
  656. * struct wmi_twt_notify_event_param -
  657. * @vdev_id: VDEV identifier
  658. */
  659. struct wmi_twt_notify_event_param {
  660. uint32_t vdev_id;
  661. };
  662. #ifdef WLAN_SUPPORT_BCAST_TWT
  663. /**
  664. * struct wmi_twt_btwt_invite_sta_cmd_param -
  665. * @vdev_id: VDEV identifier
  666. * @peer_macaddr: Peer mac address
  667. * @dialog_id: TWT dialog ID
  668. */
  669. struct wmi_twt_btwt_invite_sta_cmd_param {
  670. uint32_t vdev_id;
  671. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  672. uint32_t dialog_id;
  673. };
  674. /* enum WMI_HOST_INVITATION_TWT_BTWT_STATUS - status code of TWT Invitation
  675. * dialog
  676. * WMI_HOST_INVITATION_TWT_BTWT_STATUS_OK: BTWT invitation successfully
  677. * completed
  678. * WMI_HOST_INVITATION_TWT_TWT_STATUS_DIALOG_ID_NOT_EXIST: BTWT dialog ID not
  679. * exists
  680. * WMI_HOST_INVITATION_TWT_BTWT_STATUS_INVALID_PARAM: invalid parameters
  681. * WMI_HOST_INVITATION_TWT_BTWT_STATUS_DIALOG_ID_BUSY: FW is in the process of
  682. * handling this dialog
  683. * WMI_HOST_INVITATION_TWT_BTWT_STATUS_NO_RESOURCE: FW resource exhausted
  684. * WMI_HOST_INVITATION_TWT_BTWT_STATUS_NO_ACK: peer AP/STA did not ACK the
  685. * request/response frame
  686. * WMI_HOST_INVITATION_TWT_BTWT_STATUS_UNKNOWN_ERROR: BTWT invitation failed
  687. * with an unknown reason
  688. */
  689. enum WMI_HOST_INVITATION_TWT_BTWT_STATUS {
  690. WMI_HOST_INVITATION_TWT_BTWT_STATUS_OK,
  691. WMI_HOST_INVITATION_TWT_BTWT_STATUS_DIALOG_ID_NOT_EXIST,
  692. WMI_HOST_INVITATION_TWT_BTWT_STATUS_INVALID_PARAM,
  693. WMI_HOST_INVITATION_TWT_BTWT_STATUS_DIALOG_ID_BUSY,
  694. WMI_HOST_INVITATION_TWT_BTWT_STATUS_NO_RESOURCE,
  695. WMI_HOST_INVITATION_TWT_BTWT_STATUS_NO_ACK,
  696. WMI_HOST_INVITATION_TWT_BTWT_STATUS_UNKNOWN_ERROR,
  697. };
  698. /**
  699. * struct wmi_twt_btwt_invite_sta_complete_event_param -
  700. * @vdev_id: VDEV identifier
  701. * @peer_macaddr: Peer mac address
  702. * @dialog_id: BTWT dialog ID
  703. * @status: refer to WMI_HOST_INVITATION_TWT_BTWT_STATUS
  704. */
  705. struct wmi_twt_btwt_invite_sta_complete_event_param {
  706. uint32_t vdev_id;
  707. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  708. uint32_t dialog_id;
  709. uint32_t status;
  710. };
  711. /**
  712. * struct wmi_twt_btwt_remove_sta_cmd_param -
  713. * @vdev_id: VDEV identifier
  714. * @peer_macaddr: Peer mac address
  715. * @dialog_id: BTWT dialog ID
  716. */
  717. struct wmi_twt_btwt_remove_sta_cmd_param {
  718. uint32_t vdev_id;
  719. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  720. uint32_t dialog_id;
  721. };
  722. /* enum WMI_HOST_KICKOFF_TWT_BTWT_STATUS - status code of resuming TWT dialog
  723. * WMI_HOST_KICKOFF_TWT_BTWT_STATUS_OK: TWT kickoff successfully completed
  724. * WMI_HOST_KICKOFF_TWT_BTWT_STATUS_DIALOG_ID_NOT_EXIST: BTWT dialog ID not
  725. * exists
  726. * WMI_HOST_KICKOFF_TWT_BTWT_STATUS_INVALID_PARAM: invalid parameters
  727. * WMI_HOST_KICKOFF_TWT_BTWT_STATUS_DIALOG_ID_BUSY: FW is in the process of
  728. * handling this dialog
  729. * WMI_HOST_KICKOFF_TWT_BTWT_STATUS_NOT_PAUSED: Dialog not currently paused
  730. * WMI_HOST_KICKOFF_TWT_BTWT_STATUS_NO_RESOURCE: FW resource exhausted
  731. * WMI_HOST_KICKOFF_TWT_BTWT_STATUS_NO_ACK: peer AP/STA did not ACK the
  732. * request/response frame
  733. * WMI_HOST_KICKOFF_TWT_BTWT_STATUS_UNKNOWN_ERROR: BTWT kickoff failed with an
  734. * unknown reason
  735. */
  736. enum WMI_HOST_KICKOFF_TWT_BTWT_STATUS {
  737. WMI_HOST_KICKOFF_TWT_BTWT_STATUS_OK,
  738. WMI_HOST_KICKOFF_TWT_BTWT_STATUS_DIALOG_ID_NOT_EXIST,
  739. WMI_HOST_KICKOFF_TWT_BTWT_STATUS_INVALID_PARAM,
  740. WMI_HOST_KICKOFF_TWT_BTWT_STATUS_DIALOG_ID_BUSY,
  741. WMI_HOST_KICKOFF_TWT_BTWT_STATUS_NOT_PAUSED,
  742. WMI_HOST_KICKOFF_TWT_BTWT_STATUS_NO_RESOURCE,
  743. WMI_HOST_KICKOFF_TWT_BTWT_STATUS_NO_ACK,
  744. WMI_HOST_KICKOFF_TWT_BTWT_STATUS_UNKNOWN_ERROR,
  745. };
  746. /**
  747. * struct wmi_twt_btwt_remove_sta_complete_event_param -
  748. * @vdev_id: VDEV identifier
  749. * @peer_macaddr: Peer mac address
  750. * @dialog_id: BTWT dialog ID
  751. * @status: refer to WMI_HOST_KICKOFF_TWT_BTWT_STATUS
  752. */
  753. struct wmi_twt_btwt_remove_sta_complete_event_param {
  754. uint32_t vdev_id;
  755. uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
  756. uint32_t dialog_id;
  757. uint32_t status;
  758. };
  759. #endif
  760. /**
  761. * enum WMI_HOST_TWT_CMD_FOR_ACK_EVENT - Ack event for different TWT command
  762. * WMI_HOST_TWT_ADD_DIALOG_CMDID: Ack event for add dialog command
  763. * WMI_HOST_TWT_DEL_DIALOG_CMDID: Ack event for delete dialog command
  764. * WMI_HOST_TWT_PAUSE_DIALOG_CMDID: Ack event for pause command
  765. * WMI_HOST_TWT_RESUME_DIALOG_CMDID: Ack event for resume command
  766. * WMI_HOST_TWT_NUDGE_DIALOG_CMDID: Ack event for nudge command
  767. * WMI_HOST_TWT_UNKNOWN_CMDID: Ack event for unknown TWT command
  768. */
  769. enum WMI_HOST_TWT_CMD_FOR_ACK_EVENT {
  770. WMI_HOST_TWT_ADD_DIALOG_CMDID = 0,
  771. WMI_HOST_TWT_DEL_DIALOG_CMDID,
  772. WMI_HOST_TWT_PAUSE_DIALOG_CMDID,
  773. WMI_HOST_TWT_RESUME_DIALOG_CMDID,
  774. WMI_HOST_TWT_NUDGE_DIALOG_CMDID,
  775. WMI_HOST_TWT_UNKNOWN_CMDID,
  776. };
  777. #endif /* _WMI_UNIFIED_TWT_PARAM_H_ */