wlan_mlme_api.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  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 public APIs exposed by the mlme component
  20. */
  21. #ifndef _WLAN_MLME_API_H_
  22. #define _WLAN_MLME_API_H_
  23. #include <wlan_mlme_public_struct.h>
  24. #include <wlan_objmgr_psoc_obj.h>
  25. #include <wlan_cmn.h>
  26. #include "sme_api.h"
  27. /**
  28. * wlan_mlme_get_cfg_str() - Copy the uint8_t array for a particular CFG
  29. * @dst: pointer to the destination buffer.
  30. * @cfg_str: pointer to the cfg string structure
  31. * @len: length to be copied
  32. *
  33. * Return: QDF_STATUS_SUCCESS or QDF_STATUS_E_FAILURE
  34. */
  35. QDF_STATUS wlan_mlme_get_cfg_str(uint8_t *dst, struct mlme_cfg_str *cfg_str,
  36. qdf_size_t *len);
  37. /**
  38. * wlan_mlme_set_cfg_str() - Set values for a particular CFG
  39. * @src: pointer to the source buffer.
  40. * @dst_cfg_str: pointer to the cfg string structure to be modified
  41. * @len: length to be written
  42. *
  43. * Return: QDF_STATUS_SUCCESS or QDF_STATUS_E_FAILURE
  44. */
  45. QDF_STATUS wlan_mlme_set_cfg_str(uint8_t *src, struct mlme_cfg_str *dst_cfg_str,
  46. qdf_size_t len);
  47. /**
  48. * wlan_mlme_get_edca_params() - get the EDCA parameters corresponding to the
  49. * edca profile access category
  50. * @edca_params: pointer to mlme edca parameters structure
  51. * @data: data to which the parameter is to be copied
  52. * @edca_ac: edca ac type enum passed to get the cfg value
  53. *
  54. * Return QDF_STATUS_SUCCESS or QDF_STATUS_E_FAILURE
  55. *
  56. */
  57. QDF_STATUS wlan_mlme_get_edca_params(struct wlan_mlme_edca_params *edca_params,
  58. uint8_t *data, enum e_edca_type edca_ac);
  59. /*
  60. * mlme_get_wep_key() - get the wep key to process during auth frame
  61. * @wep_params: cfg wep parameters structure
  62. * @wep_key_id: default key number
  63. * @default_key: default key to be copied
  64. * @key_len: length of the key to copy
  65. *
  66. * Return QDF_STATUS
  67. */
  68. QDF_STATUS mlme_get_wep_key(struct wlan_mlme_wep_cfg *wep_params,
  69. enum wep_key_id wep_keyid, uint8_t *default_key,
  70. qdf_size_t key_len);
  71. /**
  72. * mlme_set_wep_key() - set the wep keys during auth
  73. * @wep_params: cfg wep parametrs structure
  74. * @wep_key_id: default key number that needs to be copied
  75. * @key_to_set: destination buffer to be copied
  76. * @len: size to be copied
  77. */
  78. QDF_STATUS mlme_set_wep_key(struct wlan_mlme_wep_cfg *wep_params,
  79. enum wep_key_id wep_keyid, uint8_t *key_to_set,
  80. qdf_size_t len);
  81. /**
  82. * wlan_mlme_get_ht_cap_info() - Get the HT cap info config
  83. * @psoc: pointer to psoc object
  84. * @value: pointer to the value which will be filled for the caller
  85. *
  86. * Return: QDF Status
  87. */
  88. QDF_STATUS wlan_mlme_get_ht_cap_info(struct wlan_objmgr_psoc *psoc,
  89. struct mlme_ht_capabilities_info
  90. *ht_cap_info);
  91. /**
  92. * wlan_mlme_get_manufacturer_name() - get manufacturer name
  93. * @psoc: pointer to psoc object
  94. * @pbuf: pointer of the buff which will be filled for the caller
  95. * @plen: pointer of max buffer length
  96. * actual length will be returned at this address
  97. * This function gets manufacturer name
  98. *
  99. * Return: QDF_STATUS_SUCCESS - in case of success
  100. */
  101. QDF_STATUS
  102. wlan_mlme_get_manufacturer_name(struct wlan_objmgr_psoc *psoc,
  103. uint8_t *pbuf, uint32_t *plen);
  104. /**
  105. * wlan_mlme_get_model_number() - get model number
  106. * @psoc: pointer to psoc object
  107. * @pbuf: pointer of the buff which will be filled for the caller
  108. * @plen: pointer of max buffer length
  109. * actual length will be returned at this address
  110. * This function gets model number
  111. *
  112. * Return: QDF_STATUS_SUCCESS - in case of success
  113. */
  114. QDF_STATUS
  115. wlan_mlme_get_model_number(struct wlan_objmgr_psoc *psoc,
  116. uint8_t *pbuf, uint32_t *plen);
  117. /**
  118. * wlan_mlme_get_model_name() - get model name
  119. * @psoc: pointer to psoc object
  120. * @pbuf: pointer of the buff which will be filled for the caller
  121. * @plen: pointer of max buffer length
  122. * actual length will be returned at this address
  123. * This function gets model name
  124. *
  125. * Return: QDF_STATUS_SUCCESS - in case of success
  126. */
  127. QDF_STATUS
  128. wlan_mlme_get_model_name(struct wlan_objmgr_psoc *psoc,
  129. uint8_t *pbuf, uint32_t *plen);
  130. /**
  131. * wlan_mlme_get_manufacture_product_name() - get manufacture product name
  132. * @psoc: pointer to psoc object
  133. * @pbuf: pointer of the buff which will be filled for the caller
  134. * @plen: pointer of max buffer length
  135. * actual length will be returned at this address
  136. * This function gets manufacture product name
  137. *
  138. * Return: QDF_STATUS_SUCCESS - in case of success
  139. */
  140. QDF_STATUS
  141. wlan_mlme_get_manufacture_product_name(struct wlan_objmgr_psoc *psoc,
  142. uint8_t *pbuf, uint32_t *plen);
  143. /**
  144. * wlan_mlme_get_manufacture_product_version() - get manufacture product version
  145. * @psoc: pointer to psoc object
  146. * @pbuf: pointer of the buff which will be filled for the caller
  147. * @plen: pointer of max buffer length
  148. * actual length will be returned at this address
  149. * This function gets manufacture product version
  150. *
  151. * Return: QDF_STATUS_SUCCESS - in case of success
  152. */
  153. QDF_STATUS
  154. wlan_mlme_get_manufacture_product_version(struct wlan_objmgr_psoc *psoc,
  155. uint8_t *pbuf, uint32_t *plen);
  156. /**
  157. * wlan_mlme_set_ht_cap_info() - Set the HT cap info config
  158. * @psoc: pointer to psoc object
  159. * @value: Value that needs to be set from the caller
  160. *
  161. * Return: QDF Status
  162. */
  163. QDF_STATUS wlan_mlme_set_ht_cap_info(struct wlan_objmgr_psoc *psoc,
  164. struct mlme_ht_capabilities_info
  165. ht_cap_info);
  166. /**
  167. * wlan_mlme_get_acs_with_more_param() - Get the acs_with_more_param flag
  168. * @psoc: pointer to psoc object
  169. * @value: Value that needs to be set from the caller
  170. *
  171. * Return: QDF Status
  172. */
  173. QDF_STATUS wlan_mlme_get_acs_with_more_param(struct wlan_objmgr_psoc *psoc,
  174. bool *value);
  175. /**
  176. * wlan_mlme_get_auto_channel_weight() - Get the auto channel weight
  177. * @psoc: pointer to psoc object
  178. * @value: Value that needs to be set from the caller
  179. *
  180. * Return: QDF Status
  181. */
  182. QDF_STATUS wlan_mlme_get_auto_channel_weight(struct wlan_objmgr_psoc *psoc,
  183. uint32_t *value);
  184. /**
  185. * wlan_mlme_get_vendor_acs_support() - Get the vendor based channel selece
  186. * @psoc: pointer to psoc object
  187. * @value: Value that needs to be set from the caller
  188. *
  189. * Return: QDF Status
  190. */
  191. QDF_STATUS wlan_mlme_get_vendor_acs_support(struct wlan_objmgr_psoc *psoc,
  192. bool *value);
  193. /**
  194. * wlan_mlme_get_acs_support_for_dfs_ltecoex() - Get the flag for
  195. * acs support for dfs ltecoex
  196. * @psoc: pointer to psoc object
  197. * @value: Value that needs to be set from the caller
  198. *
  199. * Return: QDF Status
  200. */
  201. QDF_STATUS
  202. wlan_mlme_get_acs_support_for_dfs_ltecoex(struct wlan_objmgr_psoc *psoc,
  203. bool *value);
  204. /**
  205. * wlan_mlme_get_external_acs_policy() - Get the flag for external acs policy
  206. *
  207. * @psoc: pointer to psoc object
  208. * @value: Value that needs to be set from the caller
  209. *
  210. * Return: QDF Status
  211. */
  212. QDF_STATUS
  213. wlan_mlme_get_external_acs_policy(struct wlan_objmgr_psoc *psoc,
  214. bool *value);
  215. /**
  216. *
  217. * wlan_mlme_get_sap_inactivity_override() - Check if sap max inactivity
  218. * override flag is set.
  219. * @psoc: pointer to psoc object
  220. * @sme_config - Sme config struct
  221. *
  222. * Return: QDF Status
  223. */
  224. void wlan_mlme_get_sap_inactivity_override(struct wlan_objmgr_psoc *psoc,
  225. bool *value);
  226. /**
  227. * wlan_mlme_get_ignore_peer_ht_mode() - Get the ignore peer ht opmode flag
  228. * @psoc: pointer to psoc object
  229. * @value: Value that needs to be set from the caller
  230. *
  231. * Return: QDF Status
  232. */
  233. QDF_STATUS wlan_mlme_get_ignore_peer_ht_mode(struct wlan_objmgr_psoc *psoc,
  234. bool *value);
  235. /**
  236. * wlan_mlme_get_tx_chainmask_cck() - Get the tx_chainmask_cfg value
  237. *
  238. * @psoc: pointer to psoc object
  239. * @value: Value that needs to be set from the caller
  240. *
  241. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  242. */
  243. QDF_STATUS wlan_mlme_get_tx_chainmask_cck(struct wlan_objmgr_psoc *psoc,
  244. bool *value);
  245. /**
  246. * wlan_mlme_get_tx_chainmask_1ss() - Get the tx_chainmask_1ss value
  247. *
  248. * @psoc: pointer to psoc object
  249. * @value: Value that needs to be set from the caller
  250. *
  251. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  252. */
  253. QDF_STATUS wlan_mlme_get_tx_chainmask_1ss(struct wlan_objmgr_psoc *psoc,
  254. uint8_t *value);
  255. /**
  256. * wlan_mlme_get_num_11b_tx_chains() - Get the number of 11b only tx chains
  257. *
  258. * @psoc: pointer to psoc object
  259. * @value: Value that needs to be set from the caller
  260. *
  261. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  262. */
  263. QDF_STATUS wlan_mlme_get_num_11b_tx_chains(struct wlan_objmgr_psoc *psoc,
  264. uint16_t *value);
  265. /**
  266. * wlan_mlme_get_num_11ag_tx_chains() - get the total number of 11a/g tx chains
  267. *
  268. * @psoc: pointer to psoc object
  269. * @value: Value that needs to be set from the caller
  270. *
  271. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  272. */
  273. QDF_STATUS wlan_mlme_get_num_11ag_tx_chains(struct wlan_objmgr_psoc *psoc,
  274. uint16_t *value);
  275. /**
  276. * wlan_mlme_configure_chain_mask() - configure chainmask parameters
  277. *
  278. * @psoc: pointer to psoc object
  279. * @session_id: vdev_id
  280. *
  281. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  282. */
  283. QDF_STATUS wlan_mlme_configure_chain_mask(struct wlan_objmgr_psoc *psoc,
  284. uint8_t session_id);
  285. /**
  286. * wlan_mlme_set_sap_listen_interval() - Set the sap listen interval
  287. * @psoc: pointer to psoc object
  288. * @value: Value that needs to be set from the caller
  289. *
  290. * Return: QDF Status
  291. */
  292. QDF_STATUS wlan_mlme_set_sap_listen_interval(struct wlan_objmgr_psoc *psoc,
  293. int value);
  294. /**
  295. * wlan_mlme_set_assoc_sta_limit() - Set the assoc sta limit
  296. * @psoc: pointer to psoc object
  297. * @value: Value that needs to be set from the caller
  298. *
  299. * Return: QDF Status
  300. */
  301. QDF_STATUS wlan_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
  302. int value);
  303. /**
  304. * wlan_mlme_set_rmc_action_period_freq() - Set the rmc action period frequency
  305. * @psoc: pointer to psoc object
  306. * @value: Value that needs to be set from the caller
  307. *
  308. * Return: QDF Status
  309. */
  310. QDF_STATUS wlan_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
  311. int value);
  312. /**
  313. * wlan_mlme_set_sap_get_peer_info() - get the sap get peer info
  314. * @psoc: pointer to psoc object
  315. * @value: Value that needs to be set from the caller
  316. *
  317. * Return: QDF Status
  318. */
  319. QDF_STATUS wlan_mlme_get_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
  320. bool *value);
  321. /**
  322. * wlan_mlme_get_sap_allow_all_channels() - get the value of sap allow all
  323. * channels
  324. * @psoc: pointer to psoc object
  325. * @value: Value that needs to be set from the caller
  326. *
  327. * Return: QDF Status
  328. */
  329. QDF_STATUS wlan_mlme_get_sap_allow_all_channels(struct wlan_objmgr_psoc *psoc,
  330. bool *value);
  331. /**
  332. * wlan_mlme_get_sap_allow_all_channels() - get the value sap max peers
  333. * @psoc: pointer to psoc object
  334. * @value: Value that needs to be set from the caller
  335. *
  336. * Return: QDF Status
  337. */
  338. QDF_STATUS wlan_mlme_get_sap_max_peers(struct wlan_objmgr_psoc *psoc,
  339. int *value);
  340. /**
  341. * wlan_mlme_set_sap_max_peers() - set the value sap max peers
  342. * @psoc: pointer to psoc object
  343. * @value: Value that needs to be set from the caller
  344. *
  345. * Return: QDF Status
  346. */
  347. QDF_STATUS wlan_mlme_set_sap_max_peers(struct wlan_objmgr_psoc *psoc,
  348. int value);
  349. /**
  350. * wlan_mlme_get_sap_max_offload_peers() - get the value sap max offload peers
  351. * @psoc: pointer to psoc object
  352. * @value: Value that needs to be set from the caller
  353. *
  354. * Return: QDF Status
  355. */
  356. QDF_STATUS wlan_mlme_get_sap_max_offload_peers(struct wlan_objmgr_psoc *psoc,
  357. int *value);
  358. /**
  359. * wlan_mlme_get_sap_max_offload_reorder_buffs() - get the value sap max offload
  360. * reorder buffs.
  361. * @psoc: pointer to psoc object
  362. * @value: Value that needs to be set from the caller
  363. *
  364. * Return: QDF Status
  365. */
  366. QDF_STATUS wlan_mlme_get_sap_max_offload_reorder_buffs(struct wlan_objmgr_psoc
  367. *psoc, int *value);
  368. /**
  369. * wlan_mlme_get_sap_chn_switch_bcn_count() - get the value sap max channel
  370. * switch beacon count
  371. * @psoc: pointer to psoc object
  372. * @value: Value that needs to be set from the caller
  373. *
  374. * Return: QDF Status
  375. */
  376. QDF_STATUS wlan_mlme_get_sap_chn_switch_bcn_count(struct wlan_objmgr_psoc *psoc,
  377. int *value);
  378. /**
  379. * wlan_mlme_get_sap_chn_switch_mode() - get the sap channel
  380. * switch mode
  381. * @psoc: pointer to psoc object
  382. * @value: Value that needs to be set from the caller
  383. *
  384. * Return: QDF Status
  385. */
  386. QDF_STATUS wlan_mlme_get_sap_chn_switch_mode(struct wlan_objmgr_psoc *psoc,
  387. bool *value);
  388. /**
  389. * wlan_mlme_get_sap_internal_restart() - get the sap internal
  390. * restart
  391. * @psoc: pointer to psoc object
  392. * @value: Value that needs to be set from the caller
  393. *
  394. * Return: QDF Status
  395. */
  396. QDF_STATUS wlan_mlme_get_sap_internal_restart(struct wlan_objmgr_psoc *psoc,
  397. bool *value);
  398. /**
  399. * wlan_mlme_get_sap_reduced_beacon_interval() - get the sap reduced
  400. * beacon interval
  401. * @psoc: pointer to psoc object
  402. * @value: Value that needs to be set from the caller
  403. *
  404. * Return: QDF Status
  405. */
  406. QDF_STATUS wlan_mlme_get_sap_reduced_beacon_interval(struct wlan_objmgr_psoc
  407. *psoc, int *value);
  408. /**
  409. * wlan_mlme_get_sap_chan_switch_rate_enabled() - get the sap rate hostapd
  410. * enabled beacon interval
  411. * @psoc: pointer to psoc object
  412. * @value: Value that needs to be set from the caller
  413. *
  414. * Return: QDF Status
  415. */
  416. QDF_STATUS wlan_mlme_get_sap_chan_switch_rate_enabled(struct wlan_objmgr_psoc
  417. *psoc, bool *value);
  418. /**
  419. * wlan_mlme_get_oce_sta_enabled_info() - Get the OCE feature enable
  420. * info for STA
  421. * @psoc: pointer to psoc object
  422. * @value: pointer to the value which will be filled for the caller
  423. *
  424. * Return: QDF Status
  425. */
  426. QDF_STATUS wlan_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
  427. bool *value);
  428. /**
  429. * wlan_mlme_get_oce_sap_enabled_info() - Get the OCE feature enable
  430. * info for SAP
  431. * @psoc: pointer to psoc object
  432. * @value: pointer to the value which will be filled for the caller
  433. *
  434. * Return: QDF Status
  435. */
  436. QDF_STATUS wlan_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc *psoc,
  437. bool *value);
  438. /**
  439. * wlan_mlme_get_rts_threshold() - Get the RTS threshold config
  440. * @psoc: pointer to psoc object
  441. * @value: pointer to the value which will be filled for the caller
  442. *
  443. * Return: QDF Status
  444. */
  445. QDF_STATUS wlan_mlme_get_rts_threshold(struct wlan_objmgr_psoc *psoc,
  446. uint32_t *value);
  447. /**
  448. * wlan_mlme_set_rts_threshold() - Set the RTS threshold config
  449. * @psoc: pointer to psoc object
  450. * @value: Value that needs to be set from the caller
  451. *
  452. * Return: QDF Status
  453. */
  454. QDF_STATUS wlan_mlme_set_rts_threshold(struct wlan_objmgr_psoc *psoc,
  455. uint32_t value);
  456. /**
  457. * wlan_mlme_get_frag_threshold() - Get the Fragmentation threshold
  458. * config
  459. * @psoc: pointer to psoc object
  460. * @value: pointer to the value which will be filled for the caller
  461. *
  462. * Return: QDF Status
  463. */
  464. QDF_STATUS wlan_mlme_get_frag_threshold(struct wlan_objmgr_psoc *psoc,
  465. uint32_t *value);
  466. /**
  467. * wlan_mlme_set_frag_threshold() - Set the Fragmentation threshold
  468. * config
  469. * @psoc: pointer to psoc object
  470. * @value: Value that needs to be set from the caller
  471. *
  472. * Return: QDF Status
  473. */
  474. QDF_STATUS wlan_mlme_set_frag_threshold(struct wlan_objmgr_psoc *psoc,
  475. uint32_t value);
  476. /**
  477. * wlan_mlme_get_fils_enabled_info() - Get the fils enable info for driver
  478. * @psoc: pointer to psoc object
  479. * @value: pointer to the value which will be filled for the caller
  480. *
  481. * Return: QDF Status
  482. */
  483. QDF_STATUS wlan_mlme_get_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  484. bool *value);
  485. /**
  486. * wlan_mlme_set_fils_enabled_info() - Set the fils enable info for driver
  487. * @psoc: pointer to psoc object
  488. * @value: value that needs to be set from the caller
  489. *
  490. * Return: QDF Status
  491. */
  492. QDF_STATUS wlan_mlme_set_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  493. bool value);
  494. /**
  495. * wlan_mlme_get_wmm_dir_ac_vo() - Get TSPEC direction
  496. * for VO
  497. * @psoc: pointer to psoc object
  498. * @value: Value that needs to be set from the caller
  499. *
  500. * Return: QDF Status
  501. */
  502. QDF_STATUS
  503. wlan_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc,
  504. uint8_t *value);
  505. /**
  506. * wlan_mlme_get_wmm_nom_msdu_size_ac_vo() - Get normal
  507. * MSDU size for VO
  508. * @psoc: pointer to psoc object
  509. * @value: Value that needs to be set from the caller
  510. *
  511. * Return: QDF Status
  512. */
  513. QDF_STATUS
  514. wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc,
  515. uint16_t *value);
  516. /**
  517. * wlan_mlme_get_wmm_mean_data_rate_ac_vo() - mean data rate for VO
  518. * @psoc: pointer to psoc object
  519. * @value: Value that needs to be set from the caller
  520. *
  521. * Return: QDF Status
  522. */
  523. QDF_STATUS
  524. wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  525. uint32_t *value);
  526. /**
  527. * wlan_mlme_get_wmm_min_phy_rate_ac_vo() - min PHY
  528. * rate for VO
  529. * @psoc: pointer to psoc object
  530. * @value: Value that needs to be set from the caller
  531. *
  532. * Return: QDF Status
  533. */
  534. QDF_STATUS
  535. wlan_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  536. uint32_t *value);
  537. /**
  538. * wlan_mlme_get_wmm_sba_ac_vo() - surplus bandwidth allowance for VO
  539. * @psoc: pointer to psoc object
  540. * @value: Value that needs to be set from the caller
  541. *
  542. * Return: QDF Status
  543. */
  544. QDF_STATUS
  545. wlan_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  546. /**
  547. * wlan_mlme_set_enable_bcast_probe_rsp() - Set enable bcast probe resp info
  548. * @psoc: pointer to psoc object
  549. * @value: value that needs to be set from the caller
  550. *
  551. * Return: QDF Status
  552. */
  553. QDF_STATUS wlan_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc *psoc,
  554. bool value);
  555. /**
  556. * wlan_mlme_get_wmm_uapsd_vo_srv_intv() - Get Uapsd service
  557. * interval for voice
  558. * @psoc: pointer to psoc object
  559. * @value: pointer to the value which will be filled for the caller
  560. *
  561. * Return: QDF Status
  562. */
  563. QDF_STATUS
  564. wlan_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc *psoc,
  565. uint32_t *value);
  566. /**
  567. * wlan_mlme_get_wmm_uapsd_vo_sus_intv() - Get Uapsd suspension
  568. * interval for voice
  569. * @psoc: pointer to psoc object
  570. * @value: pointer to the value which will be filled for the caller
  571. *
  572. * Return: QDF Status
  573. */
  574. QDF_STATUS
  575. wlan_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc,
  576. uint32_t *value);
  577. #endif /* _WLAN_MLME_API_H_ */