wlan_mlme_api.h 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797
  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_sap_force_11n_for_11ac() - get the sap 11n for 11ac
  585. *
  586. * @psoc: pointer to psoc object
  587. * @value: Value that needs to be set from the caller
  588. *
  589. * Return: QDF Status
  590. */
  591. QDF_STATUS wlan_mlme_get_sap_force_11n_for_11ac(struct wlan_objmgr_psoc
  592. *psoc, bool *value);
  593. /**
  594. * wlan_mlme_get_go_force_11n_for_11ac() - get the go 11n for 11ac
  595. *
  596. * @psoc: pointer to psoc object
  597. * @value: Value that needs to be set from the caller
  598. *
  599. * Return: QDF Status
  600. */
  601. QDF_STATUS wlan_mlme_get_go_force_11n_for_11ac(struct wlan_objmgr_psoc
  602. *psoc, bool *value);
  603. /**
  604. * wlan_mlme_get_oce_sta_enabled_info() - Get the OCE feature enable
  605. * info for STA
  606. * @psoc: pointer to psoc object
  607. * @value: pointer to the value which will be filled for the caller
  608. *
  609. * Return: QDF Status
  610. */
  611. QDF_STATUS wlan_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
  612. bool *value);
  613. /**
  614. * wlan_mlme_get_oce_sap_enabled_info() - Get the OCE feature enable
  615. * info for SAP
  616. * @psoc: pointer to psoc object
  617. * @value: pointer to the value which will be filled for the caller
  618. *
  619. * Return: QDF Status
  620. */
  621. QDF_STATUS wlan_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc *psoc,
  622. bool *value);
  623. #ifdef WLAN_FEATURE_11AX
  624. /**
  625. * wlan_mlme_cfg_get_he_ul_mumimo() - Get the HE Ul Mumio
  626. * @psoc: pointer to psoc object
  627. * @value: Value that needs to be set from the caller
  628. *
  629. * Return: QDF Status
  630. */
  631. QDF_STATUS wlan_mlme_cfg_get_he_ul_mumimo(struct wlan_objmgr_psoc *psoc,
  632. uint32_t *value);
  633. /**
  634. * wlan_mlme_cfg_set_he_ul_mumimo() - Set the HE Ul Mumio
  635. * @psoc: pointer to psoc object
  636. * @value: Value that needs to be set from the caller
  637. *
  638. * Return: QDF Status
  639. */
  640. QDF_STATUS wlan_mlme_cfg_set_he_ul_mumimo(struct wlan_objmgr_psoc *psoc,
  641. uint32_t value);
  642. /**
  643. * wlan_mlme_cfg_get_enable_ul_mimo() - Get the HE Ul mimo
  644. * @psoc: pointer to psoc object
  645. * @value: Value that needs to be set from the caller
  646. *
  647. * Return: QDF Status
  648. */
  649. QDF_STATUS wlan_mlme_cfg_get_enable_ul_mimo(struct wlan_objmgr_psoc *psoc,
  650. uint8_t *value);
  651. /**
  652. * wlan_mlme_cfg_get_enable_ul_ofdm() - Get enable ul ofdm
  653. * @psoc: pointer to psoc object
  654. * @value: Value that needs to be set from the caller
  655. *
  656. * Return: QDF Status
  657. */
  658. QDF_STATUS wlan_mlme_cfg_get_enable_ul_ofdm(struct wlan_objmgr_psoc *psoc,
  659. uint8_t *value);
  660. /**
  661. * mlme_update_tgt_he_caps_in_cfg() - Update tgt he cap in mlme component
  662. *
  663. * @psoc: pointer to psoc object
  664. * @cfg: pointer to config params from target
  665. *
  666. * This api to be used by callers to update
  667. * he caps in mlme.
  668. *
  669. * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
  670. */
  671. QDF_STATUS mlme_update_tgt_he_caps_in_cfg(struct wlan_objmgr_psoc *psoc,
  672. struct wma_tgt_cfg *cfg);
  673. #endif
  674. /**
  675. * wlan_mlme_get_rts_threshold() - Get the RTS threshold config
  676. * @psoc: pointer to psoc object
  677. * @value: pointer to the value which will be filled for the caller
  678. *
  679. * Return: QDF Status
  680. */
  681. QDF_STATUS wlan_mlme_get_rts_threshold(struct wlan_objmgr_psoc *psoc,
  682. uint32_t *value);
  683. /**
  684. * wlan_mlme_set_rts_threshold() - Set the RTS threshold 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_rts_threshold(struct wlan_objmgr_psoc *psoc,
  691. uint32_t value);
  692. /**
  693. * wlan_mlme_get_frag_threshold() - Get the Fragmentation threshold
  694. * config
  695. * @psoc: pointer to psoc object
  696. * @value: pointer to the value which will be filled for the caller
  697. *
  698. * Return: QDF Status
  699. */
  700. QDF_STATUS wlan_mlme_get_frag_threshold(struct wlan_objmgr_psoc *psoc,
  701. uint32_t *value);
  702. /**
  703. * wlan_mlme_set_frag_threshold() - Set the Fragmentation threshold
  704. * config
  705. * @psoc: pointer to psoc object
  706. * @value: Value that needs to be set from the caller
  707. *
  708. * Return: QDF Status
  709. */
  710. QDF_STATUS wlan_mlme_set_frag_threshold(struct wlan_objmgr_psoc *psoc,
  711. uint32_t value);
  712. /**
  713. * wlan_mlme_get_fils_enabled_info() - Get the fils enable info for driver
  714. * @psoc: pointer to psoc object
  715. * @value: pointer to the value which will be filled for the caller
  716. *
  717. * Return: QDF Status
  718. */
  719. QDF_STATUS wlan_mlme_get_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  720. bool *value);
  721. /**
  722. * wlan_mlme_set_fils_enabled_info() - Set the fils enable info for driver
  723. * @psoc: pointer to psoc object
  724. * @value: value that needs to be set from the caller
  725. *
  726. * Return: QDF Status
  727. */
  728. QDF_STATUS wlan_mlme_set_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
  729. bool value);
  730. /**
  731. * wlan_mlme_get_wmm_dir_ac_vi() - Get TSPEC direction
  732. * for VI
  733. * @psoc: pointer to psoc object
  734. * @value: Value that needs to be set from the caller
  735. *
  736. * Return: QDF Status
  737. */
  738. QDF_STATUS
  739. wlan_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc,
  740. uint8_t *value);
  741. /**
  742. * wlan_mlme_get_wmm_nom_msdu_size_ac_vi() - Get normal
  743. * MSDU size for VI
  744. * @psoc: pointer to psoc object
  745. * @value: Value that needs to be set from the caller
  746. *
  747. * Return: QDF Status
  748. */
  749. QDF_STATUS
  750. wlan_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc,
  751. uint16_t *value);
  752. /**
  753. * wlan_mlme_get_wmm_mean_data_rate_ac_vi() - mean data
  754. * rate for VI
  755. * @psoc: pointer to psoc object
  756. * @value: Value that needs to be set from the caller
  757. *
  758. * Return: QDF Status
  759. */
  760. QDF_STATUS
  761. wlan_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc,
  762. uint32_t *value);
  763. /**
  764. * wlan_mlme_get_wmm_min_phy_rate_ac_vi() - min PHY
  765. * rate for VI
  766. * @psoc: pointer to psoc object
  767. * @value: Value that needs to be set from the caller
  768. *
  769. * Return: QDF Status
  770. */
  771. QDF_STATUS
  772. wlan_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc,
  773. uint32_t *value);
  774. /**
  775. * wlan_mlme_get_wmm_sba_ac_vi() - surplus bandwidth
  776. * allowance for VI
  777. * @psoc: pointer to psoc object
  778. * @value: Value that needs to be set from the caller
  779. *
  780. * Return: QDF Status
  781. */
  782. QDF_STATUS
  783. wlan_mlme_get_wmm_sba_ac_vi(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  784. /**
  785. * wlan_mlme_get_wmm_uapsd_vi_srv_intv() - Get Uapsd service
  786. * interval for video
  787. * @psoc: pointer to psoc object
  788. * @value: pointer to the value which will be filled for the caller
  789. *
  790. * Return: QDF Status
  791. */
  792. QDF_STATUS
  793. wlan_mlme_get_wmm_uapsd_vi_srv_intv(struct wlan_objmgr_psoc *psoc,
  794. uint32_t *value);
  795. /**
  796. * wlan_mlme_get_wmm_uapsd_vi_sus_intv() - Get Uapsd suspension
  797. * interval for video
  798. * @psoc: pointer to psoc object
  799. * @value: pointer to the value which will be filled for the caller
  800. *
  801. * Return: QDF Status
  802. */
  803. QDF_STATUS
  804. wlan_mlme_get_wmm_uapsd_vi_sus_intv(struct wlan_objmgr_psoc *psoc,
  805. uint32_t *value);
  806. /**
  807. * wlan_mlme_get_wmm_dir_ac_be() - Get TSPEC direction
  808. * for BE
  809. * @psoc: pointer to psoc object
  810. * @value: Value that needs to be set from the caller
  811. *
  812. * Return: QDF Status
  813. */
  814. QDF_STATUS
  815. wlan_mlme_get_wmm_dir_ac_be(struct wlan_objmgr_psoc *psoc,
  816. uint8_t *value);
  817. /**
  818. * wlan_mlme_get_wmm_nom_msdu_size_ac_be() - Get normal
  819. * MSDU size for BE
  820. * @psoc: pointer to psoc object
  821. * @value: Value that needs to be set from the caller
  822. *
  823. * Return: QDF Status
  824. */
  825. QDF_STATUS
  826. wlan_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc,
  827. uint16_t *value);
  828. /**
  829. * wlan_mlme_get_wmm_mean_data_rate_ac_be() - mean data
  830. * rate for BE
  831. * @psoc: pointer to psoc object
  832. * @value: Value that needs to be set from the caller
  833. *
  834. * Return: QDF Status
  835. */
  836. QDF_STATUS
  837. wlan_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc,
  838. uint32_t *value);
  839. /**
  840. * wlan_mlme_get_wmm_min_phy_rate_ac_be() - min PHY
  841. * rate for BE
  842. * @psoc: pointer to psoc object
  843. * @value: Value that needs to be set from the caller
  844. *
  845. * Return: QDF Status
  846. */
  847. QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_be(struct wlan_objmgr_psoc *psoc,
  848. uint32_t *value);
  849. /**
  850. * wlan_mlme_get_wmm_sba_ac_be() - surplus bandwidth
  851. * allowance for BE
  852. * @psoc: pointer to psoc object
  853. * @value: Value that needs to be set from the caller
  854. *
  855. * Return: QDF Status
  856. */
  857. QDF_STATUS wlan_mlme_get_wmm_sba_ac_be(struct wlan_objmgr_psoc *psoc,
  858. uint16_t *value);
  859. /**
  860. * wlan_mlme_get_wmm_uapsd_be_srv_intv() - Get Uapsd service
  861. * interval for BE
  862. * @psoc: pointer to psoc object
  863. * @value: pointer to the value which will be filled for the caller
  864. *
  865. * Return: QDF Status
  866. */
  867. QDF_STATUS wlan_mlme_get_wmm_uapsd_be_srv_intv(struct wlan_objmgr_psoc *psoc,
  868. uint32_t *value);
  869. /**
  870. * wlan_mlme_get_wmm_uapsd_be_sus_intv() - Get Uapsd suspension
  871. * interval for BE
  872. * @psoc: pointer to psoc object
  873. * @value: pointer to the value which will be filled for the caller
  874. *
  875. * Return: QDF Status
  876. */
  877. QDF_STATUS wlan_mlme_get_wmm_uapsd_be_sus_intv(struct wlan_objmgr_psoc *psoc,
  878. uint32_t *value);
  879. /**
  880. * wlan_mlme_get_wmm_dir_ac_bk() - Get TSPEC direction
  881. * for BK
  882. * @psoc: pointer to psoc object
  883. * @value: Value that needs to be set from the caller
  884. *
  885. * Return: QDF Status
  886. */
  887. QDF_STATUS
  888. wlan_mlme_get_wmm_dir_ac_bk(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  889. /**
  890. * wlan_mlme_get_wmm_nom_msdu_size_ac_bk() - Get normal
  891. * MSDU size for BK
  892. * @psoc: pointer to psoc object
  893. * @value: Value that needs to be set from the caller
  894. *
  895. * Return: QDF Status
  896. */
  897. QDF_STATUS
  898. wlan_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc,
  899. uint16_t *value);
  900. /**
  901. * wlan_mlme_get_wmm_mean_data_rate_ac_bk() - mean data
  902. * rate for BK
  903. * @psoc: pointer to psoc object
  904. * @value: Value that needs to be set from the caller
  905. *
  906. * Return: QDF Status
  907. */
  908. QDF_STATUS
  909. wlan_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc,
  910. uint32_t *value);
  911. /**
  912. * wlan_mlme_get_wmm_min_phy_rate_ac_bk() - min PHY
  913. * rate for BK
  914. * @psoc: pointer to psoc object
  915. * @value: Value that needs to be set from the caller
  916. *
  917. * Return: QDF Status
  918. */
  919. QDF_STATUS
  920. wlan_mlme_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc *psoc,
  921. uint32_t *value);
  922. /**
  923. * wlan_mlme_get_wmm_sba_ac_bk() - surplus bandwidth
  924. * allowance for BE
  925. * @psoc: pointer to psoc object
  926. * @value: Value that needs to be set from the caller
  927. *
  928. * Return: QDF Status
  929. */
  930. QDF_STATUS
  931. wlan_mlme_get_wmm_sba_ac_bk(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  932. /**
  933. * wlan_mlme_get_wmm_uapsd_bk_srv_intv() - Get Uapsd service
  934. * interval for BK
  935. * @psoc: pointer to psoc object
  936. * @value: pointer to the value which will be filled for the caller
  937. *
  938. * Return: QDF Status
  939. */
  940. QDF_STATUS
  941. wlan_mlme_get_wmm_uapsd_bk_srv_intv(struct wlan_objmgr_psoc *psoc,
  942. uint32_t *value);
  943. /**
  944. * wlan_mlme_get_wmm_uapsd_bk_sus_intv() - Get Uapsd suspension
  945. * interval for BK
  946. * @psoc: pointer to psoc object
  947. * @value: pointer to the value which will be filled for the caller
  948. *
  949. * Return: QDF Status
  950. */
  951. QDF_STATUS
  952. wlan_mlme_get_wmm_uapsd_bk_sus_intv(struct wlan_objmgr_psoc *psoc,
  953. uint32_t *value);
  954. /**
  955. * wlan_mlme_get_wmm_mode() - Enable WMM feature
  956. * @psoc: pointer to psoc object
  957. * @value: pointer to the value which will be filled for the caller
  958. *
  959. * Return: QDF Status
  960. */
  961. QDF_STATUS
  962. wlan_mlme_get_wmm_mode(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  963. /**
  964. * wlan_mlme_get_80211e_is_enabled() - Enable 802.11e feature
  965. * @psoc: pointer to psoc object
  966. * @value: pointer to the value which will be filled for the caller
  967. *
  968. * Return: QDF Status
  969. */
  970. QDF_STATUS
  971. wlan_mlme_get_80211e_is_enabled(struct wlan_objmgr_psoc *psoc, bool *value);
  972. /**
  973. * wlan_mlme_get_wmm_uapsd_mask() - setup U-APSD mask for ACs
  974. * @psoc: pointer to psoc object
  975. * @value: pointer to the value which will be filled for the caller
  976. *
  977. * Return: QDF Status
  978. */
  979. QDF_STATUS
  980. wlan_mlme_get_wmm_uapsd_mask(struct wlan_objmgr_psoc *psoc, uint8_t *value);
  981. /**
  982. * wlan_mlme_get_implicit_qos_is_enabled() - Enable implicit QOS
  983. * @psoc: pointer to psoc object
  984. * @value: pointer to the value which will be filled for the caller
  985. *
  986. * Return: QDF Status
  987. */
  988. QDF_STATUS
  989. wlan_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc,
  990. bool *value);
  991. #ifdef FEATURE_WLAN_ESE
  992. /**
  993. * wlan_mlme_get_inactivity_interval() - Infra Inactivity Interval
  994. * @psoc: pointer to psoc object
  995. * @value: pointer to the value which will be filled for the caller
  996. *
  997. * Return: None
  998. */
  999. void wlan_mlme_get_inactivity_interval(struct wlan_objmgr_psoc *psoc,
  1000. uint32_t *value);
  1001. #endif
  1002. /**
  1003. * wlan_mlme_get_is_ts_burst_size_enable() - Get TS burst size flag
  1004. * @psoc: pointer to psoc object
  1005. * @value: pointer to the value which will be filled for the caller
  1006. *
  1007. * Return: None
  1008. */
  1009. void wlan_mlme_get_is_ts_burst_size_enable(struct wlan_objmgr_psoc *psoc,
  1010. bool *value);
  1011. /**
  1012. * wlan_mlme_get_ts_info_ack_policy() - Get TS ack policy
  1013. * @psoc: pointer to psoc object
  1014. * @value: pointer to the value which will be filled for the caller
  1015. *
  1016. * Return: None
  1017. */
  1018. void wlan_mlme_get_ts_info_ack_policy(struct wlan_objmgr_psoc *psoc,
  1019. enum mlme_ts_info_ack_policy *value);
  1020. /**
  1021. * wlan_mlme_get_ts_acm_value_for_ac() - Get ACM value for AC
  1022. * @psoc: pointer to psoc object
  1023. * @value: pointer to the value which will be filled for the caller
  1024. *
  1025. * Return: QDF Status
  1026. */
  1027. QDF_STATUS
  1028. wlan_mlme_get_ts_acm_value_for_ac(struct wlan_objmgr_psoc *psoc, bool *value);
  1029. /**
  1030. * wlan_mlme_get_wmm_dir_ac_vo() - Get TSPEC direction
  1031. * for VO
  1032. * @psoc: pointer to psoc object
  1033. * @value: Value that needs to be set from the caller
  1034. *
  1035. * Return: QDF Status
  1036. */
  1037. QDF_STATUS wlan_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc,
  1038. uint8_t *value);
  1039. /**
  1040. * wlan_mlme_get_wmm_nom_msdu_size_ac_vo() - Get normal
  1041. * MSDU size for VO
  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
  1048. wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc,
  1049. uint16_t *value);
  1050. /**
  1051. * wlan_mlme_get_wmm_mean_data_rate_ac_vo() - mean data rate for VO
  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
  1058. wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  1059. uint32_t *value);
  1060. /**
  1061. * wlan_mlme_get_wmm_min_phy_rate_ac_vo() - min PHY
  1062. * rate for VO
  1063. * @psoc: pointer to psoc object
  1064. * @value: Value that needs to be set from the caller
  1065. *
  1066. * Return: QDF Status
  1067. */
  1068. QDF_STATUS
  1069. wlan_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
  1070. uint32_t *value);
  1071. /**
  1072. * wlan_mlme_get_wmm_sba_ac_vo() - surplus bandwidth allowance for VO
  1073. * @psoc: pointer to psoc object
  1074. * @value: Value that needs to be set from the caller
  1075. *
  1076. * Return: QDF Status
  1077. */
  1078. QDF_STATUS
  1079. wlan_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc, uint16_t *value);
  1080. /**
  1081. * wlan_mlme_set_enable_bcast_probe_rsp() - Set enable bcast probe resp info
  1082. * @psoc: pointer to psoc object
  1083. * @value: value that needs to be set from the caller
  1084. *
  1085. * Return: QDF Status
  1086. */
  1087. QDF_STATUS wlan_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc *psoc,
  1088. bool value);
  1089. /**
  1090. * wlan_mlme_get_wmm_uapsd_vo_srv_intv() - Get Uapsd service
  1091. * interval for voice
  1092. * @psoc: pointer to psoc object
  1093. * @value: pointer to the value which will be filled for the caller
  1094. *
  1095. * Return: QDF Status
  1096. */
  1097. QDF_STATUS
  1098. wlan_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc *psoc,
  1099. uint32_t *value);
  1100. /**
  1101. * wlan_mlme_get_wmm_uapsd_vo_sus_intv() - Get Uapsd suspension
  1102. * interval for voice
  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_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc,
  1110. uint32_t *value);
  1111. /**
  1112. * wlan_mlme_cfg_get_vht_max_mpdu_len() - gets vht max mpdu length from cfg item
  1113. * @psoc: psoc context
  1114. * @value: pointer to get required data
  1115. *
  1116. * Return: QDF_STATUS
  1117. */
  1118. QDF_STATUS wlan_mlme_cfg_get_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
  1119. uint8_t *value);
  1120. /**
  1121. * wlan_mlme_cfg_set_vht_max_mpdu_len() - sets vht max mpdu length into cfg item
  1122. * @psoc: psoc context
  1123. * @value: data to be set
  1124. *
  1125. * Return: QDF_STATUS
  1126. */
  1127. QDF_STATUS wlan_mlme_cfg_set_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
  1128. uint8_t value);
  1129. /**
  1130. * wlan_mlme_cfg_get_vht_chan_width() - gets vht supported channel width from
  1131. * cfg item
  1132. * @psoc: psoc context
  1133. * @value: pointer to get required data
  1134. *
  1135. * Return: QDF_STATUS
  1136. */
  1137. QDF_STATUS wlan_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1138. uint8_t *value);
  1139. /**
  1140. * wlan_mlme_cfg_set_vht_chan_width() - sets vht supported channel width into
  1141. * cfg item
  1142. * @psoc: psoc context
  1143. * @value: data to be set
  1144. *
  1145. * Return: QDF_STATUS
  1146. */
  1147. QDF_STATUS wlan_mlme_cfg_set_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1148. uint8_t value);
  1149. /**
  1150. * wlan_mlme_cfg_get_vht_chan_width() - sets vht supported channel width into
  1151. * cfg item
  1152. * @psoc: psoc context
  1153. * @value: data to be set
  1154. *
  1155. * Return: QDF_STATUS
  1156. */
  1157. QDF_STATUS wlan_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc,
  1158. uint8_t *value);
  1159. /**
  1160. * wlan_mlme_cfg_get_vht_ldpc_coding_cap() - gets vht ldpc coding cap from
  1161. * cfg item
  1162. * @psoc: psoc context
  1163. * @value: pointer to get required data
  1164. *
  1165. * Return: QDF_STATUS
  1166. */
  1167. QDF_STATUS wlan_mlme_cfg_get_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc,
  1168. bool *value);
  1169. /**
  1170. * wlan_mlme_cfg_set_vht_ldpc_coding_cap() - sets vht ldpc coding cap into
  1171. * cfg item
  1172. * @psoc: psoc context
  1173. * @value: data to be set
  1174. *
  1175. * Return: QDF_STATUS
  1176. */
  1177. QDF_STATUS wlan_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc,
  1178. bool value);
  1179. /**
  1180. * wlan_mlme_cfg_get_vht_short_gi_80mhz() - gets vht short gi 80MHz from
  1181. * cfg item
  1182. * @psoc: psoc context
  1183. * @value: pointer to get required data
  1184. *
  1185. * Return: QDF_STATUS
  1186. */
  1187. QDF_STATUS wlan_mlme_cfg_get_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc,
  1188. bool *value);
  1189. /**
  1190. * wlan_mlme_cfg_set_vht_short_gi_80mhz() - sets vht short gi 80MHz into
  1191. * cfg item
  1192. * @psoc: psoc context
  1193. * @value: data to be set
  1194. *
  1195. * Return: QDF_STATUS
  1196. */
  1197. QDF_STATUS wlan_mlme_cfg_set_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc,
  1198. bool value);
  1199. /**
  1200. * wlan_mlme_cfg_get_short_gi_160_mhz() - gets vht short gi 160MHz from
  1201. * cfg item
  1202. * @psoc: psoc context
  1203. * @value: pointer to get required data
  1204. *
  1205. * Return: QDF_STATUS
  1206. */
  1207. QDF_STATUS wlan_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc,
  1208. bool *value);
  1209. /**
  1210. * wlan_mlme_cfg_set_short_gi_160_mhz() - sets vht short gi 160MHz into
  1211. * cfg item
  1212. * @psoc: psoc context
  1213. * @value: data to be set
  1214. *
  1215. * Return: QDF_STATUS
  1216. */
  1217. QDF_STATUS wlan_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc,
  1218. bool value);
  1219. /**
  1220. * wlan_mlme_cfg_get_vht_tx_stbc() - gets vht tx stbc from
  1221. * cfg item
  1222. * @psoc: psoc context
  1223. * @value: pointer to get required data
  1224. *
  1225. * Return: QDF_STATUS
  1226. */
  1227. QDF_STATUS wlan_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc,
  1228. bool *value);
  1229. /**
  1230. * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from
  1231. * cfg item
  1232. * @psoc: psoc context
  1233. * @value: pointer to get required data
  1234. *
  1235. * Return: QDF_STATUS
  1236. */
  1237. QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  1238. bool *value);
  1239. /**
  1240. * wlan_mlme_cfg_set_vht_tx_stbc() - sets vht tx stbc into
  1241. * cfg item
  1242. * @psoc: psoc context
  1243. * @value: data to be set
  1244. *
  1245. * Return: QDF_STATUS
  1246. */
  1247. QDF_STATUS wlan_mlme_cfg_set_vht_tx_stbc(struct wlan_objmgr_psoc *psoc,
  1248. bool value);
  1249. /**
  1250. * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from
  1251. * cfg item
  1252. * @psoc: psoc context
  1253. * @value: pointer to get required data
  1254. *
  1255. * Return: QDF_STATUS
  1256. */
  1257. QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  1258. bool *value);
  1259. /**
  1260. * wlan_mlme_cfg_set_vht_rx_stbc() - sets vht rx stbc into
  1261. * cfg item
  1262. * @psoc: psoc context
  1263. * @value: data to be set
  1264. *
  1265. * Return: QDF_STATUS
  1266. */
  1267. QDF_STATUS wlan_mlme_cfg_set_vht_rx_stbc(struct wlan_objmgr_psoc *psoc,
  1268. bool value);
  1269. /**
  1270. * wlan_mlme_cfg_get_vht_su_bformer() - gets vht su beam former cap from
  1271. * cfg item
  1272. * @psoc: psoc context
  1273. * @value: pointer to get required data
  1274. *
  1275. * Return: QDF_STATUS
  1276. */
  1277. QDF_STATUS wlan_mlme_cfg_get_vht_su_bformer(struct wlan_objmgr_psoc *psoc,
  1278. bool *value);
  1279. /**
  1280. * wlan_mlme_cfg_set_vht_su_bformer() - sets vht su beam former cap into
  1281. * cfg item
  1282. * @psoc: psoc context
  1283. * @value: data to be set
  1284. *
  1285. * Return: QDF_STATUS
  1286. */
  1287. QDF_STATUS wlan_mlme_cfg_set_vht_su_bformer(struct wlan_objmgr_psoc *psoc,
  1288. bool value);
  1289. /**
  1290. * wlan_mlme_cfg_set_vht_su_bformee() - sets vht su beam formee cap into
  1291. * cfg item
  1292. * @psoc: psoc context
  1293. * @value: data to be set
  1294. *
  1295. * Return: QDF_STATUS
  1296. */
  1297. QDF_STATUS wlan_mlme_cfg_set_vht_su_bformee(struct wlan_objmgr_psoc *psoc,
  1298. bool value);
  1299. /**
  1300. * wlan_mlme_cfg_set_vht_tx_bfee_ant_supp() - sets vht Beamformee antenna
  1301. * support cap
  1302. * into cfg item
  1303. * @psoc: psoc context
  1304. * @value: data to be set
  1305. *
  1306. * Return: QDF_STATUS
  1307. */
  1308. QDF_STATUS wlan_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
  1309. uint8_t value);
  1310. /**
  1311. * wlan_mlme_cfg_get_vht_tx_bfee_ant_supp() - Gets vht Beamformee antenna
  1312. * support cap into cfg item
  1313. *
  1314. * @psoc: psoc context
  1315. * @value: data to be set
  1316. *
  1317. * Return: QDF_STATUS
  1318. */
  1319. QDF_STATUS wlan_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
  1320. uint8_t *value);
  1321. /**
  1322. * wlan_mlme_cfg_set_vht_num_sounding_dim() - sets vht no of sounding dimensions
  1323. * into cfg item
  1324. * @psoc: psoc context
  1325. * @value: data to be set
  1326. *
  1327. * Return: QDF_STATUS
  1328. */
  1329. QDF_STATUS wlan_mlme_cfg_set_vht_num_sounding_dim(struct wlan_objmgr_psoc *psoc,
  1330. uint8_t value);
  1331. /**
  1332. * wlan_mlme_cfg_get_vht_mu_bformer() - gets vht mu beam former cap from
  1333. * cfg item
  1334. * @psoc: psoc context
  1335. * @value: pointer to get required data
  1336. *
  1337. * Return: QDF_STATUS
  1338. */
  1339. QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformer(struct wlan_objmgr_psoc *psoc,
  1340. bool *value);
  1341. /**
  1342. * wlan_mlme_cfg_set_vht_mu_bformer() - sets vht mu beam former cap into
  1343. * cfg item
  1344. * @psoc: psoc context
  1345. * @value: data to be set
  1346. *
  1347. * Return: QDF_STATUS
  1348. */
  1349. QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformer(struct wlan_objmgr_psoc *psoc,
  1350. bool value);
  1351. /**
  1352. * wlan_mlme_cfg_get_vht_mu_bformee() - gets vht mu beam formee cap from
  1353. * cfg item
  1354. * @psoc: psoc context
  1355. * @value: pointer to get required data
  1356. *
  1357. * Return: QDF_STATUS
  1358. */
  1359. QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformee(struct wlan_objmgr_psoc *psoc,
  1360. bool *value);
  1361. /**
  1362. * wlan_mlme_cfg_set_vht_mu_bformee() - sets vht mu beam formee cap into
  1363. * cfg item
  1364. * @psoc: psoc context
  1365. * @value: data to be set
  1366. *
  1367. * Return: QDF_STATUS
  1368. */
  1369. QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformee(struct wlan_objmgr_psoc *psoc,
  1370. bool value);
  1371. /**
  1372. * wlan_mlme_cfg_get_vht_txop_ps() - gets vht tx ops ps cap from
  1373. * cfg item
  1374. * @psoc: psoc context
  1375. * @value: pointer to get required data
  1376. *
  1377. * Return: QDF_STATUS
  1378. */
  1379. QDF_STATUS wlan_mlme_cfg_get_vht_txop_ps(struct wlan_objmgr_psoc *psoc,
  1380. bool *value);
  1381. /**
  1382. * wlan_mlme_cfg_set_vht_txop_ps() - sets vht tx ops ps cap into
  1383. * cfg item
  1384. * @psoc: psoc context
  1385. * @value: data to be set
  1386. *
  1387. * Return: QDF_STATUS
  1388. */
  1389. QDF_STATUS wlan_mlme_cfg_set_vht_txop_ps(struct wlan_objmgr_psoc *psoc,
  1390. bool value);
  1391. /**
  1392. * wlan_mlme_cfg_get_vht_ampdu_len_exp() - gets vht max AMPDU length exponent from
  1393. * cfg item
  1394. * @psoc: psoc context
  1395. * @value: pointer to get required data
  1396. *
  1397. * Return: QDF_STATUS
  1398. */
  1399. QDF_STATUS wlan_mlme_cfg_get_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
  1400. uint8_t *value);
  1401. /**
  1402. * wlan_mlme_cfg_set_vht_ampdu_len_exp() - sets vht max AMPDU length exponent into
  1403. * cfg item
  1404. * @psoc: psoc context
  1405. * @value: data to be set
  1406. *
  1407. * Return: QDF_STATUS
  1408. */
  1409. QDF_STATUS wlan_mlme_cfg_set_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
  1410. uint8_t value);
  1411. /**
  1412. * wlan_mlme_cfg_get_vht_rx_mcs_map() - gets vht rx mcs map from
  1413. * cfg item
  1414. * @psoc: psoc context
  1415. * @value: pointer to get required data
  1416. *
  1417. * Return: QDF_STATUS
  1418. */
  1419. QDF_STATUS wlan_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1420. uint32_t *value);
  1421. /**
  1422. * wlan_mlme_cfg_set_vht_rx_mcs_map() - sets rx mcs map into
  1423. * cfg item
  1424. * @psoc: psoc context
  1425. * @value: data to be set
  1426. *
  1427. * Return: QDF_STATUS
  1428. */
  1429. QDF_STATUS wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1430. uint32_t value);
  1431. /**
  1432. * wlan_mlme_cfg_get_vht_tx_mcs_map() - gets vht tx mcs map from
  1433. * cfg item
  1434. * @psoc: psoc context
  1435. * @value: pointer to get required data
  1436. *
  1437. * Return: QDF_STATUS
  1438. */
  1439. QDF_STATUS wlan_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1440. uint32_t *value);
  1441. /**
  1442. * wlan_mlme_cfg_set_vht_tx_mcs_map() - sets tx mcs map into
  1443. * cfg item
  1444. * @psoc: psoc context
  1445. * @value: data to be set
  1446. *
  1447. * Return: QDF_STATUS
  1448. */
  1449. QDF_STATUS wlan_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc,
  1450. uint32_t value);
  1451. /**
  1452. * wlan_mlme_cfg_set_vht_rx_supp_data_rate() - sets rx supported data rate into
  1453. * cfg item
  1454. * @psoc: psoc context
  1455. * @value: data to be set
  1456. *
  1457. * Return: QDF_STATUS
  1458. */
  1459. QDF_STATUS
  1460. wlan_mlme_cfg_set_vht_rx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
  1461. uint32_t value);
  1462. /**
  1463. * wlan_mlme_cfg_set_vht_tx_supp_data_rate() - sets tx supported data rate into
  1464. * cfg item
  1465. * @psoc: psoc context
  1466. * @value: data to be set
  1467. *
  1468. * Return: QDF_STATUS
  1469. */
  1470. QDF_STATUS
  1471. wlan_mlme_cfg_set_vht_tx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
  1472. uint32_t value);
  1473. /**
  1474. * wlan_mlme_cfg_get_vht_basic_mcs_set() - gets basic mcs set from
  1475. * cfg item
  1476. * @psoc: psoc context
  1477. * @value: data to be set
  1478. *
  1479. * Return: QDF_STATUS
  1480. */
  1481. QDF_STATUS wlan_mlme_cfg_get_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
  1482. uint32_t *value);
  1483. /**
  1484. * wlan_mlme_cfg_set_vht_basic_mcs_set() - sets basic mcs set into
  1485. * cfg item
  1486. * @psoc: psoc context
  1487. * @value: data to be set
  1488. *
  1489. * Return: QDF_STATUS
  1490. */
  1491. QDF_STATUS wlan_mlme_cfg_set_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
  1492. uint32_t value);
  1493. /**
  1494. * wlan_mlme_get_vht_enable_tx_bf() - Get vht enable tx bf
  1495. * @psoc: psoc context
  1496. * @value: data to be set
  1497. *
  1498. * Return: QDF_STATUS
  1499. */
  1500. QDF_STATUS wlan_mlme_get_vht_enable_tx_bf(struct wlan_objmgr_psoc *psoc,
  1501. bool *value);
  1502. /**
  1503. * wlan_mlme_get_vht_tx_su_beamformer() - VHT enable tx su beamformer
  1504. * @psoc: psoc context
  1505. * @value: data to be set
  1506. *
  1507. * Return: QDF_STATUS
  1508. */
  1509. QDF_STATUS wlan_mlme_get_vht_tx_su_beamformer(struct wlan_objmgr_psoc *psoc,
  1510. bool *value);
  1511. /**
  1512. * wlan_mlme_get_vht_channel_width() - gets Channel width capability
  1513. * for 11ac
  1514. * @psoc: psoc context
  1515. * @value: data to be set
  1516. *
  1517. * Return: QDF_STATUS
  1518. */
  1519. QDF_STATUS wlan_mlme_get_vht_channel_width(struct wlan_objmgr_psoc *psoc,
  1520. uint8_t *value);
  1521. /**
  1522. * wlan_mlme_get_vht_rx_mcs_8_9() - VHT Rx MCS capability for 1x1 mode
  1523. * @psoc: psoc context
  1524. * @value: data to be set
  1525. *
  1526. * Return: QDF_STATUS
  1527. */
  1528. QDF_STATUS wlan_mlme_get_vht_rx_mcs_8_9(struct wlan_objmgr_psoc *psoc,
  1529. uint8_t *value);
  1530. /**
  1531. * wlan_mlme_get_vht_tx_mcs_8_9() - VHT Tx MCS capability for 1x1 mode
  1532. * @psoc: psoc context
  1533. * @value: data to be set
  1534. *
  1535. * Return: QDF_STATUS
  1536. */
  1537. QDF_STATUS wlan_mlme_get_vht_tx_mcs_8_9(struct wlan_objmgr_psoc *psoc,
  1538. uint8_t *value);
  1539. /**
  1540. * wlan_mlme_get_vht_rx_mcs_2x2() - VHT Rx MCS capability for 2x2 mode
  1541. * @psoc: psoc context
  1542. * @value: data to be set
  1543. *
  1544. * Return: QDF_STATUS
  1545. */
  1546. QDF_STATUS wlan_mlme_get_vht_rx_mcs_2x2(struct wlan_objmgr_psoc *psoc,
  1547. uint8_t *value);
  1548. /**
  1549. * wlan_mlme_get_vht_tx_mcs_2x2() - VHT Tx MCS capability for 2x2 mode
  1550. * @psoc: psoc context
  1551. * @value: data to be set
  1552. *
  1553. * Return: QDF_STATUS
  1554. */
  1555. QDF_STATUS wlan_mlme_get_vht_tx_mcs_2x2(struct wlan_objmgr_psoc *psoc,
  1556. uint8_t *value);
  1557. /**
  1558. * wlan_mlme_get_vht20_mcs9() - Enables VHT MCS9 in 20M BW operation
  1559. * @psoc: psoc context
  1560. * @value: data to be set
  1561. *
  1562. * Return: QDF_STATUS
  1563. */
  1564. QDF_STATUS wlan_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc *psoc,
  1565. bool *value);
  1566. /**
  1567. * wlan_mlme_get_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
  1568. * @psoc: psoc context
  1569. * @value: data to be set
  1570. *
  1571. * Return: QDF_STATUS
  1572. */
  1573. QDF_STATUS wlan_mlme_get_vht_enable2x2(struct wlan_objmgr_psoc *psoc,
  1574. bool *value);
  1575. /**
  1576. * wlan_mlme_set_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
  1577. * @psoc: psoc context
  1578. * @value: data to be set
  1579. *
  1580. * Return: QDF_STATUS
  1581. */
  1582. QDF_STATUS wlan_mlme_set_vht_enable2x2(struct wlan_objmgr_psoc *psoc,
  1583. bool value);
  1584. /**
  1585. * wlan_mlme_get_vht_enable_paid() - Enables/disables paid feature
  1586. * @psoc: psoc context
  1587. * @value: data to be set
  1588. *
  1589. * Return: QDF_STATUS
  1590. */
  1591. QDF_STATUS wlan_mlme_get_vht_enable_paid(struct wlan_objmgr_psoc *psoc,
  1592. bool *value);
  1593. /**
  1594. * wlan_mlme_get_vht_enable_gid() - Enables/disables VHT GID feature
  1595. * @psoc: psoc context
  1596. * @value: data to be set
  1597. *
  1598. * Return: QDF_STATUS
  1599. */
  1600. QDF_STATUS wlan_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc *psoc,
  1601. bool *value);
  1602. /**
  1603. * wlan_mlme_get_vht_for_24ghz() - Enables/disables VHT for 24 ghz
  1604. * @psoc: psoc context
  1605. * @value: data to be set
  1606. *
  1607. * Return: QDF_STATUS
  1608. */
  1609. QDF_STATUS wlan_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc *psoc,
  1610. bool *value);
  1611. /**
  1612. * wlan_mlme_get_vendor_vht_for_24ghz() - nables/disables vendor VHT for 24 ghz
  1613. * @psoc: psoc context
  1614. * @value: data to be set
  1615. *
  1616. * Return: QDF_STATUS
  1617. */
  1618. QDF_STATUS wlan_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc,
  1619. bool *value);
  1620. /**
  1621. * mlme_update_vht_cap() - update vht capabilities
  1622. * @psoc: psoc context
  1623. * @cfg: data to be set
  1624. *
  1625. * Return: QDF_STATUS
  1626. */
  1627. QDF_STATUS mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc,
  1628. struct wma_tgt_vht_cap *cfg);
  1629. /**
  1630. * mlme_update_nss_vht_cap() - Update the number of spatial
  1631. * streams supported for vht
  1632. * @psoc: psoc context
  1633. *
  1634. * Return: QDF_STATUS
  1635. */
  1636. QDF_STATUS mlme_update_nss_vht_cap(struct wlan_objmgr_psoc *psoc);
  1637. #endif /* _WLAN_MLME_API_H_ */