wlan_mlme_api.h 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775
  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_max_amsdu_num() - get the max amsdu num
  168. * @psoc: pointer to psoc object
  169. * @value: pointer to the value where the max_amsdu num is to be filled
  170. *
  171. * Return: QDF_STATUS
  172. */
  173. QDF_STATUS wlan_mlme_get_max_amsdu_num(struct wlan_objmgr_psoc *psoc,
  174. uint8_t *value);
  175. /**
  176. * wlan_mlme_set_max_amsdu_num() - set the max amsdu num
  177. * @psoc: pointer to psoc object
  178. * @value: value to be set for max_amsdu_num
  179. *
  180. * Return: QDF_STATUS
  181. */
  182. QDF_STATUS wlan_mlme_set_max_amsdu_num(struct wlan_objmgr_psoc *psoc,
  183. uint8_t value);
  184. /**
  185. * wlan_mlme_get_ht_mpdu_density() - get the ht mpdu density
  186. * @psoc: pointer to psoc object
  187. * @value: pointer to the value where the ht mpdu density is to be filled
  188. *
  189. * Return: QDF_STATUS
  190. */
  191. QDF_STATUS wlan_mlme_get_ht_mpdu_density(struct wlan_objmgr_psoc *psoc,
  192. uint8_t *value);
  193. /**
  194. * wlan_mlme_set_ht_mpdu_density() - set the ht mpdu density
  195. * @psoc: pointer to psoc object
  196. * @value: value to be set for ht mpdu density
  197. *
  198. * Return: QDF_STATUS
  199. */
  200. QDF_STATUS wlan_mlme_set_ht_mpdu_density(struct wlan_objmgr_psoc *psoc,
  201. uint8_t value);
  202. /**
  203. * wlan_mlme_get_band_capability() - Get the Band capability config
  204. * @psoc: pointer to psoc object
  205. * @band_capability: Pointer to the variable from caller
  206. *
  207. * Return: QDF Status
  208. */
  209. QDF_STATUS wlan_mlme_get_band_capability(struct wlan_objmgr_psoc *psoc,
  210. uint8_t *band_capability);
  211. /**
  212. * wlan_mlme_set_band_capability() - Set the Band capability config
  213. * @psoc: pointer to psoc object
  214. * @band_capability: Value to be set from the caller
  215. *
  216. * Return: QDF Status
  217. */
  218. QDF_STATUS wlan_mlme_set_band_capability(struct wlan_objmgr_psoc *psoc,
  219. uint8_t band_capability);
  220. /**
  221. * wlan_mlme_get_prevent_link_down() - Get the prevent link down config
  222. * @psoc: pointer to psoc object
  223. * @prevent_link_down: Pointer to the variable from caller
  224. *
  225. * Return: QDF Status
  226. */
  227. QDF_STATUS wlan_mlme_get_prevent_link_down(struct wlan_objmgr_psoc *psoc,
  228. bool *prevent_link_down);
  229. /**
  230. * wlan_mlme_get_select_5ghz_margin() - Get the select 5Ghz margin config
  231. * @psoc: pointer to psoc object
  232. * @select_5ghz_margin: Pointer to the variable from caller
  233. *
  234. * Return: QDF Status
  235. */
  236. QDF_STATUS wlan_mlme_get_select_5ghz_margin(struct wlan_objmgr_psoc *psoc,
  237. uint8_t *select_5ghz_margin);
  238. /**
  239. * wlan_mlme_get_rtt_mac_randomization() - Get the RTT MAC randomization config
  240. * @psoc: pointer to psoc object
  241. * @rtt_mac_randomization: Pointer to the variable from caller
  242. *
  243. * Return: QDF Status
  244. */
  245. QDF_STATUS wlan_mlme_get_rtt_mac_randomization(struct wlan_objmgr_psoc *psoc,
  246. bool *rtt_mac_randomization);
  247. /**
  248. * wlan_mlme_get_crash_inject() - Get the crash inject config
  249. * @psoc: pointer to psoc object
  250. * @crash_inject: Pointer to the variable from caller
  251. *
  252. * Return: QDF Status
  253. */
  254. QDF_STATUS wlan_mlme_get_crash_inject(struct wlan_objmgr_psoc *psoc,
  255. bool *crash_inject);
  256. /**
  257. * wlan_mlme_get_lpass_support() - Get the LPASS Support config
  258. * @psoc: pointer to psoc object
  259. * @lpass_support: Pointer to the variable from caller
  260. *
  261. * Return: QDF Status
  262. */
  263. QDF_STATUS wlan_mlme_get_lpass_support(struct wlan_objmgr_psoc *psoc,
  264. bool *lpass_support);
  265. /**
  266. * wlan_mlme_get_self_recovery() - Get the self recovery config
  267. * @psoc: pointer to psoc object
  268. * @self_recovery: Pointer to the variable from caller
  269. *
  270. * Return: QDF Status
  271. */
  272. QDF_STATUS wlan_mlme_get_self_recovery(struct wlan_objmgr_psoc *psoc,
  273. bool *self_recovery);
  274. /**
  275. * wlan_mlme_get_sub_20_chan_width() - Get the sub 20 chan width config
  276. * @psoc: pointer to psoc object
  277. * @sub_20_chan_width: Pointer to the variable from caller
  278. *
  279. * Return: QDF Status
  280. */
  281. QDF_STATUS wlan_mlme_get_sub_20_chan_width(struct wlan_objmgr_psoc *psoc,
  282. uint8_t *sub_20_chan_width);
  283. /**
  284. * wlan_mlme_get_fw_timeout_crash() - Get the fw timeout crash config
  285. * @psoc: pointer to psoc object
  286. * @fw_timeout_crash: Pointer to the variable from caller
  287. *
  288. * Return: QDF Status
  289. */
  290. QDF_STATUS wlan_mlme_get_fw_timeout_crash(struct wlan_objmgr_psoc *psoc,
  291. bool *fw_timeout_crash);
  292. /**
  293. * wlan_mlme_get_ito_repeat_count() - Get the fw timeout crash config
  294. * @psoc: pointer to psoc object
  295. * @ito_repeat_count: Pointer to the variable from caller
  296. *
  297. * Return: QDF Status
  298. */
  299. QDF_STATUS wlan_mlme_get_ito_repeat_count(struct wlan_objmgr_psoc *psoc,
  300. uint8_t *ito_repeat_count);
  301. /**
  302. * wlan_mlme_get_acs_with_more_param() - Get the acs_with_more_param flag
  303. * @psoc: pointer to psoc object
  304. * @value: Value that needs to be set from the caller
  305. *
  306. * Return: QDF Status
  307. */
  308. QDF_STATUS wlan_mlme_get_acs_with_more_param(struct wlan_objmgr_psoc *psoc,
  309. bool *value);
  310. /**
  311. * wlan_mlme_get_auto_channel_weight() - Get the auto channel weight
  312. * @psoc: pointer to psoc object
  313. * @value: Value that needs to be set from the caller
  314. *
  315. * Return: QDF Status
  316. */
  317. QDF_STATUS wlan_mlme_get_auto_channel_weight(struct wlan_objmgr_psoc *psoc,
  318. uint32_t *value);
  319. /**
  320. * wlan_mlme_get_vendor_acs_support() - Get the vendor based channel selece
  321. * @psoc: pointer to psoc object
  322. * @value: Value that needs to be set from the caller
  323. *
  324. * Return: QDF Status
  325. */
  326. QDF_STATUS wlan_mlme_get_vendor_acs_support(struct wlan_objmgr_psoc *psoc,
  327. bool *value);
  328. /**
  329. * wlan_mlme_get_acs_support_for_dfs_ltecoex() - Get the flag for
  330. * acs support for dfs ltecoex
  331. * @psoc: pointer to psoc object
  332. * @value: Value that needs to be set from the caller
  333. *
  334. * Return: QDF Status
  335. */
  336. QDF_STATUS
  337. wlan_mlme_get_acs_support_for_dfs_ltecoex(struct wlan_objmgr_psoc *psoc,
  338. bool *value);
  339. /**
  340. * wlan_mlme_get_external_acs_policy() - Get the flag for external acs policy
  341. *
  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
  348. wlan_mlme_get_external_acs_policy(struct wlan_objmgr_psoc *psoc,
  349. bool *value);
  350. /**
  351. *
  352. * wlan_mlme_get_sap_inactivity_override() - Check if sap max inactivity
  353. * override flag is set.
  354. * @psoc: pointer to psoc object
  355. * @sme_config - Sme config struct
  356. *
  357. * Return: QDF Status
  358. */
  359. void wlan_mlme_get_sap_inactivity_override(struct wlan_objmgr_psoc *psoc,
  360. bool *value);
  361. /**
  362. * wlan_mlme_get_ignore_peer_ht_mode() - Get the ignore peer ht opmode flag
  363. * @psoc: pointer to psoc object
  364. * @value: Value that needs to be set from the caller
  365. *
  366. * Return: QDF Status
  367. */
  368. QDF_STATUS wlan_mlme_get_ignore_peer_ht_mode(struct wlan_objmgr_psoc *psoc,
  369. bool *value);
  370. /**
  371. * wlan_mlme_get_tx_chainmask_cck() - Get the tx_chainmask_cfg value
  372. *
  373. * @psoc: pointer to psoc object
  374. * @value: Value that needs to be set from the caller
  375. *
  376. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  377. */
  378. QDF_STATUS wlan_mlme_get_tx_chainmask_cck(struct wlan_objmgr_psoc *psoc,
  379. bool *value);
  380. /**
  381. * wlan_mlme_get_tx_chainmask_1ss() - Get the tx_chainmask_1ss value
  382. *
  383. * @psoc: pointer to psoc object
  384. * @value: Value that needs to be set from the caller
  385. *
  386. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  387. */
  388. QDF_STATUS wlan_mlme_get_tx_chainmask_1ss(struct wlan_objmgr_psoc *psoc,
  389. uint8_t *value);
  390. /**
  391. * wlan_mlme_get_num_11b_tx_chains() - Get the number of 11b only tx chains
  392. *
  393. * @psoc: pointer to psoc object
  394. * @value: Value that needs to be set from the caller
  395. *
  396. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  397. */
  398. QDF_STATUS wlan_mlme_get_num_11b_tx_chains(struct wlan_objmgr_psoc *psoc,
  399. uint16_t *value);
  400. /**
  401. * wlan_mlme_get_num_11ag_tx_chains() - get the total number of 11a/g tx chains
  402. *
  403. * @psoc: pointer to psoc object
  404. * @value: Value that needs to be set from the caller
  405. *
  406. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  407. */
  408. QDF_STATUS wlan_mlme_get_num_11ag_tx_chains(struct wlan_objmgr_psoc *psoc,
  409. uint16_t *value);
  410. /**
  411. * wlan_mlme_configure_chain_mask() - configure chainmask parameters
  412. *
  413. * @psoc: pointer to psoc object
  414. * @session_id: vdev_id
  415. *
  416. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  417. */
  418. QDF_STATUS wlan_mlme_configure_chain_mask(struct wlan_objmgr_psoc *psoc,
  419. uint8_t session_id);
  420. /**
  421. * wlan_mlme_set_sap_listen_interval() - Set the sap listen interval
  422. * @psoc: pointer to psoc object
  423. * @value: Value that needs to be set from the caller
  424. *
  425. * Return: QDF Status
  426. */
  427. QDF_STATUS wlan_mlme_set_sap_listen_interval(struct wlan_objmgr_psoc *psoc,
  428. int value);
  429. /**
  430. * wlan_mlme_set_assoc_sta_limit() - Set the assoc sta limit
  431. * @psoc: pointer to psoc object
  432. * @value: Value that needs to be set from the caller
  433. *
  434. * Return: QDF Status
  435. */
  436. QDF_STATUS wlan_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
  437. int value);
  438. /**
  439. * wlan_mlme_set_rmc_action_period_freq() - Set the rmc action period frequency
  440. * @psoc: pointer to psoc object
  441. * @value: Value that needs to be set from the caller
  442. *
  443. * Return: QDF Status
  444. */
  445. QDF_STATUS wlan_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
  446. int value);
  447. /**
  448. * wlan_mlme_set_sap_get_peer_info() - get the sap get peer info
  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_get_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
  455. bool *value);
  456. /**
  457. * wlan_mlme_get_sap_allow_all_channels() - get the value of sap allow all
  458. * channels
  459. * @psoc: pointer to psoc object
  460. * @value: Value that needs to be set from the caller
  461. *
  462. * Return: QDF Status
  463. */
  464. QDF_STATUS wlan_mlme_get_sap_allow_all_channels(struct wlan_objmgr_psoc *psoc,
  465. bool *value);
  466. /**
  467. * wlan_mlme_get_sap_allow_all_channels() - get the value sap max peers
  468. * @psoc: pointer to psoc object
  469. * @value: Value that needs to be set from the caller
  470. *
  471. * Return: QDF Status
  472. */
  473. QDF_STATUS wlan_mlme_get_sap_max_peers(struct wlan_objmgr_psoc *psoc,
  474. int *value);
  475. /**
  476. * wlan_mlme_set_sap_max_peers() - set the value sap max peers
  477. * @psoc: pointer to psoc object
  478. * @value: Value that needs to be set from the caller
  479. *
  480. * Return: QDF Status
  481. */
  482. QDF_STATUS wlan_mlme_set_sap_max_peers(struct wlan_objmgr_psoc *psoc,
  483. int value);
  484. /**
  485. * wlan_mlme_get_sap_max_offload_peers() - get the value sap max offload peers
  486. * @psoc: pointer to psoc object
  487. * @value: Value that needs to be set from the caller
  488. *
  489. * Return: QDF Status
  490. */
  491. QDF_STATUS wlan_mlme_get_sap_max_offload_peers(struct wlan_objmgr_psoc *psoc,
  492. int *value);
  493. /**
  494. * wlan_mlme_get_sap_max_offload_reorder_buffs() - get the value sap max offload
  495. * reorder buffs.
  496. * @psoc: pointer to psoc object
  497. * @value: Value that needs to be set from the caller
  498. *
  499. * Return: QDF Status
  500. */
  501. QDF_STATUS wlan_mlme_get_sap_max_offload_reorder_buffs(struct wlan_objmgr_psoc
  502. *psoc, int *value);
  503. /**
  504. * wlan_mlme_get_sap_chn_switch_bcn_count() - get the value sap max channel
  505. * switch beacon count
  506. * @psoc: pointer to psoc object
  507. * @value: Value that needs to be set from the caller
  508. *
  509. * Return: QDF Status
  510. */
  511. QDF_STATUS wlan_mlme_get_sap_chn_switch_bcn_count(struct wlan_objmgr_psoc *psoc,
  512. int *value);
  513. /**
  514. * wlan_mlme_get_sap_chn_switch_mode() - get the sap channel
  515. * switch mode
  516. * @psoc: pointer to psoc object
  517. * @value: Value that needs to be set from the caller
  518. *
  519. * Return: QDF Status
  520. */
  521. QDF_STATUS wlan_mlme_get_sap_chn_switch_mode(struct wlan_objmgr_psoc *psoc,
  522. bool *value);
  523. /**
  524. * wlan_mlme_get_sap_internal_restart() - get the sap internal
  525. * restart
  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 wlan_mlme_get_sap_internal_restart(struct wlan_objmgr_psoc *psoc,
  532. bool *value);
  533. /**
  534. * wlan_mlme_get_sap_max_modulated_dtim() - get the max modulated dtim
  535. * restart
  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 wlan_mlme_get_sap_max_modulated_dtim(struct wlan_objmgr_psoc *psoc,
  542. uint8_t *value);
  543. /**
  544. * wlan_mlme_get_sap_chan_pref_location() - get the sap chan pref location
  545. * restart
  546. * @psoc: pointer to psoc object
  547. * @value: Value that needs to be set from the caller
  548. *
  549. * Return: QDF Status
  550. */
  551. QDF_STATUS wlan_mlme_get_sap_chan_pref_location(struct wlan_objmgr_psoc *psoc,
  552. uint8_t *value);
  553. /**
  554. * wlan_mlme_get_sap_country_priority() - get the sap country code priority
  555. * restart
  556. * @psoc: pointer to psoc object
  557. * @value: Value that needs to be set from the caller
  558. *
  559. * Return: QDF Status
  560. */
  561. QDF_STATUS wlan_mlme_get_sap_country_priority(struct wlan_objmgr_psoc *psoc,
  562. bool *value);
  563. /**
  564. * wlan_mlme_get_sap_reduced_beacon_interval() - get the sap reduced
  565. * beacon interval
  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_get_sap_reduced_beacon_interval(struct wlan_objmgr_psoc
  572. *psoc, int *value);
  573. /**
  574. * wlan_mlme_get_sap_chan_switch_rate_enabled() - get the sap rate hostapd
  575. * enabled beacon interval
  576. * @psoc: pointer to psoc object
  577. * @value: Value that needs to be set from the caller
  578. *
  579. * Return: QDF Status
  580. */
  581. QDF_STATUS wlan_mlme_get_sap_chan_switch_rate_enabled(struct wlan_objmgr_psoc
  582. *psoc, bool *value);
  583. /**
  584. * wlan_mlme_get_oce_sta_enabled_info() - Get the OCE feature enable
  585. * info for STA
  586. * @psoc: pointer to psoc object
  587. * @value: pointer to the value which will be filled for the caller
  588. *
  589. * Return: QDF Status
  590. */
  591. QDF_STATUS wlan_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
  592. bool *value);
  593. /**
  594. * wlan_mlme_get_oce_sap_enabled_info() - Get the OCE feature enable
  595. * info for SAP
  596. * @psoc: pointer to psoc object
  597. * @value: pointer to the value which will be filled for the caller
  598. *
  599. * Return: QDF Status
  600. */
  601. QDF_STATUS wlan_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc *psoc,
  602. bool *value);
  603. #ifdef WLAN_FEATURE_11AX
  604. /**
  605. * wlan_mlme_cfg_get_he_ul_mumimo() - Get the HE Ul Mumio
  606. * @psoc: pointer to psoc object
  607. * @value: Value that needs to be set from the caller
  608. *
  609. * Return: QDF Status
  610. */
  611. QDF_STATUS wlan_mlme_cfg_get_he_ul_mumimo(struct wlan_objmgr_psoc *psoc,
  612. uint32_t *value);
  613. /**
  614. * wlan_mlme_cfg_set_he_ul_mumimo() - Set the HE Ul Mumio
  615. * @psoc: pointer to psoc object
  616. * @value: Value that needs to be set from the caller
  617. *
  618. * Return: QDF Status
  619. */
  620. QDF_STATUS wlan_mlme_cfg_set_he_ul_mumimo(struct wlan_objmgr_psoc *psoc,
  621. uint32_t value);
  622. /**
  623. * wlan_mlme_cfg_get_enable_ul_mimo() - Get the HE Ul mimo
  624. * @psoc: pointer to psoc object
  625. * @value: Value that needs to be set from the caller
  626. *
  627. * Return: QDF Status
  628. */
  629. QDF_STATUS wlan_mlme_cfg_get_enable_ul_mimo(struct wlan_objmgr_psoc *psoc,
  630. uint8_t *value);
  631. /**
  632. * wlan_mlme_cfg_get_enable_ul_ofdm() - Get enable ul ofdm
  633. * @psoc: pointer to psoc object
  634. * @value: Value that needs to be set from the caller
  635. *
  636. * Return: QDF Status
  637. */
  638. QDF_STATUS wlan_mlme_cfg_get_enable_ul_ofdm(struct wlan_objmgr_psoc *psoc,
  639. uint8_t *value);
  640. /**
  641. * mlme_update_tgt_he_caps_in_cfg() - Update tgt he cap in mlme component
  642. *
  643. * @psoc: pointer to psoc object
  644. * @cfg: pointer to config params from target
  645. *
  646. * This api to be used by callers to update
  647. * he caps in mlme.
  648. *
  649. * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
  650. */
  651. QDF_STATUS mlme_update_tgt_he_caps_in_cfg(struct wlan_objmgr_psoc *psoc,
  652. struct wma_tgt_cfg *cfg);
  653. #endif
  654. /**
  655. * wlan_mlme_get_rts_threshold() - Get the RTS threshold config
  656. * @psoc: pointer to psoc object
  657. * @value: pointer to the value which will be filled for the caller
  658. *
  659. * Return: QDF Status
  660. */
  661. QDF_STATUS wlan_mlme_get_rts_threshold(struct wlan_objmgr_psoc *psoc,
  662. uint32_t *value);
  663. /**
  664. * wlan_mlme_set_rts_threshold() - Set the RTS threshold config
  665. * @psoc: pointer to psoc object
  666. * @value: Value that needs to be set from the caller
  667. *
  668. * Return: QDF Status
  669. */
  670. QDF_STATUS wlan_mlme_set_rts_threshold(struct wlan_objmgr_psoc *psoc,
  671. uint32_t value);
  672. /**
  673. * wlan_mlme_get_frag_threshold() - Get the Fragmentation threshold
  674. * config
  675. * @psoc: pointer to psoc object
  676. * @value: pointer to the value which will be filled for the caller
  677. *
  678. * Return: QDF Status
  679. */
  680. QDF_STATUS wlan_mlme_get_frag_threshold(struct wlan_objmgr_psoc *psoc,
  681. uint32_t *value);
  682. /**
  683. * wlan_mlme_set_frag_threshold() - Set the Fragmentation threshold
  684. * config
  685. * @psoc: pointer to psoc object
  686. * @value: Value that needs to be set from the caller
  687. *
  688. * Return: QDF Status
  689. */
  690. QDF_STATUS wlan_mlme_set_frag_threshold(struct wlan_objmgr_psoc *psoc,
  691. uint32_t value);
  692. /**
  693. * wlan_mlme_get_fils_enabled_info() - Get the fils enable info for driver
  694. * @psoc: pointer to psoc object
  695. * @value: pointer to the value which will be filled for the caller
  696. *
  697. * Return: QDF Status
  698. */
  699. QDF_STATUS wlan_mlme_get_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  700. bool *value);
  701. /**
  702. * wlan_mlme_set_fils_enabled_info() - Set the fils enable info for driver
  703. * @psoc: pointer to psoc object
  704. * @value: value that needs to be set from the caller
  705. *
  706. * Return: QDF Status
  707. */
  708. QDF_STATUS wlan_mlme_set_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  709. bool value);
  710. /**
  711. * wlan_mlme_get_wmm_dir_ac_vi() - Get TSPEC direction
  712. * for VI
  713. * @psoc: pointer to psoc object
  714. * @value: Value that needs to be set from the caller
  715. *
  716. * Return: QDF Status
  717. */
  718. QDF_STATUS
  719. wlan_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc,
  720. uint8_t *value);
  721. /**
  722. * wlan_mlme_get_wmm_nom_msdu_size_ac_vi() - Get normal
  723. * MSDU size for VI
  724. * @psoc: pointer to psoc object
  725. * @value: Value that needs to be set from the caller
  726. *
  727. * Return: QDF Status
  728. */
  729. QDF_STATUS
  730. wlan_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc,
  731. uint16_t *value);
  732. /**
  733. * wlan_mlme_get_wmm_mean_data_rate_ac_vi() - mean data
  734. * rate for VI
  735. * @psoc: pointer to psoc object
  736. * @value: Value that needs to be set from the caller
  737. *
  738. * Return: QDF Status
  739. */
  740. QDF_STATUS
  741. wlan_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc,
  742. uint32_t *value);
  743. /**
  744. * wlan_mlme_get_wmm_min_phy_rate_ac_vi() - min PHY
  745. * rate for VI
  746. * @psoc: pointer to psoc object
  747. * @value: Value that needs to be set from the caller
  748. *
  749. * Return: QDF Status
  750. */
  751. QDF_STATUS
  752. wlan_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc,
  753. uint32_t *value);
  754. /**
  755. * wlan_mlme_get_wmm_sba_ac_vi() - surplus bandwidth
  756. * allowance for VI
  757. * @psoc: pointer to psoc object
  758. * @value: Value that needs to be set from the caller
  759. *
  760. * Return: QDF Status
  761. */
  762. QDF_STATUS
  763. wlan_mlme_get_wmm_sba_ac_vi(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  764. /**
  765. * wlan_mlme_get_wmm_uapsd_vi_srv_intv() - Get Uapsd service
  766. * interval for video
  767. * @psoc: pointer to psoc object
  768. * @value: pointer to the value which will be filled for the caller
  769. *
  770. * Return: QDF Status
  771. */
  772. QDF_STATUS
  773. wlan_mlme_get_wmm_uapsd_vi_srv_intv(struct wlan_objmgr_psoc *psoc,
  774. uint32_t *value);
  775. /**
  776. * wlan_mlme_get_wmm_uapsd_vi_sus_intv() - Get Uapsd suspension
  777. * interval for video
  778. * @psoc: pointer to psoc object
  779. * @value: pointer to the value which will be filled for the caller
  780. *
  781. * Return: QDF Status
  782. */
  783. QDF_STATUS
  784. wlan_mlme_get_wmm_uapsd_vi_sus_intv(struct wlan_objmgr_psoc *psoc,
  785. uint32_t *value);
  786. /**
  787. * wlan_mlme_get_wmm_dir_ac_be() - Get TSPEC direction
  788. * for BE
  789. * @psoc: pointer to psoc object
  790. * @value: Value that needs to be set from the caller
  791. *
  792. * Return: QDF Status
  793. */
  794. QDF_STATUS
  795. wlan_mlme_get_wmm_dir_ac_be(struct wlan_objmgr_psoc *psoc,
  796. uint8_t *value);
  797. /**
  798. * wlan_mlme_get_wmm_nom_msdu_size_ac_be() - Get normal
  799. * MSDU size for BE
  800. * @psoc: pointer to psoc object
  801. * @value: Value that needs to be set from the caller
  802. *
  803. * Return: QDF Status
  804. */
  805. QDF_STATUS
  806. wlan_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc,
  807. uint16_t *value);
  808. /**
  809. * wlan_mlme_get_wmm_mean_data_rate_ac_be() - mean data
  810. * rate for BE
  811. * @psoc: pointer to psoc object
  812. * @value: Value that needs to be set from the caller
  813. *
  814. * Return: QDF Status
  815. */
  816. QDF_STATUS
  817. wlan_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc,
  818. uint32_t *value);
  819. /**
  820. * wlan_mlme_get_wmm_min_phy_rate_ac_be() - min PHY
  821. * rate for BE
  822. * @psoc: pointer to psoc object
  823. * @value: Value that needs to be set from the caller
  824. *
  825. * Return: QDF Status
  826. */
  827. QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_be(struct wlan_objmgr_psoc *psoc,
  828. uint32_t *value);
  829. /**
  830. * wlan_mlme_get_wmm_sba_ac_be() - surplus bandwidth
  831. * allowance for BE
  832. * @psoc: pointer to psoc object
  833. * @value: Value that needs to be set from the caller
  834. *
  835. * Return: QDF Status
  836. */
  837. QDF_STATUS wlan_mlme_get_wmm_sba_ac_be(struct wlan_objmgr_psoc *psoc,
  838. uint16_t *value);
  839. /**
  840. * wlan_mlme_get_wmm_uapsd_be_srv_intv() - Get Uapsd service
  841. * interval for BE
  842. * @psoc: pointer to psoc object
  843. * @value: pointer to the value which will be filled for the caller
  844. *
  845. * Return: QDF Status
  846. */
  847. QDF_STATUS wlan_mlme_get_wmm_uapsd_be_srv_intv(struct wlan_objmgr_psoc *psoc,
  848. uint32_t *value);
  849. /**
  850. * wlan_mlme_get_wmm_uapsd_be_sus_intv() - Get Uapsd suspension
  851. * interval for BE
  852. * @psoc: pointer to psoc object
  853. * @value: pointer to the value which will be filled for the caller
  854. *
  855. * Return: QDF Status
  856. */
  857. QDF_STATUS wlan_mlme_get_wmm_uapsd_be_sus_intv(struct wlan_objmgr_psoc *psoc,
  858. uint32_t *value);
  859. /**
  860. * wlan_mlme_get_wmm_dir_ac_bk() - Get TSPEC direction
  861. * for BK
  862. * @psoc: pointer to psoc object
  863. * @value: Value that needs to be set from the caller
  864. *
  865. * Return: QDF Status
  866. */
  867. QDF_STATUS
  868. wlan_mlme_get_wmm_dir_ac_bk(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  869. /**
  870. * wlan_mlme_get_wmm_nom_msdu_size_ac_bk() - Get normal
  871. * MSDU size for BK
  872. * @psoc: pointer to psoc object
  873. * @value: Value that needs to be set from the caller
  874. *
  875. * Return: QDF Status
  876. */
  877. QDF_STATUS
  878. wlan_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc,
  879. uint16_t *value);
  880. /**
  881. * wlan_mlme_get_wmm_mean_data_rate_ac_bk() - mean data
  882. * rate for BK
  883. * @psoc: pointer to psoc object
  884. * @value: Value that needs to be set from the caller
  885. *
  886. * Return: QDF Status
  887. */
  888. QDF_STATUS
  889. wlan_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc,
  890. uint32_t *value);
  891. /**
  892. * wlan_mlme_get_wmm_min_phy_rate_ac_bk() - min PHY
  893. * rate for BK
  894. * @psoc: pointer to psoc object
  895. * @value: Value that needs to be set from the caller
  896. *
  897. * Return: QDF Status
  898. */
  899. QDF_STATUS
  900. wlan_mlme_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc *psoc,
  901. uint32_t *value);
  902. /**
  903. * wlan_mlme_get_wmm_sba_ac_bk() - surplus bandwidth
  904. * allowance for BE
  905. * @psoc: pointer to psoc object
  906. * @value: Value that needs to be set from the caller
  907. *
  908. * Return: QDF Status
  909. */
  910. QDF_STATUS
  911. wlan_mlme_get_wmm_sba_ac_bk(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  912. /**
  913. * wlan_mlme_get_wmm_uapsd_bk_srv_intv() - Get Uapsd service
  914. * interval for BK
  915. * @psoc: pointer to psoc object
  916. * @value: pointer to the value which will be filled for the caller
  917. *
  918. * Return: QDF Status
  919. */
  920. QDF_STATUS
  921. wlan_mlme_get_wmm_uapsd_bk_srv_intv(struct wlan_objmgr_psoc *psoc,
  922. uint32_t *value);
  923. /**
  924. * wlan_mlme_get_wmm_uapsd_bk_sus_intv() - Get Uapsd suspension
  925. * interval for BK
  926. * @psoc: pointer to psoc object
  927. * @value: pointer to the value which will be filled for the caller
  928. *
  929. * Return: QDF Status
  930. */
  931. QDF_STATUS
  932. wlan_mlme_get_wmm_uapsd_bk_sus_intv(struct wlan_objmgr_psoc *psoc,
  933. uint32_t *value);
  934. /**
  935. * wlan_mlme_get_wmm_mode() - Enable WMM feature
  936. * @psoc: pointer to psoc object
  937. * @value: pointer to the value which will be filled for the caller
  938. *
  939. * Return: QDF Status
  940. */
  941. QDF_STATUS
  942. wlan_mlme_get_wmm_mode(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  943. /**
  944. * wlan_mlme_get_80211e_is_enabled() - Enable 802.11e feature
  945. * @psoc: pointer to psoc object
  946. * @value: pointer to the value which will be filled for the caller
  947. *
  948. * Return: QDF Status
  949. */
  950. QDF_STATUS
  951. wlan_mlme_get_80211e_is_enabled(struct wlan_objmgr_psoc *psoc, bool *value);
  952. /**
  953. * wlan_mlme_get_wmm_uapsd_mask() - setup U-APSD mask for ACs
  954. * @psoc: pointer to psoc object
  955. * @value: pointer to the value which will be filled for the caller
  956. *
  957. * Return: QDF Status
  958. */
  959. QDF_STATUS
  960. wlan_mlme_get_wmm_uapsd_mask(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  961. /**
  962. * wlan_mlme_get_implicit_qos_is_enabled() - Enable implicit QOS
  963. * @psoc: pointer to psoc object
  964. * @value: pointer to the value which will be filled for the caller
  965. *
  966. * Return: QDF Status
  967. */
  968. QDF_STATUS
  969. wlan_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc,
  970. bool *value);
  971. #ifdef FEATURE_WLAN_ESE
  972. /**
  973. * wlan_mlme_get_inactivity_interval() - Infra Inactivity Interval
  974. * @psoc: pointer to psoc object
  975. * @value: pointer to the value which will be filled for the caller
  976. *
  977. * Return: None
  978. */
  979. void wlan_mlme_get_inactivity_interval(struct wlan_objmgr_psoc *psoc,
  980. uint32_t *value);
  981. #endif
  982. /**
  983. * wlan_mlme_get_is_ts_burst_size_enable() - Get TS burst size flag
  984. * @psoc: pointer to psoc object
  985. * @value: pointer to the value which will be filled for the caller
  986. *
  987. * Return: None
  988. */
  989. void wlan_mlme_get_is_ts_burst_size_enable(struct wlan_objmgr_psoc *psoc,
  990. bool *value);
  991. /**
  992. * wlan_mlme_get_ts_info_ack_policy() - Get TS ack policy
  993. * @psoc: pointer to psoc object
  994. * @value: pointer to the value which will be filled for the caller
  995. *
  996. * Return: None
  997. */
  998. void wlan_mlme_get_ts_info_ack_policy(struct wlan_objmgr_psoc *psoc,
  999. enum mlme_ts_info_ack_policy *value);
  1000. /**
  1001. * wlan_mlme_get_ts_acm_value_for_ac() - Get ACM value for AC
  1002. * @psoc: pointer to psoc object
  1003. * @value: pointer to the value which will be filled for the caller
  1004. *
  1005. * Return: QDF Status
  1006. */
  1007. QDF_STATUS
  1008. wlan_mlme_get_ts_acm_value_for_ac(struct wlan_objmgr_psoc *psoc, bool *value);
  1009. /**
  1010. * wlan_mlme_get_wmm_dir_ac_vo() - Get TSPEC direction
  1011. * for VO
  1012. * @psoc: pointer to psoc object
  1013. * @value: Value that needs to be set from the caller
  1014. *
  1015. * Return: QDF Status
  1016. */
  1017. QDF_STATUS wlan_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc,
  1018. uint8_t *value);
  1019. /**
  1020. * wlan_mlme_get_wmm_nom_msdu_size_ac_vo() - Get normal
  1021. * MSDU size for VO
  1022. * @psoc: pointer to psoc object
  1023. * @value: Value that needs to be set from the caller
  1024. *
  1025. * Return: QDF Status
  1026. */
  1027. QDF_STATUS
  1028. wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc,
  1029. uint16_t *value);
  1030. /**
  1031. * wlan_mlme_get_wmm_mean_data_rate_ac_vo() - mean data rate for VO
  1032. * @psoc: pointer to psoc object
  1033. * @value: Value that needs to be set from the caller
  1034. *
  1035. * Return: QDF Status
  1036. */
  1037. QDF_STATUS
  1038. wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  1039. uint32_t *value);
  1040. /**
  1041. * wlan_mlme_get_wmm_min_phy_rate_ac_vo() - min PHY
  1042. * rate for VO
  1043. * @psoc: pointer to psoc object
  1044. * @value: Value that needs to be set from the caller
  1045. *
  1046. * Return: QDF Status
  1047. */
  1048. QDF_STATUS
  1049. wlan_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  1050. uint32_t *value);
  1051. /**
  1052. * wlan_mlme_get_wmm_sba_ac_vo() - surplus bandwidth allowance for VO
  1053. * @psoc: pointer to psoc object
  1054. * @value: Value that needs to be set from the caller
  1055. *
  1056. * Return: QDF Status
  1057. */
  1058. QDF_STATUS
  1059. wlan_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  1060. /**
  1061. * wlan_mlme_set_enable_bcast_probe_rsp() - Set enable bcast probe resp info
  1062. * @psoc: pointer to psoc object
  1063. * @value: value that needs to be set from the caller
  1064. *
  1065. * Return: QDF Status
  1066. */
  1067. QDF_STATUS wlan_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc *psoc,
  1068. bool value);
  1069. /**
  1070. * wlan_mlme_get_wmm_uapsd_vo_srv_intv() - Get Uapsd service
  1071. * interval for voice
  1072. * @psoc: pointer to psoc object
  1073. * @value: pointer to the value which will be filled for the caller
  1074. *
  1075. * Return: QDF Status
  1076. */
  1077. QDF_STATUS
  1078. wlan_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc *psoc,
  1079. uint32_t *value);
  1080. /**
  1081. * wlan_mlme_get_wmm_uapsd_vo_sus_intv() - Get Uapsd suspension
  1082. * interval for voice
  1083. * @psoc: pointer to psoc object
  1084. * @value: pointer to the value which will be filled for the caller
  1085. *
  1086. * Return: QDF Status
  1087. */
  1088. QDF_STATUS
  1089. wlan_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc,
  1090. uint32_t *value);
  1091. /**
  1092. * wlan_mlme_cfg_get_vht_max_mpdu_len() - gets vht max mpdu length from cfg item
  1093. * @psoc: psoc context
  1094. * @value: pointer to get required data
  1095. *
  1096. * Return: QDF_STATUS
  1097. */
  1098. QDF_STATUS wlan_mlme_cfg_get_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
  1099. uint8_t *value);
  1100. /**
  1101. * wlan_mlme_cfg_set_vht_max_mpdu_len() - sets vht max mpdu length into cfg item
  1102. * @psoc: psoc context
  1103. * @value: data to be set
  1104. *
  1105. * Return: QDF_STATUS
  1106. */
  1107. QDF_STATUS wlan_mlme_cfg_set_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
  1108. uint8_t value);
  1109. /**
  1110. * wlan_mlme_cfg_get_vht_chan_width() - gets vht supported channel width from
  1111. * cfg item
  1112. * @psoc: psoc context
  1113. * @value: pointer to get required data
  1114. *
  1115. * Return: QDF_STATUS
  1116. */
  1117. QDF_STATUS wlan_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1118. uint8_t *value);
  1119. /**
  1120. * wlan_mlme_cfg_set_vht_chan_width() - sets vht supported channel width into
  1121. * cfg item
  1122. * @psoc: psoc context
  1123. * @value: data to be set
  1124. *
  1125. * Return: QDF_STATUS
  1126. */
  1127. QDF_STATUS wlan_mlme_cfg_set_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1128. uint8_t value);
  1129. /**
  1130. * wlan_mlme_cfg_get_vht_chan_width() - sets vht supported channel width into
  1131. * cfg item
  1132. * @psoc: psoc context
  1133. * @value: data to be set
  1134. *
  1135. * Return: QDF_STATUS
  1136. */
  1137. QDF_STATUS wlan_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1138. uint8_t *value);
  1139. /**
  1140. * wlan_mlme_cfg_get_vht_ldpc_coding_cap() - gets vht ldpc coding cap from
  1141. * cfg item
  1142. * @psoc: psoc context
  1143. * @value: pointer to get required data
  1144. *
  1145. * Return: QDF_STATUS
  1146. */
  1147. QDF_STATUS wlan_mlme_cfg_get_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc,
  1148. bool *value);
  1149. /**
  1150. * wlan_mlme_cfg_set_vht_ldpc_coding_cap() - sets vht ldpc coding cap into
  1151. * cfg item
  1152. * @psoc: psoc context
  1153. * @value: data to be set
  1154. *
  1155. * Return: QDF_STATUS
  1156. */
  1157. QDF_STATUS wlan_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc,
  1158. bool value);
  1159. /**
  1160. * wlan_mlme_cfg_get_vht_short_gi_80mhz() - gets vht short gi 80MHz from
  1161. * cfg item
  1162. * @psoc: psoc context
  1163. * @value: pointer to get required data
  1164. *
  1165. * Return: QDF_STATUS
  1166. */
  1167. QDF_STATUS wlan_mlme_cfg_get_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc,
  1168. bool *value);
  1169. /**
  1170. * wlan_mlme_cfg_set_vht_short_gi_80mhz() - sets vht short gi 80MHz into
  1171. * cfg item
  1172. * @psoc: psoc context
  1173. * @value: data to be set
  1174. *
  1175. * Return: QDF_STATUS
  1176. */
  1177. QDF_STATUS wlan_mlme_cfg_set_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc,
  1178. bool value);
  1179. /**
  1180. * wlan_mlme_cfg_get_short_gi_160_mhz() - gets vht short gi 160MHz from
  1181. * cfg item
  1182. * @psoc: psoc context
  1183. * @value: pointer to get required data
  1184. *
  1185. * Return: QDF_STATUS
  1186. */
  1187. QDF_STATUS wlan_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc,
  1188. bool *value);
  1189. /**
  1190. * wlan_mlme_cfg_set_short_gi_160_mhz() - sets vht short gi 160MHz into
  1191. * cfg item
  1192. * @psoc: psoc context
  1193. * @value: data to be set
  1194. *
  1195. * Return: QDF_STATUS
  1196. */
  1197. QDF_STATUS wlan_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc,
  1198. bool value);
  1199. /**
  1200. * wlan_mlme_cfg_get_vht_tx_stbc() - gets vht tx stbc from
  1201. * cfg item
  1202. * @psoc: psoc context
  1203. * @value: pointer to get required data
  1204. *
  1205. * Return: QDF_STATUS
  1206. */
  1207. QDF_STATUS wlan_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc,
  1208. bool *value);
  1209. /**
  1210. * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from
  1211. * cfg item
  1212. * @psoc: psoc context
  1213. * @value: pointer to get required data
  1214. *
  1215. * Return: QDF_STATUS
  1216. */
  1217. QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  1218. bool *value);
  1219. /**
  1220. * wlan_mlme_cfg_set_vht_tx_stbc() - sets vht tx stbc into
  1221. * cfg item
  1222. * @psoc: psoc context
  1223. * @value: data to be set
  1224. *
  1225. * Return: QDF_STATUS
  1226. */
  1227. QDF_STATUS wlan_mlme_cfg_set_vht_tx_stbc(struct wlan_objmgr_psoc *psoc,
  1228. bool value);
  1229. /**
  1230. * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from
  1231. * cfg item
  1232. * @psoc: psoc context
  1233. * @value: pointer to get required data
  1234. *
  1235. * Return: QDF_STATUS
  1236. */
  1237. QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  1238. bool *value);
  1239. /**
  1240. * wlan_mlme_cfg_set_vht_rx_stbc() - sets vht rx stbc into
  1241. * cfg item
  1242. * @psoc: psoc context
  1243. * @value: data to be set
  1244. *
  1245. * Return: QDF_STATUS
  1246. */
  1247. QDF_STATUS wlan_mlme_cfg_set_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  1248. bool value);
  1249. /**
  1250. * wlan_mlme_cfg_get_vht_su_bformer() - gets vht su beam former cap from
  1251. * cfg item
  1252. * @psoc: psoc context
  1253. * @value: pointer to get required data
  1254. *
  1255. * Return: QDF_STATUS
  1256. */
  1257. QDF_STATUS wlan_mlme_cfg_get_vht_su_bformer(struct wlan_objmgr_psoc *psoc,
  1258. bool *value);
  1259. /**
  1260. * wlan_mlme_cfg_set_vht_su_bformer() - sets vht su beam former cap into
  1261. * cfg item
  1262. * @psoc: psoc context
  1263. * @value: data to be set
  1264. *
  1265. * Return: QDF_STATUS
  1266. */
  1267. QDF_STATUS wlan_mlme_cfg_set_vht_su_bformer(struct wlan_objmgr_psoc *psoc,
  1268. bool value);
  1269. /**
  1270. * wlan_mlme_cfg_set_vht_su_bformee() - sets vht su beam formee cap into
  1271. * cfg item
  1272. * @psoc: psoc context
  1273. * @value: data to be set
  1274. *
  1275. * Return: QDF_STATUS
  1276. */
  1277. QDF_STATUS wlan_mlme_cfg_set_vht_su_bformee(struct wlan_objmgr_psoc *psoc,
  1278. bool value);
  1279. /**
  1280. * wlan_mlme_cfg_set_vht_tx_bfee_ant_supp() - sets vht Beamformee antenna
  1281. * support cap
  1282. * into cfg item
  1283. * @psoc: psoc context
  1284. * @value: data to be set
  1285. *
  1286. * Return: QDF_STATUS
  1287. */
  1288. QDF_STATUS wlan_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
  1289. uint8_t value);
  1290. /**
  1291. * wlan_mlme_cfg_get_vht_tx_bfee_ant_supp() - Gets vht Beamformee antenna
  1292. * support cap into cfg item
  1293. *
  1294. * @psoc: psoc context
  1295. * @value: data to be set
  1296. *
  1297. * Return: QDF_STATUS
  1298. */
  1299. QDF_STATUS wlan_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
  1300. uint8_t *value);
  1301. /**
  1302. * wlan_mlme_cfg_set_vht_num_sounding_dim() - sets vht no of sounding dimensions
  1303. * into cfg item
  1304. * @psoc: psoc context
  1305. * @value: data to be set
  1306. *
  1307. * Return: QDF_STATUS
  1308. */
  1309. QDF_STATUS wlan_mlme_cfg_set_vht_num_sounding_dim(struct wlan_objmgr_psoc *psoc,
  1310. uint8_t value);
  1311. /**
  1312. * wlan_mlme_cfg_get_vht_mu_bformer() - gets vht mu beam former cap from
  1313. * cfg item
  1314. * @psoc: psoc context
  1315. * @value: pointer to get required data
  1316. *
  1317. * Return: QDF_STATUS
  1318. */
  1319. QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformer(struct wlan_objmgr_psoc *psoc,
  1320. bool *value);
  1321. /**
  1322. * wlan_mlme_cfg_set_vht_mu_bformer() - sets vht mu beam former cap into
  1323. * cfg item
  1324. * @psoc: psoc context
  1325. * @value: data to be set
  1326. *
  1327. * Return: QDF_STATUS
  1328. */
  1329. QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformer(struct wlan_objmgr_psoc *psoc,
  1330. bool value);
  1331. /**
  1332. * wlan_mlme_cfg_get_vht_mu_bformee() - gets vht mu beam formee cap from
  1333. * cfg item
  1334. * @psoc: psoc context
  1335. * @value: pointer to get required data
  1336. *
  1337. * Return: QDF_STATUS
  1338. */
  1339. QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformee(struct wlan_objmgr_psoc *psoc,
  1340. bool *value);
  1341. /**
  1342. * wlan_mlme_cfg_set_vht_mu_bformee() - sets vht mu beam formee cap into
  1343. * cfg item
  1344. * @psoc: psoc context
  1345. * @value: data to be set
  1346. *
  1347. * Return: QDF_STATUS
  1348. */
  1349. QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformee(struct wlan_objmgr_psoc *psoc,
  1350. bool value);
  1351. /**
  1352. * wlan_mlme_cfg_get_vht_txop_ps() - gets vht tx ops ps cap from
  1353. * cfg item
  1354. * @psoc: psoc context
  1355. * @value: pointer to get required data
  1356. *
  1357. * Return: QDF_STATUS
  1358. */
  1359. QDF_STATUS wlan_mlme_cfg_get_vht_txop_ps(struct wlan_objmgr_psoc *psoc,
  1360. bool *value);
  1361. /**
  1362. * wlan_mlme_cfg_set_vht_txop_ps() - sets vht tx ops ps cap into
  1363. * cfg item
  1364. * @psoc: psoc context
  1365. * @value: data to be set
  1366. *
  1367. * Return: QDF_STATUS
  1368. */
  1369. QDF_STATUS wlan_mlme_cfg_set_vht_txop_ps(struct wlan_objmgr_psoc *psoc,
  1370. bool value);
  1371. /**
  1372. * wlan_mlme_cfg_get_vht_ampdu_len_exp() - gets vht max AMPDU length exponent from
  1373. * cfg item
  1374. * @psoc: psoc context
  1375. * @value: pointer to get required data
  1376. *
  1377. * Return: QDF_STATUS
  1378. */
  1379. QDF_STATUS wlan_mlme_cfg_get_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
  1380. uint8_t *value);
  1381. /**
  1382. * wlan_mlme_cfg_set_vht_ampdu_len_exp() - sets vht max AMPDU length exponent into
  1383. * cfg item
  1384. * @psoc: psoc context
  1385. * @value: data to be set
  1386. *
  1387. * Return: QDF_STATUS
  1388. */
  1389. QDF_STATUS wlan_mlme_cfg_set_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
  1390. uint8_t value);
  1391. /**
  1392. * wlan_mlme_cfg_get_vht_rx_mcs_map() - gets vht rx mcs map from
  1393. * cfg item
  1394. * @psoc: psoc context
  1395. * @value: pointer to get required data
  1396. *
  1397. * Return: QDF_STATUS
  1398. */
  1399. QDF_STATUS wlan_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1400. uint32_t *value);
  1401. /**
  1402. * wlan_mlme_cfg_set_vht_rx_mcs_map() - sets rx mcs map into
  1403. * cfg item
  1404. * @psoc: psoc context
  1405. * @value: data to be set
  1406. *
  1407. * Return: QDF_STATUS
  1408. */
  1409. QDF_STATUS wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1410. uint32_t value);
  1411. /**
  1412. * wlan_mlme_cfg_get_vht_tx_mcs_map() - gets vht tx mcs map from
  1413. * cfg item
  1414. * @psoc: psoc context
  1415. * @value: pointer to get required data
  1416. *
  1417. * Return: QDF_STATUS
  1418. */
  1419. QDF_STATUS wlan_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1420. uint32_t *value);
  1421. /**
  1422. * wlan_mlme_cfg_set_vht_tx_mcs_map() - sets tx mcs map into
  1423. * cfg item
  1424. * @psoc: psoc context
  1425. * @value: data to be set
  1426. *
  1427. * Return: QDF_STATUS
  1428. */
  1429. QDF_STATUS wlan_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1430. uint32_t value);
  1431. /**
  1432. * wlan_mlme_cfg_set_vht_rx_supp_data_rate() - sets rx supported data rate into
  1433. * cfg item
  1434. * @psoc: psoc context
  1435. * @value: data to be set
  1436. *
  1437. * Return: QDF_STATUS
  1438. */
  1439. QDF_STATUS
  1440. wlan_mlme_cfg_set_vht_rx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
  1441. uint32_t value);
  1442. /**
  1443. * wlan_mlme_cfg_set_vht_tx_supp_data_rate() - sets tx supported data rate into
  1444. * cfg item
  1445. * @psoc: psoc context
  1446. * @value: data to be set
  1447. *
  1448. * Return: QDF_STATUS
  1449. */
  1450. QDF_STATUS
  1451. wlan_mlme_cfg_set_vht_tx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
  1452. uint32_t value);
  1453. /**
  1454. * wlan_mlme_cfg_get_vht_basic_mcs_set() - gets basic mcs set from
  1455. * cfg item
  1456. * @psoc: psoc context
  1457. * @value: data to be set
  1458. *
  1459. * Return: QDF_STATUS
  1460. */
  1461. QDF_STATUS wlan_mlme_cfg_get_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
  1462. uint32_t *value);
  1463. /**
  1464. * wlan_mlme_cfg_set_vht_basic_mcs_set() - sets basic mcs set into
  1465. * cfg item
  1466. * @psoc: psoc context
  1467. * @value: data to be set
  1468. *
  1469. * Return: QDF_STATUS
  1470. */
  1471. QDF_STATUS wlan_mlme_cfg_set_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
  1472. uint32_t value);
  1473. /**
  1474. * wlan_mlme_get_vht_enable_tx_bf() - Get vht enable tx bf
  1475. * @psoc: psoc context
  1476. * @value: data to be set
  1477. *
  1478. * Return: QDF_STATUS
  1479. */
  1480. QDF_STATUS wlan_mlme_get_vht_enable_tx_bf(struct wlan_objmgr_psoc *psoc,
  1481. bool *value);
  1482. /**
  1483. * wlan_mlme_get_vht_tx_su_beamformer() - VHT enable tx su beamformer
  1484. * @psoc: psoc context
  1485. * @value: data to be set
  1486. *
  1487. * Return: QDF_STATUS
  1488. */
  1489. QDF_STATUS wlan_mlme_get_vht_tx_su_beamformer(struct wlan_objmgr_psoc *psoc,
  1490. bool *value);
  1491. /**
  1492. * wlan_mlme_get_vht_channel_width() - gets Channel width capability
  1493. * for 11ac
  1494. * @psoc: psoc context
  1495. * @value: data to be set
  1496. *
  1497. * Return: QDF_STATUS
  1498. */
  1499. QDF_STATUS wlan_mlme_get_vht_channel_width(struct wlan_objmgr_psoc *psoc,
  1500. uint8_t *value);
  1501. /**
  1502. * wlan_mlme_get_vht_rx_mcs_8_9() - VHT Rx MCS capability for 1x1 mode
  1503. * @psoc: psoc context
  1504. * @value: data to be set
  1505. *
  1506. * Return: QDF_STATUS
  1507. */
  1508. QDF_STATUS wlan_mlme_get_vht_rx_mcs_8_9(struct wlan_objmgr_psoc *psoc,
  1509. uint8_t *value);
  1510. /**
  1511. * wlan_mlme_get_vht_tx_mcs_8_9() - VHT Tx MCS capability for 1x1 mode
  1512. * @psoc: psoc context
  1513. * @value: data to be set
  1514. *
  1515. * Return: QDF_STATUS
  1516. */
  1517. QDF_STATUS wlan_mlme_get_vht_tx_mcs_8_9(struct wlan_objmgr_psoc *psoc,
  1518. uint8_t *value);
  1519. /**
  1520. * wlan_mlme_get_vht_rx_mcs_2x2() - VHT Rx MCS capability for 2x2 mode
  1521. * @psoc: psoc context
  1522. * @value: data to be set
  1523. *
  1524. * Return: QDF_STATUS
  1525. */
  1526. QDF_STATUS wlan_mlme_get_vht_rx_mcs_2x2(struct wlan_objmgr_psoc *psoc,
  1527. uint8_t *value);
  1528. /**
  1529. * wlan_mlme_get_vht_tx_mcs_2x2() - VHT Tx MCS capability for 2x2 mode
  1530. * @psoc: psoc context
  1531. * @value: data to be set
  1532. *
  1533. * Return: QDF_STATUS
  1534. */
  1535. QDF_STATUS wlan_mlme_get_vht_tx_mcs_2x2(struct wlan_objmgr_psoc *psoc,
  1536. uint8_t *value);
  1537. /**
  1538. * wlan_mlme_get_vht20_mcs9() - Enables VHT MCS9 in 20M BW operation
  1539. * @psoc: psoc context
  1540. * @value: data to be set
  1541. *
  1542. * Return: QDF_STATUS
  1543. */
  1544. QDF_STATUS wlan_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc *psoc,
  1545. bool *value);
  1546. /**
  1547. * wlan_mlme_get_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
  1548. * @psoc: psoc context
  1549. * @value: data to be set
  1550. *
  1551. * Return: QDF_STATUS
  1552. */
  1553. QDF_STATUS wlan_mlme_get_vht_enable2x2(struct wlan_objmgr_psoc *psoc,
  1554. bool *value);
  1555. /**
  1556. * wlan_mlme_set_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
  1557. * @psoc: psoc context
  1558. * @value: data to be set
  1559. *
  1560. * Return: QDF_STATUS
  1561. */
  1562. QDF_STATUS wlan_mlme_set_vht_enable2x2(struct wlan_objmgr_psoc *psoc,
  1563. bool value);
  1564. /**
  1565. * wlan_mlme_get_vht_enable_paid() - Enables/disables paid feature
  1566. * @psoc: psoc context
  1567. * @value: data to be set
  1568. *
  1569. * Return: QDF_STATUS
  1570. */
  1571. QDF_STATUS wlan_mlme_get_vht_enable_paid(struct wlan_objmgr_psoc *psoc,
  1572. bool *value);
  1573. /**
  1574. * wlan_mlme_get_vht_enable_gid() - Enables/disables VHT GID feature
  1575. * @psoc: psoc context
  1576. * @value: data to be set
  1577. *
  1578. * Return: QDF_STATUS
  1579. */
  1580. QDF_STATUS wlan_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc *psoc,
  1581. bool *value);
  1582. /**
  1583. * wlan_mlme_get_vht_for_24ghz() - Enables/disables VHT for 24 ghz
  1584. * @psoc: psoc context
  1585. * @value: data to be set
  1586. *
  1587. * Return: QDF_STATUS
  1588. */
  1589. QDF_STATUS wlan_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc *psoc,
  1590. bool *value);
  1591. /**
  1592. * wlan_mlme_get_vendor_vht_for_24ghz() - nables/disables vendor VHT for 24 ghz
  1593. * @psoc: psoc context
  1594. * @value: data to be set
  1595. *
  1596. * Return: QDF_STATUS
  1597. */
  1598. QDF_STATUS wlan_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc,
  1599. bool *value);
  1600. /**
  1601. * mlme_update_vht_cap() - update vht capabilities
  1602. * @psoc: psoc context
  1603. * @cfg: data to be set
  1604. *
  1605. * Return: QDF_STATUS
  1606. */
  1607. QDF_STATUS mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc,
  1608. struct wma_tgt_vht_cap *cfg);
  1609. /**
  1610. * mlme_update_nss_vht_cap() - Update the number of spatial
  1611. * streams supported for vht
  1612. * @psoc: psoc context
  1613. *
  1614. * Return: QDF_STATUS
  1615. */
  1616. QDF_STATUS mlme_update_nss_vht_cap(struct wlan_objmgr_psoc *psoc);
  1617. #endif /* _WLAN_MLME_API_H_ */