wlan_mlme_cmn.h 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096
  1. /*
  2. * Copyright (c) 2019-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 any
  6. * purpose with or without fee is hereby granted, provided that the above
  7. * copyright notice and this permission notice appear in all copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  10. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  11. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  12. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  13. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  14. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  15. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  16. */
  17. /**
  18. * DOC: Define Common MLME structure and APIs
  19. */
  20. #ifndef _WLAN_MLME_CMN_H_
  21. #define _WLAN_MLME_CMN_H_
  22. #include <include/wlan_psoc_mlme.h>
  23. #include <include/wlan_pdev_mlme.h>
  24. #include <include/wlan_vdev_mlme.h>
  25. #include "wlan_cm_public_struct.h"
  26. #include "wlan_twt_public_structs.h"
  27. /**
  28. * mlme_cm_ops: connection manager osif callbacks
  29. * @mlme_cm_connect_complete_cb: Connect done callback
  30. * @vdev: vdev pointer
  31. * @rsp: connect response
  32. *
  33. * @mlme_cm_failed_candidate_cb: Callback to indicate failed candidate
  34. * @vdev: vdev pointer
  35. * @rsp: connect response
  36. *
  37. * @mlme_cm_update_id_and_src_cb: Callback to update connect id and
  38. * source of the connect request
  39. * @vdev: vdev pointer
  40. * @Source: Source of the connect req
  41. * @cm_id: connection manager id
  42. *
  43. * @mlme_cm_disconnect_complete_cb: Disconnect done callback
  44. * @vdev: vdev pointer
  45. * @rsp: Disconnect response
  46. *
  47. * @mlme_cm_disconnect_start_cb: Disconnect start callback
  48. * @vdev: vdev pointer
  49. *
  50. * @mlme_cm_roam_sync_cb: Roam sync callback
  51. * @vdev: vdev pointer
  52. *
  53. * @mlme_cm_pmksa_candidate_notify_cb: Roam pmksa candidate notify callback
  54. * @vdev: vdev pointer
  55. * @bssid: bssid
  56. * @index: index
  57. * @preauth: preauth flag
  58. *
  59. * @mlme_cm_roam_start_cb: Roam start callback
  60. * @vdev: vdev pointer
  61. *
  62. * @mlme_cm_roam_abort_cb: Roam abort callback
  63. * @vdev: vdev pointer
  64. *
  65. * @mlme_cm_roam_cmpl_cb: Roam sync complete cb
  66. * @vdev: vdev pointer
  67. *
  68. * @mlme_cm_ft_preauth_cmpl_cb: Roam ft preauth complete cb
  69. * @vdev: vdev pointer
  70. * @rsp: preauth response pointer
  71. *
  72. * @mlme_cm_cckm_preauth_cmpl_cb: Roam cckm preauth complete cb
  73. * @vdev: vdev pointer
  74. * @rsp: preauth response pointer
  75. */
  76. struct mlme_cm_ops {
  77. QDF_STATUS (*mlme_cm_connect_complete_cb)(
  78. struct wlan_objmgr_vdev *vdev,
  79. struct wlan_cm_connect_resp *rsp);
  80. QDF_STATUS (*mlme_cm_failed_candidate_cb)(
  81. struct wlan_objmgr_vdev *vdev,
  82. struct wlan_cm_connect_resp *rsp);
  83. QDF_STATUS (*mlme_cm_update_id_and_src_cb)(
  84. struct wlan_objmgr_vdev *vdev,
  85. enum wlan_cm_source source,
  86. wlan_cm_id cm_id);
  87. QDF_STATUS (*mlme_cm_disconnect_complete_cb)(
  88. struct wlan_objmgr_vdev *vdev,
  89. struct wlan_cm_discon_rsp *rsp);
  90. QDF_STATUS (*mlme_cm_disconnect_start_cb)(
  91. struct wlan_objmgr_vdev *vdev);
  92. #ifdef CONN_MGR_ADV_FEATURE
  93. QDF_STATUS (*mlme_cm_roam_sync_cb)(struct wlan_objmgr_vdev *vdev);
  94. QDF_STATUS (*mlme_cm_pmksa_candidate_notify_cb)(
  95. struct wlan_objmgr_vdev *vdev,
  96. struct qdf_mac_addr *bssid,
  97. int index, bool preauth);
  98. #endif
  99. #ifdef WLAN_FEATURE_ROAM_OFFLOAD
  100. QDF_STATUS (*mlme_cm_roam_start_cb)(struct wlan_objmgr_vdev *vdev);
  101. QDF_STATUS (*mlme_cm_roam_abort_cb)(struct wlan_objmgr_vdev *vdev);
  102. QDF_STATUS (*mlme_cm_roam_cmpl_cb)(struct wlan_objmgr_vdev *vdev);
  103. #endif
  104. #ifdef WLAN_FEATURE_PREAUTH_ENABLE
  105. QDF_STATUS (*mlme_cm_ft_preauth_cmpl_cb)(
  106. struct wlan_objmgr_vdev *vdev,
  107. struct wlan_preauth_rsp *rsp);
  108. #ifdef FEATURE_WLAN_ESE
  109. QDF_STATUS (*mlme_cm_cckm_preauth_cmpl_cb)(
  110. struct wlan_objmgr_vdev *vdev,
  111. struct wlan_preauth_rsp *rsp);
  112. #endif
  113. #endif
  114. };
  115. /**
  116. * struct mlme_vdev_mgr_ops - MLME VDEV mgr osif callbacks
  117. * @mlme_vdev_mgr_set_mac_addr_response: Callback to indicate set MAC address
  118. * response to osif
  119. */
  120. struct mlme_vdev_mgr_ops {
  121. #ifdef WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE
  122. QDF_STATUS (*mlme_vdev_mgr_set_mac_addr_response)(uint8_t vdev_id,
  123. uint8_t resp_status);
  124. #endif
  125. };
  126. /**
  127. * struct mlme_twt_ops: twt component osif callbacks
  128. * @mlme_twt_enable_complete_cb: TWT enable complete callback
  129. * @psoc: psoc pointer
  130. * @event: response
  131. * @context: context
  132. *
  133. * @mlme_twt_disable_complete_cb: TWT disable complete callback
  134. * @psoc: psoc pointer
  135. * @event: response
  136. * @context: context
  137. *
  138. * @mlme_twt_ack_complete_cb: TWT ack complete callback
  139. * @psoc: psoc pointer
  140. * @event: response
  141. * @context: context
  142. *
  143. * @mlme_twt_setup_complete_cb: TWT setup complete callback
  144. * @psoc: psoc pointer
  145. * @event: response
  146. * @renego_fail: flag to indicate if renegotiation failure case
  147. *
  148. * @mlme_twt_teardown_complete_cb: TWT teardown complete callback
  149. * @psoc: psoc pointer
  150. * @event: response
  151. *
  152. * @mlme_twt_pause_complete_cb: TWT pause complete callback
  153. * @psoc: psoc pointer
  154. * @event: response
  155. *
  156. * @mlme_twt_resume_complete_cb: TWT resume complete callback
  157. * @psoc: psoc pointer
  158. * @event: response
  159. *
  160. * @mlme_twt_nudge_complete_cb: TWT nudge complete callback
  161. * @psoc: psoc pointer
  162. * @event: response
  163. *
  164. * @mlme_twt_notify_complete_cb: TWT notify complete callback
  165. * @psoc: psoc pointer
  166. * @event: response
  167. */
  168. struct mlme_twt_ops {
  169. QDF_STATUS (*mlme_twt_enable_complete_cb)(
  170. struct wlan_objmgr_psoc *psoc,
  171. struct twt_enable_complete_event_param *event,
  172. void *context);
  173. QDF_STATUS (*mlme_twt_disable_complete_cb)(
  174. struct wlan_objmgr_psoc *psoc,
  175. struct twt_disable_complete_event_param *event,
  176. void *context);
  177. QDF_STATUS (*mlme_twt_ack_complete_cb)(
  178. struct wlan_objmgr_psoc *psoc,
  179. struct twt_ack_complete_event_param *event,
  180. void *context);
  181. QDF_STATUS (*mlme_twt_setup_complete_cb)(
  182. struct wlan_objmgr_psoc *psoc,
  183. struct twt_add_dialog_complete_event *event,
  184. bool renego_fail);
  185. QDF_STATUS (*mlme_twt_teardown_complete_cb)(
  186. struct wlan_objmgr_psoc *psoc,
  187. struct twt_del_dialog_complete_event_param *event);
  188. QDF_STATUS (*mlme_twt_pause_complete_cb)(
  189. struct wlan_objmgr_psoc *psoc,
  190. struct twt_pause_dialog_complete_event_param *event);
  191. QDF_STATUS (*mlme_twt_resume_complete_cb)(
  192. struct wlan_objmgr_psoc *psoc,
  193. struct twt_resume_dialog_complete_event_param *event);
  194. QDF_STATUS (*mlme_twt_nudge_complete_cb)(
  195. struct wlan_objmgr_psoc *psoc,
  196. struct twt_nudge_dialog_complete_event_param *event);
  197. QDF_STATUS (*mlme_twt_notify_complete_cb)(
  198. struct wlan_objmgr_psoc *psoc,
  199. struct twt_notify_event_param *event);
  200. };
  201. /**
  202. * struct vdev_mlme_ext_ops - VDEV MLME legacy callbacks structure
  203. * @mlme_psoc_ext_hdl_create: callback to invoke creation of
  204. * legacy psoc object
  205. * @mlme_psoc_ext_hdl_destroy: callback to invoke destroy of legacy
  206. * psoc object
  207. * @mlme_pdev_ext_hdl_create: callback to invoke creation of
  208. * legacy pdev object
  209. * @mlme_pdev_ext_hdl_destroy: callback to invoke destroy of legacy
  210. * pdev object
  211. * @mlme_vdev_ext_hdl_create: callback to invoke creation of
  212. * legacy vdev object
  213. * @mlme_vdev_ext_hdl_post_create: callback to invoke post creation
  214. * actions of legacy vdev object
  215. * @mlme_vdev_ext_hdl_destroy: callback to invoke destroy of legacy
  216. * vdev object
  217. * @mlme_vdev_start_fw_send: callback to invoke vdev start
  218. * command
  219. * @mlme_vdev_stop_fw_send: callback to invoke vdev stop command
  220. * @mlme_vdev_down_fw_send: callback to invoke vdev down command
  221. * @mlme_multivdev_restart_fw_send: callback to invoke multivdev restart
  222. * command
  223. * @mlme_vdev_enqueue_exp_cmd: callback to enqueue exception
  224. * command
  225. * required by serialization
  226. * @mlme_multi_vdev_restart_resp: callback to process multivdev
  227. * restart response
  228. * @mlme_cm_ext_hdl_create_cb: callback to create ext cm context
  229. * @mlme_cm_ext_hdl_destroy_cb: callback to destroy ext cm context
  230. * @mlme_cm_ext_connect_start_ind_cb: callback to indicate connect start
  231. * @mlme_cm_ext_bss_select_ind_cb: callback to indicate candidate
  232. * select for connect
  233. * @mlme_cm_ext_bss_peer_create_req_cb: callback to bss peer create request
  234. * @mlme_cm_ext_connect_req_cb: callback for connect request to
  235. * VDEV/PEER SM
  236. * @mlme_cm_ext_connect_complete_ind_cb: callback to indicate connect
  237. * complete
  238. * @mlme_cm_ext_disconnect_start_ind_cb : callback to indicate disconnect
  239. * start
  240. * @mlme_cm_ext_disconnect_req_cb: callback to disconnect req to
  241. * VDEV/PEER SM
  242. * @mlme_cm_ext_bss_peer_delete_req_cb: callback to bss peer delete request
  243. * @mlme_cm_ext_disconnect_complete_ind_cb: callback to indicate disconnect
  244. * complete
  245. * @mlme_cm_ext_vdev_down_req_cb: callback to send vdev down to FW
  246. * @mlme_cm_ext_roam_start_ind_cb: callback to indicate roam start
  247. * @mlme_cm_ext_reassoc_req_cb: callback for reassoc request to
  248. * VDEV/PEER SM
  249. * @mlme_vdev_send_set_mac_addr: callback to send set MAC address
  250. * request to FW
  251. */
  252. struct mlme_ext_ops {
  253. QDF_STATUS (*mlme_psoc_ext_hdl_create)(
  254. struct psoc_mlme_obj *psoc_mlme);
  255. QDF_STATUS (*mlme_psoc_ext_hdl_destroy)(
  256. struct psoc_mlme_obj *pdev_mlme);
  257. QDF_STATUS (*mlme_pdev_ext_hdl_create)(
  258. struct pdev_mlme_obj *pdev_mlme);
  259. QDF_STATUS (*mlme_pdev_ext_hdl_destroy)(
  260. struct pdev_mlme_obj *pdev_mlme);
  261. QDF_STATUS (*mlme_vdev_ext_hdl_create)(
  262. struct vdev_mlme_obj *vdev_mlme);
  263. QDF_STATUS (*mlme_vdev_ext_hdl_post_create)(
  264. struct vdev_mlme_obj *vdev_mlme);
  265. QDF_STATUS (*mlme_vdev_ext_hdl_destroy)(
  266. struct vdev_mlme_obj *vdev_mlme);
  267. QDF_STATUS (*mlme_vdev_start_fw_send)(
  268. struct wlan_objmgr_vdev *vdev, uint8_t restart);
  269. QDF_STATUS (*mlme_vdev_stop_fw_send)(struct wlan_objmgr_vdev *vdev);
  270. QDF_STATUS (*mlme_vdev_down_fw_send)(struct wlan_objmgr_vdev *vdev);
  271. QDF_STATUS (*mlme_multivdev_restart_fw_send)(
  272. struct wlan_objmgr_pdev *pdev);
  273. QDF_STATUS (*mlme_vdev_enqueue_exp_cmd)(
  274. struct vdev_mlme_obj *vdev_mlme,
  275. uint8_t cmd_type);
  276. QDF_STATUS (*mlme_vdev_ext_delete_rsp)(
  277. struct wlan_objmgr_psoc *psoc,
  278. struct vdev_delete_response *rsp);
  279. QDF_STATUS (*mlme_multi_vdev_restart_resp)(
  280. struct wlan_objmgr_psoc *psoc,
  281. struct multi_vdev_restart_resp *resp);
  282. QDF_STATUS (*mlme_cm_ext_hdl_create_cb)(struct wlan_objmgr_vdev *vdev,
  283. cm_ext_t **ext_cm_ptr);
  284. QDF_STATUS (*mlme_cm_ext_hdl_destroy_cb)(struct wlan_objmgr_vdev *vdev,
  285. cm_ext_t *ext_cm_ptr);
  286. QDF_STATUS (*mlme_cm_ext_connect_start_ind_cb)(
  287. struct wlan_objmgr_vdev *vdev,
  288. struct wlan_cm_connect_req *req);
  289. QDF_STATUS (*mlme_cm_ext_bss_select_ind_cb)(
  290. struct wlan_objmgr_vdev *vdev,
  291. struct wlan_cm_vdev_connect_req *req);
  292. QDF_STATUS (*mlme_cm_ext_bss_peer_create_req_cb)(
  293. struct wlan_objmgr_vdev *vdev,
  294. struct qdf_mac_addr *peer_mac,
  295. struct qdf_mac_addr *mld_mac,
  296. bool is_assoc_link);
  297. QDF_STATUS (*mlme_cm_ext_connect_req_cb)(struct wlan_objmgr_vdev *vdev,
  298. struct wlan_cm_vdev_connect_req *req);
  299. QDF_STATUS (*mlme_cm_ext_connect_complete_ind_cb)(
  300. struct wlan_objmgr_vdev *vdev,
  301. struct wlan_cm_connect_resp *rsp);
  302. QDF_STATUS (*mlme_cm_ext_disconnect_start_ind_cb)(
  303. struct wlan_objmgr_vdev *vdev,
  304. struct wlan_cm_disconnect_req *req);
  305. QDF_STATUS (*mlme_cm_ext_disconnect_req_cb)
  306. (struct wlan_objmgr_vdev *vdev,
  307. struct wlan_cm_vdev_discon_req *req);
  308. QDF_STATUS (*mlme_cm_ext_bss_peer_delete_req_cb)(
  309. struct wlan_objmgr_vdev *vdev);
  310. QDF_STATUS (*mlme_cm_ext_disconnect_complete_ind_cb)(
  311. struct wlan_objmgr_vdev *vdev,
  312. struct wlan_cm_discon_rsp *rsp);
  313. QDF_STATUS (*mlme_cm_ext_vdev_down_req_cb)(
  314. struct wlan_objmgr_vdev *vdev);
  315. QDF_STATUS (*mlme_cm_ext_roam_start_ind_cb)(
  316. struct wlan_objmgr_vdev *vdev,
  317. struct wlan_cm_roam_req *req);
  318. QDF_STATUS (*mlme_cm_ext_reassoc_req_cb)(
  319. struct wlan_objmgr_vdev *vdev,
  320. struct wlan_cm_vdev_reassoc_req *req);
  321. #ifdef WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE
  322. QDF_STATUS (*mlme_vdev_send_set_mac_addr)(
  323. struct qdf_mac_addr mac_addr,
  324. struct qdf_mac_addr mld_addr,
  325. struct wlan_objmgr_vdev *vdev);
  326. #endif
  327. };
  328. /**
  329. * mlme_psoc_ops_ext_hdl_create() - Alloc PSOC mlme ext handle
  330. * @psoc_mlme: PSOC MLME comp object
  331. *
  332. * API to allocate PSOC MLME ext handle
  333. *
  334. * Return: SUCCESS on successful allocation
  335. * Else FAILURE
  336. */
  337. QDF_STATUS mlme_psoc_ops_ext_hdl_create(struct psoc_mlme_obj *psoc_mlme);
  338. /**
  339. * mlme_psoc_ops_ext_hdl_destroy() - Destroy PSOC mlme ext handle
  340. * @psoc_mlme: PSOC MLME comp object
  341. *
  342. * API to free psoc MLME ext handle
  343. *
  344. * Return: SUCCESS on successful free
  345. * Else FAILURE
  346. */
  347. QDF_STATUS mlme_psoc_ops_ext_hdl_destroy(struct psoc_mlme_obj *psoc_mlme);
  348. /**
  349. * mlme_pdev_ops_ext_hdl_create - Alloc PDEV mlme ext handle
  350. * @pdev_mlme_obj: PDEV MLME comp object
  351. *
  352. * API to allocate PDEV MLME ext handle
  353. *
  354. * Return: SUCCESS on successful allocation
  355. * Else FAILURE
  356. */
  357. QDF_STATUS mlme_pdev_ops_ext_hdl_create(struct pdev_mlme_obj *pdev_mlme);
  358. /**
  359. * mlme_pdev_ops_ext_hdl_destroy - Destroy PDEV mlme ext handle
  360. * @pdev_mlme_obj: PDEV MLME comp object
  361. *
  362. * API to free pdev MLME ext handle
  363. *
  364. * Return: SUCCESS on successful free
  365. * Else FAILURE
  366. */
  367. QDF_STATUS mlme_pdev_ops_ext_hdl_destroy(struct pdev_mlme_obj *pdev_mlme);
  368. /**
  369. * mlme_vdev_ops_ext_hdl_create - Alloc VDEV mlme ext handle
  370. * @vdev_mlme_obj: VDEV MLME comp object
  371. *
  372. * API to allocate VDEV MLME ext handle
  373. *
  374. * Return: SUCCESS on successful allocation
  375. * Else FAILURE
  376. */
  377. QDF_STATUS mlme_vdev_ops_ext_hdl_create(struct vdev_mlme_obj *vdev_mlme);
  378. /**
  379. * mlme_vdev_ops_ext_hdl_post_create - Perform post VDEV mlme ext handle alloc
  380. * operations
  381. * @vdev_mlme_obj: VDEV MLME comp object
  382. *
  383. * API to perform post vdev MLME ext handle allocation operations
  384. *
  385. * Return: SUCCESS on initialization successful
  386. * Else FAILURE
  387. */
  388. QDF_STATUS mlme_vdev_ops_ext_hdl_post_create(struct vdev_mlme_obj *vdev_mlme);
  389. /**
  390. * mlme_vdev_ops_ext_hdl_destroy - Destroy VDEV mlme ext handle
  391. * @vdev_mlme_obj: VDEV MLME comp object
  392. *
  393. * API to free vdev MLME ext handle
  394. *
  395. * Return: SUCCESS on successful free
  396. * Else FAILURE
  397. */
  398. QDF_STATUS mlme_vdev_ops_ext_hdl_destroy(struct vdev_mlme_obj *vdev_mlme);
  399. /**
  400. * mlme_vdev_enqueue_exp_ser_cmd - Enqueue exception serialization cmd
  401. * @vdev_mlme_obj: VDEV MLME comp object
  402. * @cmd_type: Serialization command type
  403. *
  404. * API to enqueue the exception serialization command, used by
  405. * mlme-serialization wrapper layer
  406. *
  407. * Return: SUCCESS on successful enqueuing the command
  408. * Else FAILURE
  409. */
  410. QDF_STATUS mlme_vdev_enqueue_exp_ser_cmd(struct vdev_mlme_obj *vdev_mlme,
  411. uint8_t cmd_type);
  412. /**
  413. * mlme_vdev_ops_start_fw_send - Send WMI START/RESTART commmand to FW
  414. * @vdev: VDEV object
  415. *
  416. * API to send WMI start/restart command to FW
  417. *
  418. * Return: SUCCESS on successful sending the command
  419. * Else FAILURE
  420. */
  421. QDF_STATUS mlme_vdev_ops_start_fw_send(struct wlan_objmgr_vdev *vdev,
  422. uint8_t restart);
  423. /**
  424. * mlme_vdev_ops_multivdev_restart_fw_cmd_send - Send WMI Multivdev restart
  425. * commmand to FW
  426. * @pdev: PDEV object
  427. *
  428. * API to send WMI multivdev restart command to FW
  429. *
  430. * Return: SUCCESS on successful sending the command
  431. * Else FAILURE
  432. */
  433. QDF_STATUS mlme_vdev_ops_multivdev_restart_fw_cmd_send(
  434. struct wlan_objmgr_pdev *pdev);
  435. /**
  436. * mlme_vdev_ops_stop_fw_send - Send WMI STOP commmand to FW
  437. * @vdev: VDEV object
  438. *
  439. * API to send WMI stop command to FW
  440. *
  441. * Return: SUCCESS on successful sending the command
  442. * Else FAILURE
  443. */
  444. QDF_STATUS mlme_vdev_ops_stop_fw_send(struct wlan_objmgr_vdev *vdev);
  445. /**
  446. * mlme_vdev_ops_down_fw_send - Send WMI Down commmand to FW
  447. * @vdev: VDEV object
  448. *
  449. * API to send WMI down command to FW
  450. *
  451. * Return: SUCCESS on successful sending the command
  452. * Else FAILURE
  453. */
  454. QDF_STATUS mlme_vdev_ops_down_fw_send(struct wlan_objmgr_vdev *vdev);
  455. /*
  456. * mlme_vdev_ops_ext_hdl_multivdev_restart_resp() - Handler multivdev restart
  457. * response event
  458. * @psoc: PSOC object manager handle
  459. * @resp: Restart response event
  460. *
  461. * Return: Success on successful handling of the response event,
  462. * Else failure
  463. */
  464. QDF_STATUS mlme_vdev_ops_ext_hdl_multivdev_restart_resp(
  465. struct wlan_objmgr_psoc *psoc,
  466. struct multi_vdev_restart_resp *resp);
  467. /**
  468. * mlme_set_ops_register_cb - Sets ops registration callback
  469. * @ops_cb: Function pointer
  470. *
  471. * API to set ops registration call back
  472. *
  473. * Return: void
  474. */
  475. typedef struct mlme_ext_ops *(*mlme_get_global_ops_cb)(void);
  476. void mlme_set_ops_register_cb(mlme_get_global_ops_cb ops_cb);
  477. /**
  478. * wlan_cmn_mlme_init - Initializes MLME component
  479. *
  480. * Registers callbacks with object manager for create/destroy
  481. *
  482. * Return: SUCCESS on successful registration
  483. * FAILURE, if registration fails
  484. */
  485. QDF_STATUS wlan_cmn_mlme_init(void);
  486. /**
  487. * wlan_cmn_mlme_deinit - Uninitializes MLME component
  488. *
  489. * Unregisters callbacks with object manager for create/destroy
  490. *
  491. * Return: SUCCESS on successful registration
  492. * FAILURE, if registration fails
  493. */
  494. QDF_STATUS wlan_cmn_mlme_deinit(void);
  495. /**
  496. * mlme_vdev_ops_ext_hdl_delete_rsp - Vdev Delete response ext handler
  497. * @psoc: PSOC object
  498. * @rsp: Vdev delete response received from the firmware
  499. *
  500. * API to invoke the legacy delete response handler for legacy cleanup
  501. *
  502. * Return: SUCCESS on successful deletion
  503. * FAILURE, if deletion fails
  504. */
  505. QDF_STATUS mlme_vdev_ops_ext_hdl_delete_rsp(struct wlan_objmgr_psoc *psoc,
  506. struct vdev_delete_response *rsp);
  507. /**
  508. * mlme_cm_ext_hdl_create() - Connection manager callback to create ext
  509. * context
  510. * @vdev: VDEV object
  511. * @ext_cm_ptr: pointer to connection manager ext pointer
  512. *
  513. * Return: QDF_STATUS
  514. */
  515. QDF_STATUS mlme_cm_ext_hdl_create(struct wlan_objmgr_vdev *vdev,
  516. cm_ext_t **ext_cm_ptr);
  517. /**
  518. * mlme_cm_ext_hdl_destroy() - Connection manager callback to destroy ext
  519. * context
  520. * @vdev: VDEV object
  521. * @ext_cm_ptr: connection manager ext pointer
  522. *
  523. * Return: QDF_STATUS
  524. */
  525. QDF_STATUS mlme_cm_ext_hdl_destroy(struct wlan_objmgr_vdev *vdev,
  526. cm_ext_t *ext_cm_ptr);
  527. /**
  528. * mlme_cm_connect_start_ind() - Connection manager ext Connect start indication
  529. * @vdev: VDEV object
  530. * @req: Connection manager connect request
  531. *
  532. * Return: QDF_STATUS
  533. */
  534. QDF_STATUS mlme_cm_connect_start_ind(struct wlan_objmgr_vdev *vdev,
  535. struct wlan_cm_connect_req *req);
  536. /**
  537. * mlme_cm_bss_select_ind() - Connection manager ext Connect candidate
  538. * select indication, to do operations for the candidate
  539. * @vdev: VDEV object
  540. * @req: Vdev connect request
  541. *
  542. * Return: QDF_STATUS
  543. */
  544. QDF_STATUS mlme_cm_bss_select_ind(struct wlan_objmgr_vdev *vdev,
  545. struct wlan_cm_vdev_connect_req *req);
  546. /**
  547. * mlme_cm_bss_peer_create_req() - Connection manager ext bss peer create
  548. * request
  549. * @vdev: VDEV object
  550. * @peer_mac: Peer mac address
  551. * @mld_mac: mld mac address
  552. * @is_assoc_link: assoc happens on this link or not
  553. *
  554. * Return: QDF_STATUS
  555. */
  556. QDF_STATUS mlme_cm_bss_peer_create_req(struct wlan_objmgr_vdev *vdev,
  557. struct qdf_mac_addr *peer_mac,
  558. struct qdf_mac_addr *mld_mac,
  559. bool is_assoc_link);
  560. /**
  561. * mlme_cm_connect_req() - Connection manager ext connect request to start vdev
  562. * and peer assoc state machine
  563. * @vdev: VDEV object
  564. * @req: Vdev connect request
  565. *
  566. * Context: The req is on stack, so the API need to make a copy, if it want to
  567. * use the req after return.
  568. *
  569. * Return: QDF_STATUS
  570. */
  571. QDF_STATUS mlme_cm_connect_req(struct wlan_objmgr_vdev *vdev,
  572. struct wlan_cm_vdev_connect_req *req);
  573. /**
  574. * mlme_cm_connect_complete_ind() - Connection manager ext connect complete
  575. * indication
  576. * @vdev: VDEV object
  577. * @rsp: Connection manager connect response
  578. *
  579. * Return: QDF_STATUS
  580. */
  581. QDF_STATUS mlme_cm_connect_complete_ind(struct wlan_objmgr_vdev *vdev,
  582. struct wlan_cm_connect_resp *rsp);
  583. /**
  584. * mlme_cm_roam_start_ind() - Connection manager ext Connect start indication
  585. * @vdev: VDEV object
  586. * @req: Connection manager roam request
  587. *
  588. * Return: QDF_STATUS
  589. */
  590. QDF_STATUS mlme_cm_roam_start_ind(struct wlan_objmgr_vdev *vdev,
  591. struct wlan_cm_roam_req *req);
  592. /**
  593. * mlme_cm_reassoc_req() - Connection manager ext reassoc request
  594. * @vdev: VDEV object
  595. * @req: Vdev reassoc request
  596. *
  597. * Context: The req is on stack, so the API need to make a copy, if it want to
  598. * use the req after return.
  599. *
  600. * Return: QDF_STATUS
  601. */
  602. QDF_STATUS mlme_cm_reassoc_req(struct wlan_objmgr_vdev *vdev,
  603. struct wlan_cm_vdev_reassoc_req *req);
  604. /**
  605. * mlme_cm_disconnect_start_ind() - Connection manager ext disconnect start
  606. * indication
  607. * @vdev: VDEV object
  608. * @req: Connection manager disconnect request
  609. *
  610. * Return: QDF_STATUS
  611. */
  612. QDF_STATUS mlme_cm_disconnect_start_ind(struct wlan_objmgr_vdev *vdev,
  613. struct wlan_cm_disconnect_req *req);
  614. /**
  615. * mlme_cm_disconnect_req() - Connection manager ext disconnect
  616. * req to vdev and peer sm
  617. * @vdev: VDEV object
  618. * @req: vdev disconnect request
  619. *
  620. * Return: QDF_STATUS
  621. */
  622. QDF_STATUS mlme_cm_disconnect_req(struct wlan_objmgr_vdev *vdev,
  623. struct wlan_cm_vdev_discon_req *req);
  624. /**
  625. * mlme_cm_bss_peer_delete_req() - Connection manager ext bss peer delete
  626. * request
  627. * @vdev: VDEV object
  628. *
  629. * Return: QDF_STATUS
  630. */
  631. QDF_STATUS
  632. mlme_cm_bss_peer_delete_req(struct wlan_objmgr_vdev *vdev);
  633. /**
  634. * mlme_cm_disconnect_complete_ind() - Connection manager ext disconnect
  635. * complete indication
  636. * @vdev: VDEV object
  637. * @rsp: Connection manager disconnect response
  638. *
  639. * Return: QDF_STATUS
  640. */
  641. QDF_STATUS mlme_cm_disconnect_complete_ind(struct wlan_objmgr_vdev *vdev,
  642. struct wlan_cm_discon_rsp *rsp);
  643. /**
  644. * mlme_cm_vdev_down() - Connection manager ext req to send vdev down to FW
  645. * @vdev: VDEV object
  646. *
  647. * Return: QDF_STATUS
  648. */
  649. QDF_STATUS mlme_cm_vdev_down_req(struct wlan_objmgr_vdev *vdev);
  650. /**
  651. * mlme_cm_osif_connect_complete() - Connect complete resp to osif
  652. * @vdev: vdev pointer
  653. * @rsp: Connect response
  654. *
  655. * Return: QDF_STATUS
  656. */
  657. QDF_STATUS mlme_cm_osif_connect_complete(struct wlan_objmgr_vdev *vdev,
  658. struct wlan_cm_connect_resp *rsp);
  659. /**
  660. * mlme_cm_osif_failed_candidate_ind() - Failed Candidate indication to osif
  661. * @vdev: vdev pointer
  662. * @rsp: Connect response
  663. *
  664. * Return: QDF_STATUS
  665. */
  666. QDF_STATUS
  667. mlme_cm_osif_failed_candidate_ind(struct wlan_objmgr_vdev *vdev,
  668. struct wlan_cm_connect_resp *rsp);
  669. /**
  670. * mlme_cm_osif_update_id_and_src() - Update connection id and source to osif
  671. * @vdev: vdev pointer
  672. * @source: source of request
  673. * @cm_id: connection manager id
  674. *
  675. * Return: QDF_STATUS
  676. */
  677. QDF_STATUS mlme_cm_osif_update_id_and_src(struct wlan_objmgr_vdev *vdev,
  678. enum wlan_cm_source source,
  679. wlan_cm_id cm_id);
  680. /**
  681. * mlme_cm_osif_disconnect_complete() - Disconnect complete osif response
  682. * @vdev: vdev pointer
  683. * @cm_conn_rsp: Connect response
  684. *
  685. * Return: QDF_STATUS
  686. */
  687. QDF_STATUS
  688. mlme_cm_osif_disconnect_complete(struct wlan_objmgr_vdev *vdev,
  689. struct wlan_cm_discon_rsp *rsp);
  690. /**
  691. * mlme_cm_osif_disconnect_start_ind() - osif Disconnect start indication
  692. * @vdev: vdev pointer
  693. * @cm_conn_rsp: Connect response
  694. *
  695. * Return: QDF_STATUS
  696. */
  697. QDF_STATUS mlme_cm_osif_disconnect_start_ind(struct wlan_objmgr_vdev *vdev);
  698. #ifdef CONN_MGR_ADV_FEATURE
  699. /**
  700. * mlme_cm_osif_roam_sync_ind() - osif Roam sync indication
  701. * @vdev: vdev pointer
  702. *
  703. * Return: QDF_STATUS
  704. */
  705. QDF_STATUS mlme_cm_osif_roam_sync_ind(struct wlan_objmgr_vdev *vdev);
  706. /**
  707. * mlme_cm_osif_pmksa_candidate_notify() - osif roam pmksa candidate notify
  708. * @vdev: vdev pointer
  709. * @bssid: bssid
  710. * @index: index
  711. * @preauth: preauth flag
  712. *
  713. * Return: QDF_STATUS
  714. */
  715. QDF_STATUS mlme_cm_osif_pmksa_candidate_notify(struct wlan_objmgr_vdev *vdev,
  716. struct qdf_mac_addr *bssid,
  717. int index, bool preauth);
  718. #else
  719. static inline
  720. QDF_STATUS mlme_cm_osif_roam_sync_ind(struct wlan_objmgr_vdev *vdev)
  721. {
  722. return QDF_STATUS_SUCCESS;
  723. }
  724. #endif
  725. #ifdef WLAN_FEATURE_ROAM_OFFLOAD
  726. /**
  727. * mlme_cm_osif_roam_start_ind() - osif Roam start indication
  728. * @vdev: vdev pointer
  729. *
  730. * Return: QDF_STATUS
  731. */
  732. QDF_STATUS mlme_cm_osif_roam_start_ind(struct wlan_objmgr_vdev *vdev);
  733. /**
  734. * mlme_cm_osif_roam_abort_ind() - osif Roam abort indication
  735. * @vdev: vdev pointer
  736. *
  737. * Return: QDF_STATUS
  738. */
  739. QDF_STATUS mlme_cm_osif_roam_abort_ind(struct wlan_objmgr_vdev *vdev);
  740. /**
  741. * mlme_cm_osif_roam_complete() - osif Roam sync complete callback
  742. * @vdev: vdev pointer
  743. *
  744. * Return: QDF_STATUS
  745. */
  746. QDF_STATUS mlme_cm_osif_roam_complete(struct wlan_objmgr_vdev *vdev);
  747. #endif
  748. #ifdef WLAN_FEATURE_PREAUTH_ENABLE
  749. /**
  750. * mlme_cm_osif_ft_preauth_complete() - osif roam ft preauth complete callback
  751. * @vdev: vdev pointer
  752. * @rsp: preauth response pointer
  753. *
  754. * Return: QDF_STATUS
  755. */
  756. QDF_STATUS
  757. mlme_cm_osif_ft_preauth_complete(struct wlan_objmgr_vdev *vdev,
  758. struct wlan_preauth_rsp *rsp);
  759. #ifdef FEATURE_WLAN_ESE
  760. /**
  761. * mlme_cm_osif_cckm_preauth_complete() - osif cckm preauth complete callback
  762. * @vdev: vdev pointer
  763. * @rsp: preauth response pointer
  764. *
  765. * Return: QDF_STATUS
  766. */
  767. QDF_STATUS
  768. mlme_cm_osif_cckm_preauth_complete(struct wlan_objmgr_vdev *vdev,
  769. struct wlan_preauth_rsp *rsp);
  770. #else
  771. static inline QDF_STATUS
  772. mlme_cm_osif_cckm_preauth_complete(struct wlan_objmgr_vdev *vdev,
  773. struct wlan_preauth_rsp *rsp)
  774. {
  775. return QDF_STATUS_SUCCESS;
  776. }
  777. #endif /* FEATURE_WLAN_ESE */
  778. #endif /* WLAN_FEATURE_PREAUTH_ENABLE */
  779. /**
  780. * typedef osif_cm_get_global_ops_cb() - Callback to get connection manager
  781. * global ops
  782. */
  783. typedef struct mlme_cm_ops *(*osif_cm_get_global_ops_cb)(void);
  784. /**
  785. * typedef osif_twt_get_global_ops_cb() - Callback to get twt global ops
  786. */
  787. typedef struct mlme_twt_ops *(*osif_twt_get_global_ops_cb)(void);
  788. /**
  789. * mlme_set_osif_cm_cb() - Sets ops registration callback
  790. * @cm_osif_ops: Function pointer
  791. *
  792. * API to set ops registration call back
  793. *
  794. * Return: void
  795. */
  796. void mlme_set_osif_cm_cb(osif_cm_get_global_ops_cb cm_osif_ops);
  797. /**
  798. * typedef osif_vdev_mgr_get_global_ops_cb() - Callback to get vdev manager
  799. * global ops
  800. */
  801. typedef struct mlme_vdev_mgr_ops *(*osif_vdev_mgr_get_global_ops_cb)(void);
  802. /**
  803. * mlme_set_osif_vdev_mgr_cb() - Sets ops registration callback
  804. * @mlme_vdev_mgr_osif_ops: Function pointer
  805. *
  806. * API to set ops registration call back
  807. *
  808. * Return: void
  809. */
  810. void mlme_set_osif_vdev_mgr_cb(
  811. osif_vdev_mgr_get_global_ops_cb mlme_vdev_mgr_osif_ops);
  812. /**
  813. * mlme_set_osif_twt_cb() - Sets twt ops registration callback
  814. * @twt_osif_ops: Function pointer
  815. *
  816. * API to set twt ops registration call back
  817. *
  818. * Return: void
  819. */
  820. void mlme_set_osif_twt_cb(osif_twt_get_global_ops_cb twt_osif_ops);
  821. /**
  822. * mlme_max_chan_switch_is_set() - Get if max chan switch IE is enabled
  823. * @vdev: Object manager vdev pointer
  824. *
  825. * Return: True if max chan switch is enabled else false
  826. */
  827. bool mlme_max_chan_switch_is_set(struct wlan_objmgr_psoc *psoc);
  828. #ifdef WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE
  829. /**
  830. * mlme_vdev_ops_send_set_mac_address() - Send set MAC address request to FW
  831. * @mac_addr: VDEV MAC address
  832. * @mld_addr: VDEV MLD address
  833. * @vdev: vdev pointer
  834. *
  835. * API to send set MAC address request command to FW
  836. *
  837. * Return: QDF_STATUS
  838. */
  839. QDF_STATUS mlme_vdev_ops_send_set_mac_address(struct qdf_mac_addr mac_addr,
  840. struct qdf_mac_addr mld_addr,
  841. struct wlan_objmgr_vdev *vdev);
  842. /**
  843. * mlme_vdev_mgr_notify_set_mac_addr_response() - Notify set MAC address
  844. * response
  845. * @vdev_id: VDEV ID
  846. * @resp_status: FW response for the set MAC address operation
  847. *
  848. * API to notify set MAC address to osif
  849. *
  850. * Return: None
  851. */
  852. void mlme_vdev_mgr_notify_set_mac_addr_response(uint8_t vdev_id,
  853. uint8_t resp_status);
  854. #endif
  855. #if defined(WLAN_SUPPORT_TWT) && defined(WLAN_TWT_CONV_SUPPORTED)
  856. /**
  857. * mlme_twt_osif_enable_complete_ind() - enable complete resp to osif
  858. * @psoc: psoc pointer
  859. * @event: enable complete response
  860. *
  861. * Return: QDF_STATUS
  862. */
  863. QDF_STATUS
  864. mlme_twt_osif_enable_complete_ind(struct wlan_objmgr_psoc *psoc,
  865. struct twt_enable_complete_event_param *event,
  866. void *context);
  867. /**
  868. * mlme_twt_osif_disable_complete_ind() - disable complete resp to osif
  869. * @psoc: psoc pointer
  870. * @event: disable complete response
  871. *
  872. * Return: QDF_STATUS
  873. */
  874. QDF_STATUS
  875. mlme_twt_osif_disable_complete_ind(struct wlan_objmgr_psoc *psoc,
  876. struct twt_disable_complete_event_param *event,
  877. void *context);
  878. /**
  879. * mlme_twt_osif_ack_complete_ind() - ack complete resp to osif
  880. * @psoc: psoc pointer
  881. * @event: ack complete response
  882. *
  883. * Return: QDF_STATUS
  884. */
  885. QDF_STATUS
  886. mlme_twt_osif_ack_complete_ind(struct wlan_objmgr_psoc *psoc,
  887. struct twt_ack_complete_event_param *event,
  888. void *context);
  889. /**
  890. * mlme_twt_osif_setup_complete_ind() - setup complete resp to osif
  891. * @psoc: psoc pointer
  892. * @event: setup complete response
  893. * @renego_fail: flag to indicate if renegotiation failure case
  894. *
  895. * Return: QDF_STATUS
  896. */
  897. QDF_STATUS
  898. mlme_twt_osif_setup_complete_ind(struct wlan_objmgr_psoc *psoc,
  899. struct twt_add_dialog_complete_event *event,
  900. bool renego_fail);
  901. /**
  902. * mlme_twt_osif_teardown_complete_ind() - teardown complete resp to osif
  903. * @psoc: psoc pointer
  904. * @event: teardown complete response
  905. *
  906. * Return: QDF_STATUS
  907. */
  908. QDF_STATUS
  909. mlme_twt_osif_teardown_complete_ind(struct wlan_objmgr_psoc *psoc,
  910. struct twt_del_dialog_complete_event_param *event);
  911. /**
  912. * mlme_twt_osif_pause_complete_ind() - pause complete resp to osif
  913. * @psoc: psoc pointer
  914. * @event: pause complete response
  915. *
  916. * Return: QDF_STATUS
  917. */
  918. QDF_STATUS
  919. mlme_twt_osif_pause_complete_ind(struct wlan_objmgr_psoc *psoc,
  920. struct twt_pause_dialog_complete_event_param *event);
  921. /**
  922. * mlme_twt_osif_resume_complete_ind() - resume complete resp to osif
  923. * @psoc: psoc pointer
  924. * @event: resume complete response
  925. *
  926. * Return: QDF_STATUS
  927. */
  928. QDF_STATUS
  929. mlme_twt_osif_resume_complete_ind(struct wlan_objmgr_psoc *psoc,
  930. struct twt_resume_dialog_complete_event_param *event);
  931. /**
  932. * mlme_twt_osif_nudge_complete_ind() - nudge complete resp to osif
  933. * @psoc: psoc pointer
  934. * @event: nudge complete response
  935. *
  936. * Return: QDF_STATUS
  937. */
  938. QDF_STATUS
  939. mlme_twt_osif_nudge_complete_ind(struct wlan_objmgr_psoc *psoc,
  940. struct twt_nudge_dialog_complete_event_param *event);
  941. /**
  942. * mlme_twt_osif_notify_complete_ind() - notify complete resp to osif
  943. * @psoc: psoc pointer
  944. * @event: notify complete response
  945. *
  946. * Return: QDF_STATUS
  947. */
  948. QDF_STATUS
  949. mlme_twt_osif_notify_complete_ind(struct wlan_objmgr_psoc *psoc,
  950. struct twt_notify_event_param *event);
  951. #else
  952. static inline QDF_STATUS
  953. mlme_twt_osif_enable_complete_ind(struct wlan_objmgr_psoc *psoc,
  954. struct twt_enable_complete_event_param *event,
  955. void *context)
  956. {
  957. return QDF_STATUS_SUCCESS;
  958. }
  959. static inline QDF_STATUS
  960. mlme_twt_osif_disable_complete_ind(struct wlan_objmgr_psoc *psoc,
  961. struct twt_disable_complete_event_param *event,
  962. void *context)
  963. {
  964. return QDF_STATUS_SUCCESS;
  965. }
  966. static inline QDF_STATUS
  967. mlme_twt_osif_ack_complete_ind(struct wlan_objmgr_psoc *psoc,
  968. struct twt_ack_complete_event_param *event,
  969. void *context)
  970. {
  971. return QDF_STATUS_SUCCESS;
  972. }
  973. static inline QDF_STATUS
  974. mlme_twt_osif_setup_complete_ind(struct wlan_objmgr_psoc *psoc,
  975. struct twt_add_dialog_complete_event *event,
  976. bool renego_fail)
  977. {
  978. return QDF_STATUS_SUCCESS;
  979. }
  980. static inline QDF_STATUS
  981. mlme_twt_osif_teardown_complete_ind(struct wlan_objmgr_psoc *psoc,
  982. struct twt_del_dialog_complete_event_param *event)
  983. {
  984. return QDF_STATUS_SUCCESS;
  985. }
  986. static inline QDF_STATUS
  987. mlme_twt_osif_pause_complete_ind(struct wlan_objmgr_psoc *psoc,
  988. struct twt_pause_dialog_complete_event_param *event)
  989. {
  990. return QDF_STATUS_SUCCESS;
  991. }
  992. static inline QDF_STATUS
  993. mlme_twt_osif_resume_complete_ind(struct wlan_objmgr_psoc *psoc,
  994. struct twt_resume_dialog_complete_event_param *event)
  995. {
  996. return QDF_STATUS_SUCCESS;
  997. }
  998. static inline QDF_STATUS
  999. mlme_twt_osif_nudge_complete_ind(struct wlan_objmgr_psoc *psoc,
  1000. struct twt_nudge_dialog_complete_event_param *event)
  1001. {
  1002. return QDF_STATUS_SUCCESS;
  1003. }
  1004. static inline QDF_STATUS
  1005. mlme_twt_osif_notify_complete_ind(struct wlan_objmgr_psoc *psoc,
  1006. struct twt_notify_event_param *event)
  1007. {
  1008. return QDF_STATUS_SUCCESS;
  1009. }
  1010. #endif /* WLAN_SUPPORT_TWT && WLAN_TWT_CONV_SUPPORTED */
  1011. #endif