wlan_mlme_api.h 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733
  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. /**
  972. * wlan_mlme_get_wmm_dir_ac_vo() - Get TSPEC direction
  973. * for VO
  974. * @psoc: pointer to psoc object
  975. * @value: Value that needs to be set from the caller
  976. *
  977. * Return: QDF Status
  978. */
  979. QDF_STATUS wlan_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc,
  980. uint8_t *value);
  981. /**
  982. * wlan_mlme_get_wmm_nom_msdu_size_ac_vo() - Get normal
  983. * MSDU size for VO
  984. * @psoc: pointer to psoc object
  985. * @value: Value that needs to be set from the caller
  986. *
  987. * Return: QDF Status
  988. */
  989. QDF_STATUS
  990. wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc,
  991. uint16_t *value);
  992. /**
  993. * wlan_mlme_get_wmm_mean_data_rate_ac_vo() - mean data rate for VO
  994. * @psoc: pointer to psoc object
  995. * @value: Value that needs to be set from the caller
  996. *
  997. * Return: QDF Status
  998. */
  999. QDF_STATUS
  1000. wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  1001. uint32_t *value);
  1002. /**
  1003. * wlan_mlme_get_wmm_min_phy_rate_ac_vo() - min PHY
  1004. * rate for VO
  1005. * @psoc: pointer to psoc object
  1006. * @value: Value that needs to be set from the caller
  1007. *
  1008. * Return: QDF Status
  1009. */
  1010. QDF_STATUS
  1011. wlan_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  1012. uint32_t *value);
  1013. /**
  1014. * wlan_mlme_get_wmm_sba_ac_vo() - surplus bandwidth allowance for VO
  1015. * @psoc: pointer to psoc object
  1016. * @value: Value that needs to be set from the caller
  1017. *
  1018. * Return: QDF Status
  1019. */
  1020. QDF_STATUS
  1021. wlan_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  1022. /**
  1023. * wlan_mlme_set_enable_bcast_probe_rsp() - Set enable bcast probe resp info
  1024. * @psoc: pointer to psoc object
  1025. * @value: value that needs to be set from the caller
  1026. *
  1027. * Return: QDF Status
  1028. */
  1029. QDF_STATUS wlan_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc *psoc,
  1030. bool value);
  1031. /**
  1032. * wlan_mlme_get_wmm_uapsd_vo_srv_intv() - Get Uapsd service
  1033. * interval for voice
  1034. * @psoc: pointer to psoc object
  1035. * @value: pointer to the value which will be filled for the caller
  1036. *
  1037. * Return: QDF Status
  1038. */
  1039. QDF_STATUS
  1040. wlan_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc *psoc,
  1041. uint32_t *value);
  1042. /**
  1043. * wlan_mlme_get_wmm_uapsd_vo_sus_intv() - Get Uapsd suspension
  1044. * interval for voice
  1045. * @psoc: pointer to psoc object
  1046. * @value: pointer to the value which will be filled for the caller
  1047. *
  1048. * Return: QDF Status
  1049. */
  1050. QDF_STATUS
  1051. wlan_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc,
  1052. uint32_t *value);
  1053. /**
  1054. * wlan_mlme_cfg_get_vht_max_mpdu_len() - gets vht max mpdu length from cfg item
  1055. * @psoc: psoc context
  1056. * @value: pointer to get required data
  1057. *
  1058. * Return: QDF_STATUS
  1059. */
  1060. QDF_STATUS wlan_mlme_cfg_get_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
  1061. uint8_t *value);
  1062. /**
  1063. * wlan_mlme_cfg_set_vht_max_mpdu_len() - sets vht max mpdu length into cfg item
  1064. * @psoc: psoc context
  1065. * @value: data to be set
  1066. *
  1067. * Return: QDF_STATUS
  1068. */
  1069. QDF_STATUS wlan_mlme_cfg_set_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
  1070. uint8_t value);
  1071. /**
  1072. * wlan_mlme_cfg_get_vht_chan_width() - gets vht supported channel width from
  1073. * cfg item
  1074. * @psoc: psoc context
  1075. * @value: pointer to get required data
  1076. *
  1077. * Return: QDF_STATUS
  1078. */
  1079. QDF_STATUS wlan_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1080. uint8_t *value);
  1081. /**
  1082. * wlan_mlme_cfg_set_vht_chan_width() - sets vht supported channel width into
  1083. * cfg item
  1084. * @psoc: psoc context
  1085. * @value: data to be set
  1086. *
  1087. * Return: QDF_STATUS
  1088. */
  1089. QDF_STATUS wlan_mlme_cfg_set_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1090. uint8_t value);
  1091. /**
  1092. * wlan_mlme_cfg_get_vht_chan_width() - sets vht supported channel width into
  1093. * cfg item
  1094. * @psoc: psoc context
  1095. * @value: data to be set
  1096. *
  1097. * Return: QDF_STATUS
  1098. */
  1099. QDF_STATUS wlan_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1100. uint8_t *value);
  1101. /**
  1102. * wlan_mlme_cfg_get_vht_ldpc_coding_cap() - gets vht ldpc coding cap from
  1103. * cfg item
  1104. * @psoc: psoc context
  1105. * @value: pointer to get required data
  1106. *
  1107. * Return: QDF_STATUS
  1108. */
  1109. QDF_STATUS wlan_mlme_cfg_get_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc,
  1110. bool *value);
  1111. /**
  1112. * wlan_mlme_cfg_set_vht_ldpc_coding_cap() - sets vht ldpc coding cap into
  1113. * cfg item
  1114. * @psoc: psoc context
  1115. * @value: data to be set
  1116. *
  1117. * Return: QDF_STATUS
  1118. */
  1119. QDF_STATUS wlan_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc,
  1120. bool value);
  1121. /**
  1122. * wlan_mlme_cfg_get_vht_short_gi_80mhz() - gets vht short gi 80MHz from
  1123. * cfg item
  1124. * @psoc: psoc context
  1125. * @value: pointer to get required data
  1126. *
  1127. * Return: QDF_STATUS
  1128. */
  1129. QDF_STATUS wlan_mlme_cfg_get_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc,
  1130. bool *value);
  1131. /**
  1132. * wlan_mlme_cfg_set_vht_short_gi_80mhz() - sets vht short gi 80MHz into
  1133. * cfg item
  1134. * @psoc: psoc context
  1135. * @value: data to be set
  1136. *
  1137. * Return: QDF_STATUS
  1138. */
  1139. QDF_STATUS wlan_mlme_cfg_set_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc,
  1140. bool value);
  1141. /**
  1142. * wlan_mlme_cfg_get_short_gi_160_mhz() - gets vht short gi 160MHz from
  1143. * cfg item
  1144. * @psoc: psoc context
  1145. * @value: pointer to get required data
  1146. *
  1147. * Return: QDF_STATUS
  1148. */
  1149. QDF_STATUS wlan_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc,
  1150. bool *value);
  1151. /**
  1152. * wlan_mlme_cfg_set_short_gi_160_mhz() - sets vht short gi 160MHz into
  1153. * cfg item
  1154. * @psoc: psoc context
  1155. * @value: data to be set
  1156. *
  1157. * Return: QDF_STATUS
  1158. */
  1159. QDF_STATUS wlan_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc,
  1160. bool value);
  1161. /**
  1162. * wlan_mlme_cfg_get_vht_tx_stbc() - gets vht tx stbc from
  1163. * cfg item
  1164. * @psoc: psoc context
  1165. * @value: pointer to get required data
  1166. *
  1167. * Return: QDF_STATUS
  1168. */
  1169. QDF_STATUS wlan_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc,
  1170. bool *value);
  1171. /**
  1172. * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from
  1173. * cfg item
  1174. * @psoc: psoc context
  1175. * @value: pointer to get required data
  1176. *
  1177. * Return: QDF_STATUS
  1178. */
  1179. QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  1180. bool *value);
  1181. /**
  1182. * wlan_mlme_cfg_set_vht_tx_stbc() - sets vht tx stbc into
  1183. * cfg item
  1184. * @psoc: psoc context
  1185. * @value: data to be set
  1186. *
  1187. * Return: QDF_STATUS
  1188. */
  1189. QDF_STATUS wlan_mlme_cfg_set_vht_tx_stbc(struct wlan_objmgr_psoc *psoc,
  1190. bool value);
  1191. /**
  1192. * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from
  1193. * cfg item
  1194. * @psoc: psoc context
  1195. * @value: pointer to get required data
  1196. *
  1197. * Return: QDF_STATUS
  1198. */
  1199. QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  1200. bool *value);
  1201. /**
  1202. * wlan_mlme_cfg_set_vht_rx_stbc() - sets vht rx stbc into
  1203. * cfg item
  1204. * @psoc: psoc context
  1205. * @value: data to be set
  1206. *
  1207. * Return: QDF_STATUS
  1208. */
  1209. QDF_STATUS wlan_mlme_cfg_set_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  1210. bool value);
  1211. /**
  1212. * wlan_mlme_cfg_get_vht_su_bformer() - gets vht su beam former cap from
  1213. * cfg item
  1214. * @psoc: psoc context
  1215. * @value: pointer to get required data
  1216. *
  1217. * Return: QDF_STATUS
  1218. */
  1219. QDF_STATUS wlan_mlme_cfg_get_vht_su_bformer(struct wlan_objmgr_psoc *psoc,
  1220. bool *value);
  1221. /**
  1222. * wlan_mlme_cfg_set_vht_su_bformer() - sets vht su beam former cap into
  1223. * cfg item
  1224. * @psoc: psoc context
  1225. * @value: data to be set
  1226. *
  1227. * Return: QDF_STATUS
  1228. */
  1229. QDF_STATUS wlan_mlme_cfg_set_vht_su_bformer(struct wlan_objmgr_psoc *psoc,
  1230. bool value);
  1231. /**
  1232. * wlan_mlme_cfg_set_vht_su_bformee() - sets vht su beam formee cap into
  1233. * cfg item
  1234. * @psoc: psoc context
  1235. * @value: data to be set
  1236. *
  1237. * Return: QDF_STATUS
  1238. */
  1239. QDF_STATUS wlan_mlme_cfg_set_vht_su_bformee(struct wlan_objmgr_psoc *psoc,
  1240. bool value);
  1241. /**
  1242. * wlan_mlme_cfg_set_vht_tx_bfee_ant_supp() - sets vht Beamformee antenna
  1243. * support cap
  1244. * into cfg item
  1245. * @psoc: psoc context
  1246. * @value: data to be set
  1247. *
  1248. * Return: QDF_STATUS
  1249. */
  1250. QDF_STATUS wlan_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
  1251. uint8_t value);
  1252. /**
  1253. * wlan_mlme_cfg_get_vht_tx_bfee_ant_supp() - Gets vht Beamformee antenna
  1254. * support cap into cfg item
  1255. *
  1256. * @psoc: psoc context
  1257. * @value: data to be set
  1258. *
  1259. * Return: QDF_STATUS
  1260. */
  1261. QDF_STATUS wlan_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
  1262. uint8_t *value);
  1263. /**
  1264. * wlan_mlme_cfg_set_vht_num_sounding_dim() - sets vht no of sounding dimensions
  1265. * into cfg item
  1266. * @psoc: psoc context
  1267. * @value: data to be set
  1268. *
  1269. * Return: QDF_STATUS
  1270. */
  1271. QDF_STATUS wlan_mlme_cfg_set_vht_num_sounding_dim(struct wlan_objmgr_psoc *psoc,
  1272. uint8_t value);
  1273. /**
  1274. * wlan_mlme_cfg_get_vht_mu_bformer() - gets vht mu beam former cap from
  1275. * cfg item
  1276. * @psoc: psoc context
  1277. * @value: pointer to get required data
  1278. *
  1279. * Return: QDF_STATUS
  1280. */
  1281. QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformer(struct wlan_objmgr_psoc *psoc,
  1282. bool *value);
  1283. /**
  1284. * wlan_mlme_cfg_set_vht_mu_bformer() - sets vht mu beam former cap into
  1285. * cfg item
  1286. * @psoc: psoc context
  1287. * @value: data to be set
  1288. *
  1289. * Return: QDF_STATUS
  1290. */
  1291. QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformer(struct wlan_objmgr_psoc *psoc,
  1292. bool value);
  1293. /**
  1294. * wlan_mlme_cfg_get_vht_mu_bformee() - gets vht mu beam formee cap from
  1295. * cfg item
  1296. * @psoc: psoc context
  1297. * @value: pointer to get required data
  1298. *
  1299. * Return: QDF_STATUS
  1300. */
  1301. QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformee(struct wlan_objmgr_psoc *psoc,
  1302. bool *value);
  1303. /**
  1304. * wlan_mlme_cfg_set_vht_mu_bformee() - sets vht mu beam formee cap into
  1305. * cfg item
  1306. * @psoc: psoc context
  1307. * @value: data to be set
  1308. *
  1309. * Return: QDF_STATUS
  1310. */
  1311. QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformee(struct wlan_objmgr_psoc *psoc,
  1312. bool value);
  1313. /**
  1314. * wlan_mlme_cfg_get_vht_txop_ps() - gets vht tx ops ps cap from
  1315. * cfg item
  1316. * @psoc: psoc context
  1317. * @value: pointer to get required data
  1318. *
  1319. * Return: QDF_STATUS
  1320. */
  1321. QDF_STATUS wlan_mlme_cfg_get_vht_txop_ps(struct wlan_objmgr_psoc *psoc,
  1322. bool *value);
  1323. /**
  1324. * wlan_mlme_cfg_set_vht_txop_ps() - sets vht tx ops ps cap into
  1325. * cfg item
  1326. * @psoc: psoc context
  1327. * @value: data to be set
  1328. *
  1329. * Return: QDF_STATUS
  1330. */
  1331. QDF_STATUS wlan_mlme_cfg_set_vht_txop_ps(struct wlan_objmgr_psoc *psoc,
  1332. bool value);
  1333. /**
  1334. * wlan_mlme_cfg_get_vht_ampdu_len_exp() - gets vht max AMPDU length exponent from
  1335. * cfg item
  1336. * @psoc: psoc context
  1337. * @value: pointer to get required data
  1338. *
  1339. * Return: QDF_STATUS
  1340. */
  1341. QDF_STATUS wlan_mlme_cfg_get_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
  1342. uint8_t *value);
  1343. /**
  1344. * wlan_mlme_cfg_set_vht_ampdu_len_exp() - sets vht max AMPDU length exponent into
  1345. * cfg item
  1346. * @psoc: psoc context
  1347. * @value: data to be set
  1348. *
  1349. * Return: QDF_STATUS
  1350. */
  1351. QDF_STATUS wlan_mlme_cfg_set_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
  1352. uint8_t value);
  1353. /**
  1354. * wlan_mlme_cfg_get_vht_rx_mcs_map() - gets vht rx mcs map from
  1355. * cfg item
  1356. * @psoc: psoc context
  1357. * @value: pointer to get required data
  1358. *
  1359. * Return: QDF_STATUS
  1360. */
  1361. QDF_STATUS wlan_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1362. uint32_t *value);
  1363. /**
  1364. * wlan_mlme_cfg_set_vht_rx_mcs_map() - sets rx mcs map into
  1365. * cfg item
  1366. * @psoc: psoc context
  1367. * @value: data to be set
  1368. *
  1369. * Return: QDF_STATUS
  1370. */
  1371. QDF_STATUS wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1372. uint32_t value);
  1373. /**
  1374. * wlan_mlme_cfg_get_vht_tx_mcs_map() - gets vht tx mcs map from
  1375. * cfg item
  1376. * @psoc: psoc context
  1377. * @value: pointer to get required data
  1378. *
  1379. * Return: QDF_STATUS
  1380. */
  1381. QDF_STATUS wlan_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1382. uint32_t *value);
  1383. /**
  1384. * wlan_mlme_cfg_set_vht_tx_mcs_map() - sets tx mcs map into
  1385. * cfg item
  1386. * @psoc: psoc context
  1387. * @value: data to be set
  1388. *
  1389. * Return: QDF_STATUS
  1390. */
  1391. QDF_STATUS wlan_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1392. uint32_t value);
  1393. /**
  1394. * wlan_mlme_cfg_set_vht_rx_supp_data_rate() - sets rx supported data rate into
  1395. * cfg item
  1396. * @psoc: psoc context
  1397. * @value: data to be set
  1398. *
  1399. * Return: QDF_STATUS
  1400. */
  1401. QDF_STATUS
  1402. wlan_mlme_cfg_set_vht_rx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
  1403. uint32_t value);
  1404. /**
  1405. * wlan_mlme_cfg_set_vht_tx_supp_data_rate() - sets tx supported data rate into
  1406. * cfg item
  1407. * @psoc: psoc context
  1408. * @value: data to be set
  1409. *
  1410. * Return: QDF_STATUS
  1411. */
  1412. QDF_STATUS
  1413. wlan_mlme_cfg_set_vht_tx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
  1414. uint32_t value);
  1415. /**
  1416. * wlan_mlme_cfg_get_vht_basic_mcs_set() - gets basic mcs set from
  1417. * cfg item
  1418. * @psoc: psoc context
  1419. * @value: data to be set
  1420. *
  1421. * Return: QDF_STATUS
  1422. */
  1423. QDF_STATUS wlan_mlme_cfg_get_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
  1424. uint32_t *value);
  1425. /**
  1426. * wlan_mlme_cfg_set_vht_basic_mcs_set() - sets basic mcs set into
  1427. * cfg item
  1428. * @psoc: psoc context
  1429. * @value: data to be set
  1430. *
  1431. * Return: QDF_STATUS
  1432. */
  1433. QDF_STATUS wlan_mlme_cfg_set_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
  1434. uint32_t value);
  1435. /**
  1436. * wlan_mlme_get_vht_enable_tx_bf() - Get vht enable tx bf
  1437. * @psoc: psoc context
  1438. * @value: data to be set
  1439. *
  1440. * Return: QDF_STATUS
  1441. */
  1442. QDF_STATUS wlan_mlme_get_vht_enable_tx_bf(struct wlan_objmgr_psoc *psoc,
  1443. bool *value);
  1444. /**
  1445. * wlan_mlme_get_vht_tx_su_beamformer() - VHT enable tx su beamformer
  1446. * @psoc: psoc context
  1447. * @value: data to be set
  1448. *
  1449. * Return: QDF_STATUS
  1450. */
  1451. QDF_STATUS wlan_mlme_get_vht_tx_su_beamformer(struct wlan_objmgr_psoc *psoc,
  1452. bool *value);
  1453. /**
  1454. * wlan_mlme_get_vht_channel_width() - gets Channel width capability
  1455. * for 11ac
  1456. * @psoc: psoc context
  1457. * @value: data to be set
  1458. *
  1459. * Return: QDF_STATUS
  1460. */
  1461. QDF_STATUS wlan_mlme_get_vht_channel_width(struct wlan_objmgr_psoc *psoc,
  1462. uint8_t *value);
  1463. /**
  1464. * wlan_mlme_get_vht_rx_mcs_8_9() - VHT Rx MCS capability for 1x1 mode
  1465. * @psoc: psoc context
  1466. * @value: data to be set
  1467. *
  1468. * Return: QDF_STATUS
  1469. */
  1470. QDF_STATUS wlan_mlme_get_vht_rx_mcs_8_9(struct wlan_objmgr_psoc *psoc,
  1471. uint8_t *value);
  1472. /**
  1473. * wlan_mlme_get_vht_tx_mcs_8_9() - VHT Tx MCS capability for 1x1 mode
  1474. * @psoc: psoc context
  1475. * @value: data to be set
  1476. *
  1477. * Return: QDF_STATUS
  1478. */
  1479. QDF_STATUS wlan_mlme_get_vht_tx_mcs_8_9(struct wlan_objmgr_psoc *psoc,
  1480. uint8_t *value);
  1481. /**
  1482. * wlan_mlme_get_vht_rx_mcs_2x2() - VHT Rx MCS capability for 2x2 mode
  1483. * @psoc: psoc context
  1484. * @value: data to be set
  1485. *
  1486. * Return: QDF_STATUS
  1487. */
  1488. QDF_STATUS wlan_mlme_get_vht_rx_mcs_2x2(struct wlan_objmgr_psoc *psoc,
  1489. uint8_t *value);
  1490. /**
  1491. * wlan_mlme_get_vht_tx_mcs_2x2() - VHT Tx MCS capability for 2x2 mode
  1492. * @psoc: psoc context
  1493. * @value: data to be set
  1494. *
  1495. * Return: QDF_STATUS
  1496. */
  1497. QDF_STATUS wlan_mlme_get_vht_tx_mcs_2x2(struct wlan_objmgr_psoc *psoc,
  1498. uint8_t *value);
  1499. /**
  1500. * wlan_mlme_get_vht20_mcs9() - Enables VHT MCS9 in 20M BW operation
  1501. * @psoc: psoc context
  1502. * @value: data to be set
  1503. *
  1504. * Return: QDF_STATUS
  1505. */
  1506. QDF_STATUS wlan_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc *psoc,
  1507. bool *value);
  1508. /**
  1509. * wlan_mlme_get_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
  1510. * @psoc: psoc context
  1511. * @value: data to be set
  1512. *
  1513. * Return: QDF_STATUS
  1514. */
  1515. QDF_STATUS wlan_mlme_get_vht_enable2x2(struct wlan_objmgr_psoc *psoc,
  1516. bool *value);
  1517. /**
  1518. * wlan_mlme_set_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
  1519. * @psoc: psoc context
  1520. * @value: data to be set
  1521. *
  1522. * Return: QDF_STATUS
  1523. */
  1524. QDF_STATUS wlan_mlme_set_vht_enable2x2(struct wlan_objmgr_psoc *psoc,
  1525. bool value);
  1526. /**
  1527. * wlan_mlme_get_vht_enable_paid() - Enables/disables paid feature
  1528. * @psoc: psoc context
  1529. * @value: data to be set
  1530. *
  1531. * Return: QDF_STATUS
  1532. */
  1533. QDF_STATUS wlan_mlme_get_vht_enable_paid(struct wlan_objmgr_psoc *psoc,
  1534. bool *value);
  1535. /**
  1536. * wlan_mlme_get_vht_enable_gid() - Enables/disables VHT GID feature
  1537. * @psoc: psoc context
  1538. * @value: data to be set
  1539. *
  1540. * Return: QDF_STATUS
  1541. */
  1542. QDF_STATUS wlan_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc *psoc,
  1543. bool *value);
  1544. /**
  1545. * wlan_mlme_get_vht_for_24ghz() - Enables/disables VHT for 24 ghz
  1546. * @psoc: psoc context
  1547. * @value: data to be set
  1548. *
  1549. * Return: QDF_STATUS
  1550. */
  1551. QDF_STATUS wlan_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc *psoc,
  1552. bool *value);
  1553. /**
  1554. * wlan_mlme_get_vendor_vht_for_24ghz() - nables/disables vendor VHT for 24 ghz
  1555. * @psoc: psoc context
  1556. * @value: data to be set
  1557. *
  1558. * Return: QDF_STATUS
  1559. */
  1560. QDF_STATUS wlan_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc,
  1561. bool *value);
  1562. /**
  1563. * mlme_update_vht_cap() - update vht capabilities
  1564. * @psoc: psoc context
  1565. * @cfg: data to be set
  1566. *
  1567. * Return: QDF_STATUS
  1568. */
  1569. QDF_STATUS mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc,
  1570. struct wma_tgt_vht_cap *cfg);
  1571. /**
  1572. * mlme_update_nss_vht_cap() - Update the number of spatial
  1573. * streams supported for vht
  1574. * @psoc: psoc context
  1575. *
  1576. * Return: QDF_STATUS
  1577. */
  1578. QDF_STATUS mlme_update_nss_vht_cap(struct wlan_objmgr_psoc *psoc);
  1579. #endif /* _WLAN_MLME_API_H_ */