wlan_mlme_api.h 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261
  1. /*
  2. * Copyright (c) 2018-2019 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. * wlan_mlme_update_cfg_with_tgt_caps() - Update mlme cfg with tgt caps
  61. * @psoc: pointer to psoc object
  62. * @tgt_caps: Pointer to the mlme related capability structure
  63. *
  64. * Return: None
  65. */
  66. void
  67. wlan_mlme_update_cfg_with_tgt_caps(struct wlan_objmgr_psoc *psoc,
  68. struct mlme_tgt_caps *tgt_caps);
  69. /*
  70. * mlme_get_wep_key() - get the wep key to process during auth frame
  71. * @vdev: VDEV object for which the wep key is being requested
  72. * @wep_params: cfg wep parameters structure
  73. * @wep_key_id: default key number
  74. * @default_key: default key to be copied
  75. * @key_len: length of the key to copy
  76. *
  77. * Return QDF_STATUS
  78. */
  79. QDF_STATUS mlme_get_wep_key(struct wlan_objmgr_vdev *vdev,
  80. struct wlan_mlme_wep_cfg *wep_params,
  81. enum wep_key_id wep_keyid, uint8_t *default_key,
  82. qdf_size_t *key_len);
  83. /**
  84. * mlme_set_wep_key() - set the wep keys during auth
  85. * @wep_params: cfg wep parametrs structure
  86. * @wep_key_id: default key number that needs to be copied
  87. * @key_to_set: destination buffer to be copied
  88. * @len: size to be copied
  89. */
  90. QDF_STATUS mlme_set_wep_key(struct wlan_mlme_wep_cfg *wep_params,
  91. enum wep_key_id wep_keyid, uint8_t *key_to_set,
  92. qdf_size_t len);
  93. /**
  94. * wlan_mlme_get_tx_power() - Get the max tx power in particular band
  95. * @psoc: pointer to psoc object
  96. * @band: 2ghz/5ghz band
  97. *
  98. * Return: value of tx power in the respective band
  99. */
  100. uint8_t wlan_mlme_get_tx_power(struct wlan_objmgr_psoc *psoc,
  101. enum band_info band);
  102. /**
  103. * wlan_mlme_get_power_usage() - Get the power usage info
  104. * @psoc: pointer to psoc object
  105. *
  106. * Return: pointer to character array of power usage
  107. */
  108. char *wlan_mlme_get_power_usage(struct wlan_objmgr_psoc *psoc);
  109. /**
  110. * wlan_mlme_get_ht_cap_info() - Get the HT cap info config
  111. * @psoc: pointer to psoc object
  112. * @value: pointer to the value which will be filled for the caller
  113. *
  114. * Return: QDF Status
  115. */
  116. QDF_STATUS wlan_mlme_get_ht_cap_info(struct wlan_objmgr_psoc *psoc,
  117. struct mlme_ht_capabilities_info
  118. *ht_cap_info);
  119. /**
  120. * wlan_mlme_get_manufacturer_name() - get manufacturer name
  121. * @psoc: pointer to psoc object
  122. * @pbuf: pointer of the buff which will be filled for the caller
  123. * @plen: pointer of max buffer length
  124. * actual length will be returned at this address
  125. * This function gets manufacturer name
  126. *
  127. * Return: QDF_STATUS_SUCCESS - in case of success
  128. */
  129. QDF_STATUS
  130. wlan_mlme_get_manufacturer_name(struct wlan_objmgr_psoc *psoc,
  131. uint8_t *pbuf, uint32_t *plen);
  132. /**
  133. * wlan_mlme_get_model_number() - get model number
  134. * @psoc: pointer to psoc object
  135. * @pbuf: pointer of the buff which will be filled for the caller
  136. * @plen: pointer of max buffer length
  137. * actual length will be returned at this address
  138. * This function gets model number
  139. *
  140. * Return: QDF_STATUS_SUCCESS - in case of success
  141. */
  142. QDF_STATUS
  143. wlan_mlme_get_model_number(struct wlan_objmgr_psoc *psoc,
  144. uint8_t *pbuf, uint32_t *plen);
  145. /**
  146. * wlan_mlme_get_model_name() - get model name
  147. * @psoc: pointer to psoc object
  148. * @pbuf: pointer of the buff which will be filled for the caller
  149. * @plen: pointer of max buffer length
  150. * actual length will be returned at this address
  151. * This function gets model name
  152. *
  153. * Return: QDF_STATUS_SUCCESS - in case of success
  154. */
  155. QDF_STATUS
  156. wlan_mlme_get_model_name(struct wlan_objmgr_psoc *psoc,
  157. uint8_t *pbuf, uint32_t *plen);
  158. /**
  159. * wlan_mlme_get_manufacture_product_name() - get manufacture product name
  160. * @psoc: pointer to psoc object
  161. * @pbuf: pointer of the buff which will be filled for the caller
  162. * @plen: pointer of max buffer length
  163. * actual length will be returned at this address
  164. * This function gets manufacture product name
  165. *
  166. * Return: QDF_STATUS_SUCCESS - in case of success
  167. */
  168. QDF_STATUS
  169. wlan_mlme_get_manufacture_product_name(struct wlan_objmgr_psoc *psoc,
  170. uint8_t *pbuf, uint32_t *plen);
  171. /**
  172. * wlan_mlme_get_manufacture_product_version() - get manufacture product version
  173. * @psoc: pointer to psoc object
  174. * @pbuf: pointer of the buff which will be filled for the caller
  175. * @plen: pointer of max buffer length
  176. * actual length will be returned at this address
  177. * This function gets manufacture product version
  178. *
  179. * Return: QDF_STATUS_SUCCESS - in case of success
  180. */
  181. QDF_STATUS
  182. wlan_mlme_get_manufacture_product_version(struct wlan_objmgr_psoc *psoc,
  183. uint8_t *pbuf, uint32_t *plen);
  184. /**
  185. * wlan_mlme_set_ht_cap_info() - Set the HT cap info config
  186. * @psoc: pointer to psoc object
  187. * @value: Value that needs to be set from the caller
  188. *
  189. * Return: QDF Status
  190. */
  191. QDF_STATUS wlan_mlme_set_ht_cap_info(struct wlan_objmgr_psoc *psoc,
  192. struct mlme_ht_capabilities_info
  193. ht_cap_info);
  194. /**
  195. * wlan_mlme_get_max_amsdu_num() - get the max amsdu num
  196. * @psoc: pointer to psoc object
  197. * @value: pointer to the value where the max_amsdu num is to be filled
  198. *
  199. * Return: QDF_STATUS
  200. */
  201. QDF_STATUS wlan_mlme_get_max_amsdu_num(struct wlan_objmgr_psoc *psoc,
  202. uint8_t *value);
  203. /**
  204. * wlan_mlme_set_max_amsdu_num() - set the max amsdu num
  205. * @psoc: pointer to psoc object
  206. * @value: value to be set for max_amsdu_num
  207. *
  208. * Return: QDF_STATUS
  209. */
  210. QDF_STATUS wlan_mlme_set_max_amsdu_num(struct wlan_objmgr_psoc *psoc,
  211. uint8_t value);
  212. /**
  213. * wlan_mlme_get_ht_mpdu_density() - get the ht mpdu density
  214. * @psoc: pointer to psoc object
  215. * @value: pointer to the value where the ht mpdu density is to be filled
  216. *
  217. * Return: QDF_STATUS
  218. */
  219. QDF_STATUS wlan_mlme_get_ht_mpdu_density(struct wlan_objmgr_psoc *psoc,
  220. uint8_t *value);
  221. /**
  222. * wlan_mlme_set_ht_mpdu_density() - set the ht mpdu density
  223. * @psoc: pointer to psoc object
  224. * @value: value to be set for ht mpdu density
  225. *
  226. * Return: QDF_STATUS
  227. */
  228. QDF_STATUS wlan_mlme_set_ht_mpdu_density(struct wlan_objmgr_psoc *psoc,
  229. uint8_t value);
  230. /**
  231. * wlan_mlme_get_band_capability() - Get the Band capability config
  232. * @psoc: pointer to psoc object
  233. * @band_capability: Pointer to the variable from caller
  234. *
  235. * Return: QDF Status
  236. */
  237. QDF_STATUS wlan_mlme_get_band_capability(struct wlan_objmgr_psoc *psoc,
  238. uint8_t *band_capability);
  239. /**
  240. * wlan_mlme_set_band_capability() - Set the Band capability config
  241. * @psoc: pointer to psoc object
  242. * @band_capability: Value to be set from the caller
  243. *
  244. * Return: QDF Status
  245. */
  246. QDF_STATUS wlan_mlme_set_band_capability(struct wlan_objmgr_psoc *psoc,
  247. uint8_t band_capability);
  248. /**
  249. * wlan_mlme_get_prevent_link_down() - Get the prevent link down config
  250. * @psoc: pointer to psoc object
  251. * @prevent_link_down: Pointer to the variable from caller
  252. *
  253. * Return: QDF Status
  254. */
  255. QDF_STATUS wlan_mlme_get_prevent_link_down(struct wlan_objmgr_psoc *psoc,
  256. bool *prevent_link_down);
  257. /**
  258. * wlan_mlme_get_select_5ghz_margin() - Get the select 5Ghz margin config
  259. * @psoc: pointer to psoc object
  260. * @select_5ghz_margin: Pointer to the variable from caller
  261. *
  262. * Return: QDF Status
  263. */
  264. QDF_STATUS wlan_mlme_get_select_5ghz_margin(struct wlan_objmgr_psoc *psoc,
  265. uint8_t *select_5ghz_margin);
  266. /**
  267. * wlan_mlme_get_rtt_mac_randomization() - Get the RTT MAC randomization config
  268. * @psoc: pointer to psoc object
  269. * @rtt_mac_randomization: Pointer to the variable from caller
  270. *
  271. * Return: QDF Status
  272. */
  273. QDF_STATUS wlan_mlme_get_rtt_mac_randomization(struct wlan_objmgr_psoc *psoc,
  274. bool *rtt_mac_randomization);
  275. /**
  276. * wlan_mlme_get_crash_inject() - Get the crash inject config
  277. * @psoc: pointer to psoc object
  278. * @crash_inject: Pointer to the variable from caller
  279. *
  280. * Return: QDF Status
  281. */
  282. QDF_STATUS wlan_mlme_get_crash_inject(struct wlan_objmgr_psoc *psoc,
  283. bool *crash_inject);
  284. /**
  285. * wlan_mlme_get_lpass_support() - Get the LPASS Support config
  286. * @psoc: pointer to psoc object
  287. * @lpass_support: Pointer to the variable from caller
  288. *
  289. * Return: QDF Status
  290. */
  291. QDF_STATUS wlan_mlme_get_lpass_support(struct wlan_objmgr_psoc *psoc,
  292. bool *lpass_support);
  293. /**
  294. * wlan_mlme_get_self_recovery() - Get the self recovery config
  295. * @psoc: pointer to psoc object
  296. * @self_recovery: Pointer to the variable from caller
  297. *
  298. * Return: QDF Status
  299. */
  300. QDF_STATUS wlan_mlme_get_self_recovery(struct wlan_objmgr_psoc *psoc,
  301. bool *self_recovery);
  302. /**
  303. * wlan_mlme_get_sub_20_chan_width() - Get the sub 20 chan width config
  304. * @psoc: pointer to psoc object
  305. * @sub_20_chan_width: Pointer to the variable from caller
  306. *
  307. * Return: QDF Status
  308. */
  309. QDF_STATUS wlan_mlme_get_sub_20_chan_width(struct wlan_objmgr_psoc *psoc,
  310. uint8_t *sub_20_chan_width);
  311. /**
  312. * wlan_mlme_get_fw_timeout_crash() - Get the fw timeout crash config
  313. * @psoc: pointer to psoc object
  314. * @fw_timeout_crash: Pointer to the variable from caller
  315. *
  316. * Return: QDF Status
  317. */
  318. QDF_STATUS wlan_mlme_get_fw_timeout_crash(struct wlan_objmgr_psoc *psoc,
  319. bool *fw_timeout_crash);
  320. /**
  321. * wlan_mlme_get_ito_repeat_count() - Get the fw timeout crash config
  322. * @psoc: pointer to psoc object
  323. * @ito_repeat_count: Pointer to the variable from caller
  324. *
  325. * Return: QDF Status
  326. */
  327. QDF_STATUS wlan_mlme_get_ito_repeat_count(struct wlan_objmgr_psoc *psoc,
  328. uint8_t *ito_repeat_count);
  329. /**
  330. * wlan_mlme_get_acs_with_more_param() - Get the acs_with_more_param flag
  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 wlan_mlme_get_acs_with_more_param(struct wlan_objmgr_psoc *psoc,
  337. bool *value);
  338. /**
  339. * wlan_mlme_get_auto_channel_weight() - Get the auto channel weight
  340. * @psoc: pointer to psoc object
  341. * @value: Value that needs to be set from the caller
  342. *
  343. * Return: QDF Status
  344. */
  345. QDF_STATUS wlan_mlme_get_auto_channel_weight(struct wlan_objmgr_psoc *psoc,
  346. uint32_t *value);
  347. /**
  348. * wlan_mlme_get_vendor_acs_support() - Get the vendor based channel selece
  349. * @psoc: pointer to psoc object
  350. * @value: Value that needs to be set from the caller
  351. *
  352. * Return: QDF Status
  353. */
  354. QDF_STATUS wlan_mlme_get_vendor_acs_support(struct wlan_objmgr_psoc *psoc,
  355. bool *value);
  356. /**
  357. * wlan_mlme_get_acs_support_for_dfs_ltecoex() - Get the flag for
  358. * acs support for dfs ltecoex
  359. * @psoc: pointer to psoc object
  360. * @value: Value that needs to be set from the caller
  361. *
  362. * Return: QDF Status
  363. */
  364. QDF_STATUS
  365. wlan_mlme_get_acs_support_for_dfs_ltecoex(struct wlan_objmgr_psoc *psoc,
  366. bool *value);
  367. /**
  368. * wlan_mlme_get_external_acs_policy() - Get the flag for external acs policy
  369. * @psoc: pointer to psoc object
  370. * @value: Value that needs to be set from the caller
  371. *
  372. * Return: QDF Status
  373. */
  374. QDF_STATUS
  375. wlan_mlme_get_external_acs_policy(struct wlan_objmgr_psoc *psoc,
  376. bool *value);
  377. /**
  378. *
  379. * wlan_mlme_get_sap_inactivity_override() - Check if sap max inactivity
  380. * override flag is set.
  381. * @psoc: pointer to psoc object
  382. * @sme_config - Sme config struct
  383. *
  384. * Return: QDF Status
  385. */
  386. void wlan_mlme_get_sap_inactivity_override(struct wlan_objmgr_psoc *psoc,
  387. bool *value);
  388. /**
  389. * wlan_mlme_get_ignore_peer_ht_mode() - Get the ignore peer ht opmode flag
  390. * @psoc: pointer to psoc object
  391. * @value: Value that needs to be set from the caller
  392. *
  393. * Return: QDF Status
  394. */
  395. QDF_STATUS wlan_mlme_get_ignore_peer_ht_mode(struct wlan_objmgr_psoc *psoc,
  396. bool *value);
  397. /**
  398. * wlan_mlme_get_tx_chainmask_cck() - Get the tx_chainmask_cfg value
  399. * @psoc: pointer to psoc object
  400. * @value: Value that needs to be set from the caller
  401. *
  402. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  403. */
  404. QDF_STATUS wlan_mlme_get_tx_chainmask_cck(struct wlan_objmgr_psoc *psoc,
  405. bool *value);
  406. /**
  407. * wlan_mlme_get_tx_chainmask_1ss() - Get the tx_chainmask_1ss value
  408. * @psoc: pointer to psoc object
  409. * @value: Value that caller needs to get
  410. *
  411. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  412. */
  413. QDF_STATUS wlan_mlme_get_tx_chainmask_1ss(struct wlan_objmgr_psoc *psoc,
  414. uint8_t *value);
  415. /**
  416. * wlan_mlme_get_num_11b_tx_chains() - Get the number of 11b only tx chains
  417. * @psoc: pointer to psoc object
  418. * @value: Value that needs to be set from the caller
  419. *
  420. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  421. */
  422. QDF_STATUS wlan_mlme_get_num_11b_tx_chains(struct wlan_objmgr_psoc *psoc,
  423. uint16_t *value);
  424. /**
  425. * wlan_mlme_get_num_11ag_tx_chains() - get the total number of 11a/g tx chains
  426. * @psoc: pointer to psoc object
  427. * @value: Value that caller needs to get
  428. *
  429. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  430. */
  431. QDF_STATUS wlan_mlme_get_num_11ag_tx_chains(struct wlan_objmgr_psoc *psoc,
  432. uint16_t *value);
  433. /**
  434. * wlan_mlme_get_bt_chain_separation_flag() - get the enable_bt_chain_separation
  435. * flag
  436. * @psoc: pointer to psoc object
  437. * @value: Value that needs to be set from the caller
  438. *
  439. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  440. */
  441. QDF_STATUS wlan_mlme_get_bt_chain_separation_flag(struct wlan_objmgr_psoc *psoc,
  442. bool *value);
  443. /**
  444. * wlan_mlme_configure_chain_mask() - configure chainmask parameters
  445. * @psoc: pointer to psoc object
  446. * @session_id: vdev_id
  447. *
  448. * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
  449. */
  450. QDF_STATUS wlan_mlme_configure_chain_mask(struct wlan_objmgr_psoc *psoc,
  451. uint8_t session_id);
  452. /**
  453. * wlan_mlme_get_listen_interval() - Get listen interval
  454. * @psoc: pointer to psoc object
  455. * @value: Pointer to value that needs to be filled by MLME
  456. *
  457. * Return: QDF Status
  458. */
  459. QDF_STATUS wlan_mlme_get_listen_interval(struct wlan_objmgr_psoc *psoc,
  460. int *value);
  461. /**
  462. * wlan_mlme_set_sap_listen_interval() - Set the sap listen interval
  463. * @psoc: pointer to psoc object
  464. * @value: Value that needs to be set from the caller
  465. *
  466. * Return: QDF Status
  467. */
  468. QDF_STATUS wlan_mlme_set_sap_listen_interval(struct wlan_objmgr_psoc *psoc,
  469. int value);
  470. /**
  471. * wlan_mlme_set_assoc_sta_limit() - Set the assoc sta limit
  472. * @psoc: pointer to psoc object
  473. * @value: Value that needs to be set from the caller
  474. *
  475. * Return: QDF Status
  476. */
  477. QDF_STATUS wlan_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
  478. int value);
  479. /**
  480. * wlan_mlme_set_rmc_action_period_freq() - Set the rmc action period frequency
  481. * @psoc: pointer to psoc object
  482. * @value: Value that needs to be set from the caller
  483. *
  484. * Return: QDF Status
  485. */
  486. QDF_STATUS wlan_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
  487. int value);
  488. /**
  489. * wlan_mlme_set_sap_get_peer_info() - get the sap get peer info
  490. * @psoc: pointer to psoc object
  491. * @value: Value that needs to be set from the caller
  492. *
  493. * Return: QDF Status
  494. */
  495. QDF_STATUS wlan_mlme_get_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
  496. bool *value);
  497. /**
  498. * wlan_mlme_set_sap_get_peer_info() - set the sap get peer info
  499. * @psoc: pointer to psoc object
  500. * @value: value to overwrite the sap get peer info
  501. *
  502. * Return: QDF Status
  503. */
  504. QDF_STATUS wlan_mlme_set_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
  505. bool value);
  506. /**
  507. * wlan_mlme_get_sap_bcast_deauth_enabled() - get the enable/disable value
  508. * for broadcast deauth in sap
  509. * @psoc: pointer to psoc object
  510. * @value: Value that needs to get from the caller
  511. *
  512. * Return: QDF Status
  513. */
  514. QDF_STATUS
  515. wlan_mlme_get_sap_bcast_deauth_enabled(struct wlan_objmgr_psoc *psoc,
  516. bool *value);
  517. /**
  518. * wlan_mlme_get_sap_allow_all_channels() - get the value of sap allow all
  519. * channels
  520. * @psoc: pointer to psoc object
  521. * @value: Value that needs to be set from the caller
  522. *
  523. * Return: QDF Status
  524. */
  525. QDF_STATUS wlan_mlme_get_sap_allow_all_channels(struct wlan_objmgr_psoc *psoc,
  526. bool *value);
  527. /**
  528. * wlan_mlme_get_sap_allow_all_channels() - get the value sap max peers
  529. * @psoc: pointer to psoc object
  530. * @value: Value that needs to be set from the caller
  531. *
  532. * Return: QDF Status
  533. */
  534. QDF_STATUS wlan_mlme_get_sap_max_peers(struct wlan_objmgr_psoc *psoc,
  535. int *value);
  536. /**
  537. * wlan_mlme_set_sap_max_peers() - set the value sap max peers
  538. * @psoc: pointer to psoc object
  539. * @value: Value that needs to be set from the caller
  540. *
  541. * Return: QDF Status
  542. */
  543. QDF_STATUS wlan_mlme_set_sap_max_peers(struct wlan_objmgr_psoc *psoc,
  544. int value);
  545. /**
  546. * wlan_mlme_get_sap_max_offload_peers() - get the value sap max offload peers
  547. * @psoc: pointer to psoc object
  548. * @value: Value that needs to be set from the caller
  549. *
  550. * Return: QDF Status
  551. */
  552. QDF_STATUS wlan_mlme_get_sap_max_offload_peers(struct wlan_objmgr_psoc *psoc,
  553. int *value);
  554. /**
  555. * wlan_mlme_get_sap_max_offload_reorder_buffs() - get the value sap max offload
  556. * reorder buffs.
  557. * @psoc: pointer to psoc object
  558. * @value: Value that needs to be set from the caller
  559. *
  560. * Return: QDF Status
  561. */
  562. QDF_STATUS wlan_mlme_get_sap_max_offload_reorder_buffs(struct wlan_objmgr_psoc
  563. *psoc, int *value);
  564. /**
  565. * wlan_mlme_get_sap_chn_switch_bcn_count() - get the value sap max channel
  566. * switch beacon count
  567. * @psoc: pointer to psoc object
  568. * @value: Value that needs to be set from the caller
  569. *
  570. * Return: QDF Status
  571. */
  572. QDF_STATUS wlan_mlme_get_sap_chn_switch_bcn_count(struct wlan_objmgr_psoc *psoc,
  573. int *value);
  574. /**
  575. * wlan_mlme_get_sap_chn_switch_mode() - get the sap channel
  576. * switch mode
  577. * @psoc: pointer to psoc object
  578. * @value: Value that needs to be set from the caller
  579. *
  580. * Return: QDF Status
  581. */
  582. QDF_STATUS wlan_mlme_get_sap_chn_switch_mode(struct wlan_objmgr_psoc *psoc,
  583. bool *value);
  584. /**
  585. * wlan_mlme_get_sap_internal_restart() - get the sap internal
  586. * restart
  587. * @psoc: pointer to psoc object
  588. * @value: Value that needs to be set from the caller
  589. *
  590. * Return: QDF Status
  591. */
  592. QDF_STATUS wlan_mlme_get_sap_internal_restart(struct wlan_objmgr_psoc *psoc,
  593. bool *value);
  594. /**
  595. * wlan_mlme_get_sap_max_modulated_dtim() - get the max modulated dtim
  596. * restart
  597. * @psoc: pointer to psoc object
  598. * @value: Value that needs to be set from the caller
  599. *
  600. * Return: QDF Status
  601. */
  602. QDF_STATUS wlan_mlme_get_sap_max_modulated_dtim(struct wlan_objmgr_psoc *psoc,
  603. uint8_t *value);
  604. /**
  605. * wlan_mlme_get_sap_chan_pref_location() - get the sap chan pref location
  606. * restart
  607. * @psoc: pointer to psoc object
  608. * @value: Value that needs to be set from the caller
  609. *
  610. * Return: QDF Status
  611. */
  612. QDF_STATUS wlan_mlme_get_sap_chan_pref_location(struct wlan_objmgr_psoc *psoc,
  613. uint8_t *value);
  614. /**
  615. * wlan_mlme_get_sap_country_priority() - get the sap country code priority
  616. * restart
  617. * @psoc: pointer to psoc object
  618. * @value: Value that needs to be set from the caller
  619. *
  620. * Return: QDF Status
  621. */
  622. QDF_STATUS wlan_mlme_get_sap_country_priority(struct wlan_objmgr_psoc *psoc,
  623. bool *value);
  624. /**
  625. * wlan_mlme_get_sap_reduced_beacon_interval() - get the sap reduced
  626. * beacon interval
  627. * @psoc: pointer to psoc object
  628. * @value: Value that needs to be set from the caller
  629. *
  630. * Return: QDF Status
  631. */
  632. QDF_STATUS wlan_mlme_get_sap_reduced_beacon_interval(struct wlan_objmgr_psoc
  633. *psoc, int *value);
  634. /**
  635. * wlan_mlme_get_sap_chan_switch_rate_enabled() - get the sap rate hostapd
  636. * enabled beacon interval
  637. * @psoc: pointer to psoc object
  638. * @value: Value that needs to be set from the caller
  639. *
  640. * Return: QDF Status
  641. */
  642. QDF_STATUS wlan_mlme_get_sap_chan_switch_rate_enabled(struct wlan_objmgr_psoc
  643. *psoc, bool *value);
  644. /**
  645. * wlan_mlme_get_sap_force_11n_for_11ac() - get the sap 11n for 11ac
  646. *
  647. * @psoc: pointer to psoc object
  648. * @value: Value that needs to be set from the caller
  649. *
  650. * Return: QDF Status
  651. */
  652. QDF_STATUS wlan_mlme_get_sap_force_11n_for_11ac(struct wlan_objmgr_psoc
  653. *psoc, bool *value);
  654. /**
  655. * wlan_mlme_get_go_force_11n_for_11ac() - get the go 11n for 11ac
  656. *
  657. * @psoc: pointer to psoc object
  658. * @value: Value that needs to be set from the caller
  659. *
  660. * Return: QDF Status
  661. */
  662. QDF_STATUS wlan_mlme_get_go_force_11n_for_11ac(struct wlan_objmgr_psoc
  663. *psoc, bool *value);
  664. /**
  665. * wlan_mlme_is_go_11ac_override() - Override 11ac bandwdith for P2P GO
  666. *
  667. * @psoc: pointer to psoc object
  668. * @value: pointer to the value which will be filled for the caller
  669. *
  670. * Return: QDF Status
  671. */
  672. QDF_STATUS wlan_mlme_is_go_11ac_override(struct wlan_objmgr_psoc *psoc,
  673. bool *value);
  674. /**
  675. * wlan_mlme_is_sap_11ac_override() - Override 11ac bandwdith for SAP
  676. *
  677. * @psoc: pointer to psoc object
  678. * @value: pointer to the value which will be filled for the caller
  679. *
  680. * Return: QDF Status
  681. */
  682. QDF_STATUS wlan_mlme_is_sap_11ac_override(struct wlan_objmgr_psoc *psoc,
  683. bool *value);
  684. /**
  685. * wlan_mlme_set_go_11ac_override() - set override 11ac bandwdith for P2P GO
  686. *
  687. * @psoc: pointer to psoc object
  688. * @value: pointer to the value which will be filled for the caller
  689. *
  690. * Return: QDF Status
  691. */
  692. QDF_STATUS wlan_mlme_set_go_11ac_override(struct wlan_objmgr_psoc *psoc,
  693. bool value);
  694. /**
  695. * wlan_mlme_set_sap_11ac_override() - set override 11ac bandwdith for SAP
  696. *
  697. * @psoc: pointer to psoc object
  698. * @value: pointer to the value which will be filled for the caller
  699. *
  700. * Return: QDF Status
  701. */
  702. QDF_STATUS wlan_mlme_set_sap_11ac_override(struct wlan_objmgr_psoc *psoc,
  703. bool value);
  704. /**
  705. * wlan_mlme_get_oce_sta_enabled_info() - Get the OCE feature enable
  706. * info for STA
  707. * @psoc: pointer to psoc object
  708. * @value: pointer to the value which will be filled for the caller
  709. *
  710. * Return: QDF Status
  711. */
  712. QDF_STATUS wlan_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
  713. bool *value);
  714. /**
  715. * wlan_mlme_get_oce_sap_enabled_info() - Get the OCE feature enable
  716. * info for SAP
  717. * @psoc: pointer to psoc object
  718. * @value: pointer to the value which will be filled for the caller
  719. *
  720. * Return: QDF Status
  721. */
  722. QDF_STATUS wlan_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc *psoc,
  723. bool *value);
  724. /**
  725. * wlan_mlme_update_oce_flags() - Update the oce flags to FW
  726. * @pdev: pointer to pdev object
  727. *
  728. * Return: void
  729. */
  730. void wlan_mlme_update_oce_flags(struct wlan_objmgr_pdev *pdev);
  731. #ifdef WLAN_FEATURE_11AX
  732. /**
  733. * wlan_mlme_cfg_get_he_ul_mumimo() - Get the HE Ul Mumio
  734. * @psoc: pointer to psoc object
  735. * @value: Value that needs to be set from the caller
  736. *
  737. * Return: QDF Status
  738. */
  739. QDF_STATUS wlan_mlme_cfg_get_he_ul_mumimo(struct wlan_objmgr_psoc *psoc,
  740. uint32_t *value);
  741. /**
  742. * wlan_mlme_cfg_set_he_ul_mumimo() - Set the HE Ul Mumio
  743. * @psoc: pointer to psoc object
  744. * @value: Value that needs to be set from the caller
  745. *
  746. * Return: QDF Status
  747. */
  748. QDF_STATUS wlan_mlme_cfg_set_he_ul_mumimo(struct wlan_objmgr_psoc *psoc,
  749. uint32_t value);
  750. /**
  751. * mlme_cfg_get_he_caps() - Get the HE capability info
  752. * @psoc: pointer to psoc object
  753. * @he_cap: Caps that needs to be filled.
  754. *
  755. * Return: QDF Status
  756. */
  757. QDF_STATUS mlme_cfg_get_he_caps(struct wlan_objmgr_psoc *psoc,
  758. tDot11fIEhe_cap *he_cap);
  759. /**
  760. * wlan_mlme_cfg_get_enable_ul_mimo() - Get the HE Ul mimo
  761. * @psoc: pointer to psoc object
  762. * @value: Value that needs to be set from the caller
  763. *
  764. * Return: QDF Status
  765. */
  766. QDF_STATUS wlan_mlme_cfg_get_enable_ul_mimo(struct wlan_objmgr_psoc *psoc,
  767. uint8_t *value);
  768. /**
  769. * wlan_mlme_cfg_get_enable_ul_ofdm() - Get enable ul ofdm
  770. * @psoc: pointer to psoc object
  771. * @value: Value that needs to be set from the caller
  772. *
  773. * Return: QDF Status
  774. */
  775. QDF_STATUS wlan_mlme_cfg_get_enable_ul_ofdm(struct wlan_objmgr_psoc *psoc,
  776. uint8_t *value);
  777. /**
  778. * mlme_update_tgt_he_caps_in_cfg() - Update tgt he cap in mlme component
  779. *
  780. * @psoc: pointer to psoc object
  781. * @cfg: pointer to config params from target
  782. *
  783. * This api to be used by callers to update
  784. * he caps in mlme.
  785. *
  786. * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
  787. */
  788. QDF_STATUS mlme_update_tgt_he_caps_in_cfg(struct wlan_objmgr_psoc *psoc,
  789. struct wma_tgt_cfg *cfg);
  790. #endif
  791. /**
  792. * wlan_mlme_is_ap_prot_enabled() - check if sap protection is enabled
  793. * @psoc: pointer to psoc object
  794. *
  795. * Return: is_ap_prot_enabled flag
  796. */
  797. bool wlan_mlme_is_ap_prot_enabled(struct wlan_objmgr_psoc *psoc);
  798. /**
  799. * wlan_mlme_get_ap_protection_mode() - Get ap_protection_mode value
  800. * @psoc: pointer to psoc object
  801. * @value: pointer to the value which needs to be filled for the caller
  802. *
  803. * Return: QDF Status
  804. */
  805. QDF_STATUS wlan_mlme_get_ap_protection_mode(struct wlan_objmgr_psoc *psoc,
  806. uint16_t *value);
  807. /**
  808. * wlan_mlme_is_ap_obss_prot_enabled() - Get ap_obss_protection is
  809. * enabled/disabled
  810. * @psoc: pointer to psoc object
  811. * @value: pointer to the value which needs to be filled for the caller
  812. *
  813. * Return: QDF Status
  814. */
  815. QDF_STATUS wlan_mlme_is_ap_obss_prot_enabled(struct wlan_objmgr_psoc *psoc,
  816. bool *value);
  817. /**
  818. * wlan_mlme_get_rts_threshold() - Get the RTS threshold config
  819. * @psoc: pointer to psoc object
  820. * @value: pointer to the value which will be filled for the caller
  821. *
  822. * Return: QDF Status
  823. */
  824. QDF_STATUS wlan_mlme_get_rts_threshold(struct wlan_objmgr_psoc *psoc,
  825. uint32_t *value);
  826. /**
  827. * wlan_mlme_set_rts_threshold() - Set the RTS threshold config
  828. * @psoc: pointer to psoc object
  829. * @value: Value that needs to be set from the caller
  830. *
  831. * Return: QDF Status
  832. */
  833. QDF_STATUS wlan_mlme_set_rts_threshold(struct wlan_objmgr_psoc *psoc,
  834. uint32_t value);
  835. /**
  836. * wlan_mlme_get_frag_threshold() - Get the Fragmentation threshold
  837. * config
  838. * @psoc: pointer to psoc object
  839. * @value: pointer to the value which will be filled for the caller
  840. *
  841. * Return: QDF Status
  842. */
  843. QDF_STATUS wlan_mlme_get_frag_threshold(struct wlan_objmgr_psoc *psoc,
  844. uint32_t *value);
  845. /**
  846. * wlan_mlme_set_frag_threshold() - Set the Fragmentation threshold
  847. * config
  848. * @psoc: pointer to psoc object
  849. * @value: Value that needs to be set from the caller
  850. *
  851. * Return: QDF Status
  852. */
  853. QDF_STATUS wlan_mlme_set_frag_threshold(struct wlan_objmgr_psoc *psoc,
  854. uint32_t value);
  855. /**
  856. * wlan_mlme_get_fils_enabled_info() - Get the fils enable info for driver
  857. * @psoc: pointer to psoc object
  858. * @value: pointer to the value which will be filled for the caller
  859. *
  860. * Return: QDF Status
  861. */
  862. QDF_STATUS wlan_mlme_get_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  863. bool *value);
  864. /**
  865. * wlan_mlme_set_fils_enabled_info() - Set the fils enable info for driver
  866. * @psoc: pointer to psoc object
  867. * @value: value that needs to be set from the caller
  868. *
  869. * Return: QDF Status
  870. */
  871. QDF_STATUS wlan_mlme_set_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  872. bool value);
  873. /**
  874. * wlan_mlme_get_tl_delayed_trgr_frm_int() - Get delay interval(in ms)
  875. * of UAPSD auto trigger
  876. * @psoc: pointer to psoc object
  877. * @value: Value that needs to be set from the caller
  878. *
  879. * Return: None
  880. */
  881. void wlan_mlme_get_tl_delayed_trgr_frm_int(struct wlan_objmgr_psoc *psoc,
  882. uint32_t *value);
  883. /**
  884. * wlan_mlme_get_wmm_dir_ac_vi() - Get TSPEC direction
  885. * for VI
  886. * @psoc: pointer to psoc object
  887. * @value: Value that needs to be set from the caller
  888. *
  889. * Return: QDF Status
  890. */
  891. QDF_STATUS
  892. wlan_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  893. /**
  894. * wlan_mlme_get_wmm_nom_msdu_size_ac_vi() - Get normal
  895. * MSDU size for VI
  896. * @psoc: pointer to psoc object
  897. * @value: Value that needs to be set from the caller
  898. *
  899. * Return: QDF Status
  900. */
  901. QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc,
  902. uint16_t *value);
  903. /**
  904. * wlan_mlme_get_wmm_mean_data_rate_ac_vi() - mean data
  905. * rate for VI
  906. * @psoc: pointer to psoc object
  907. * @value: Value that needs to be set from the caller
  908. *
  909. * Return: QDF Status
  910. */
  911. QDF_STATUS
  912. wlan_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc,
  913. uint32_t *value);
  914. /**
  915. * wlan_mlme_get_wmm_min_phy_rate_ac_vi() - min PHY
  916. * rate for VI
  917. * @psoc: pointer to psoc object
  918. * @value: Value that needs to be set from the caller
  919. *
  920. * Return: QDF Status
  921. */
  922. QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc,
  923. uint32_t *value);
  924. /**
  925. * wlan_mlme_get_wmm_sba_ac_vi() - surplus bandwidth
  926. * allowance for VI
  927. * @psoc: pointer to psoc object
  928. * @value: Value that needs to be set from the caller
  929. *
  930. * Return: QDF Status
  931. */
  932. QDF_STATUS
  933. wlan_mlme_get_wmm_sba_ac_vi(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  934. /**
  935. * wlan_mlme_get_wmm_uapsd_vi_srv_intv() - Get Uapsd service
  936. * interval for video
  937. * @psoc: pointer to psoc object
  938. * @value: pointer to the value which will be filled for the caller
  939. *
  940. * Return: QDF Status
  941. */
  942. QDF_STATUS
  943. wlan_mlme_get_wmm_uapsd_vi_srv_intv(struct wlan_objmgr_psoc *psoc,
  944. uint32_t *value);
  945. /**
  946. * wlan_mlme_get_wmm_uapsd_vi_sus_intv() - Get Uapsd suspension
  947. * interval for video
  948. * @psoc: pointer to psoc object
  949. * @value: pointer to the value which will be filled for the caller
  950. *
  951. * Return: QDF Status
  952. */
  953. QDF_STATUS
  954. wlan_mlme_get_wmm_uapsd_vi_sus_intv(struct wlan_objmgr_psoc *psoc,
  955. uint32_t *value);
  956. /**
  957. * wlan_mlme_get_wmm_dir_ac_be() - Get TSPEC direction
  958. * for BE
  959. * @psoc: pointer to psoc object
  960. * @value: Value that needs to be set from the caller
  961. *
  962. * Return: QDF Status
  963. */
  964. QDF_STATUS
  965. wlan_mlme_get_wmm_dir_ac_be(struct wlan_objmgr_psoc *psoc,
  966. uint8_t *value);
  967. /**
  968. * wlan_mlme_get_wmm_nom_msdu_size_ac_be() - Get normal
  969. * MSDU size for BE
  970. * @psoc: pointer to psoc object
  971. * @value: Value that needs to be set from the caller
  972. *
  973. * Return: QDF Status
  974. */
  975. QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc,
  976. uint16_t *value);
  977. /**
  978. * wlan_mlme_get_wmm_mean_data_rate_ac_be() - mean data
  979. * rate for BE
  980. * @psoc: pointer to psoc object
  981. * @value: Value that needs to be set from the caller
  982. *
  983. * Return: QDF Status
  984. */
  985. QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc,
  986. uint32_t *value);
  987. /**
  988. * wlan_mlme_get_wmm_min_phy_rate_ac_be() - min PHY
  989. * rate for BE
  990. * @psoc: pointer to psoc object
  991. * @value: Value that needs to be set from the caller
  992. *
  993. * Return: QDF Status
  994. */
  995. QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_be(struct wlan_objmgr_psoc *psoc,
  996. uint32_t *value);
  997. /**
  998. * wlan_mlme_get_wmm_sba_ac_be() - surplus bandwidth
  999. * allowance for BE
  1000. * @psoc: pointer to psoc object
  1001. * @value: Value that needs to be set from the caller
  1002. *
  1003. * Return: QDF Status
  1004. */
  1005. QDF_STATUS
  1006. wlan_mlme_get_wmm_sba_ac_be(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  1007. /**
  1008. * wlan_mlme_get_wmm_uapsd_be_srv_intv() - Get Uapsd service
  1009. * interval for BE
  1010. * @psoc: pointer to psoc object
  1011. * @value: pointer to the value which will be filled for the caller
  1012. *
  1013. * Return: QDF Status
  1014. */
  1015. QDF_STATUS
  1016. wlan_mlme_get_wmm_uapsd_be_srv_intv(struct wlan_objmgr_psoc *psoc,
  1017. uint32_t *value);
  1018. /**
  1019. * wlan_mlme_get_wmm_uapsd_be_sus_intv() - Get Uapsd suspension
  1020. * interval for BE
  1021. * @psoc: pointer to psoc object
  1022. * @value: pointer to the value which will be filled for the caller
  1023. *
  1024. * Return: QDF Status
  1025. */
  1026. QDF_STATUS
  1027. wlan_mlme_get_wmm_uapsd_be_sus_intv(struct wlan_objmgr_psoc *psoc,
  1028. uint32_t *value);
  1029. /**
  1030. * wlan_mlme_get_wmm_dir_ac_bk() - Get TSPEC direction
  1031. * for BK
  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_dir_ac_bk(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  1039. /**
  1040. * wlan_mlme_get_wmm_nom_msdu_size_ac_bk() - Get normal
  1041. * MSDU size for BK
  1042. * @psoc: pointer to psoc object
  1043. * @value: Value that needs to be set from the caller
  1044. *
  1045. * Return: QDF Status
  1046. */
  1047. QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc,
  1048. uint16_t *value);
  1049. /**
  1050. * wlan_mlme_get_wmm_mean_data_rate_ac_bk() - mean data
  1051. * rate for BK
  1052. * @psoc: pointer to psoc object
  1053. * @value: Value that needs to be set from the caller
  1054. *
  1055. * Return: QDF Status
  1056. */
  1057. QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc,
  1058. uint32_t *value);
  1059. /**
  1060. * wlan_mlme_get_wmm_min_phy_rate_ac_bk() - min PHY
  1061. * rate for BK
  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_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc *psoc,
  1068. uint32_t *value);
  1069. /**
  1070. * wlan_mlme_get_wmm_sba_ac_bk() - surplus bandwidth
  1071. * allowance for BE
  1072. * @psoc: pointer to psoc object
  1073. * @value: Value that needs to be set from the caller
  1074. *
  1075. * Return: QDF Status
  1076. */
  1077. QDF_STATUS
  1078. wlan_mlme_get_wmm_sba_ac_bk(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  1079. /**
  1080. * wlan_mlme_get_wmm_uapsd_bk_srv_intv() - Get Uapsd service
  1081. * interval for BK
  1082. * @psoc: pointer to psoc object
  1083. * @value: pointer to the value which will be filled for the caller
  1084. *
  1085. * Return: QDF Status
  1086. */
  1087. QDF_STATUS
  1088. wlan_mlme_get_wmm_uapsd_bk_srv_intv(struct wlan_objmgr_psoc *psoc,
  1089. uint32_t *value);
  1090. /**
  1091. * wlan_mlme_get_wmm_uapsd_bk_sus_intv() - Get Uapsd suspension
  1092. * interval for BK
  1093. * @psoc: pointer to psoc object
  1094. * @value: pointer to the value which will be filled for the caller
  1095. *
  1096. * Return: QDF Status
  1097. */
  1098. QDF_STATUS
  1099. wlan_mlme_get_wmm_uapsd_bk_sus_intv(struct wlan_objmgr_psoc *psoc,
  1100. uint32_t *value);
  1101. /**
  1102. * wlan_mlme_get_wmm_mode() - Enable WMM feature
  1103. * @psoc: pointer to psoc object
  1104. * @value: pointer to the value which will be filled for the caller
  1105. *
  1106. * Return: QDF Status
  1107. */
  1108. QDF_STATUS
  1109. wlan_mlme_get_wmm_mode(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  1110. /**
  1111. * wlan_mlme_get_80211e_is_enabled() - Enable 802.11e feature
  1112. * @psoc: pointer to psoc object
  1113. * @value: pointer to the value which will be filled for the caller
  1114. *
  1115. * Return: QDF Status
  1116. */
  1117. QDF_STATUS
  1118. wlan_mlme_get_80211e_is_enabled(struct wlan_objmgr_psoc *psoc, bool *value);
  1119. /**
  1120. * wlan_mlme_get_wmm_uapsd_mask() - setup U-APSD mask for ACs
  1121. * @psoc: pointer to psoc object
  1122. * @value: pointer to the value which will be filled for the caller
  1123. *
  1124. * Return: QDF Status
  1125. */
  1126. QDF_STATUS
  1127. wlan_mlme_get_wmm_uapsd_mask(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  1128. /**
  1129. * wlan_mlme_get_implicit_qos_is_enabled() - Enable implicit QOS
  1130. * @psoc: pointer to psoc object
  1131. * @value: pointer to the value which will be filled for the caller
  1132. *
  1133. * Return: QDF Status
  1134. */
  1135. QDF_STATUS wlan_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc,
  1136. bool *value);
  1137. #ifdef FEATURE_WLAN_ESE
  1138. /**
  1139. * wlan_mlme_get_inactivity_interval() - Infra Inactivity Interval
  1140. * @psoc: pointer to psoc object
  1141. * @value: pointer to the value which will be filled for the caller
  1142. *
  1143. * Return: None
  1144. */
  1145. void
  1146. wlan_mlme_get_inactivity_interval(struct wlan_objmgr_psoc *psoc,
  1147. uint32_t *value);
  1148. #endif
  1149. /**
  1150. * wlan_mlme_get_is_ts_burst_size_enable() - Get TS burst size flag
  1151. * @psoc: pointer to psoc object
  1152. * @value: pointer to the value which will be filled for the caller
  1153. *
  1154. * Return: None
  1155. */
  1156. void wlan_mlme_get_is_ts_burst_size_enable(struct wlan_objmgr_psoc *psoc,
  1157. bool *value);
  1158. /**
  1159. * wlan_mlme_get_ts_info_ack_policy() - Get TS ack policy
  1160. * @psoc: pointer to psoc object
  1161. * @value: pointer to the value which will be filled for the caller
  1162. *
  1163. * Return: None
  1164. */
  1165. void wlan_mlme_get_ts_info_ack_policy(struct wlan_objmgr_psoc *psoc,
  1166. enum mlme_ts_info_ack_policy *value);
  1167. /**
  1168. * wlan_mlme_get_ts_acm_value_for_ac() - Get ACM value for AC
  1169. * @psoc: pointer to psoc object
  1170. * @value: pointer to the value which will be filled for the caller
  1171. *
  1172. * Return: QDF Status
  1173. */
  1174. QDF_STATUS
  1175. wlan_mlme_get_ts_acm_value_for_ac(struct wlan_objmgr_psoc *psoc, bool *value);
  1176. /**
  1177. * wlan_mlme_get_wmm_dir_ac_vo() - Get TSPEC direction
  1178. * for VO
  1179. * @psoc: pointer to psoc object
  1180. * @value: Value that needs to be set from the caller
  1181. *
  1182. * Return: QDF Status
  1183. */
  1184. QDF_STATUS
  1185. wlan_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  1186. /**
  1187. * wlan_mlme_get_wmm_nom_msdu_size_ac_vo() - Get normal
  1188. * MSDU size for VO
  1189. * @psoc: pointer to psoc object
  1190. * @value: Value that needs to be set from the caller
  1191. *
  1192. * Return: QDF Status
  1193. */
  1194. QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc,
  1195. uint16_t *value);
  1196. /**
  1197. * wlan_mlme_get_wmm_mean_data_rate_ac_vo() - mean data rate for VO
  1198. * @psoc: pointer to psoc object
  1199. * @value: Value that needs to be set from the caller
  1200. *
  1201. * Return: QDF Status
  1202. */
  1203. QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  1204. uint32_t *value);
  1205. /**
  1206. * wlan_mlme_get_wmm_min_phy_rate_ac_vo() - min PHY
  1207. * rate for VO
  1208. * @psoc: pointer to psoc object
  1209. * @value: Value that needs to be set from the caller
  1210. *
  1211. * Return: QDF Status
  1212. */
  1213. QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  1214. uint32_t *value);
  1215. /**
  1216. * wlan_mlme_get_wmm_sba_ac_vo() - surplus bandwidth allowance for VO
  1217. * @psoc: pointer to psoc object
  1218. * @value: Value that needs to be set from the caller
  1219. *
  1220. * Return: QDF Status
  1221. */
  1222. QDF_STATUS
  1223. wlan_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  1224. /**
  1225. * wlan_mlme_set_enable_bcast_probe_rsp() - Set enable bcast probe resp info
  1226. * @psoc: pointer to psoc object
  1227. * @value: value that needs to be set from the caller
  1228. *
  1229. * Return: QDF Status
  1230. */
  1231. QDF_STATUS wlan_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc *psoc,
  1232. bool value);
  1233. /**
  1234. * wlan_mlme_get_wmm_uapsd_vo_srv_intv() - Get Uapsd service
  1235. * interval for voice
  1236. * @psoc: pointer to psoc object
  1237. * @value: pointer to the value which will be filled for the caller
  1238. *
  1239. * Return: QDF Status
  1240. */
  1241. QDF_STATUS
  1242. wlan_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc *psoc,
  1243. uint32_t *value);
  1244. /**
  1245. * wlan_mlme_get_wmm_uapsd_vo_sus_intv() - Get Uapsd suspension
  1246. * interval for voice
  1247. * @psoc: pointer to psoc object
  1248. * @value: pointer to the value which will be filled for the caller
  1249. *
  1250. * Return: QDF Status
  1251. */
  1252. QDF_STATUS
  1253. wlan_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc,
  1254. uint32_t *value);
  1255. /**
  1256. * wlan_mlme_cfg_get_vht_max_mpdu_len() - gets vht max mpdu length from cfg item
  1257. * @psoc: psoc context
  1258. * @value: pointer to get required data
  1259. *
  1260. * Return: QDF_STATUS
  1261. */
  1262. QDF_STATUS
  1263. wlan_mlme_cfg_get_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
  1264. uint8_t *value);
  1265. /**
  1266. * wlan_mlme_cfg_set_vht_max_mpdu_len() - sets vht max mpdu length into cfg item
  1267. * @psoc: psoc context
  1268. * @value: data to be set
  1269. *
  1270. * Return: QDF_STATUS
  1271. */
  1272. QDF_STATUS
  1273. wlan_mlme_cfg_set_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
  1274. uint8_t value);
  1275. /**
  1276. * wlan_mlme_cfg_get_vht_chan_width() - gets vht supported channel width from
  1277. * cfg item
  1278. * @psoc: psoc context
  1279. * @value: pointer to get required data
  1280. *
  1281. * Return: QDF_STATUS
  1282. */
  1283. QDF_STATUS wlan_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1284. uint8_t *value);
  1285. /**
  1286. * wlan_mlme_cfg_set_vht_chan_width() - sets vht supported channel width into
  1287. * cfg item
  1288. * @psoc: psoc context
  1289. * @value: data to be set
  1290. *
  1291. * Return: QDF_STATUS
  1292. */
  1293. QDF_STATUS wlan_mlme_cfg_set_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1294. uint8_t value);
  1295. /**
  1296. * wlan_mlme_cfg_get_vht_chan_width() - sets vht supported channel width into
  1297. * cfg item
  1298. * @psoc: psoc context
  1299. * @value: data to be set
  1300. *
  1301. * Return: QDF_STATUS
  1302. */
  1303. QDF_STATUS wlan_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1304. uint8_t *value);
  1305. /**
  1306. * wlan_mlme_cfg_get_vht_ldpc_coding_cap() - gets vht ldpc coding cap from
  1307. * cfg item
  1308. * @psoc: psoc context
  1309. * @value: pointer to get required data
  1310. *
  1311. * Return: QDF_STATUS
  1312. */
  1313. QDF_STATUS wlan_mlme_cfg_get_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc,
  1314. bool *value);
  1315. /**
  1316. * wlan_mlme_cfg_set_vht_ldpc_coding_cap() - sets vht ldpc coding cap into
  1317. * cfg item
  1318. * @psoc: psoc context
  1319. * @value: data to be set
  1320. *
  1321. * Return: QDF_STATUS
  1322. */
  1323. QDF_STATUS wlan_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc,
  1324. bool value);
  1325. /**
  1326. * wlan_mlme_cfg_get_vht_short_gi_80mhz() - gets vht short gi 80MHz from
  1327. * cfg item
  1328. * @psoc: psoc context
  1329. * @value: pointer to get required data
  1330. *
  1331. * Return: QDF_STATUS
  1332. */
  1333. QDF_STATUS wlan_mlme_cfg_get_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc,
  1334. bool *value);
  1335. /**
  1336. * wlan_mlme_cfg_set_vht_short_gi_80mhz() - sets vht short gi 80MHz into
  1337. * cfg item
  1338. * @psoc: psoc context
  1339. * @value: data to be set
  1340. *
  1341. * Return: QDF_STATUS
  1342. */
  1343. QDF_STATUS wlan_mlme_cfg_set_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc,
  1344. bool value);
  1345. /**
  1346. * wlan_mlme_cfg_get_short_gi_160_mhz() - gets vht short gi 160MHz from
  1347. * cfg item
  1348. * @psoc: psoc context
  1349. * @value: pointer to get required data
  1350. *
  1351. * Return: QDF_STATUS
  1352. */
  1353. QDF_STATUS
  1354. wlan_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, bool *value);
  1355. /**
  1356. * wlan_mlme_cfg_set_short_gi_160_mhz() - sets vht short gi 160MHz into
  1357. * cfg item
  1358. * @psoc: psoc context
  1359. * @value: data to be set
  1360. *
  1361. * Return: QDF_STATUS
  1362. */
  1363. QDF_STATUS
  1364. wlan_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, bool value);
  1365. /**
  1366. * wlan_mlme_cfg_get_vht_tx_stbc() - gets vht tx stbc from
  1367. * cfg item
  1368. * @psoc: psoc context
  1369. * @value: pointer to get required data
  1370. *
  1371. * Return: QDF_STATUS
  1372. */
  1373. QDF_STATUS
  1374. wlan_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, bool *value);
  1375. /**
  1376. * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from
  1377. * cfg item
  1378. * @psoc: psoc context
  1379. * @value: pointer to get required data
  1380. *
  1381. * Return: QDF_STATUS
  1382. */
  1383. QDF_STATUS
  1384. wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, bool *value);
  1385. /**
  1386. * wlan_mlme_cfg_set_vht_tx_stbc() - sets vht tx stbc into
  1387. * cfg item
  1388. * @psoc: psoc context
  1389. * @value: data to be set
  1390. *
  1391. * Return: QDF_STATUS
  1392. */
  1393. QDF_STATUS
  1394. wlan_mlme_cfg_set_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, bool value);
  1395. /**
  1396. * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from
  1397. * cfg item
  1398. * @psoc: psoc context
  1399. * @value: pointer to get required data
  1400. *
  1401. * Return: QDF_STATUS
  1402. */
  1403. QDF_STATUS
  1404. wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, bool *value);
  1405. /**
  1406. * wlan_mlme_cfg_set_vht_rx_stbc() - sets vht rx stbc into
  1407. * cfg item
  1408. * @psoc: psoc context
  1409. * @value: data to be set
  1410. *
  1411. * Return: QDF_STATUS
  1412. */
  1413. QDF_STATUS
  1414. wlan_mlme_cfg_set_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, bool value);
  1415. /**
  1416. * wlan_mlme_cfg_get_vht_su_bformer() - gets vht su beam former cap from
  1417. * cfg item
  1418. * @psoc: psoc context
  1419. * @value: pointer to get required data
  1420. *
  1421. * Return: QDF_STATUS
  1422. */
  1423. QDF_STATUS
  1424. wlan_mlme_cfg_get_vht_su_bformer(struct wlan_objmgr_psoc *psoc, bool *value);
  1425. /**
  1426. * wlan_mlme_cfg_set_vht_su_bformer() - sets vht su beam former cap into
  1427. * cfg item
  1428. * @psoc: psoc context
  1429. * @value: data to be set
  1430. *
  1431. * Return: QDF_STATUS
  1432. */
  1433. QDF_STATUS
  1434. wlan_mlme_cfg_set_vht_su_bformer(struct wlan_objmgr_psoc *psoc, bool value);
  1435. /**
  1436. * wlan_mlme_cfg_set_vht_su_bformee() - sets vht su beam formee cap into
  1437. * cfg item
  1438. * @psoc: psoc context
  1439. * @value: data to be set
  1440. *
  1441. * Return: QDF_STATUS
  1442. */
  1443. QDF_STATUS
  1444. wlan_mlme_cfg_set_vht_su_bformee(struct wlan_objmgr_psoc *psoc, bool value);
  1445. /**
  1446. * wlan_mlme_cfg_set_vht_tx_bfee_ant_supp() - sets vht Beamformee antenna
  1447. * support cap
  1448. * into cfg item
  1449. * @psoc: psoc context
  1450. * @value: data to be set
  1451. *
  1452. * Return: QDF_STATUS
  1453. */
  1454. QDF_STATUS wlan_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
  1455. uint8_t value);
  1456. /**
  1457. * wlan_mlme_cfg_get_vht_tx_bfee_ant_supp() - Gets vht Beamformee antenna
  1458. * support cap into cfg item
  1459. *
  1460. * @psoc: psoc context
  1461. * @value: data to be set
  1462. *
  1463. * Return: QDF_STATUS
  1464. */
  1465. QDF_STATUS wlan_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
  1466. uint8_t *value);
  1467. /**
  1468. * wlan_mlme_cfg_set_vht_num_sounding_dim() - sets vht no of sounding dimensions
  1469. * into cfg item
  1470. * @psoc: psoc context
  1471. * @value: data to be set
  1472. *
  1473. * Return: QDF_STATUS
  1474. */
  1475. QDF_STATUS wlan_mlme_cfg_set_vht_num_sounding_dim(struct wlan_objmgr_psoc *psoc,
  1476. uint8_t value);
  1477. /**
  1478. * wlan_mlme_cfg_get_vht_mu_bformer() - gets vht mu beam former cap from
  1479. * cfg item
  1480. * @psoc: psoc context
  1481. * @value: pointer to get required data
  1482. *
  1483. * Return: QDF_STATUS
  1484. */
  1485. QDF_STATUS
  1486. wlan_mlme_cfg_get_vht_mu_bformer(struct wlan_objmgr_psoc *psoc, bool *value);
  1487. /**
  1488. * wlan_mlme_cfg_set_vht_mu_bformer() - sets vht mu beam former cap into
  1489. * cfg item
  1490. * @psoc: psoc context
  1491. * @value: data to be set
  1492. *
  1493. * Return: QDF_STATUS
  1494. */
  1495. QDF_STATUS
  1496. wlan_mlme_cfg_set_vht_mu_bformer(struct wlan_objmgr_psoc *psoc, bool value);
  1497. /**
  1498. * wlan_mlme_cfg_get_vht_mu_bformee() - gets vht mu beam formee cap from
  1499. * cfg item
  1500. * @psoc: psoc context
  1501. * @value: pointer to get required data
  1502. *
  1503. * Return: QDF_STATUS
  1504. */
  1505. QDF_STATUS
  1506. wlan_mlme_cfg_get_vht_mu_bformee(struct wlan_objmgr_psoc *psoc, bool *value);
  1507. /**
  1508. * wlan_mlme_cfg_set_vht_mu_bformee() - sets vht mu beam formee cap into
  1509. * cfg item
  1510. * @psoc: psoc context
  1511. * @value: data to be set
  1512. *
  1513. * Return: QDF_STATUS
  1514. */
  1515. QDF_STATUS
  1516. wlan_mlme_cfg_set_vht_mu_bformee(struct wlan_objmgr_psoc *psoc, bool value);
  1517. /**
  1518. * wlan_mlme_cfg_get_vht_txop_ps() - gets vht tx ops ps cap from
  1519. * cfg item
  1520. * @psoc: psoc context
  1521. * @value: pointer to get required data
  1522. *
  1523. * Return: QDF_STATUS
  1524. */
  1525. QDF_STATUS
  1526. wlan_mlme_cfg_get_vht_txop_ps(struct wlan_objmgr_psoc *psoc, bool *value);
  1527. /**
  1528. * wlan_mlme_cfg_set_vht_txop_ps() - sets vht tx ops ps cap into
  1529. * cfg item
  1530. * @psoc: psoc context
  1531. * @value: data to be set
  1532. *
  1533. * Return: QDF_STATUS
  1534. */
  1535. QDF_STATUS
  1536. wlan_mlme_cfg_set_vht_txop_ps(struct wlan_objmgr_psoc *psoc, bool value);
  1537. /**
  1538. * wlan_mlme_cfg_get_vht_ampdu_len_exp() - gets vht max AMPDU length exponent from
  1539. * cfg item
  1540. * @psoc: psoc context
  1541. * @value: pointer to get required data
  1542. *
  1543. * Return: QDF_STATUS
  1544. */
  1545. QDF_STATUS
  1546. wlan_mlme_cfg_get_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
  1547. uint8_t *value);
  1548. /**
  1549. * wlan_mlme_cfg_set_vht_ampdu_len_exp() - sets vht max AMPDU length exponent into
  1550. * cfg item
  1551. * @psoc: psoc context
  1552. * @value: data to be set
  1553. *
  1554. * Return: QDF_STATUS
  1555. */
  1556. QDF_STATUS
  1557. wlan_mlme_cfg_set_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
  1558. uint8_t value);
  1559. /**
  1560. * wlan_mlme_cfg_get_vht_rx_mcs_map() - gets vht rx mcs map from
  1561. * cfg item
  1562. * @psoc: psoc context
  1563. * @value: pointer to get required data
  1564. *
  1565. * Return: QDF_STATUS
  1566. */
  1567. QDF_STATUS wlan_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1568. uint32_t *value);
  1569. /**
  1570. * wlan_mlme_cfg_set_vht_rx_mcs_map() - sets rx mcs map into
  1571. * cfg item
  1572. * @psoc: psoc context
  1573. * @value: data to be set
  1574. *
  1575. * Return: QDF_STATUS
  1576. */
  1577. QDF_STATUS
  1578. wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, uint32_t value);
  1579. /**
  1580. * wlan_mlme_cfg_get_vht_tx_mcs_map() - gets vht tx mcs map from
  1581. * cfg item
  1582. * @psoc: psoc context
  1583. * @value: pointer to get required data
  1584. *
  1585. * Return: QDF_STATUS
  1586. */
  1587. QDF_STATUS wlan_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1588. uint32_t *value);
  1589. /**
  1590. * wlan_mlme_cfg_set_vht_tx_mcs_map() - sets tx mcs map into
  1591. * cfg item
  1592. * @psoc: psoc context
  1593. * @value: data to be set
  1594. *
  1595. * Return: QDF_STATUS
  1596. */
  1597. QDF_STATUS wlan_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1598. uint32_t value);
  1599. /**
  1600. * wlan_mlme_cfg_set_vht_rx_supp_data_rate() - sets rx supported data rate into
  1601. * cfg item
  1602. * @psoc: psoc context
  1603. * @value: data to be set
  1604. *
  1605. * Return: QDF_STATUS
  1606. */
  1607. QDF_STATUS
  1608. wlan_mlme_cfg_set_vht_rx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
  1609. uint32_t value);
  1610. /**
  1611. * wlan_mlme_cfg_set_vht_tx_supp_data_rate() - sets tx supported data rate into
  1612. * cfg item
  1613. * @psoc: psoc context
  1614. * @value: data to be set
  1615. *
  1616. * Return: QDF_STATUS
  1617. */
  1618. QDF_STATUS
  1619. wlan_mlme_cfg_set_vht_tx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
  1620. uint32_t value);
  1621. /**
  1622. * wlan_mlme_cfg_get_vht_basic_mcs_set() - gets basic mcs set from
  1623. * cfg item
  1624. * @psoc: psoc context
  1625. * @value: data to be set
  1626. *
  1627. * Return: QDF_STATUS
  1628. */
  1629. QDF_STATUS
  1630. wlan_mlme_cfg_get_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
  1631. uint32_t *value);
  1632. /**
  1633. * wlan_mlme_cfg_set_vht_basic_mcs_set() - sets basic mcs set into
  1634. * cfg item
  1635. * @psoc: psoc context
  1636. * @value: data to be set
  1637. *
  1638. * Return: QDF_STATUS
  1639. */
  1640. QDF_STATUS
  1641. wlan_mlme_cfg_set_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
  1642. uint32_t value);
  1643. /**
  1644. * wlan_mlme_get_vht_enable_tx_bf() - Get vht enable tx bf
  1645. * @psoc: psoc context
  1646. * @value: data to be set
  1647. *
  1648. * Return: QDF_STATUS
  1649. */
  1650. QDF_STATUS
  1651. wlan_mlme_get_vht_enable_tx_bf(struct wlan_objmgr_psoc *psoc, bool *value);
  1652. /**
  1653. * wlan_mlme_get_vht_tx_su_beamformer() - VHT enable tx su beamformer
  1654. * @psoc: psoc context
  1655. * @value: data to be set
  1656. *
  1657. * Return: QDF_STATUS
  1658. */
  1659. QDF_STATUS
  1660. wlan_mlme_get_vht_tx_su_beamformer(struct wlan_objmgr_psoc *psoc, bool *value);
  1661. /**
  1662. * wlan_mlme_get_vht_channel_width() - gets Channel width capability
  1663. * for 11ac
  1664. * @psoc: psoc context
  1665. * @value: data to be set
  1666. *
  1667. * Return: QDF_STATUS
  1668. */
  1669. QDF_STATUS wlan_mlme_get_vht_channel_width(struct wlan_objmgr_psoc *psoc,
  1670. uint8_t *value);
  1671. /**
  1672. * wlan_mlme_get_vht_rx_mcs_8_9() - VHT Rx MCS capability for 1x1 mode
  1673. * @psoc: psoc context
  1674. * @value: data to be set
  1675. *
  1676. * Return: QDF_STATUS
  1677. */
  1678. QDF_STATUS wlan_mlme_get_vht_rx_mcs_8_9(struct wlan_objmgr_psoc *psoc,
  1679. uint8_t *value);
  1680. /**
  1681. * wlan_mlme_get_vht_tx_mcs_8_9() - VHT Tx MCS capability for 1x1 mode
  1682. * @psoc: psoc context
  1683. * @value: data to be set
  1684. *
  1685. * Return: QDF_STATUS
  1686. */
  1687. QDF_STATUS
  1688. wlan_mlme_get_vht_tx_mcs_8_9(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  1689. /**
  1690. * wlan_mlme_get_vht_rx_mcs_2x2() - VHT Rx MCS capability for 2x2 mode
  1691. * @psoc: psoc context
  1692. * @value: data to be set
  1693. *
  1694. * Return: QDF_STATUS
  1695. */
  1696. QDF_STATUS wlan_mlme_get_vht_rx_mcs_2x2(struct wlan_objmgr_psoc *psoc,
  1697. uint8_t *value);
  1698. /**
  1699. * wlan_mlme_get_vht_tx_mcs_2x2() - VHT Tx MCS capability for 2x2 mode
  1700. * @psoc: psoc context
  1701. * @value: data to be set
  1702. *
  1703. * Return: QDF_STATUS
  1704. */
  1705. QDF_STATUS wlan_mlme_get_vht_tx_mcs_2x2(struct wlan_objmgr_psoc *psoc,
  1706. uint8_t *value);
  1707. /**
  1708. * wlan_mlme_get_vht20_mcs9() - Enables VHT MCS9 in 20M BW operation
  1709. * @psoc: psoc context
  1710. * @value: data to be set
  1711. *
  1712. * Return: QDF_STATUS
  1713. */
  1714. QDF_STATUS
  1715. wlan_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc *psoc, bool *value);
  1716. /**
  1717. * wlan_mlme_get_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
  1718. * @psoc: psoc context
  1719. * @value: data to be set
  1720. *
  1721. * Return: QDF_STATUS
  1722. */
  1723. QDF_STATUS
  1724. wlan_mlme_get_vht_enable2x2(struct wlan_objmgr_psoc *psoc, bool *value);
  1725. /**
  1726. * wlan_mlme_set_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
  1727. * @psoc: psoc context
  1728. * @value: data to be set
  1729. *
  1730. * Return: QDF_STATUS
  1731. */
  1732. QDF_STATUS
  1733. wlan_mlme_set_vht_enable2x2(struct wlan_objmgr_psoc *psoc, bool value);
  1734. /**
  1735. * wlan_mlme_get_vht_enable_paid() - Enables/disables paid feature
  1736. * @psoc: psoc context
  1737. * @value: data to be set
  1738. *
  1739. * Return: QDF_STATUS
  1740. */
  1741. QDF_STATUS
  1742. wlan_mlme_get_vht_enable_paid(struct wlan_objmgr_psoc *psoc, bool *value);
  1743. /**
  1744. * wlan_mlme_get_vht_enable_gid() - Enables/disables VHT GID feature
  1745. * @psoc: psoc context
  1746. * @value: data to be set
  1747. *
  1748. * Return: QDF_STATUS
  1749. */
  1750. QDF_STATUS
  1751. wlan_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc *psoc, bool *value);
  1752. /**
  1753. * wlan_mlme_get_vht_for_24ghz() - Enables/disables VHT for 24 ghz
  1754. * @psoc: psoc context
  1755. * @value: data to be set
  1756. *
  1757. * Return: QDF_STATUS
  1758. */
  1759. QDF_STATUS
  1760. wlan_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool *value);
  1761. /**
  1762. * wlan_mlme_set_vht_for_24ghz() - Enables/disables VHT for 24 ghz
  1763. * @psoc: psoc context
  1764. * @value: data to be set
  1765. *
  1766. * Return: QDF_STATUS
  1767. */
  1768. QDF_STATUS
  1769. wlan_mlme_set_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool value);
  1770. /**
  1771. * wlan_mlme_get_vendor_vht_for_24ghz() - nables/disables vendor VHT for 24 ghz
  1772. * @psoc: psoc context
  1773. * @value: data to be set
  1774. *
  1775. * Return: QDF_STATUS
  1776. */
  1777. QDF_STATUS
  1778. wlan_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool *value);
  1779. /**
  1780. * mlme_update_vht_cap() - update vht capabilities
  1781. * @psoc: psoc context
  1782. * @cfg: data to be set
  1783. *
  1784. * Return: QDF_STATUS
  1785. */
  1786. QDF_STATUS
  1787. mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc, struct wma_tgt_vht_cap *cfg);
  1788. /**
  1789. * mlme_update_nss_vht_cap() - Update the number of spatial
  1790. * streams supported for vht
  1791. * @psoc: psoc context
  1792. *
  1793. * Return: QDF_STATUS
  1794. */
  1795. QDF_STATUS mlme_update_nss_vht_cap(struct wlan_objmgr_psoc *psoc);
  1796. /**
  1797. * wlan_mlme_is_sap_uapsd_enabled() - Get if SAP UAPSD is enabled/disabled
  1798. * @psoc: psoc context
  1799. * @value: value to be filled for caller
  1800. *
  1801. * Return: QDF_STATUS
  1802. */
  1803. QDF_STATUS wlan_mlme_is_sap_uapsd_enabled(struct wlan_objmgr_psoc *psoc,
  1804. bool *value);
  1805. /**
  1806. * wlan_mlme_set_sap_uapsd_flag() - Enable/Disable SAP UAPSD
  1807. * @psoc: psoc context
  1808. * @value: Enable/Disable control value for sap_uapsd_enabled field
  1809. *
  1810. * Return: QDF_STATUS
  1811. */
  1812. QDF_STATUS wlan_mlme_set_sap_uapsd_flag(struct wlan_objmgr_psoc *psoc,
  1813. bool value);
  1814. /**
  1815. * wlan_mlme_is_11h_enabled() - Get the 11h flag
  1816. * @psoc: psoc context
  1817. *
  1818. * Return: QDF_STATUS
  1819. */
  1820. QDF_STATUS
  1821. wlan_mlme_is_11h_enabled(struct wlan_objmgr_psoc *psoc, bool *value);
  1822. /**
  1823. * wlan_mlme_set_11h_enabled() - Set the 11h flag
  1824. * @psoc: psoc context
  1825. *
  1826. * Return: QDF_STATUS
  1827. */
  1828. QDF_STATUS
  1829. wlan_mlme_set_11h_enabled(struct wlan_objmgr_psoc *psoc, bool value);
  1830. /**
  1831. * wlan_mlme_is_11d_enabled() - Get the 11d flag
  1832. * @psoc: psoc context
  1833. *
  1834. * Return: QDF_STATUS
  1835. */
  1836. QDF_STATUS
  1837. wlan_mlme_is_11d_enabled(struct wlan_objmgr_psoc *psoc, bool *value);
  1838. /**
  1839. * wlan_mlme_ibss_power_save_setup() - Set IBSS power save params
  1840. * @psoc: pointer to psoc object
  1841. * @vdev_id: IBSS Vdev ID
  1842. *
  1843. * Return: QDF Status
  1844. */
  1845. QDF_STATUS wlan_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc,
  1846. uint32_t vdev_id);
  1847. /**
  1848. * wlan_mlme_set_11d_enabled() - Set the 11h flag
  1849. * @psoc: psoc context
  1850. *
  1851. * Return: QDF_STATUS
  1852. */
  1853. QDF_STATUS
  1854. wlan_mlme_set_11d_enabled(struct wlan_objmgr_psoc *psoc, bool value);
  1855. /**
  1856. * wlan_mlme_get_sta_miracast_mcc_rest_time() - Get STA/MIRACAST MCC rest time
  1857. *
  1858. * @psoc: pointer to psoc object
  1859. * @value: value which needs to filled by API
  1860. *
  1861. * This API gives rest time to be used when STA and MIRACAST MCC conc happens
  1862. *
  1863. * Return: QDF_STATUS
  1864. */
  1865. QDF_STATUS
  1866. wlan_mlme_get_sta_miracast_mcc_rest_time(struct wlan_objmgr_psoc *psoc,
  1867. uint32_t *value);
  1868. /**
  1869. * wlan_mlme_get_sap_mcc_chnl_avoid() - Check if SAP MCC needs to be avoided
  1870. *
  1871. * @psoc: pointer to psoc object
  1872. * @value: value which needs to filled by API
  1873. *
  1874. * This API fetches the user setting to determine if SAP MCC with other persona
  1875. * to be avoided.
  1876. *
  1877. * Return: QDF_STATUS
  1878. */
  1879. QDF_STATUS
  1880. wlan_mlme_get_sap_mcc_chnl_avoid(struct wlan_objmgr_psoc *psoc,
  1881. uint8_t *value);
  1882. /**
  1883. * wlan_mlme_get_mcc_bcast_prob_resp() - Get broadcast probe rsp in MCC
  1884. *
  1885. * @psoc: pointer to psoc object
  1886. * @value: value which needs to filled by API
  1887. *
  1888. * To get INI value which helps to determe whether to enable/disable use of
  1889. * broadcast probe response to increase the detectability of SAP in MCC mode.
  1890. *
  1891. *
  1892. * Return: QDF_STATUS
  1893. */
  1894. QDF_STATUS
  1895. wlan_mlme_get_mcc_bcast_prob_resp(struct wlan_objmgr_psoc *psoc,
  1896. uint8_t *value);
  1897. /**
  1898. * wlan_mlme_get_mcc_rts_cts_prot() - To get RTS-CTS protection in MCC.
  1899. *
  1900. * @psoc: pointer to psoc object
  1901. * @value: value which needs to filled by API
  1902. *
  1903. * To get INI value which helps to determine whether to enable/disable
  1904. * use of long duration RTS-CTS protection when SAP goes off
  1905. * channel in MCC mode.
  1906. *
  1907. * Return: QDF_STATUS
  1908. */
  1909. QDF_STATUS
  1910. wlan_mlme_get_mcc_rts_cts_prot(struct wlan_objmgr_psoc *psoc,
  1911. uint8_t *value);
  1912. /**
  1913. * wlan_mlme_get_mcc_feature() - To find out to enable/disable MCC feature
  1914. *
  1915. * @psoc: pointer to psoc object
  1916. * @value: value which needs to filled by API
  1917. *
  1918. * To get INI value which helps to determine whether to enable MCC feature
  1919. *
  1920. * Return: QDF_STATUS
  1921. */
  1922. QDF_STATUS
  1923. wlan_mlme_get_mcc_feature(struct wlan_objmgr_psoc *psoc,
  1924. uint8_t *value);
  1925. /**
  1926. * wlan_mlme_get_rrm_enabled() - Get the RRM enabled ini
  1927. * @psoc: pointer to psoc object
  1928. * @value: pointer to the value which will be filled for the caller
  1929. *
  1930. * Return: QDF Status
  1931. */
  1932. QDF_STATUS wlan_mlme_get_rrm_enabled(struct wlan_objmgr_psoc *psoc,
  1933. bool *value);
  1934. /*
  1935. * wlan_mlme_get_dtim_selection_diversity() - get dtim selection diversity
  1936. * bitmap
  1937. * @psoc: pointer to psoc object
  1938. * @dtim_selection_div: value that is requested by the caller
  1939. * This function gets the dtim selection diversity bitmap to be
  1940. * sent to the firmware
  1941. *
  1942. * Return: QDF_STATUS_SUCCESS - in case of success
  1943. */
  1944. QDF_STATUS wlan_mlme_get_dtim_selection_diversity(struct wlan_objmgr_psoc *psoc,
  1945. uint32_t *dtim_selection_div);
  1946. /**
  1947. * wlan_mlme_get_bmps_min_listen_interval() - get beacon mode powersave
  1948. * minimum listen interval value
  1949. * @psoc: pointer to psoc object
  1950. * @value: value that is requested by the caller
  1951. *
  1952. * Return: QDF_STATUS_SUCCESS - in case of success
  1953. */
  1954. QDF_STATUS wlan_mlme_get_bmps_min_listen_interval(struct wlan_objmgr_psoc *psoc,
  1955. uint32_t *value);
  1956. /**
  1957. * wlan_mlme_get_bmps_max_listen_interval() - get beacon mode powersave
  1958. * maximum listen interval value
  1959. * @psoc: pointer to psoc object
  1960. * @value: value that is requested by the caller
  1961. *
  1962. * Return: QDF_STATUS_SUCCESS - in case of success
  1963. */
  1964. QDF_STATUS wlan_mlme_get_bmps_max_listen_interval(struct wlan_objmgr_psoc *psoc,
  1965. uint32_t *value);
  1966. /**
  1967. * wlan_mlme_get_auto_bmps_timer_value() - get bmps timer value
  1968. * @psoc: pointer to psoc object
  1969. * @value: value that is requested by the caller
  1970. *
  1971. * Return: QDF_STATUS_SUCCESS - in case of success
  1972. */
  1973. QDF_STATUS wlan_mlme_get_auto_bmps_timer_value(struct wlan_objmgr_psoc *psoc,
  1974. uint32_t *value);
  1975. /**
  1976. * wlan_mlme_is_bmps_enabled() - check if beacon mode powersave is
  1977. * enabled/disabled
  1978. * @psoc: pointer to psoc object
  1979. * @value: value that is requested by the caller
  1980. *
  1981. * Return: QDF_STATUS_SUCCESS - in case of success
  1982. */
  1983. QDF_STATUS wlan_mlme_is_bmps_enabled(struct wlan_objmgr_psoc *psoc,
  1984. bool *value);
  1985. /**
  1986. * wlan_mlme_override_bmps_imps() - disable imps/bmps
  1987. * @psoc: pointer to psoc object
  1988. * @value: value that is requested by the caller
  1989. *
  1990. * Return: QDF_STATUS_SUCCESS - in case of success
  1991. */
  1992. QDF_STATUS wlan_mlme_override_bmps_imps(struct wlan_objmgr_psoc *psoc);
  1993. /**
  1994. * wlan_mlme_is_imps_enabled() - check if idle mode powersave is
  1995. * enabled/disabled
  1996. * @psoc: pointer to psoc object
  1997. * @value: value that is requested by the caller
  1998. *
  1999. * Return: QDF_STATUS_SUCCESS - in case of success
  2000. */
  2001. QDF_STATUS wlan_mlme_is_imps_enabled(struct wlan_objmgr_psoc *psoc,
  2002. bool *value);
  2003. /*
  2004. * wlan_mlme_get_wps_uuid() - get the wps uuid string
  2005. * @wps_params: pointer to mlme wps parameters structure
  2006. * @data: data to which the parameter is to be copied
  2007. *
  2008. * Return None
  2009. *
  2010. */
  2011. void
  2012. wlan_mlme_get_wps_uuid(struct wlan_mlme_wps_params *wps_params, uint8_t *data);
  2013. /*
  2014. * wlan_mlme_get_self_gen_frm_pwr() - get self gen frm pwr
  2015. * @psoc: pointer to psoc object
  2016. * @val: Pointer to the value which will be filled for the caller
  2017. *
  2018. * Return: QDF Status
  2019. */
  2020. QDF_STATUS
  2021. wlan_mlme_get_self_gen_frm_pwr(struct wlan_objmgr_psoc *psoc,
  2022. uint32_t *value);
  2023. /*
  2024. * wlan_mlme_get_4way_hs_offload() - get 4-way hs offload to fw cfg
  2025. * @psoc: pointer to psoc object
  2026. * @val: Pointer to the value which will be filled for the caller
  2027. *
  2028. * Return: QDF Status
  2029. */
  2030. QDF_STATUS
  2031. wlan_mlme_get_4way_hs_offload(struct wlan_objmgr_psoc *psoc, bool *value);
  2032. /**
  2033. * mlme_get_peer_phymode() - get phymode of peer
  2034. * @psoc: pointer to psoc object
  2035. * @mac: Pointer to the mac addr of the peer
  2036. * @peer_phymode: phymode
  2037. *
  2038. * Return: QDF Status
  2039. */
  2040. QDF_STATUS
  2041. mlme_get_peer_phymode(struct wlan_objmgr_psoc *psoc, uint8_t *mac,
  2042. enum wlan_phymode *peer_phymode);
  2043. /**
  2044. * mlme_set_tgt_wpa3_roam_cap() - Set the target WPA3 roam support
  2045. * to mlme
  2046. * @psoc: pointer to PSOC object
  2047. * @akm_bitmap: Bitmap of akm suites supported for roaming by the firmware
  2048. *
  2049. * Return: QDF Status
  2050. */
  2051. QDF_STATUS mlme_set_tgt_wpa3_roam_cap(struct wlan_objmgr_psoc *psoc,
  2052. uint32_t akm_bitmap);
  2053. /**
  2054. * wlan_mlme_get_ignore_fw_reg_offload_ind() - Get the
  2055. * ignore_fw_reg_offload_ind ini
  2056. * @psoc: pointer to psoc object
  2057. * @disabled: output pointer to hold user config
  2058. *
  2059. * Return: QDF Status
  2060. */
  2061. QDF_STATUS
  2062. wlan_mlme_get_ignore_fw_reg_offload_ind(struct wlan_objmgr_psoc *psoc,
  2063. bool *disabled);
  2064. #endif /* _WLAN_MLME_API_H_ */