wlan_mlme_api.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  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_band_capability() - Get the Band capability config
  168. * @psoc: pointer to psoc object
  169. * @band_capability: Pointer to the variable from caller
  170. *
  171. * Return: QDF Status
  172. */
  173. QDF_STATUS wlan_mlme_get_band_capability(struct wlan_objmgr_psoc *psoc,
  174. uint8_t *band_capability);
  175. /**
  176. * wlan_mlme_set_band_capability() - Set the Band capability config
  177. * @psoc: pointer to psoc object
  178. * @band_capability: Value to be set from the caller
  179. *
  180. * Return: QDF Status
  181. */
  182. QDF_STATUS wlan_mlme_set_band_capability(struct wlan_objmgr_psoc *psoc,
  183. uint8_t band_capability);
  184. /**
  185. * wlan_mlme_get_acs_with_more_param() - Get the acs_with_more_param flag
  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_acs_with_more_param(struct wlan_objmgr_psoc *psoc,
  192. bool *value);
  193. /**
  194. * wlan_mlme_get_auto_channel_weight() - Get the auto channel weight
  195. * @psoc: pointer to psoc object
  196. * @value: Value that needs to be set from the caller
  197. *
  198. * Return: QDF Status
  199. */
  200. QDF_STATUS wlan_mlme_get_auto_channel_weight(struct wlan_objmgr_psoc *psoc,
  201. uint32_t *value);
  202. /**
  203. * wlan_mlme_get_vendor_acs_support() - Get the vendor based channel selece
  204. * @psoc: pointer to psoc object
  205. * @value: Value that needs to be set from the caller
  206. *
  207. * Return: QDF Status
  208. */
  209. QDF_STATUS wlan_mlme_get_vendor_acs_support(struct wlan_objmgr_psoc *psoc,
  210. bool *value);
  211. /**
  212. * wlan_mlme_get_acs_support_for_dfs_ltecoex() - Get the flag for
  213. * acs support for dfs ltecoex
  214. * @psoc: pointer to psoc object
  215. * @value: Value that needs to be set from the caller
  216. *
  217. * Return: QDF Status
  218. */
  219. QDF_STATUS
  220. wlan_mlme_get_acs_support_for_dfs_ltecoex(struct wlan_objmgr_psoc *psoc,
  221. bool *value);
  222. /**
  223. * wlan_mlme_get_external_acs_policy() - Get the flag for external acs policy
  224. *
  225. * @psoc: pointer to psoc object
  226. * @value: Value that needs to be set from the caller
  227. *
  228. * Return: QDF Status
  229. */
  230. QDF_STATUS
  231. wlan_mlme_get_external_acs_policy(struct wlan_objmgr_psoc *psoc,
  232. bool *value);
  233. /**
  234. *
  235. * wlan_mlme_get_sap_inactivity_override() - Check if sap max inactivity
  236. * override flag is set.
  237. * @psoc: pointer to psoc object
  238. * @sme_config - Sme config struct
  239. *
  240. * Return: QDF Status
  241. */
  242. void wlan_mlme_get_sap_inactivity_override(struct wlan_objmgr_psoc *psoc,
  243. bool *value);
  244. /**
  245. * wlan_mlme_get_ignore_peer_ht_mode() - Get the ignore peer ht opmode flag
  246. * @psoc: pointer to psoc object
  247. * @value: Value that needs to be set from the caller
  248. *
  249. * Return: QDF Status
  250. */
  251. QDF_STATUS wlan_mlme_get_ignore_peer_ht_mode(struct wlan_objmgr_psoc *psoc,
  252. bool *value);
  253. /**
  254. * wlan_mlme_get_tx_chainmask_cck() - Get the tx_chainmask_cfg value
  255. *
  256. * @psoc: pointer to psoc object
  257. * @value: Value that needs to be set from the caller
  258. *
  259. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  260. */
  261. QDF_STATUS wlan_mlme_get_tx_chainmask_cck(struct wlan_objmgr_psoc *psoc,
  262. bool *value);
  263. /**
  264. * wlan_mlme_get_tx_chainmask_1ss() - Get the tx_chainmask_1ss value
  265. *
  266. * @psoc: pointer to psoc object
  267. * @value: Value that needs to be set from the caller
  268. *
  269. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  270. */
  271. QDF_STATUS wlan_mlme_get_tx_chainmask_1ss(struct wlan_objmgr_psoc *psoc,
  272. uint8_t *value);
  273. /**
  274. * wlan_mlme_get_num_11b_tx_chains() - Get the number of 11b only tx chains
  275. *
  276. * @psoc: pointer to psoc object
  277. * @value: Value that needs to be set from the caller
  278. *
  279. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  280. */
  281. QDF_STATUS wlan_mlme_get_num_11b_tx_chains(struct wlan_objmgr_psoc *psoc,
  282. uint16_t *value);
  283. /**
  284. * wlan_mlme_get_num_11ag_tx_chains() - get the total number of 11a/g tx chains
  285. *
  286. * @psoc: pointer to psoc object
  287. * @value: Value that needs to be set from the caller
  288. *
  289. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  290. */
  291. QDF_STATUS wlan_mlme_get_num_11ag_tx_chains(struct wlan_objmgr_psoc *psoc,
  292. uint16_t *value);
  293. /**
  294. * wlan_mlme_configure_chain_mask() - configure chainmask parameters
  295. *
  296. * @psoc: pointer to psoc object
  297. * @session_id: vdev_id
  298. *
  299. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  300. */
  301. QDF_STATUS wlan_mlme_configure_chain_mask(struct wlan_objmgr_psoc *psoc,
  302. uint8_t session_id);
  303. /**
  304. * wlan_mlme_set_sap_listen_interval() - Set the sap listen interval
  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_sap_listen_interval(struct wlan_objmgr_psoc *psoc,
  311. int value);
  312. /**
  313. * wlan_mlme_set_assoc_sta_limit() - Set the assoc sta limit
  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_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
  320. int value);
  321. /**
  322. * wlan_mlme_set_rmc_action_period_freq() - Set the rmc action period frequency
  323. * @psoc: pointer to psoc object
  324. * @value: Value that needs to be set from the caller
  325. *
  326. * Return: QDF Status
  327. */
  328. QDF_STATUS wlan_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
  329. int value);
  330. /**
  331. * wlan_mlme_set_sap_get_peer_info() - get the sap get peer info
  332. * @psoc: pointer to psoc object
  333. * @value: Value that needs to be set from the caller
  334. *
  335. * Return: QDF Status
  336. */
  337. QDF_STATUS wlan_mlme_get_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
  338. bool *value);
  339. /**
  340. * wlan_mlme_get_sap_allow_all_channels() - get the value of sap allow all
  341. * channels
  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_get_sap_allow_all_channels(struct wlan_objmgr_psoc *psoc,
  348. bool *value);
  349. /**
  350. * wlan_mlme_get_sap_allow_all_channels() - get the value sap max 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_peers(struct wlan_objmgr_psoc *psoc,
  357. int *value);
  358. /**
  359. * wlan_mlme_set_sap_max_peers() - set the value sap max peers
  360. * @psoc: pointer to psoc object
  361. * @value: Value that needs to be set from the caller
  362. *
  363. * Return: QDF Status
  364. */
  365. QDF_STATUS wlan_mlme_set_sap_max_peers(struct wlan_objmgr_psoc *psoc,
  366. int value);
  367. /**
  368. * wlan_mlme_get_sap_max_offload_peers() - get the value sap max offload peers
  369. * @psoc: pointer to psoc object
  370. * @value: Value that needs to be set from the caller
  371. *
  372. * Return: QDF Status
  373. */
  374. QDF_STATUS wlan_mlme_get_sap_max_offload_peers(struct wlan_objmgr_psoc *psoc,
  375. int *value);
  376. /**
  377. * wlan_mlme_get_sap_max_offload_reorder_buffs() - get the value sap max offload
  378. * reorder buffs.
  379. * @psoc: pointer to psoc object
  380. * @value: Value that needs to be set from the caller
  381. *
  382. * Return: QDF Status
  383. */
  384. QDF_STATUS wlan_mlme_get_sap_max_offload_reorder_buffs(struct wlan_objmgr_psoc
  385. *psoc, int *value);
  386. /**
  387. * wlan_mlme_get_sap_chn_switch_bcn_count() - get the value sap max channel
  388. * switch beacon count
  389. * @psoc: pointer to psoc object
  390. * @value: Value that needs to be set from the caller
  391. *
  392. * Return: QDF Status
  393. */
  394. QDF_STATUS wlan_mlme_get_sap_chn_switch_bcn_count(struct wlan_objmgr_psoc *psoc,
  395. int *value);
  396. /**
  397. * wlan_mlme_get_sap_chn_switch_mode() - get the sap channel
  398. * switch mode
  399. * @psoc: pointer to psoc object
  400. * @value: Value that needs to be set from the caller
  401. *
  402. * Return: QDF Status
  403. */
  404. QDF_STATUS wlan_mlme_get_sap_chn_switch_mode(struct wlan_objmgr_psoc *psoc,
  405. bool *value);
  406. /**
  407. * wlan_mlme_get_sap_internal_restart() - get the sap internal
  408. * restart
  409. * @psoc: pointer to psoc object
  410. * @value: Value that needs to be set from the caller
  411. *
  412. * Return: QDF Status
  413. */
  414. QDF_STATUS wlan_mlme_get_sap_internal_restart(struct wlan_objmgr_psoc *psoc,
  415. bool *value);
  416. /**
  417. * wlan_mlme_get_sap_reduced_beacon_interval() - get the sap reduced
  418. * beacon interval
  419. * @psoc: pointer to psoc object
  420. * @value: Value that needs to be set from the caller
  421. *
  422. * Return: QDF Status
  423. */
  424. QDF_STATUS wlan_mlme_get_sap_reduced_beacon_interval(struct wlan_objmgr_psoc
  425. *psoc, int *value);
  426. /**
  427. * wlan_mlme_get_sap_chan_switch_rate_enabled() - get the sap rate hostapd
  428. * enabled beacon interval
  429. * @psoc: pointer to psoc object
  430. * @value: Value that needs to be set from the caller
  431. *
  432. * Return: QDF Status
  433. */
  434. QDF_STATUS wlan_mlme_get_sap_chan_switch_rate_enabled(struct wlan_objmgr_psoc
  435. *psoc, bool *value);
  436. /**
  437. * wlan_mlme_get_oce_sta_enabled_info() - Get the OCE feature enable
  438. * info for STA
  439. * @psoc: pointer to psoc object
  440. * @value: pointer to the value which will be filled for the caller
  441. *
  442. * Return: QDF Status
  443. */
  444. QDF_STATUS wlan_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
  445. bool *value);
  446. /**
  447. * wlan_mlme_get_oce_sap_enabled_info() - Get the OCE feature enable
  448. * info for SAP
  449. * @psoc: pointer to psoc object
  450. * @value: pointer to the value which will be filled for the caller
  451. *
  452. * Return: QDF Status
  453. */
  454. QDF_STATUS wlan_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc *psoc,
  455. bool *value);
  456. /**
  457. * wlan_mlme_get_rts_threshold() - Get the RTS threshold config
  458. * @psoc: pointer to psoc object
  459. * @value: pointer to the value which will be filled for the caller
  460. *
  461. * Return: QDF Status
  462. */
  463. QDF_STATUS wlan_mlme_get_rts_threshold(struct wlan_objmgr_psoc *psoc,
  464. uint32_t *value);
  465. /**
  466. * wlan_mlme_set_rts_threshold() - Set the RTS threshold config
  467. * @psoc: pointer to psoc object
  468. * @value: Value that needs to be set from the caller
  469. *
  470. * Return: QDF Status
  471. */
  472. QDF_STATUS wlan_mlme_set_rts_threshold(struct wlan_objmgr_psoc *psoc,
  473. uint32_t value);
  474. /**
  475. * wlan_mlme_get_frag_threshold() - Get the Fragmentation threshold
  476. * config
  477. * @psoc: pointer to psoc object
  478. * @value: pointer to the value which will be filled for the caller
  479. *
  480. * Return: QDF Status
  481. */
  482. QDF_STATUS wlan_mlme_get_frag_threshold(struct wlan_objmgr_psoc *psoc,
  483. uint32_t *value);
  484. /**
  485. * wlan_mlme_set_frag_threshold() - Set the Fragmentation threshold
  486. * config
  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_frag_threshold(struct wlan_objmgr_psoc *psoc,
  493. uint32_t value);
  494. /**
  495. * wlan_mlme_get_fils_enabled_info() - Get the fils enable info for driver
  496. * @psoc: pointer to psoc object
  497. * @value: pointer to the value which will be filled for the caller
  498. *
  499. * Return: QDF Status
  500. */
  501. QDF_STATUS wlan_mlme_get_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  502. bool *value);
  503. /**
  504. * wlan_mlme_set_fils_enabled_info() - Set the fils enable info for driver
  505. * @psoc: pointer to psoc object
  506. * @value: value that needs to be set from the caller
  507. *
  508. * Return: QDF Status
  509. */
  510. QDF_STATUS wlan_mlme_set_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  511. bool value);
  512. /**
  513. * wlan_mlme_get_wmm_dir_ac_vo() - Get TSPEC direction
  514. * for VO
  515. * @psoc: pointer to psoc object
  516. * @value: Value that needs to be set from the caller
  517. *
  518. * Return: QDF Status
  519. */
  520. QDF_STATUS
  521. wlan_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc,
  522. uint8_t *value);
  523. /**
  524. * wlan_mlme_get_wmm_nom_msdu_size_ac_vo() - Get normal
  525. * MSDU size for VO
  526. * @psoc: pointer to psoc object
  527. * @value: Value that needs to be set from the caller
  528. *
  529. * Return: QDF Status
  530. */
  531. QDF_STATUS
  532. wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc,
  533. uint16_t *value);
  534. /**
  535. * wlan_mlme_get_wmm_mean_data_rate_ac_vo() - mean data rate for VO
  536. * @psoc: pointer to psoc object
  537. * @value: Value that needs to be set from the caller
  538. *
  539. * Return: QDF Status
  540. */
  541. QDF_STATUS
  542. wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  543. uint32_t *value);
  544. /**
  545. * wlan_mlme_get_wmm_min_phy_rate_ac_vo() - min PHY
  546. * rate for VO
  547. * @psoc: pointer to psoc object
  548. * @value: Value that needs to be set from the caller
  549. *
  550. * Return: QDF Status
  551. */
  552. QDF_STATUS
  553. wlan_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  554. uint32_t *value);
  555. /**
  556. * wlan_mlme_get_wmm_sba_ac_vo() - surplus bandwidth allowance for VO
  557. * @psoc: pointer to psoc object
  558. * @value: Value that needs to be set from the caller
  559. *
  560. * Return: QDF Status
  561. */
  562. QDF_STATUS
  563. wlan_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  564. /**
  565. * wlan_mlme_set_enable_bcast_probe_rsp() - Set enable bcast probe resp info
  566. * @psoc: pointer to psoc object
  567. * @value: value that needs to be set from the caller
  568. *
  569. * Return: QDF Status
  570. */
  571. QDF_STATUS wlan_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc *psoc,
  572. bool value);
  573. /**
  574. * wlan_mlme_get_wmm_uapsd_vo_srv_intv() - Get Uapsd service
  575. * interval for voice
  576. * @psoc: pointer to psoc object
  577. * @value: pointer to the value which will be filled for the caller
  578. *
  579. * Return: QDF Status
  580. */
  581. QDF_STATUS
  582. wlan_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc *psoc,
  583. uint32_t *value);
  584. /**
  585. * wlan_mlme_get_wmm_uapsd_vo_sus_intv() - Get Uapsd suspension
  586. * interval for voice
  587. * @psoc: pointer to psoc object
  588. * @value: pointer to the value which will be filled for the caller
  589. *
  590. * Return: QDF Status
  591. */
  592. QDF_STATUS
  593. wlan_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc,
  594. uint32_t *value);
  595. #endif /* _WLAN_MLME_API_H_ */