wmi_unified_twt_param.h 30 KB

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