wlan_mlme_ucfg_api.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669
  1. /*
  2. * Copyright (c) 2018 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. /**
  19. * DOC: declare UCFG APIs exposed by the mlme component
  20. */
  21. #ifndef _WLAN_MLME_UCFG_API_H_
  22. #define _WLAN_MLME_UCFG_API_H_
  23. #include <wlan_mlme_public_struct.h>
  24. #include <wlan_objmgr_psoc_obj.h>
  25. #include <wlan_objmgr_global_obj.h>
  26. #include <wlan_cmn.h>
  27. #include <wlan_mlme_api.h>
  28. /**
  29. * ucfg_mlme_init() - initialize mlme_ctx context.
  30. *
  31. * This function initializes the mlme context.
  32. *
  33. * Return: QDF_STATUS_SUCCESS - in case of success else return error
  34. */
  35. QDF_STATUS ucfg_mlme_init(void);
  36. /**
  37. * ucfg_mlme_deinit() - De initialize mlme_ctx context.
  38. *
  39. * This function De initializes mlme contex.
  40. *
  41. * Return: QDF_STATUS_SUCCESS - in case of success else return error
  42. */
  43. QDF_STATUS ucfg_mlme_deinit(void);
  44. /**
  45. * ucfg_mlme_psoc_open() - MLME component Open
  46. * @psoc: pointer to psoc object
  47. *
  48. * Open the MLME component and initialize the MLME strucutre
  49. *
  50. * Return: QDF Status
  51. */
  52. QDF_STATUS ucfg_mlme_psoc_open(struct wlan_objmgr_psoc *psoc);
  53. /**
  54. * ucfg_mlme_psoc_close() - MLME component close
  55. * @psoc: pointer to psoc object
  56. *
  57. * Close the MLME component and clear the MLME structures
  58. *
  59. * Return: None
  60. */
  61. void ucfg_mlme_psoc_close(struct wlan_objmgr_psoc *psoc);
  62. #ifdef CONFIG_VDEV_SM
  63. /**
  64. * ucfg_mlme_pdev_open() - MLME component pdev Open
  65. * @pdev: pointer to pdev object
  66. *
  67. * Open the MLME component and initialize the MLME pdev strucutre
  68. *
  69. * Return: QDF Status
  70. */
  71. QDF_STATUS ucfg_mlme_pdev_open(struct wlan_objmgr_pdev *pdev);
  72. /**
  73. * ucfg_mlme_pdev_close() - MLME component pdev close
  74. * @pdev: pointer to pdev object
  75. *
  76. * close the MLME pdev information
  77. *
  78. * Return: QDF Status
  79. */
  80. QDF_STATUS ucfg_mlme_pdev_close(struct wlan_objmgr_pdev *pdev);
  81. #else
  82. /**
  83. * ucfg_mlme_pdev_open() - MLME component pdev Open
  84. * @pdev: pointer to pdev object
  85. *
  86. * Open the MLME component and initialize the MLME pdev strucutre
  87. *
  88. * Return: QDF Status
  89. */
  90. static inline QDF_STATUS ucfg_mlme_pdev_open(struct wlan_objmgr_pdev *pdev)
  91. {
  92. return QDF_STATUS_SUCCESS;
  93. }
  94. /**
  95. * ucfg_mlme_pdev_close() - MLME component pdev close
  96. * @pdev: pointer to pdev object
  97. *
  98. * close the MLME pdev information
  99. *
  100. * Return: QDF Status
  101. */
  102. static inline QDF_STATUS ucfg_mlme_pdev_close(struct wlan_objmgr_pdev *pdev)
  103. {
  104. return QDF_STATUS_SUCCESS;
  105. }
  106. #endif
  107. /**
  108. * ucfg_mlme_get_ht_cap_info() - Get the HT cap info config
  109. * @psoc: pointer to psoc object
  110. * @value: pointer to the value which will be filled for the caller
  111. *
  112. * Inline UCFG API to be used by HDD/OSIF callers
  113. *
  114. * Return: QDF Status
  115. */
  116. static inline
  117. QDF_STATUS ucfg_mlme_get_ht_cap_info(struct wlan_objmgr_psoc *psoc,
  118. struct mlme_ht_capabilities_info
  119. *ht_cap_info)
  120. {
  121. return wlan_mlme_get_ht_cap_info(psoc, ht_cap_info);
  122. }
  123. /**
  124. * ucfg_mlme_set_ht_cap_info() - Set the HT cap info config
  125. * @psoc: pointer to psoc object
  126. * @value: Value that needs to be set from the caller
  127. *
  128. * Inline UCFG API to be used by HDD/OSIF callers
  129. *
  130. * Return: QDF Status
  131. */
  132. static inline
  133. QDF_STATUS ucfg_mlme_set_ht_cap_info(struct wlan_objmgr_psoc *psoc,
  134. struct mlme_ht_capabilities_info
  135. ht_cap_info)
  136. {
  137. return wlan_mlme_set_ht_cap_info(psoc, ht_cap_info);
  138. }
  139. /**
  140. *
  141. * ucfg_mlme_get_sap_inactivity_override() - Check if sap max inactivity
  142. * override flag is set.
  143. * @psoc: pointer to psoc object
  144. * @sme_config - Sme config struct
  145. *
  146. * Inline UCFG API to be used by HDD/OSIF callers to call
  147. * the mlme function wlan_mlme_get_sap_inactivity_override
  148. *
  149. * Return: QDF Status
  150. */
  151. static inline
  152. void ucfg_mlme_get_sap_inactivity_override(struct wlan_objmgr_psoc *psoc,
  153. bool *value)
  154. {
  155. wlan_mlme_get_sap_inactivity_override(psoc, value);
  156. }
  157. /**
  158. * ucfg_mlme_get_tx_chainmask_1ss() - Get the tx_chainmask_1ss value
  159. *
  160. * @psoc: pointer to psoc object
  161. * @value: Value that needs to be set from the caller
  162. *
  163. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  164. */
  165. static inline
  166. QDF_STATUS ucfg_mlme_get_tx_chainmask_1ss(struct wlan_objmgr_psoc *psoc,
  167. uint8_t *value)
  168. {
  169. return wlan_mlme_get_tx_chainmask_1ss(psoc, value);
  170. }
  171. /**
  172. * ucfg_mlme_get_num_11b_tx_chains() - Get the number of 11b only tx chains
  173. *
  174. * @psoc: pointer to psoc object
  175. * @value: Value that needs to be set from the caller
  176. *
  177. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  178. */
  179. static inline
  180. QDF_STATUS ucfg_mlme_get_num_11b_tx_chains(struct wlan_objmgr_psoc *psoc,
  181. uint16_t *value)
  182. {
  183. return wlan_mlme_get_num_11b_tx_chains(psoc, value);
  184. }
  185. /**
  186. * ucfg_mlme_get_num_11ag_tx_chains() - get the total number of 11a/g tx chains
  187. *
  188. * @psoc: pointer to psoc object
  189. * @value: Value that needs to be set from the caller
  190. *
  191. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  192. */
  193. static inline
  194. QDF_STATUS ucfg_mlme_get_num_11ag_tx_chains(struct wlan_objmgr_psoc *psoc,
  195. uint16_t *value)
  196. {
  197. return wlan_mlme_get_num_11ag_tx_chains(psoc, value);
  198. }
  199. /**
  200. * ucfg_mlme_configure_chain_mask() - configure chainmask parameters
  201. *
  202. * @psoc: pointer to psoc object
  203. * @session_id: vdev_id
  204. *
  205. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  206. */
  207. static inline
  208. QDF_STATUS ucfg_mlme_configure_chain_mask(struct wlan_objmgr_psoc *psoc,
  209. uint8_t session_id)
  210. {
  211. return wlan_mlme_configure_chain_mask(psoc, session_id);
  212. }
  213. /*
  214. * ucfg_mlme_get_sta_keep_alive_period() - Get the sta keep alive period
  215. * @psoc: pointer to psoc object
  216. * @val: Pointer to the value which will be filled for the caller
  217. *
  218. * Return: QDF Status
  219. */
  220. QDF_STATUS
  221. ucfg_mlme_get_sta_keep_alive_period(struct wlan_objmgr_psoc *psoc,
  222. uint32_t *val);
  223. /**
  224. * ucfg_mlme_get_pmkid_modes() - Get PMKID modes
  225. * @psoc: pointer to psoc object
  226. * @val: Pointer to the value which will be filled for the caller
  227. *
  228. * Return: QDF Status
  229. */
  230. QDF_STATUS
  231. ucfg_mlme_get_pmkid_modes(struct wlan_objmgr_psoc *psoc,
  232. uint32_t *val);
  233. /**
  234. * ucfg_mlme_set_pmkid_modes() - Set PMKID modes
  235. * @psoc: pointer to psoc object
  236. * @val: Pointer to the value which will be filled for the caller
  237. *
  238. * Return: QDF Status
  239. */
  240. QDF_STATUS
  241. ucfg_mlme_set_pmkid_modes(struct wlan_objmgr_psoc *psoc,
  242. uint32_t val);
  243. /**
  244. * ucfg_mlme_get_dot11p_mode() - Get the setting about 802.11p mode
  245. * @psoc: pointer to psoc object
  246. * @val: Pointer to the value which will be filled for the caller
  247. *
  248. * Return: QDF Status
  249. */
  250. QDF_STATUS
  251. ucfg_mlme_get_dot11p_mode(struct wlan_objmgr_psoc *psoc,
  252. uint8_t *val);
  253. /**
  254. * ucfg_mlme_get_go_cts2self_for_sta() - Stop NOA and start using cts2self
  255. * @psoc: pointer to psoc object
  256. * @val: Pointer to the value which will be filled for the caller
  257. *
  258. * Return: QDF Status
  259. */
  260. QDF_STATUS
  261. ucfg_mlme_get_go_cts2self_for_sta(struct wlan_objmgr_psoc *psoc,
  262. bool *val);
  263. /**
  264. * ucfg_mlme_get_force_rsne_override() - Force rsnie override from user
  265. * @psoc: pointer to psoc object
  266. * @val: Pointer to the value which will be filled for the caller
  267. *
  268. * Return: QDF Status
  269. */
  270. QDF_STATUS
  271. ucfg_mlme_get_force_rsne_override(struct wlan_objmgr_psoc *psoc,
  272. bool *val);
  273. /**
  274. * ucfg_mlme_get_qcn_ie_support() - QCN IE support or not
  275. * @psoc: pointer to psoc object
  276. * @val: Pointer to the value which will be filled for the caller
  277. *
  278. * Return: QDF Status
  279. */
  280. QDF_STATUS
  281. ucfg_mlme_get_qcn_ie_support(struct wlan_objmgr_psoc *psoc,
  282. bool *val);
  283. /**
  284. * ucfg_mlme_get_tgt_gtx_usr_cfg() - Get the target gtx user config
  285. * @psoc: pointer to psoc object
  286. * @val: Pointer to the value which will be filled for the caller
  287. *
  288. * Return: QDF Status
  289. */
  290. QDF_STATUS
  291. ucfg_mlme_get_tgt_gtx_usr_cfg(struct wlan_objmgr_psoc *psoc,
  292. uint32_t *val);
  293. /**
  294. * ucfg_mlme_get_roaming_offload() - Get roaming offload setting
  295. * @psoc: pointer to psoc object
  296. * @val: Pointer to enable/disable roaming offload
  297. *
  298. * Return: QDF Status
  299. */
  300. QDF_STATUS
  301. ucfg_mlme_get_roaming_offload(struct wlan_objmgr_psoc *psoc,
  302. bool *val);
  303. /**
  304. * ucfg_mlme_set_roaming_offload() - Enable/disable roaming offload
  305. * @psoc: pointer to psoc object
  306. * @val: enable/disable roaming offload
  307. *
  308. * Return: QDF Status
  309. */
  310. QDF_STATUS
  311. ucfg_mlme_set_roaming_offload(struct wlan_objmgr_psoc *psoc,
  312. bool val);
  313. /**
  314. * ucfg_mlme_get_first_scan_bucket_threshold() - Get first scan bucket thre
  315. * @psoc: pointer to psoc object
  316. * @val: first scan bucket threshold
  317. *
  318. * Return: QDF Status
  319. */
  320. QDF_STATUS
  321. ucfg_mlme_get_first_scan_bucket_threshold(struct wlan_objmgr_psoc *psoc,
  322. uint8_t *val);
  323. /**
  324. * ucfg_mlme_set_sap_listen_interval() - Set the Sap listen interval
  325. * @psoc: pointer to psoc object
  326. * @value: Value that needs to be set from the caller
  327. *
  328. * Inline UCFG API to be used by HDD/OSIF callers
  329. *
  330. * Return: QDF Status
  331. */
  332. static inline
  333. QDF_STATUS ucfg_mlme_set_sap_listen_interval(struct wlan_objmgr_psoc *psoc,
  334. int value)
  335. {
  336. return wlan_mlme_set_sap_listen_interval(psoc, value);
  337. }
  338. /**
  339. * ucfg_mlme_set_assoc_sta_limit() - Set the assoc sta limit
  340. * @psoc: pointer to psoc object
  341. * @value: Value that needs to be set from the caller
  342. *
  343. * Inline UCFG API to be used by HDD/OSIF callers
  344. *
  345. * Return: QDF Status
  346. */
  347. static inline
  348. QDF_STATUS ucfg_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
  349. int value)
  350. {
  351. return wlan_mlme_set_assoc_sta_limit(psoc, value);
  352. }
  353. /**
  354. * ucfg_mlme_set_rmc_action_period_freq() - Set the rmc action period frequency
  355. * @psoc: pointer to psoc object
  356. * @value: Value that needs to be set from the caller
  357. *
  358. * Inline UCFG API to be used by HDD/OSIF callers
  359. *
  360. * Return: QDF Status
  361. */
  362. static inline
  363. QDF_STATUS ucfg_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
  364. int value)
  365. {
  366. return wlan_mlme_set_rmc_action_period_freq(psoc, value);
  367. }
  368. /**
  369. * ucfg_mlme_get_sap_get_peer_info() - get the sap get peer info
  370. * @psoc: pointer to psoc object
  371. * @value: Value that needs to be set from the caller
  372. *
  373. * Inline UCFG API to be used by HDD/OSIF callers
  374. *
  375. * Return: QDF Status
  376. */
  377. static inline
  378. QDF_STATUS ucfg_mlme_get_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
  379. bool *value)
  380. {
  381. return wlan_mlme_get_sap_get_peer_info(psoc, value);
  382. }
  383. /**
  384. * ucfg_mlme_get_sap_allow_all_channels() - get the sap allow all channels
  385. * @psoc: pointer to psoc object
  386. * @value: Value that needs to be set from the caller
  387. *
  388. * Inline UCFG API to be used by HDD/OSIF callers
  389. *
  390. * Return: QDF Status
  391. */
  392. static inline
  393. QDF_STATUS ucfg_mlme_get_sap_allow_all_channels(struct wlan_objmgr_psoc *psoc,
  394. bool *value)
  395. {
  396. return wlan_mlme_get_sap_allow_all_channels(psoc, value);
  397. }
  398. /**
  399. * ucfg_mlme_get_sap_max_peers() - get the sap max peers
  400. * @psoc: pointer to psoc object
  401. * @value: Value that needs to be set from the caller
  402. *
  403. * Inline UCFG API to be used by HDD/OSIF callers
  404. *
  405. * Return: QDF Status
  406. */
  407. static inline
  408. QDF_STATUS ucfg_mlme_get_sap_max_peers(struct wlan_objmgr_psoc *psoc,
  409. int *value)
  410. {
  411. return wlan_mlme_get_sap_max_peers(psoc, value);
  412. }
  413. /**
  414. * ucfg_mlme_set_sap_max_peers() - Set the sap max peers
  415. * @psoc: pointer to psoc object
  416. * @value: Value that needs to be set from the caller
  417. *
  418. * Inline UCFG API to be used by HDD/OSIF callers
  419. *
  420. * Return: QDF Status
  421. */
  422. static inline
  423. QDF_STATUS ucfg_mlme_set_sap_max_peers(struct wlan_objmgr_psoc *psoc, int value)
  424. {
  425. return wlan_mlme_set_sap_max_peers(psoc, value);
  426. }
  427. /**
  428. * ucfg_mlme_get_sap_max_offload_peers() - get the sap max offload peers
  429. * @psoc: pointer to psoc object
  430. * @value: Value that needs to be set from the caller
  431. *
  432. * Inline UCFG API to be used by HDD/OSIF callers
  433. *
  434. * Return: QDF Status
  435. */
  436. static inline
  437. QDF_STATUS ucfg_mlme_get_sap_max_offload_peers(struct wlan_objmgr_psoc *psoc,
  438. int *value)
  439. {
  440. return wlan_mlme_get_sap_max_offload_peers(psoc, value);
  441. }
  442. /**
  443. * ucfg_mlme_get_sap_max_offload_reorder_buffs() - get the sap max offload
  444. * reorder buffs
  445. * @psoc: pointer to psoc object
  446. * @value: Value that needs to be set from the caller
  447. *
  448. * Inline UCFG API to be used by HDD/OSIF callers
  449. *
  450. * Return: QDF Status
  451. */
  452. static inline
  453. QDF_STATUS ucfg_mlme_get_sap_max_offload_reorder_buffs(struct wlan_objmgr_psoc
  454. *psoc, int *value)
  455. {
  456. return wlan_mlme_get_sap_max_offload_reorder_buffs(psoc, value);
  457. }
  458. /**
  459. * ucfg_mlme_get_sap_chn_switch_bcn_count() - get the sap channel
  460. * switch beacon count
  461. * @psoc: pointer to psoc object
  462. * @value: Value that needs to be set from the caller
  463. *
  464. * Inline UCFG API to be used by HDD/OSIF callers
  465. *
  466. * Return: QDF Status
  467. */
  468. static inline
  469. QDF_STATUS ucfg_mlme_get_sap_chn_switch_bcn_count(struct wlan_objmgr_psoc *psoc,
  470. int *value)
  471. {
  472. return wlan_mlme_get_sap_chn_switch_bcn_count(psoc, value);
  473. }
  474. /**
  475. * ucfg_mlme_get_sap_channel_switch_mode() - get the sap channel switch mode
  476. * @psoc: pointer to psoc object
  477. * @value: Value that needs to be set from the caller
  478. *
  479. * Inline UCFG API to be used by HDD/OSIF callers
  480. *
  481. * Return: QDF Status
  482. */
  483. static inline
  484. QDF_STATUS ucfg_mlme_get_sap_channel_switch_mode(struct wlan_objmgr_psoc *psoc,
  485. bool *value)
  486. {
  487. return wlan_mlme_get_sap_chn_switch_mode(psoc, value);
  488. }
  489. /**
  490. * ucfg_mlme_get_sap_internal_restart() - get sap internal restart value
  491. * @psoc: pointer to psoc object
  492. * @value: Value that needs to be set from the caller
  493. *
  494. * Inline UCFG API to be used by HDD/OSIF callers
  495. *
  496. * Return: QDF Status
  497. */
  498. static inline
  499. QDF_STATUS ucfg_mlme_get_sap_internal_restart(struct wlan_objmgr_psoc *psoc,
  500. bool *value)
  501. {
  502. return wlan_mlme_get_sap_internal_restart(psoc, value);
  503. }
  504. /**
  505. * ucfg_mlme_get_sap_reduces_beacon_interval() - get the sap reduces beacon
  506. * interval
  507. * @psoc: pointer to psoc object
  508. * @value: Value that needs to be set from the caller
  509. *
  510. * Inline UCFG API to be used by HDD/OSIF callers
  511. *
  512. * Return: QDF Status
  513. */
  514. static inline
  515. QDF_STATUS ucfg_mlme_get_sap_reduces_beacon_interval(struct wlan_objmgr_psoc
  516. *psoc, int *value)
  517. {
  518. return wlan_mlme_get_sap_reduced_beacon_interval(psoc, value);
  519. }
  520. /**
  521. * ucfg_mlme_get_sap_chan_switch_rate_enabled() - get the sap channel
  522. * switch rate enabled.
  523. * @psoc: pointer to psoc object
  524. * @value: Value that needs to be set from the caller
  525. *
  526. * Inline UCFG API to be used by HDD/OSIF callers
  527. *
  528. * Return: QDF Status
  529. */
  530. static inline
  531. QDF_STATUS ucfg_mlme_get_sap_chan_switch_rate_enabled(struct wlan_objmgr_psoc
  532. *psoc, bool *value)
  533. {
  534. return wlan_mlme_get_sap_chan_switch_rate_enabled(psoc, value);
  535. }
  536. /**
  537. * ucfg_mlme_get_oce_sta_enabled_info() - Get OCE feature enable/disable
  538. * info for STA
  539. *
  540. * @psoc: pointer to psoc object
  541. * @value: pointer to the value which will be filled for the caller
  542. *
  543. * Inline UCFG API to be used by HDD/OSIF callers to get the
  544. * OCE STA feature enable value
  545. *
  546. * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
  547. */
  548. static inline
  549. QDF_STATUS ucfg_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
  550. bool *value)
  551. {
  552. return wlan_mlme_get_oce_sta_enabled_info(psoc, value);
  553. }
  554. /**
  555. * ucfg_mlme_get_oce_sap_enabled_info() - Get OCE feature enable/disable
  556. * info for SAP
  557. *
  558. * @psoc: pointer to psoc object
  559. * @value: pointer to the value which will be filled for the caller
  560. *
  561. * Inline UCFG API to be used by HDD/OSIF callers to get the
  562. * OCE SAP feature enable value
  563. *
  564. * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
  565. */
  566. static inline
  567. QDF_STATUS ucfg_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc *psoc,
  568. bool *value)
  569. {
  570. return wlan_mlme_get_oce_sap_enabled_info(psoc, value);
  571. }
  572. /**
  573. * ucfg_mlme_get_fils_enabled_info() - Get fils enable/disable info
  574. *
  575. * @psoc: pointer to psoc object
  576. * @value: pointer to the value which will be filled for the caller
  577. *
  578. * Inline UCFG API to be used by HDD/OSIF callers to get the
  579. * fils enable value
  580. *
  581. * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
  582. */
  583. static inline
  584. QDF_STATUS ucfg_mlme_get_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  585. bool *value)
  586. {
  587. return wlan_mlme_get_fils_enabled_info(psoc, value);
  588. }
  589. /**
  590. * ucfg_mlme_set_fils_enabled_info() - Set fils enable info
  591. *
  592. * @psoc: pointer to psoc object
  593. * @value: value that needs to be set from the caller
  594. *
  595. * Inline UCFG API to be used by HDD/OSIF callers to set the
  596. * fils enable value
  597. *
  598. * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
  599. */
  600. static inline
  601. QDF_STATUS ucfg_mlme_set_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  602. bool value)
  603. {
  604. return wlan_mlme_set_fils_enabled_info(psoc, value);
  605. }
  606. /**
  607. * ucfg_mlme_set_enable_bcast_probe_rsp() - Set enable bcast probe resp info
  608. *
  609. * @psoc: pointer to psoc object
  610. * @value: value that needs to be set from the caller
  611. *
  612. * Inline UCFG API to be used by HDD/OSIF callers to set the
  613. * enable bcast probe resp info
  614. *
  615. * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
  616. */
  617. static inline
  618. QDF_STATUS ucfg_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc *psoc,
  619. bool value)
  620. {
  621. return wlan_mlme_set_enable_bcast_probe_rsp(psoc, value);
  622. }
  623. #endif /* _WLAN_MLME_UCFG_API_H_ */