wlan_mlme_api.h 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195
  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_prevent_link_down_cfg() - Get the prevent link down config
  186. * @psoc: pointer to psoc object
  187. * @prevent_link_down: Pointer to the variable from caller
  188. *
  189. * Return: QDF Status
  190. */
  191. QDF_STATUS wlan_mlme_get_prevent_link_down_cfg(struct wlan_objmgr_psoc *psoc,
  192. bool *prevent_link_down);
  193. /**
  194. * wlan_mlme_get_select_5ghz_margin_cfg() - Get the select 5Ghz margin config
  195. * @psoc: pointer to psoc object
  196. * @select_5ghz_margin: Pointer to the variable from caller
  197. *
  198. * Return: QDF Status
  199. */
  200. QDF_STATUS wlan_mlme_get_select_5ghz_margin_cfg(struct wlan_objmgr_psoc *psoc,
  201. uint8_t *select_5ghz_margin);
  202. /**
  203. * wlan_mlme_get_crash_inject_cfg() - Get the crash inject config
  204. * @psoc: pointer to psoc object
  205. * @crash_inject: Pointer to the variable from caller
  206. *
  207. * Return: QDF Status
  208. */
  209. QDF_STATUS wlan_mlme_get_crash_inject_cfg(struct wlan_objmgr_psoc *psoc,
  210. bool *crash_inject);
  211. /**
  212. * wlan_mlme_get_lpass_support() - Get the LPASS Support config
  213. * @psoc: pointer to psoc object
  214. * @lpass_support: Pointer to the variable from caller
  215. *
  216. * Return: QDF Status
  217. */
  218. QDF_STATUS wlan_mlme_get_lpass_support(struct wlan_objmgr_psoc *psoc,
  219. bool *lpass_support);
  220. /**
  221. * wlan_mlme_get_acs_with_more_param() - Get the acs_with_more_param flag
  222. * @psoc: pointer to psoc object
  223. * @value: Value that needs to be set from the caller
  224. *
  225. * Return: QDF Status
  226. */
  227. QDF_STATUS wlan_mlme_get_acs_with_more_param(struct wlan_objmgr_psoc *psoc,
  228. bool *value);
  229. /**
  230. * wlan_mlme_get_auto_channel_weight() - Get the auto channel weight
  231. * @psoc: pointer to psoc object
  232. * @value: Value that needs to be set from the caller
  233. *
  234. * Return: QDF Status
  235. */
  236. QDF_STATUS wlan_mlme_get_auto_channel_weight(struct wlan_objmgr_psoc *psoc,
  237. uint32_t *value);
  238. /**
  239. * wlan_mlme_get_vendor_acs_support() - Get the vendor based channel selece
  240. * @psoc: pointer to psoc object
  241. * @value: Value that needs to be set from the caller
  242. *
  243. * Return: QDF Status
  244. */
  245. QDF_STATUS wlan_mlme_get_vendor_acs_support(struct wlan_objmgr_psoc *psoc,
  246. bool *value);
  247. /**
  248. * wlan_mlme_get_acs_support_for_dfs_ltecoex() - Get the flag for
  249. * acs support for dfs ltecoex
  250. * @psoc: pointer to psoc object
  251. * @value: Value that needs to be set from the caller
  252. *
  253. * Return: QDF Status
  254. */
  255. QDF_STATUS
  256. wlan_mlme_get_acs_support_for_dfs_ltecoex(struct wlan_objmgr_psoc *psoc,
  257. bool *value);
  258. /**
  259. * wlan_mlme_get_external_acs_policy() - Get the flag for external acs policy
  260. *
  261. * @psoc: pointer to psoc object
  262. * @value: Value that needs to be set from the caller
  263. *
  264. * Return: QDF Status
  265. */
  266. QDF_STATUS
  267. wlan_mlme_get_external_acs_policy(struct wlan_objmgr_psoc *psoc,
  268. bool *value);
  269. /**
  270. *
  271. * wlan_mlme_get_sap_inactivity_override() - Check if sap max inactivity
  272. * override flag is set.
  273. * @psoc: pointer to psoc object
  274. * @sme_config - Sme config struct
  275. *
  276. * Return: QDF Status
  277. */
  278. void wlan_mlme_get_sap_inactivity_override(struct wlan_objmgr_psoc *psoc,
  279. bool *value);
  280. /**
  281. * wlan_mlme_get_ignore_peer_ht_mode() - Get the ignore peer ht opmode flag
  282. * @psoc: pointer to psoc object
  283. * @value: Value that needs to be set from the caller
  284. *
  285. * Return: QDF Status
  286. */
  287. QDF_STATUS wlan_mlme_get_ignore_peer_ht_mode(struct wlan_objmgr_psoc *psoc,
  288. bool *value);
  289. /**
  290. * wlan_mlme_get_tx_chainmask_cck() - Get the tx_chainmask_cfg value
  291. *
  292. * @psoc: pointer to psoc object
  293. * @value: Value that needs to be set from the caller
  294. *
  295. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  296. */
  297. QDF_STATUS wlan_mlme_get_tx_chainmask_cck(struct wlan_objmgr_psoc *psoc,
  298. bool *value);
  299. /**
  300. * wlan_mlme_get_tx_chainmask_1ss() - Get the tx_chainmask_1ss value
  301. *
  302. * @psoc: pointer to psoc object
  303. * @value: Value that needs to be set from the caller
  304. *
  305. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  306. */
  307. QDF_STATUS wlan_mlme_get_tx_chainmask_1ss(struct wlan_objmgr_psoc *psoc,
  308. uint8_t *value);
  309. /**
  310. * wlan_mlme_get_num_11b_tx_chains() - Get the number of 11b only tx chains
  311. *
  312. * @psoc: pointer to psoc object
  313. * @value: Value that needs to be set from the caller
  314. *
  315. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  316. */
  317. QDF_STATUS wlan_mlme_get_num_11b_tx_chains(struct wlan_objmgr_psoc *psoc,
  318. uint16_t *value);
  319. /**
  320. * wlan_mlme_get_num_11ag_tx_chains() - get the total number of 11a/g tx chains
  321. *
  322. * @psoc: pointer to psoc object
  323. * @value: Value that needs to be set from the caller
  324. *
  325. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  326. */
  327. QDF_STATUS wlan_mlme_get_num_11ag_tx_chains(struct wlan_objmgr_psoc *psoc,
  328. uint16_t *value);
  329. /**
  330. * wlan_mlme_configure_chain_mask() - configure chainmask parameters
  331. *
  332. * @psoc: pointer to psoc object
  333. * @session_id: vdev_id
  334. *
  335. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  336. */
  337. QDF_STATUS wlan_mlme_configure_chain_mask(struct wlan_objmgr_psoc *psoc,
  338. uint8_t session_id);
  339. /**
  340. * wlan_mlme_set_sap_listen_interval() - Set the sap listen interval
  341. * @psoc: pointer to psoc object
  342. * @value: Value that needs to be set from the caller
  343. *
  344. * Return: QDF Status
  345. */
  346. QDF_STATUS wlan_mlme_set_sap_listen_interval(struct wlan_objmgr_psoc *psoc,
  347. int value);
  348. /**
  349. * wlan_mlme_set_assoc_sta_limit() - Set the assoc sta limit
  350. * @psoc: pointer to psoc object
  351. * @value: Value that needs to be set from the caller
  352. *
  353. * Return: QDF Status
  354. */
  355. QDF_STATUS wlan_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
  356. int value);
  357. /**
  358. * wlan_mlme_set_rmc_action_period_freq() - Set the rmc action period frequency
  359. * @psoc: pointer to psoc object
  360. * @value: Value that needs to be set from the caller
  361. *
  362. * Return: QDF Status
  363. */
  364. QDF_STATUS wlan_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
  365. int value);
  366. /**
  367. * wlan_mlme_set_sap_get_peer_info() - get the sap get peer info
  368. * @psoc: pointer to psoc object
  369. * @value: Value that needs to be set from the caller
  370. *
  371. * Return: QDF Status
  372. */
  373. QDF_STATUS wlan_mlme_get_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
  374. bool *value);
  375. /**
  376. * wlan_mlme_get_sap_allow_all_channels() - get the value of sap allow all
  377. * channels
  378. * @psoc: pointer to psoc object
  379. * @value: Value that needs to be set from the caller
  380. *
  381. * Return: QDF Status
  382. */
  383. QDF_STATUS wlan_mlme_get_sap_allow_all_channels(struct wlan_objmgr_psoc *psoc,
  384. bool *value);
  385. /**
  386. * wlan_mlme_get_sap_allow_all_channels() - get the value sap max peers
  387. * @psoc: pointer to psoc object
  388. * @value: Value that needs to be set from the caller
  389. *
  390. * Return: QDF Status
  391. */
  392. QDF_STATUS wlan_mlme_get_sap_max_peers(struct wlan_objmgr_psoc *psoc,
  393. int *value);
  394. /**
  395. * wlan_mlme_set_sap_max_peers() - set the value sap max peers
  396. * @psoc: pointer to psoc object
  397. * @value: Value that needs to be set from the caller
  398. *
  399. * Return: QDF Status
  400. */
  401. QDF_STATUS wlan_mlme_set_sap_max_peers(struct wlan_objmgr_psoc *psoc,
  402. int value);
  403. /**
  404. * wlan_mlme_get_sap_max_offload_peers() - get the value sap max offload peers
  405. * @psoc: pointer to psoc object
  406. * @value: Value that needs to be set from the caller
  407. *
  408. * Return: QDF Status
  409. */
  410. QDF_STATUS wlan_mlme_get_sap_max_offload_peers(struct wlan_objmgr_psoc *psoc,
  411. int *value);
  412. /**
  413. * wlan_mlme_get_sap_max_offload_reorder_buffs() - get the value sap max offload
  414. * reorder buffs.
  415. * @psoc: pointer to psoc object
  416. * @value: Value that needs to be set from the caller
  417. *
  418. * Return: QDF Status
  419. */
  420. QDF_STATUS wlan_mlme_get_sap_max_offload_reorder_buffs(struct wlan_objmgr_psoc
  421. *psoc, int *value);
  422. /**
  423. * wlan_mlme_get_sap_chn_switch_bcn_count() - get the value sap max channel
  424. * switch beacon count
  425. * @psoc: pointer to psoc object
  426. * @value: Value that needs to be set from the caller
  427. *
  428. * Return: QDF Status
  429. */
  430. QDF_STATUS wlan_mlme_get_sap_chn_switch_bcn_count(struct wlan_objmgr_psoc *psoc,
  431. int *value);
  432. /**
  433. * wlan_mlme_get_sap_chn_switch_mode() - get the sap channel
  434. * switch mode
  435. * @psoc: pointer to psoc object
  436. * @value: Value that needs to be set from the caller
  437. *
  438. * Return: QDF Status
  439. */
  440. QDF_STATUS wlan_mlme_get_sap_chn_switch_mode(struct wlan_objmgr_psoc *psoc,
  441. bool *value);
  442. /**
  443. * wlan_mlme_get_sap_internal_restart() - get the sap internal
  444. * restart
  445. * @psoc: pointer to psoc object
  446. * @value: Value that needs to be set from the caller
  447. *
  448. * Return: QDF Status
  449. */
  450. QDF_STATUS wlan_mlme_get_sap_internal_restart(struct wlan_objmgr_psoc *psoc,
  451. bool *value);
  452. /**
  453. * wlan_mlme_get_sap_reduced_beacon_interval() - get the sap reduced
  454. * beacon interval
  455. * @psoc: pointer to psoc object
  456. * @value: Value that needs to be set from the caller
  457. *
  458. * Return: QDF Status
  459. */
  460. QDF_STATUS wlan_mlme_get_sap_reduced_beacon_interval(struct wlan_objmgr_psoc
  461. *psoc, int *value);
  462. /**
  463. * wlan_mlme_get_sap_chan_switch_rate_enabled() - get the sap rate hostapd
  464. * enabled beacon interval
  465. * @psoc: pointer to psoc object
  466. * @value: Value that needs to be set from the caller
  467. *
  468. * Return: QDF Status
  469. */
  470. QDF_STATUS wlan_mlme_get_sap_chan_switch_rate_enabled(struct wlan_objmgr_psoc
  471. *psoc, bool *value);
  472. /**
  473. * wlan_mlme_get_oce_sta_enabled_info() - Get the OCE feature enable
  474. * info for STA
  475. * @psoc: pointer to psoc object
  476. * @value: pointer to the value which will be filled for the caller
  477. *
  478. * Return: QDF Status
  479. */
  480. QDF_STATUS wlan_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
  481. bool *value);
  482. /**
  483. * wlan_mlme_get_oce_sap_enabled_info() - Get the OCE feature enable
  484. * info for SAP
  485. * @psoc: pointer to psoc object
  486. * @value: pointer to the value which will be filled for the caller
  487. *
  488. * Return: QDF Status
  489. */
  490. QDF_STATUS wlan_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc *psoc,
  491. bool *value);
  492. /**
  493. * wlan_mlme_get_rts_threshold() - Get the RTS threshold config
  494. * @psoc: pointer to psoc object
  495. * @value: pointer to the value which will be filled for the caller
  496. *
  497. * Return: QDF Status
  498. */
  499. QDF_STATUS wlan_mlme_get_rts_threshold(struct wlan_objmgr_psoc *psoc,
  500. uint32_t *value);
  501. /**
  502. * wlan_mlme_set_rts_threshold() - Set the RTS threshold config
  503. * @psoc: pointer to psoc object
  504. * @value: Value that needs to be set from the caller
  505. *
  506. * Return: QDF Status
  507. */
  508. QDF_STATUS wlan_mlme_set_rts_threshold(struct wlan_objmgr_psoc *psoc,
  509. uint32_t value);
  510. /**
  511. * wlan_mlme_get_frag_threshold() - Get the Fragmentation threshold
  512. * config
  513. * @psoc: pointer to psoc object
  514. * @value: pointer to the value which will be filled for the caller
  515. *
  516. * Return: QDF Status
  517. */
  518. QDF_STATUS wlan_mlme_get_frag_threshold(struct wlan_objmgr_psoc *psoc,
  519. uint32_t *value);
  520. /**
  521. * wlan_mlme_set_frag_threshold() - Set the Fragmentation threshold
  522. * config
  523. * @psoc: pointer to psoc object
  524. * @value: Value that needs to be set from the caller
  525. *
  526. * Return: QDF Status
  527. */
  528. QDF_STATUS wlan_mlme_set_frag_threshold(struct wlan_objmgr_psoc *psoc,
  529. uint32_t value);
  530. /**
  531. * wlan_mlme_get_fils_enabled_info() - Get the fils enable info for driver
  532. * @psoc: pointer to psoc object
  533. * @value: pointer to the value which will be filled for the caller
  534. *
  535. * Return: QDF Status
  536. */
  537. QDF_STATUS wlan_mlme_get_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  538. bool *value);
  539. /**
  540. * wlan_mlme_set_fils_enabled_info() - Set the fils enable info for driver
  541. * @psoc: pointer to psoc object
  542. * @value: value that needs to be set from the caller
  543. *
  544. * Return: QDF Status
  545. */
  546. QDF_STATUS wlan_mlme_set_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  547. bool value);
  548. /**
  549. * wlan_mlme_get_wmm_dir_ac_vo() - Get TSPEC direction
  550. * for VO
  551. * @psoc: pointer to psoc object
  552. * @value: Value that needs to be set from the caller
  553. *
  554. * Return: QDF Status
  555. */
  556. QDF_STATUS
  557. wlan_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc,
  558. uint8_t *value);
  559. /**
  560. * wlan_mlme_get_wmm_nom_msdu_size_ac_vo() - Get normal
  561. * MSDU size for VO
  562. * @psoc: pointer to psoc object
  563. * @value: Value that needs to be set from the caller
  564. *
  565. * Return: QDF Status
  566. */
  567. QDF_STATUS
  568. wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc,
  569. uint16_t *value);
  570. /**
  571. * wlan_mlme_get_wmm_mean_data_rate_ac_vo() - mean data rate for VO
  572. * @psoc: pointer to psoc object
  573. * @value: Value that needs to be set from the caller
  574. *
  575. * Return: QDF Status
  576. */
  577. QDF_STATUS
  578. wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  579. uint32_t *value);
  580. /**
  581. * wlan_mlme_get_wmm_min_phy_rate_ac_vo() - min PHY
  582. * rate for VO
  583. * @psoc: pointer to psoc object
  584. * @value: Value that needs to be set from the caller
  585. *
  586. * Return: QDF Status
  587. */
  588. QDF_STATUS
  589. wlan_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  590. uint32_t *value);
  591. /**
  592. * wlan_mlme_get_wmm_sba_ac_vo() - surplus bandwidth allowance for VO
  593. * @psoc: pointer to psoc object
  594. * @value: Value that needs to be set from the caller
  595. *
  596. * Return: QDF Status
  597. */
  598. QDF_STATUS
  599. wlan_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  600. /**
  601. * wlan_mlme_set_enable_bcast_probe_rsp() - Set enable bcast probe resp info
  602. * @psoc: pointer to psoc object
  603. * @value: value that needs to be set from the caller
  604. *
  605. * Return: QDF Status
  606. */
  607. QDF_STATUS wlan_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc *psoc,
  608. bool value);
  609. /**
  610. * wlan_mlme_get_wmm_uapsd_vo_srv_intv() - Get Uapsd service
  611. * interval for voice
  612. * @psoc: pointer to psoc object
  613. * @value: pointer to the value which will be filled for the caller
  614. *
  615. * Return: QDF Status
  616. */
  617. QDF_STATUS
  618. wlan_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc *psoc,
  619. uint32_t *value);
  620. /**
  621. * wlan_mlme_get_wmm_uapsd_vo_sus_intv() - Get Uapsd suspension
  622. * interval for voice
  623. * @psoc: pointer to psoc object
  624. * @value: pointer to the value which will be filled for the caller
  625. *
  626. * Return: QDF Status
  627. */
  628. QDF_STATUS
  629. wlan_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc,
  630. uint32_t *value);
  631. /**
  632. * wlan_mlme_cfg_get_vht_max_mpdu_len() - gets vht max mpdu length from cfg item
  633. * @psoc: psoc context
  634. * @value: pointer to get required data
  635. *
  636. * Return: QDF_STATUS
  637. */
  638. QDF_STATUS wlan_mlme_cfg_get_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
  639. uint8_t *value);
  640. /**
  641. * wlan_mlme_cfg_set_vht_max_mpdu_len() - sets vht max mpdu length into cfg item
  642. * @psoc: psoc context
  643. * @value: data to be set
  644. *
  645. * Return: QDF_STATUS
  646. */
  647. QDF_STATUS wlan_mlme_cfg_set_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
  648. uint8_t value);
  649. /**
  650. * wlan_mlme_cfg_get_vht_chan_width() - gets vht supported channel width from
  651. * cfg item
  652. * @psoc: psoc context
  653. * @value: pointer to get required data
  654. *
  655. * Return: QDF_STATUS
  656. */
  657. QDF_STATUS wlan_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  658. uint8_t *value);
  659. /**
  660. * wlan_mlme_cfg_set_vht_chan_width() - sets vht supported channel width into
  661. * cfg item
  662. * @psoc: psoc context
  663. * @value: data to be set
  664. *
  665. * Return: QDF_STATUS
  666. */
  667. QDF_STATUS wlan_mlme_cfg_set_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  668. uint8_t value);
  669. /**
  670. * wlan_mlme_cfg_get_vht_ldpc_coding_cap() - gets vht ldpc coding cap from
  671. * cfg item
  672. * @psoc: psoc context
  673. * @value: pointer to get required data
  674. *
  675. * Return: QDF_STATUS
  676. */
  677. QDF_STATUS wlan_mlme_cfg_get_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc,
  678. bool *value);
  679. /**
  680. * wlan_mlme_cfg_set_vht_ldpc_coding_cap() - sets vht ldpc coding cap into
  681. * cfg item
  682. * @psoc: psoc context
  683. * @value: data to be set
  684. *
  685. * Return: QDF_STATUS
  686. */
  687. QDF_STATUS wlan_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc,
  688. bool value);
  689. /**
  690. * wlan_mlme_cfg_get_vht_short_gi_80mhz() - gets vht short gi 80MHz from
  691. * cfg item
  692. * @psoc: psoc context
  693. * @value: pointer to get required data
  694. *
  695. * Return: QDF_STATUS
  696. */
  697. QDF_STATUS wlan_mlme_cfg_get_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc,
  698. bool *value);
  699. /**
  700. * wlan_mlme_cfg_set_vht_short_gi_80mhz() - sets vht short gi 80MHz into
  701. * cfg item
  702. * @psoc: psoc context
  703. * @value: data to be set
  704. *
  705. * Return: QDF_STATUS
  706. */
  707. QDF_STATUS wlan_mlme_cfg_set_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc,
  708. bool value);
  709. /**
  710. * wlan_mlme_cfg_get_vht_short_gi_160mhz() - gets vht short gi 160MHz from
  711. * cfg item
  712. * @psoc: psoc context
  713. * @value: pointer to get required data
  714. *
  715. * Return: QDF_STATUS
  716. */
  717. QDF_STATUS wlan_mlme_cfg_get_vht_short_gi_160mhz(struct wlan_objmgr_psoc *psoc,
  718. bool *value);
  719. /**
  720. * wlan_mlme_cfg_set_vht_short_gi_160mhz() - sets vht short gi 160MHz into
  721. * cfg item
  722. * @psoc: psoc context
  723. * @value: data to be set
  724. *
  725. * Return: QDF_STATUS
  726. */
  727. QDF_STATUS wlan_mlme_cfg_set_vht_short_gi_160mhz(struct wlan_objmgr_psoc *psoc,
  728. bool value);
  729. /**
  730. * wlan_mlme_cfg_get_vht_tx_stbc() - gets vht tx stbc from
  731. * cfg item
  732. * @psoc: psoc context
  733. * @value: pointer to get required data
  734. *
  735. * Return: QDF_STATUS
  736. */
  737. QDF_STATUS wlan_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc,
  738. bool *value);
  739. /**
  740. * wlan_mlme_cfg_set_vht_tx_stbc() - sets vht tx stbc into
  741. * cfg item
  742. * @psoc: psoc context
  743. * @value: data to be set
  744. *
  745. * Return: QDF_STATUS
  746. */
  747. QDF_STATUS wlan_mlme_cfg_set_vht_tx_stbc(struct wlan_objmgr_psoc *psoc,
  748. bool value);
  749. /**
  750. * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from
  751. * cfg item
  752. * @psoc: psoc context
  753. * @value: pointer to get required data
  754. *
  755. * Return: QDF_STATUS
  756. */
  757. QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  758. bool *value);
  759. /**
  760. * wlan_mlme_cfg_set_vht_rx_stbc() - sets vht rx stbc into
  761. * cfg item
  762. * @psoc: psoc context
  763. * @value: data to be set
  764. *
  765. * Return: QDF_STATUS
  766. */
  767. QDF_STATUS wlan_mlme_cfg_set_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  768. bool value);
  769. /**
  770. * wlan_mlme_cfg_get_vht_su_bformer() - gets vht su beam former cap from
  771. * cfg item
  772. * @psoc: psoc context
  773. * @value: pointer to get required data
  774. *
  775. * Return: QDF_STATUS
  776. */
  777. QDF_STATUS wlan_mlme_cfg_get_vht_su_bformer(struct wlan_objmgr_psoc *psoc,
  778. bool *value);
  779. /**
  780. * wlan_mlme_cfg_set_vht_su_bformer() - sets vht su beam former cap into
  781. * cfg item
  782. * @psoc: psoc context
  783. * @value: data to be set
  784. *
  785. * Return: QDF_STATUS
  786. */
  787. QDF_STATUS wlan_mlme_cfg_set_vht_su_bformer(struct wlan_objmgr_psoc *psoc,
  788. bool value);
  789. /**
  790. * wlan_mlme_cfg_set_vht_su_bformee() - sets vht su beam formee cap into
  791. * cfg item
  792. * @psoc: psoc context
  793. * @value: data to be set
  794. *
  795. * Return: QDF_STATUS
  796. */
  797. QDF_STATUS wlan_mlme_cfg_set_vht_su_bformee(struct wlan_objmgr_psoc *psoc,
  798. bool value);
  799. /**
  800. * wlan_mlme_cfg_set_vht_tx_bfee_ant_supp() - sets vht Beamformee antenna support cap
  801. * into cfg item
  802. * @psoc: psoc context
  803. * @value: data to be set
  804. *
  805. * Return: QDF_STATUS
  806. */
  807. QDF_STATUS wlan_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
  808. uint8_t value);
  809. /**
  810. * wlan_mlme_cfg_set_vht_num_sounding_dim() - sets vht no of sounding dimensions
  811. * into cfg item
  812. * @psoc: psoc context
  813. * @value: data to be set
  814. *
  815. * Return: QDF_STATUS
  816. */
  817. QDF_STATUS wlan_mlme_cfg_set_vht_num_sounding_dim(struct wlan_objmgr_psoc *psoc,
  818. uint8_t value);
  819. /**
  820. * wlan_mlme_cfg_get_vht_mu_bformer() - gets vht mu beam former cap from
  821. * cfg item
  822. * @psoc: psoc context
  823. * @value: pointer to get required data
  824. *
  825. * Return: QDF_STATUS
  826. */
  827. QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformer(struct wlan_objmgr_psoc *psoc,
  828. bool *value);
  829. /**
  830. * wlan_mlme_cfg_set_vht_mu_bformer() - sets vht mu beam former cap into
  831. * cfg item
  832. * @psoc: psoc context
  833. * @value: data to be set
  834. *
  835. * Return: QDF_STATUS
  836. */
  837. QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformer(struct wlan_objmgr_psoc *psoc,
  838. bool value);
  839. /**
  840. * wlan_mlme_cfg_get_vht_mu_bformee() - gets vht mu beam formee cap from
  841. * cfg item
  842. * @psoc: psoc context
  843. * @value: pointer to get required data
  844. *
  845. * Return: QDF_STATUS
  846. */
  847. QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformee(struct wlan_objmgr_psoc *psoc,
  848. bool *value);
  849. /**
  850. * wlan_mlme_cfg_set_vht_mu_bformee() - sets vht mu beam formee cap into
  851. * cfg item
  852. * @psoc: psoc context
  853. * @value: data to be set
  854. *
  855. * Return: QDF_STATUS
  856. */
  857. QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformee(struct wlan_objmgr_psoc *psoc,
  858. bool value);
  859. /**
  860. * wlan_mlme_cfg_get_vht_txop_ps() - gets vht tx ops ps cap from
  861. * cfg item
  862. * @psoc: psoc context
  863. * @value: pointer to get required data
  864. *
  865. * Return: QDF_STATUS
  866. */
  867. QDF_STATUS wlan_mlme_cfg_get_vht_txop_ps(struct wlan_objmgr_psoc *psoc,
  868. bool *value);
  869. /**
  870. * wlan_mlme_cfg_set_vht_txop_ps() - sets vht tx ops ps cap into
  871. * cfg item
  872. * @psoc: psoc context
  873. * @value: data to be set
  874. *
  875. * Return: QDF_STATUS
  876. */
  877. QDF_STATUS wlan_mlme_cfg_set_vht_txop_ps(struct wlan_objmgr_psoc *psoc,
  878. bool value);
  879. /**
  880. * wlan_mlme_cfg_get_vht_ampdu_len_exp() - gets vht max AMPDU length exponent from
  881. * cfg item
  882. * @psoc: psoc context
  883. * @value: pointer to get required data
  884. *
  885. * Return: QDF_STATUS
  886. */
  887. QDF_STATUS wlan_mlme_cfg_get_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
  888. uint8_t *value);
  889. /**
  890. * wlan_mlme_cfg_set_vht_ampdu_len_exp() - sets vht max AMPDU length exponent into
  891. * cfg item
  892. * @psoc: psoc context
  893. * @value: data to be set
  894. *
  895. * Return: QDF_STATUS
  896. */
  897. QDF_STATUS wlan_mlme_cfg_set_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
  898. uint8_t value);
  899. /**
  900. * wlan_mlme_cfg_get_vht_rx_mcs_map() - gets vht rx mcs map from
  901. * cfg item
  902. * @psoc: psoc context
  903. * @value: pointer to get required data
  904. *
  905. * Return: QDF_STATUS
  906. */
  907. QDF_STATUS wlan_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc,
  908. uint32_t *value);
  909. /**
  910. * wlan_mlme_cfg_set_vht_rx_mcs_map() - sets rx mcs map into
  911. * cfg item
  912. * @psoc: psoc context
  913. * @value: data to be set
  914. *
  915. * Return: QDF_STATUS
  916. */
  917. QDF_STATUS wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc,
  918. uint32_t value);
  919. /**
  920. * wlan_mlme_cfg_get_vht_tx_mcs_map() - gets vht tx mcs map from
  921. * cfg item
  922. * @psoc: psoc context
  923. * @value: pointer to get required data
  924. *
  925. * Return: QDF_STATUS
  926. */
  927. QDF_STATUS wlan_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc,
  928. uint32_t *value);
  929. /**
  930. * wlan_mlme_cfg_set_vht_tx_mcs_map() - sets tx mcs map into
  931. * cfg item
  932. * @psoc: psoc context
  933. * @value: data to be set
  934. *
  935. * Return: QDF_STATUS
  936. */
  937. QDF_STATUS wlan_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc,
  938. uint32_t value);
  939. /**
  940. * wlan_mlme_cfg_set_vht_rx_supp_data_rate() - sets rx supported data rate into
  941. * cfg item
  942. * @psoc: psoc context
  943. * @value: data to be set
  944. *
  945. * Return: QDF_STATUS
  946. */
  947. QDF_STATUS
  948. wlan_mlme_cfg_set_vht_rx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
  949. uint32_t value);
  950. /**
  951. * wlan_mlme_cfg_set_vht_tx_supp_data_rate() - sets tx supported data rate into
  952. * cfg item
  953. * @psoc: psoc context
  954. * @value: data to be set
  955. *
  956. * Return: QDF_STATUS
  957. */
  958. QDF_STATUS
  959. wlan_mlme_cfg_set_vht_tx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
  960. uint32_t value);
  961. /**
  962. * wlan_mlme_cfg_get_vht_basic_mcs_set() - gets basic mcs set from
  963. * cfg item
  964. * @psoc: psoc context
  965. * @value: data to be set
  966. *
  967. * Return: QDF_STATUS
  968. */
  969. QDF_STATUS wlan_mlme_cfg_get_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
  970. uint32_t *value);
  971. /**
  972. * wlan_mlme_cfg_set_vht_basic_mcs_set() - sets basic mcs set into
  973. * cfg item
  974. * @psoc: psoc context
  975. * @value: data to be set
  976. *
  977. * Return: QDF_STATUS
  978. */
  979. QDF_STATUS wlan_mlme_cfg_set_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
  980. uint32_t value);
  981. /**
  982. * wlan_mlme_get_vht_channel_width() - gets Channel width capability
  983. * for 11ac
  984. * @psoc: psoc context
  985. * @value: data to be set
  986. *
  987. * Return: QDF_STATUS
  988. */
  989. QDF_STATUS wlan_mlme_get_vht_channel_width(struct wlan_objmgr_psoc *psoc,
  990. uint8_t *value);
  991. /**
  992. * wlan_mlme_get_vht_rx_mcs_8_9() - VHT Rx MCS capability for 1x1 mode
  993. * @psoc: psoc context
  994. * @value: data to be set
  995. *
  996. * Return: QDF_STATUS
  997. */
  998. QDF_STATUS wlan_mlme_get_vht_rx_mcs_8_9(struct wlan_objmgr_psoc *psoc,
  999. uint8_t *value);
  1000. /**
  1001. * wlan_mlme_get_vht_tx_mcs_8_9() - VHT Tx MCS capability for 1x1 mode
  1002. * @psoc: psoc context
  1003. * @value: data to be set
  1004. *
  1005. * Return: QDF_STATUS
  1006. */
  1007. QDF_STATUS wlan_mlme_get_vht_tx_mcs_8_9(struct wlan_objmgr_psoc *psoc,
  1008. uint8_t *value);
  1009. /**
  1010. * wlan_mlme_get_vht_rx_mcs_2x2() - VHT Rx MCS capability for 2x2 mode
  1011. * @psoc: psoc context
  1012. * @value: data to be set
  1013. *
  1014. * Return: QDF_STATUS
  1015. */
  1016. QDF_STATUS wlan_mlme_get_vht_rx_mcs_2x2(struct wlan_objmgr_psoc *psoc,
  1017. uint8_t *value);
  1018. /**
  1019. * wlan_mlme_get_vht_tx_mcs_2x2() - VHT Tx MCS capability for 2x2 mode
  1020. * @psoc: psoc context
  1021. * @value: data to be set
  1022. *
  1023. * Return: QDF_STATUS
  1024. */
  1025. QDF_STATUS wlan_mlme_get_vht_tx_mcs_2x2(struct wlan_objmgr_psoc *psoc,
  1026. uint8_t *value);
  1027. /**
  1028. * wlan_mlme_get_vht20_mcs9() - Enables VHT MCS9 in 20M BW operation
  1029. * @psoc: psoc context
  1030. * @value: data to be set
  1031. *
  1032. * Return: QDF_STATUS
  1033. */
  1034. QDF_STATUS wlan_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc *psoc,
  1035. bool *value);
  1036. /**
  1037. * wlan_mlme_get_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
  1038. * @psoc: psoc context
  1039. * @value: data to be set
  1040. *
  1041. * Return: QDF_STATUS
  1042. */
  1043. QDF_STATUS wlan_mlme_get_vht_enable2x2(struct wlan_objmgr_psoc *psoc,
  1044. bool *value);
  1045. /**
  1046. * wlan_mlme_set_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
  1047. * @psoc: psoc context
  1048. * @value: data to be set
  1049. *
  1050. * Return: QDF_STATUS
  1051. */
  1052. QDF_STATUS wlan_mlme_set_vht_enable2x2(struct wlan_objmgr_psoc *psoc,
  1053. bool value);
  1054. /**
  1055. * wlan_mlme_get_vht_enable_paid() - Enables/disables paid feature
  1056. * @psoc: psoc context
  1057. * @value: data to be set
  1058. *
  1059. * Return: QDF_STATUS
  1060. */
  1061. QDF_STATUS wlan_mlme_get_vht_enable_paid(struct wlan_objmgr_psoc *psoc,
  1062. bool *value);
  1063. /**
  1064. * wlan_mlme_get_vht_enable_gid() - Enables/disables VHT GID feature
  1065. * @psoc: psoc context
  1066. * @value: data to be set
  1067. *
  1068. * Return: QDF_STATUS
  1069. */
  1070. QDF_STATUS wlan_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc *psoc,
  1071. bool *value);
  1072. /**
  1073. * wlan_mlme_get_vht_for_24ghz() - Enables/disables VHT for 24 ghz
  1074. * @psoc: psoc context
  1075. * @value: data to be set
  1076. *
  1077. * Return: QDF_STATUS
  1078. */
  1079. QDF_STATUS wlan_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc *psoc,
  1080. bool *value);
  1081. /**
  1082. * wlan_mlme_get_vendor_vht_for_24ghz() - nables/disables vendor VHT for 24 ghz
  1083. * @psoc: psoc context
  1084. * @value: data to be set
  1085. *
  1086. * Return: QDF_STATUS
  1087. */
  1088. QDF_STATUS wlan_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc,
  1089. bool *value);
  1090. #endif /* _WLAN_MLME_API_H_ */