cfg_mlme_generic.h 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277
  1. /*
  2. * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
  3. * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  4. *
  5. * Permission to use, copy, modify, and/or distribute this software for
  6. * any purpose with or without fee is hereby granted, provided that the
  7. * above copyright notice and this permission notice appear in all
  8. * copies.
  9. *
  10. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  11. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  12. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  13. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  14. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  15. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  16. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  17. * PERFORMANCE OF THIS SOFTWARE.
  18. */
  19. /**
  20. * DOC: This file contains centralized definitions of converged configuration.
  21. */
  22. #ifndef __CFG_MLME_GENERIC_H
  23. #define __CFG_MLME_GENERIC_H
  24. #define CFG_PMF_SA_QUERY_MAX_RETRIES_TYPE CFG_INI_UINT
  25. #define CFG_PMF_SA_QUERY_RETRY_INTERVAL_TYPE CFG_INI_UINT
  26. /**
  27. * enum monitor_mode_concurrency - Monitor mode concurrency
  28. * @MONITOR_MODE_CONC_NO_SUPPORT: No concurrency supported with monitor mode
  29. * @MONITOR_MODE_CONC_STA_SCAN_MON: STA + monitor mode concurrency is supported
  30. * @MONITOR_MODE_CONC_AFTER_LAST: last value in enum
  31. * @MONITOR_MODE_CONC_MAX: max value supported
  32. */
  33. enum monitor_mode_concurrency {
  34. MONITOR_MODE_CONC_NO_SUPPORT,
  35. MONITOR_MODE_CONC_STA_SCAN_MON,
  36. MONITOR_MODE_CONC_AFTER_LAST,
  37. MONITOR_MODE_CONC_MAX = MONITOR_MODE_CONC_AFTER_LAST - 1,
  38. };
  39. /**
  40. * enum wlan_wds_mode - wds mode
  41. * @WLAN_WDS_MODE_DISABLED: WDS is disabled
  42. * @WLAN_WDS_MODE_REPEATER: WDS repeater mode
  43. * @WLAN_WDS_MODE_LAST: last value in enum
  44. * @WLAN_WDS_MODE_MAX: max value supported
  45. * This is used for 'type' values in wds_mode
  46. */
  47. enum wlan_wds_mode {
  48. WLAN_WDS_MODE_DISABLED = 0,
  49. WLAN_WDS_MODE_REPEATER = 1,
  50. /* keep this last */
  51. WLAN_WDS_MODE_LAST,
  52. WLAN_WDS_MODE_MAX = WLAN_WDS_MODE_LAST - 1,
  53. };
  54. /**
  55. * enum wlan_eht_mode - EHT mode of operation
  56. * @WLAN_EHT_MODE_DISABLED: EHT is disabled
  57. * @WLAN_EHT_MODE_SLO: Single-link operation mode
  58. * @WLAN_EHT_MODE_MLSR: Multi-link Single-Radio mode
  59. * @WLAN_EHT_MODE_MLMR: Multi-link Multi-Radio mode
  60. * @WLAN_EHT_MODE_EMLSR: Enhanced Multi-link Single-Radio mode
  61. * @WLAN_EHT_MODE_LAST: last value in enum
  62. * @WLAN_EHT_MODE_MAX: max value supported
  63. *
  64. * This is used for 'type' values in eht_mode
  65. */
  66. enum wlan_eht_mode {
  67. WLAN_EHT_MODE_DISABLED = 0,
  68. WLAN_EHT_MODE_SLO = 1,
  69. WLAN_EHT_MODE_MLSR = 2,
  70. WLAN_EHT_MODE_MLMR = 3,
  71. WLAN_EHT_MODE_EMLSR = 4,
  72. /* keep this last */
  73. WLAN_EHT_MODE_LAST,
  74. WLAN_EHT_MODE_MAX = WLAN_EHT_MODE_LAST - 1,
  75. };
  76. /**
  77. * enum wlan_emlsr_action_mode - EMLSR action mode
  78. * @WLAN_EMLSR_MODE_DISABLED: EMLSR is disabled
  79. * @WLAN_EMLSR_MODE_ENTER: Enter EMLSR operation mode
  80. * @WLAN_EMLSR_MODE_EXIT: Exit EMLSR operation mode
  81. * @WLAN_EMLSR_MODE_LAST: last value in enum
  82. * @WLAN_EMLSR_MODE_MAX: max value supported
  83. *
  84. * This is used for 'type' values in emlsr_mode
  85. */
  86. enum wlan_emlsr_action_mode {
  87. WLAN_EMLSR_MODE_DISABLED = 0,
  88. WLAN_EMLSR_MODE_ENTER = 1,
  89. WLAN_EMLSR_MODE_EXIT = 2,
  90. /* keep this last */
  91. WLAN_EMLSR_MODE_LAST,
  92. WLAN_EMLSR_MODE_MAX = WLAN_EMLSR_MODE_LAST - 1,
  93. };
  94. /**
  95. * enum wlan_t2lm_negotiation_support - TID-to-link mapping negotiation support
  96. * @WLAN_T2LM_DISABLE: T2LM support is disabled
  97. * @WLAN_T2LM_SAME_LINK_SET: Mapping of all TIDs to the same link set, both DL
  98. * and UL
  99. * @WLAN_T2LM_RESERVED: This value is Reserved
  100. * @WLAN_T2LM_SAME_DIFF_LINK_SET: Mapping of each TID to the same or different
  101. * link set
  102. * @WLAN_T2LM_SUPPORT_LAST: last value in enum
  103. * @WLAN_T2LM_SUPPORT_MAX: max value supported
  104. *
  105. * This is used for 'type' values in T2LM support
  106. */
  107. enum wlan_t2lm_negotiation_support {
  108. WLAN_T2LM_DISABLE = 0,
  109. WLAN_T2LM_SAME_LINK_SET = 1,
  110. WLAN_T2LM_RESERVED = 2,
  111. WLAN_T2LM_SAME_DIFF_LINK_SET = 3,
  112. /* keep this last */
  113. WLAN_T2LM_SUPPORT_LAST,
  114. WLAN_T2LM_SUPPORT_MAX = WLAN_T2LM_SUPPORT_LAST - 1,
  115. };
  116. /**
  117. * enum debug_packet_log_type - Debug packet log type
  118. * @DEBUG_PKTLOG_TYPE_NONE: Debug packet log is disabled
  119. * @DEBUG_PKTLOG_TYPE_MGMT: Management frames logging is enabled.
  120. * @DEBUG_PKTLOG_TYPE_EAPOL: EAPOL packets logging is enabled.
  121. * @DEBUG_PKTLOG_TYPE_DHCP: DHCP packets logging is enabled.
  122. * @DEBUG_PKTLOG_TYPE_ACTION: Action frames logging is enabled.
  123. * @DEBUG_PKTLOG_TYPE_ARP: ARP packets logging is enabled.
  124. */
  125. enum debug_packet_log_type {
  126. DEBUG_PKTLOG_TYPE_NONE = 0x0,
  127. DEBUG_PKTLOG_TYPE_MGMT = 0x1,
  128. DEBUG_PKTLOG_TYPE_EAPOL = 0x2,
  129. DEBUG_PKTLOG_TYPE_DHCP = 0x4,
  130. DEBUG_PKTLOG_TYPE_ACTION = 0x8,
  131. DEBUG_PKTLOG_TYPE_ARP = 0x10,
  132. };
  133. /**
  134. * enum t2lm_negotiation_support: t2lm negotiation supported
  135. * @T2LM_NEGOTIATION_DISABLED: T2LM is disabled
  136. * @T2LM_NEGOTIATION_ALL_TIDS_TO_SUBSET_OF_LINKS: supports the mapping
  137. * of all TIDs to the same link set both DL and UL.
  138. * @T2LM_NEGOTIATION_RESERVED:
  139. * this mapping value is reserved.
  140. * @T2LM_NEGOTIATION_DISJOINT_MAPPING: supports the mapping of
  141. * each TID to the same or different link set.
  142. * @T2LM_NEGOTIATION_LAST: last value in enum
  143. * @T2LM_NEGOTIATION_MAX: max value supported
  144. */
  145. enum t2lm_negotiation_support {
  146. T2LM_NEGOTIATION_DISABLED = 0,
  147. T2LM_NEGOTIATION_ALL_TIDS_TO_SUBSET_OF_LINKS = 1,
  148. T2LM_NEGOTIATION_RESERVED = 2,
  149. T2LM_NEGOTIATION_DISJOINT_MAPPING = 3,
  150. T2LM_NEGOTIATION_LAST,
  151. /* keep this last */
  152. T2LM_NEGOTIATION_MAX = T2LM_NEGOTIATION_LAST - 1,
  153. };
  154. /**
  155. * enum wlan_epcs_capability - EPCS capability
  156. * @WLAN_EPCS_CAP_DISABLED: EPCS capability disable
  157. * @WLAN_EPCS_CAP_ENABLE: EPCS capability enable
  158. * @WLAN_EPCS_CAP_LAST: last value in enum
  159. * @WLAN_EPCS_CAP_MAX: max value supported
  160. */
  161. enum wlan_epcs_capability {
  162. WLAN_EPCS_CAP_DISABLED = 0,
  163. WLAN_EPCS_CAP_ENABLE = 1,
  164. /* keep this last */
  165. WLAN_EPCS_CAP_LAST,
  166. WLAN_EPCS_CAP_MAX = WLAN_EPCS_CAP_LAST - 1,
  167. };
  168. /**
  169. * enum wlan_epcs_frame - EPCS frame type
  170. * @WLAN_EPCS_FRAME_TEARDOWN: EPCS teardown frame
  171. * @WLAN_EPCS_FRAME_REQUEST: EPCS request frame
  172. * @WLAN_EPCS_FRAME_LAST: last value in enum
  173. * @WLAN_EPCS_FRAME_MAX: max value supported
  174. */
  175. enum wlan_epcs_frame {
  176. WLAN_EPCS_FRAME_TEARDOWN = 0,
  177. WLAN_EPCS_FRAME_REQUEST = 1,
  178. /* keep this last */
  179. WLAN_EPCS_FRAME_LAST,
  180. WLAN_EPCS_FRAME_MAX = WLAN_EPCS_FRAME_LAST - 1,
  181. };
  182. /*
  183. * pmfSaQueryMaxRetries - Control PMF SA query retries for SAP
  184. * @Min: 0
  185. * @Max: 20
  186. * @Default: 5
  187. *
  188. * This ini to set the number of PMF SA query retries for SAP
  189. *
  190. * Related: None.
  191. *
  192. * Supported Feature: PMF(11W)
  193. *
  194. */
  195. #define CFG_PMF_SA_QUERY_MAX_RETRIES CFG_PMF_SA_QUERY_MAX_RETRIES_TYPE( \
  196. "pmfSaQueryMaxRetries", \
  197. 0, \
  198. 20, \
  199. 5, \
  200. CFG_VALUE_OR_DEFAULT, \
  201. "PMF SA query retries for SAP")
  202. /*
  203. * pmfSaQueryRetryInterval - Control PMF SA query retry interval
  204. * for SAP in ms
  205. * @Min: 10
  206. * @Max: 2000
  207. * @Default: 200
  208. *
  209. * This ini to set the PMF SA query retry interval for SAP in ms
  210. *
  211. * Related: None.
  212. *
  213. * Supported Feature: PMF(11W)
  214. *
  215. */
  216. #define CFG_PMF_SA_QUERY_RETRY_INTERVAL CFG_PMF_SA_QUERY_RETRY_INTERVAL_TYPE( \
  217. "pmfSaQueryRetryInterval", \
  218. 10, \
  219. 2000, \
  220. 200, \
  221. CFG_VALUE_OR_DEFAULT, \
  222. "PMF SA query retry interval for SAP")
  223. /*
  224. * <ini>
  225. * enable_rtt_mac_randomization - Enable/Disable rtt mac randomization
  226. * @Min: 0
  227. * @Max: 1
  228. * @Default: 1
  229. *
  230. * Usage: External
  231. *
  232. * </ini>
  233. */
  234. #define CFG_ENABLE_RTT_MAC_RANDOMIZATION CFG_INI_BOOL( \
  235. "enable_rtt_mac_randomization", \
  236. 1, \
  237. "Enable RTT MAC randomization")
  238. #define CFG_RTT3_ENABLE CFG_BOOL( \
  239. "rtt3_enabled", \
  240. 1, \
  241. "RTT3 enable/disable info")
  242. /*
  243. * <ini>
  244. * g11hSupportEnabled - Enable 11h support
  245. * @Min: 0
  246. * @Max: 1
  247. * @Default: 1
  248. *
  249. * This ini is used to set 11h support flag
  250. *
  251. * Related: None
  252. *
  253. * Supported Feature: STA
  254. *
  255. * Usage: External
  256. *
  257. * </ini>
  258. */
  259. #define CFG_11H_SUPPORT_ENABLED CFG_INI_BOOL( \
  260. "g11hSupportEnabled", \
  261. 1, \
  262. "11h Enable Flag")
  263. /*
  264. * <ini>
  265. * g11dSupportEnabled - Enable 11d support
  266. * @Min: 0
  267. * @Max: 1
  268. * @Default: 1
  269. *
  270. * This ini is used to set 11d support flag
  271. *
  272. * Related: None
  273. *
  274. * Supported Feature: STA
  275. *
  276. * Usage: External
  277. *
  278. * </ini>
  279. */
  280. #define CFG_11D_SUPPORT_ENABLED CFG_INI_BOOL( \
  281. "g11dSupportEnabled", \
  282. 1, \
  283. "11d Enable Flag")
  284. /*
  285. * rf_test_mode_enabled - Enable rf test mode support
  286. * @Min: 0
  287. * @Max: 1
  288. * @Default: 0
  289. *
  290. * This cfg is used to set rf test mode support flag
  291. * by default 6 G Hz security check will be enabled
  292. * with rf test mode as disabled.
  293. *
  294. * Related: None
  295. *
  296. * Supported Feature: STA
  297. */
  298. #define CFG_RF_TEST_MODE_SUPP_ENABLED CFG_BOOL( \
  299. "rf_test_mode_enabled", \
  300. 0, \
  301. "rf test mode Enable Flag")
  302. #ifdef CONFIG_BAND_6GHZ
  303. /*
  304. * disable_vlp_sta_conn_to_sp_ap - Disable VLP STA connection to SP AP
  305. * @Min: 0
  306. * @Max: 1
  307. * @Default: 0
  308. *
  309. * This cfg is used to disable connection when AP is operating in 6 GHz
  310. * SP mode but STA doesn't support SP mode and supports VLP mode.
  311. *
  312. * Related: None
  313. *
  314. * Supported Feature: STA
  315. */
  316. #define CFG_DISABLE_VLP_STA_CONN_TO_SP_AP CFG_BOOL( \
  317. "disable_vlp_sta_conn_to_sp_ap", \
  318. 0, \
  319. "disable vlp sta conn to sp ap")
  320. #define CFG_DIS_VLP_STA_CONN_TO_SP_AP CFG(CFG_DISABLE_VLP_STA_CONN_TO_SP_AP)
  321. #else
  322. #define CFG_DIS_VLP_STA_CONN_TO_SP_AP
  323. #endif
  324. #ifdef CONFIG_BAND_6GHZ
  325. /*
  326. * standard_6ghz_connection_policy - Enable 6 GHz standard connection policy
  327. * @Min: 0
  328. * @Max: 1
  329. * @Default: 1
  330. *
  331. * This ini is used to set standard 6 GHz policies where STA will be
  332. * allowed to scan and connect to any 6 GHz AP.
  333. *
  334. * Related: None
  335. *
  336. * Supported Feature: STA
  337. */
  338. #define CFG_6GHZ_STANDARD_CONNECTION_POLICY CFG_INI_BOOL( \
  339. "standard_6ghz_connection_policy", \
  340. 1, \
  341. "6ghz standard 6 GHZ connection policy")
  342. #define CFG_6GHZ_STD_CONN_POLICY CFG(CFG_6GHZ_STANDARD_CONNECTION_POLICY)
  343. #else
  344. #define CFG_6GHZ_STD_CONN_POLICY
  345. #endif
  346. #ifdef WLAN_FEATURE_11BE_MLO
  347. /*
  348. * emlsr_mode_enable - Enable eMLSR mode support
  349. * @Min: 0
  350. * @Max: 1
  351. * @Default: 0
  352. *
  353. * This cfg is used to enable eMLSR mode
  354. * If 0 - MLMR mode (Default mode)
  355. * If 1 - eMLSR mode
  356. *
  357. * Related: None
  358. *
  359. * Supported Feature: STA
  360. */
  361. #define CFG_EMLSR_MODE_ENABLE CFG_BOOL( \
  362. "emlsr_mode_enable", \
  363. 0, \
  364. "eMLSR mode enable flag")
  365. #define CFG_EMLSR_MODE_ENABLED CFG(CFG_EMLSR_MODE_ENABLE)
  366. #else
  367. #define CFG_EMLSR_MODE_ENABLED
  368. #endif
  369. /*
  370. * <ini>
  371. * BandCapability - Preferred band (0: 2.4G, 5G, and 6G,
  372. * 1: 2.4G only,
  373. * 2: 5G only,
  374. * 3: Both 2.4G and 5G,
  375. * 4: 6G only,
  376. * 5: Both 2.4G and 6G,
  377. * 6: Both 5G and 6G,
  378. * 7: 2.4G, 5G, and 6G)
  379. * @Min: 0
  380. * @Max: 7
  381. * @Default: 7
  382. *
  383. * This ini is used to set default band capability
  384. * (0: Both 2.4G and 5G, 1: 2.4G only, 2: 5G only, 3: Both 2.4G and 5G,
  385. * 4: 6G only, 5: Both 2.4G and 6G, 6: Both 5G and 6G, 7: 2.4G, 5G, and 6G)
  386. *
  387. * Related: None
  388. *
  389. * Supported Feature: STA
  390. *
  391. * Usage: External
  392. *
  393. * </ini>
  394. */
  395. #define CFG_BAND_CAPABILITY CFG_INI_UINT( \
  396. "BandCapability", \
  397. 0, \
  398. 7, \
  399. 7, \
  400. CFG_VALUE_OR_DEFAULT, \
  401. "Band Capability")
  402. /*
  403. * <ini>
  404. * gPreventLinkDown - Enable to prevent bus link from going down
  405. * @Min: 0
  406. * @Max: 1
  407. * @Default: 0
  408. *
  409. * Enable to prevent bus link from going down. Useful for platforms that do not
  410. * (yet) support link down suspend cases.
  411. *
  412. * Related: N/A
  413. *
  414. * Supported Feature: Suspend/Resume
  415. *
  416. * Usage: Internal
  417. *
  418. * </ini>
  419. */
  420. #if defined(QCA_WIFI_EMULATION) || defined(QCA_WIFI_QCA6290)
  421. #define CFG_PREVENT_LINK_DOWN CFG_INI_BOOL( \
  422. "gPreventLinkDown", \
  423. 1, \
  424. "Prevent Bus Link Down")
  425. #else
  426. #define CFG_PREVENT_LINK_DOWN CFG_INI_BOOL( \
  427. "gPreventLinkDown", \
  428. 0, \
  429. "Prevent Bus Link Down")
  430. #endif /* QCA_WIFI_EMULATION */
  431. /*
  432. * <ini>
  433. * gSelect5GHzMargin - Sets RSSI preference for 5GHz over 2.4GHz AP.
  434. * @Min: 0
  435. * @Max: 60
  436. * @Default: 0
  437. *
  438. * Prefer connecting to 5G AP even if its RSSI is lower by gSelect5GHzMargin
  439. * dBm than 2.4G AP. This feature requires the dependent cfg.ini
  440. * "gRoamPrefer5GHz" set to 1
  441. *
  442. * Related: gRoamPrefer5GHz
  443. *
  444. * Supported Feature: Roaming
  445. *
  446. * Usage: External
  447. *
  448. * </ini>
  449. */
  450. #define CFG_SELECT_5GHZ_MARGIN CFG_INI_UINT( \
  451. "gSelect5GHzMargin", \
  452. 0, \
  453. 60, \
  454. 0, \
  455. CFG_VALUE_OR_DEFAULT, \
  456. "Select 5Ghz Margin")
  457. /*
  458. * <ini>
  459. * gEnableMemDeepSleep - Sets Memory Deep Sleep on/off.
  460. * @Min: 0
  461. * @Max: 1
  462. * @Default: 1
  463. *
  464. * This option enables/disables memory deep sleep.
  465. * Related: None
  466. *
  467. * Supported Feature: General
  468. *
  469. * Usage: External
  470. *
  471. * </ini>
  472. */
  473. #define CFG_ENABLE_MEM_DEEP_SLEEP CFG_INI_BOOL( \
  474. "gEnableMemDeepSleep", \
  475. 1, \
  476. "Enable Memory Deep Sleep")
  477. /*
  478. * <ini>
  479. *
  480. * gEnableCckTxFirOverride - Enable/disable CCK TxFIR Override
  481. * @Min: 0 (disabled)
  482. * @Max: 1 (enabled)
  483. * @Default: 0 (disabled)
  484. *
  485. * When operating in an 802.11b mode, this configuration item forces a 2x2 radio
  486. * configuration into 1x for Tx and 2x for Rx (ie 1x2) for regulatory compliance
  487. * reasons.
  488. *
  489. * Related: enable2x2
  490. *
  491. * Supported Feature: 802.11b, 2x2
  492. *
  493. * Usage: External
  494. *
  495. * </ini>
  496. */
  497. #define CFG_ENABLE_CCK_TX_FIR_OVERRIDE CFG_INI_BOOL( \
  498. "gEnableCckTxFirOverride", \
  499. 0, \
  500. "Enable CCK TX FIR Override")
  501. /*
  502. * <ini>
  503. *
  504. * gEnableForceTargetAssert - Enable/disable SSR
  505. * @Min: 0 (disabled)
  506. * @Max: 1 (enabled)
  507. * @Default: 0 (disabled)
  508. *
  509. * This INI item is used to control subsystem restart(SSR) test framework
  510. * Set it's value to 1 to enable APPS triggered SSR testing
  511. *
  512. * Related: None
  513. *
  514. * Supported Feature: General
  515. *
  516. * Usage: External
  517. *
  518. * </ini>
  519. */
  520. #define CFG_ENABLE_CRASH_INJECT CFG_INI_BOOL( \
  521. "gEnableForceTargetAssert", \
  522. 0, \
  523. "Enable Crash Inject")
  524. /*
  525. * <ini>
  526. *
  527. * gEnableLpassSupport - Enable/disable LPASS Support
  528. * @Min: 0 (disabled)
  529. * @Max: 1 (enabled)
  530. * @Default: 1 (disabled) if WLAN_FEATURE_LPSS is defined, 0 otherwise
  531. *
  532. * Related: None
  533. *
  534. * Supported Feature: General
  535. *
  536. * Usage: External
  537. *
  538. * </ini>
  539. */
  540. #ifdef WLAN_FEATURE_LPSS
  541. #define CFG_ENABLE_LPASS_SUPPORT CFG_INI_BOOL( \
  542. "gEnableLpassSupport", \
  543. 1, \
  544. "Enable LPASS Support")
  545. #else
  546. #define CFG_ENABLE_LPASS_SUPPORT CFG_BOOL( \
  547. "gEnableLpassSupport", \
  548. 0, \
  549. "Enable LPASS Support")
  550. #endif
  551. /*
  552. * <ini>
  553. *
  554. * gEnableSelfRecovery - Enable/disable Self Recovery
  555. * @Min: 0 (disabled)
  556. * @Max: 1 (enabled)
  557. * @Default: 0 (disabled)
  558. *
  559. * Related: None
  560. *
  561. * Supported Feature: General
  562. *
  563. * Usage: External
  564. *
  565. * </ini>
  566. */
  567. #define CFG_ENABLE_SELF_RECOVERY CFG_INI_BOOL( \
  568. "gEnableSelfRecovery", \
  569. 0, \
  570. "Enable Self Recovery")
  571. /*
  572. * <ini>
  573. *
  574. * gSapDot11mc - Enable/disable SAP 802.11mc support
  575. * @Min: 0 (disabled)
  576. * @Max: 1 (enabled)
  577. * @Default: 0 (disabled)
  578. *
  579. * Related: None
  580. *
  581. * Supported Feature: General
  582. *
  583. * Usage: External
  584. *
  585. * </ini>
  586. */
  587. #define CFG_SAP_DOT11MC CFG_INI_BOOL( \
  588. "gSapDot11mc", \
  589. 0, \
  590. "SAP 802.11mc support")
  591. /*
  592. * <ini>
  593. *
  594. * gEnableFatalEvent - Enable/Disable BUG report in case of fatal event
  595. * @Min: 0 (disabled)
  596. * @Max: 1 (enabled)
  597. * @Default: 1 (enabled)
  598. *
  599. * Related: None
  600. *
  601. * Supported Feature: General
  602. *
  603. * Usage: External
  604. *
  605. * </ini>
  606. */
  607. #define CFG_ENABLE_FATAL_EVENT_TRIGGER CFG_INI_BOOL( \
  608. "gEnableFatalEvent", \
  609. 1, \
  610. "Enable Fatal Event Trigger")
  611. /*
  612. * <ini>
  613. * gSub20ChannelWidth - Control sub 20 channel width (5/10 Mhz)
  614. * @Min: 0
  615. * @Max: 2
  616. * @Default: 0
  617. *
  618. * This ini is used to set the sub 20 channel width.
  619. * gSub20ChannelWidth=0: indicates do not use Sub 20 MHz bandwidth
  620. * gSub20ChannelWidth=1: Bring up SAP/STA in 5 MHz bandwidth
  621. * gSub20ChannelWidth=2: Bring up SAP/STA in 10 MHz bandwidth
  622. *
  623. * Related: None
  624. *
  625. * Supported Feature: 5/10 Mhz channel width support
  626. *
  627. * Usage: External
  628. *
  629. * </ini>
  630. */
  631. #define CFG_SUB_20_CHANNEL_WIDTH CFG_INI_UINT( \
  632. "gSub20ChannelWidth", \
  633. 0, \
  634. 2, \
  635. 0, \
  636. CFG_VALUE_OR_DEFAULT, \
  637. "Sub 20 Channel Width")
  638. /*
  639. * <ini>
  640. * goptimize_chan_avoid_event - Optimize channel avoidance indication
  641. * coming from firmware
  642. * @Min: 0
  643. * @Max: 1
  644. * @Default: 0
  645. *
  646. * Related: None
  647. *
  648. * Supported Feature: General
  649. *
  650. * Usage: External
  651. *
  652. * </ini>
  653. */
  654. #define CFG_OPTIMIZE_CA_EVENT CFG_INI_BOOL( \
  655. "goptimize_chan_avoid_event", \
  656. 0, \
  657. "Optimize FW CA Event")
  658. /*
  659. * <ini>
  660. * fw_timeout_crash - Enable/Disable BUG ON
  661. * @Min: 0
  662. * @Max: 1
  663. * @Default: 1
  664. *
  665. * This ini is used to Trigger host crash when firmware fails to send the
  666. * response to host
  667. * fw_timeout_crash = 0 Disabled
  668. * fw_timeout_crash = 1 Trigger host crash
  669. *
  670. * Related: None
  671. *
  672. * Supported Feature: SSR
  673. *
  674. * Usage: External
  675. *
  676. * </ini>
  677. */
  678. #define CFG_CRASH_FW_TIMEOUT CFG_INI_BOOL( \
  679. "fw_timeout_crash", \
  680. 1, \
  681. "Enable FW Timeout Crash")
  682. /*
  683. * <ini>
  684. * gDroppedPktDisconnectTh - Sets dropped packet threshold in firmware
  685. * @Min: 0
  686. * @Max: 65535
  687. * @Default: 512
  688. *
  689. * This INI is the packet drop threshold will trigger disconnect from remote
  690. * peer.
  691. *
  692. * Related: None
  693. *
  694. * Supported Feature: connection
  695. *
  696. * Usage: External
  697. *
  698. * </ini>
  699. */
  700. #define CFG_DROPPED_PKT_DISCONNECT_THRESHOLD CFG_INI_UINT( \
  701. "gDroppedPktDisconnectTh", \
  702. 0, \
  703. 65535, \
  704. 512, \
  705. CFG_VALUE_OR_DEFAULT, \
  706. "Dropped Pkt Disconnect threshold")
  707. /*
  708. * <ini>
  709. * gItoRepeatCount - sets ito repeated count
  710. * @Min: 0
  711. * @Max: 5
  712. * @Default: 0
  713. *
  714. * This ini sets the ito count in FW
  715. *
  716. * Usage: External
  717. *
  718. * </ini>
  719. */
  720. #define CFG_ITO_REPEAT_COUNT CFG_INI_UINT( \
  721. "gItoRepeatCount", \
  722. 0, \
  723. 5, \
  724. 0, \
  725. CFG_VALUE_OR_DEFAULT, \
  726. "ITO Repeat Count")
  727. /*
  728. * <ini>
  729. * gEnableDeauthToDisassocMap - Enables deauth to disassoc map
  730. * @Min: 0
  731. * @Max: 1
  732. * @Default: 0
  733. *
  734. * This ini is used to set default disassoc map
  735. *
  736. * Related: None
  737. *
  738. * Supported Feature: STA
  739. *
  740. * Usage: External
  741. *
  742. * </ini>
  743. */
  744. #define CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP CFG_INI_BOOL( \
  745. "gEnableDeauthToDisassocMap", \
  746. 0, \
  747. "Enables deauth to disassoc map")
  748. /*
  749. * <ini>
  750. * gEnableDebugLog - Enable/Disable the Connection related logs
  751. * @Min: 0
  752. * @Max: 0xFF
  753. * @Default: 0x01
  754. *
  755. * This ini is used to enable/disable the connection related logs
  756. * 0x1 - Enable mgmt pkt logs (except probe req/rsp, beacons).
  757. * 0x2 - Enable EAPOL pkt logs.
  758. * 0x4 - Enable DHCP pkt logs.
  759. * 0x8 - Enable mgmt action frames logs.
  760. * 0x10 - Enable ARP pkt logs.
  761. * 0x0 - Disable all the above connection related logs.
  762. * The default value of 0x01 will enable all the mgmt logs
  763. *
  764. * Related: None
  765. *
  766. * Supported Feature: STA
  767. *
  768. * Usage: External
  769. *
  770. * </ini>
  771. */
  772. #define CFG_ENABLE_DEBUG_PACKET_LOG CFG_INI_UINT( \
  773. "gEnableDebugLog", \
  774. 0, 0xFF, 0x01, \
  775. CFG_VALUE_OR_DEFAULT, \
  776. "Enable debug log")
  777. /*
  778. * <ini>
  779. * enable_beacon_reception_stats - Enable disable beacon reception stats
  780. * @Min: 0
  781. * @Max: 1
  782. * @Default: 0
  783. *
  784. * This ini is used to enable/disable the beacon reception stats collected per
  785. * vdev and then sent to the driver to be displayed in sysfs
  786. *
  787. * Related: None
  788. *
  789. * Supported Feature: Stats
  790. *
  791. * Usage: External
  792. *
  793. * </ini>
  794. */
  795. #define CFG_ENABLE_BEACON_RECEPTION_STATS CFG_INI_BOOL( \
  796. "enable_beacon_reception_stats", \
  797. 0, \
  798. "Enable disable beacon reception stats")
  799. /*
  800. * <ini>
  801. * disable_4way_hs_offload - Enable/Disable 4 way handshake offload to firmware
  802. * @Min: 0
  803. * @Max: 0x2
  804. * @Default: 0x2
  805. *
  806. * 0x0 - 4-way HS to be handled in firmware for the AKMs except for SAE and
  807. * OWE roaming the 4way HS is handled in supplicant by default
  808. * 0x1 - 4-way HS to be handled in supplicant
  809. * 0x2 - 4-way HS to be handled in firmware for the AKMs including the SAE
  810. * Roam except for OWE roaming the 4way HS is handled in supplicant
  811. *
  812. * Based on the requirement the Max value can be increased per AKM.
  813. *
  814. * Related: None
  815. *
  816. * Supported Feature: STA Roaming
  817. *
  818. * Usage: External
  819. *
  820. * </ini>
  821. */
  822. #define CFG_DISABLE_4WAY_HS_OFFLOAD CFG_INI_UINT( \
  823. "disable_4way_hs_offload", \
  824. 0, \
  825. 0x2, \
  826. 0x2, \
  827. CFG_VALUE_OR_DEFAULT, \
  828. "Enable/disable 4 way handshake offload to firmware")
  829. /*
  830. * <ini>
  831. * mgmt_retry_max - Maximum Retries for mgmt frames
  832. * @Min: 0
  833. * @Max: 31
  834. * @Default: 15
  835. *
  836. * This ini is used to set maximum retries for mgmt frames
  837. *
  838. * Supported Feature: STA/SAP
  839. *
  840. * Usage: External
  841. *
  842. * </ini>
  843. */
  844. #define CFG_MGMT_RETRY_MAX CFG_INI_UINT( \
  845. "mgmt_retry_max", \
  846. 0, \
  847. 31, \
  848. 15, \
  849. CFG_VALUE_OR_DEFAULT, \
  850. "Max retries for mgmt frames")
  851. /*
  852. * <ini>
  853. * enable_he_mcs0_for_mgmt_6ghz- if disabled FW will use 6Mbps 11A rate
  854. * @Min: 0
  855. * @Max: 1
  856. * @Default: 0
  857. *
  858. * If this ini is disabled firmware will use 6Mbps 11A rate
  859. *
  860. * Supported Feature: STA/SAP
  861. *
  862. * Usage: External
  863. *
  864. * </ini>
  865. */
  866. #define CFG_ENABLE_HE_MCS0_MGMT_6GHZ CFG_INI_BOOL( \
  867. "enable_he_mcs0_for_mgmt_6ghz", \
  868. 0, \
  869. "MCS0 rate for 6ghz mgmt frames")
  870. /*
  871. * <ini>
  872. * bmiss_skip_full_scan - To decide whether firmware does channel map based
  873. * partial scan or partial scan followed by full scan in case no candidate is
  874. * found in partial scan.
  875. * @Min: 0
  876. * @Max: 1
  877. * @Default: 0
  878. *
  879. * 0 : Based on the channel map , firmware does scan to find new AP. if AP is
  880. * not found then it does a full scan on all valid channels.
  881. * 1 : Firmware does channel map based partial scan only.
  882. *
  883. * Related: None
  884. *
  885. * Supported Feature: STA Roaming
  886. *
  887. * Usage: External
  888. *
  889. * </ini>
  890. */
  891. #define CFG_BMISS_SKIP_FULL_SCAN CFG_INI_BOOL("bmiss_skip_full_scan", \
  892. 0, \
  893. "To decide partial/partial scan followed by full scan")
  894. /*
  895. * <ini>
  896. * gEnableRingBuffer - Enable Ring Buffer for Bug Report
  897. * @Min: 0
  898. * @Max: 1
  899. * @Default: 1
  900. *
  901. * This ini is used to enable Ring Buffer
  902. *
  903. * Related: None
  904. *
  905. * Supported Feature: STA/SAP
  906. *
  907. * Usage: External
  908. *
  909. * </ini>
  910. */
  911. #define CFG_ENABLE_RING_BUFFER CFG_INI_BOOL( \
  912. "gEnableRingBuffer", \
  913. 1, \
  914. "To Enable Ring Buffer")
  915. /*
  916. * <ini>
  917. * dfs_chan_ageout_time - Set DFS Channel ageout time(in seconds)
  918. * @Min: 0
  919. * @Max: 8
  920. * Default: 0
  921. *
  922. * Ageout time is the time upto which DFS channel information such as beacon
  923. * found is remembered. So that Firmware performs Active scan instead of the
  924. * Passive to reduce the Dwell time.
  925. * This ini Parameter used to set ageout timer value from host to FW.
  926. * If not set, Firmware will disable ageout time.
  927. *
  928. * Supported Feature: STA scan in DFS channels
  929. *
  930. * Usage: External
  931. *
  932. * </ini>
  933. */
  934. #define CFG_DFS_CHAN_AGEOUT_TIME CFG_INI_UINT("dfs_chan_ageout_time", \
  935. 0, 8, 0, CFG_VALUE_OR_DEFAULT, \
  936. "Set DFS Channel ageout time from host to firmware")
  937. /*
  938. * <ini>
  939. * sae_connect_retries - Bit mask to retry Auth and full connection on assoc
  940. * timeout to same AP and auth retries during roaming
  941. * @Min: 0x0
  942. * @Max: 0x53
  943. * @Default: 0x52
  944. *
  945. * This ini is used to set max auth retry in auth phase of roaming and initial
  946. * connection and max connection retry in case of assoc timeout. MAX Auth
  947. * retries are capped to 3, connection retries are capped to 2 and roam Auth
  948. * retry is capped to 1.
  949. * Default is 0x52 i.e. 1 roam auth retry, 2 auth retry and 2 full connection
  950. * retry.
  951. *
  952. * Bits Retry Type
  953. * BIT[0:2] AUTH retries
  954. * BIT[3:5] Connection reties
  955. * BIT[6:8] ROAM AUTH retries
  956. *
  957. * Some Possible values are as below
  958. * 0 - NO auth/roam Auth retry and NO full connection retry after
  959. * assoc timeout
  960. * 0x49 - 1 auth/roam auth retry and 1 full connection retry
  961. * 0x52 - 1 roam auth retry, 2 auth retry and 2 full connection retry
  962. * 0x1 /0x2 - 0 roam auth retry, 1 or 2 auth retry respectively and NO full
  963. * connection retry
  964. * 0x8 /0x10 - 0 roam auth retry,NO auth retry and 1 or 2 full connection retry
  965. * respectively.
  966. * 0x4A - 1 roam auth retry,2 auth retry and 1 full connection retry
  967. * 0x51 - 1 auth/roam auth retry and 2 full connection retry
  968. *
  969. * Related: None
  970. *
  971. * Supported Feature: STA SAE
  972. *
  973. * Usage: External
  974. *
  975. * </ini>
  976. */
  977. #define CFG_SAE_CONNECION_RETRIES CFG_INI_UINT("sae_connect_retries", \
  978. 0, 0x53, 0x52, CFG_VALUE_OR_DEFAULT, \
  979. "Bit mask to retry Auth and full connection on assoc timeout to same AP for SAE connection")
  980. /*
  981. * <ini>
  982. *
  983. * wls_6ghz_capable - WiFi Location Service(WLS) is 6Ghz capable
  984. * @Min: 0 (WLS 6Ghz non-capable)
  985. * @Max: 1 (WLS 6Ghz capable)
  986. * @Default: 0 (WLS 6Ghz non-capable)
  987. *
  988. * Related: None
  989. *
  990. * Supported Feature: General
  991. *
  992. * Usage: Internal
  993. *
  994. * </ini>
  995. */
  996. #define CFG_WLS_6GHZ_CAPABLE CFG_INI_BOOL( \
  997. "wls_6ghz_capable", \
  998. 0, \
  999. "WiFi Location Service(WLS) is 6Ghz capable or not")
  1000. /*
  1001. * <ini>
  1002. *
  1003. * monitor_mode_conc - Monitor mode concurrency supported
  1004. * @Min: 0
  1005. * @Max: 1
  1006. * @Default: 0
  1007. *
  1008. * Related: None
  1009. *
  1010. * Monitor mode concurrency supported
  1011. * 0 - No concurrency supported
  1012. * 1 - Allow STA scan + Monitor mode concurrency
  1013. *
  1014. * Supported Feature: General
  1015. *
  1016. * Usage: External
  1017. *
  1018. * </ini>
  1019. */
  1020. #define CFG_MONITOR_MODE_CONCURRENCY CFG_INI_UINT( \
  1021. "monitor_mode_concurrency", \
  1022. MONITOR_MODE_CONC_NO_SUPPORT, \
  1023. MONITOR_MODE_CONC_MAX, \
  1024. MONITOR_MODE_CONC_NO_SUPPORT, \
  1025. CFG_VALUE_OR_DEFAULT, \
  1026. "Monitor mode concurrency supported")
  1027. #ifdef FEATURE_WDS
  1028. /*
  1029. * <ini>
  1030. *
  1031. * wds_mode - wds mode supported
  1032. * @Min: 0
  1033. * @Max: 1
  1034. * @Default: 0
  1035. *
  1036. * Related: None
  1037. *
  1038. * wds mode supported
  1039. * 0 - wds mode disabled
  1040. * 1 - wds repeater mode
  1041. *
  1042. * Supported Feature: General
  1043. *
  1044. * Usage: External
  1045. *
  1046. * </ini>
  1047. */
  1048. #define CFG_WDS_MODE CFG_INI_UINT( \
  1049. "wds_mode", \
  1050. WLAN_WDS_MODE_DISABLED, \
  1051. WLAN_WDS_MODE_MAX, \
  1052. WLAN_WDS_MODE_DISABLED, \
  1053. CFG_VALUE_OR_DEFAULT, \
  1054. "wds mode supported")
  1055. #define CFG_WDS_MODE_ALL CFG(CFG_WDS_MODE)
  1056. #else
  1057. #define CFG_WDS_MODE_ALL
  1058. #endif
  1059. /*
  1060. * <ini>
  1061. * tx_retry_multiplier - TX retry multiplier
  1062. * @Min: 0
  1063. * @Max: 500
  1064. * @Default: 0
  1065. *
  1066. * This ini is used to indicate percentage to max retry limit to fw
  1067. * which can further be used by fw to multiply counter by
  1068. * tx_retry_multiplier percent.
  1069. *
  1070. * Supported Feature: STA/SAP
  1071. *
  1072. * Usage: External
  1073. *
  1074. * </ini>
  1075. */
  1076. #define CFG_TX_RETRY_MULTIPLIER CFG_INI_UINT( \
  1077. "tx_retry_multiplier", \
  1078. 0, \
  1079. 500, \
  1080. 0, \
  1081. CFG_VALUE_OR_DEFAULT, \
  1082. "percentage of max retry limit")
  1083. /*
  1084. * <ini>
  1085. * mgmt_frame_hw_tx_retry_count - Set hw tx retry count for mgmt action
  1086. * frame
  1087. * @Min: N/A
  1088. * @Max: N/A
  1089. * @Default: N/A
  1090. *
  1091. * Set mgmt action frame hw tx retry count, string format looks like below:
  1092. * frame_hw_tx_retry_count="<frame type>,<retry count>,..."
  1093. * frame type is enum value of mlme_cfg_frame_type.
  1094. * Retry count max value is 127.
  1095. * For example:
  1096. * frame_hw_tx_retry_count="0,64,2,32"
  1097. * The above input string means:
  1098. * For p2p go negotiation request fame, hw retry count 64
  1099. * For p2p provision discovery request, hw retry count 32
  1100. *
  1101. * Related: None.
  1102. *
  1103. * Supported Feature: STA/P2P
  1104. *
  1105. * Usage: External
  1106. *
  1107. * </ini>
  1108. */
  1109. #define MGMT_FRM_HW_TX_RETRY_COUNT_STR_LEN (64)
  1110. #define CFG_MGMT_FRAME_HW_TX_RETRY_COUNT CFG_INI_STRING( \
  1111. "mgmt_frame_hw_tx_retry_count", \
  1112. 0, \
  1113. MGMT_FRM_HW_TX_RETRY_COUNT_STR_LEN, \
  1114. "", \
  1115. "Set mgmt action frame hw tx retry count")
  1116. #if defined(WLAN_FEATURE_SR)
  1117. /*
  1118. * <ini>
  1119. * sr_enable_modes - Modes for which SR(Spatial Reuse) feature can be enabled
  1120. * @Min: 0x00
  1121. * @Max: 0xf
  1122. * @Default: 0x1
  1123. *
  1124. * This ini is used to check for which mode SR feature is enabled
  1125. *
  1126. * Bit 0: Enable/Disable SR feature for STA
  1127. * Bit 1: Enable/Disable SR feature for SAP
  1128. * Bit 2: Enable/Disable SR feature for P2P CLI
  1129. * Bit 3: Enable/Disable SR feature for P2P GO
  1130. *
  1131. * Related: None
  1132. *
  1133. * Supported Feature: STA/SAP
  1134. *
  1135. * Usage: External
  1136. *
  1137. * </ini>
  1138. */
  1139. #define CFG_SR_ENABLE_MODES CFG_INI_UINT( \
  1140. "sr_enable_modes",\
  1141. 0x0,\
  1142. 0xf,\
  1143. 0x1,\
  1144. CFG_VALUE_OR_DEFAULT, \
  1145. "To decide for which mode SR feature is enabled")
  1146. #define CFG_SR_ENABLE_MODES_ALL CFG(CFG_SR_ENABLE_MODES)
  1147. #else
  1148. #define CFG_SR_ENABLE_MODES_ALL
  1149. #endif
  1150. #ifdef WLAN_FEATURE_11BE_MLO
  1151. /*
  1152. * t2lm_negotiation_support - T2LM negotiation support by STA
  1153. * @Min: 0
  1154. * @Max: 3
  1155. * @Default: 1
  1156. *
  1157. * This cfg is used to define t2lm negotiation supported value by STA
  1158. * If 0 - t2lm negotiation is not supported
  1159. * If 1 - supports the mapping of all TIDs to the same link set both DL and UL.
  1160. * If 2 - reserved
  1161. * If 3 - supports the mapping of each TID to the same or different link set.
  1162. *
  1163. * Related: None
  1164. *
  1165. * Supported Feature: STA
  1166. */
  1167. #define CFG_T2LM_NEGOTIATION_SUPPORT CFG_INI_UINT( \
  1168. "t2lm_negotiation_supported", \
  1169. T2LM_NEGOTIATION_DISABLED, \
  1170. T2LM_NEGOTIATION_DISJOINT_MAPPING, \
  1171. T2LM_NEGOTIATION_ALL_TIDS_TO_SUBSET_OF_LINKS, \
  1172. CFG_VALUE_OR_DEFAULT, \
  1173. "T2LM negotiation supported value")
  1174. #define CFG_T2LM_NEGOTIATION_SUPPORTED CFG(CFG_T2LM_NEGOTIATION_SUPPORT)
  1175. #else
  1176. #define CFG_T2LM_NEGOTIATION_SUPPORTED
  1177. #endif
  1178. #define CFG_GENERIC_ALL \
  1179. CFG(CFG_ENABLE_DEBUG_PACKET_LOG) \
  1180. CFG(CFG_PMF_SA_QUERY_MAX_RETRIES) \
  1181. CFG(CFG_PMF_SA_QUERY_RETRY_INTERVAL) \
  1182. CFG(CFG_ENABLE_RTT_MAC_RANDOMIZATION) \
  1183. CFG(CFG_RTT3_ENABLE) \
  1184. CFG(CFG_11H_SUPPORT_ENABLED) \
  1185. CFG(CFG_11D_SUPPORT_ENABLED) \
  1186. CFG(CFG_BAND_CAPABILITY) \
  1187. CFG(CFG_PREVENT_LINK_DOWN) \
  1188. CFG(CFG_SELECT_5GHZ_MARGIN) \
  1189. CFG(CFG_ENABLE_MEM_DEEP_SLEEP) \
  1190. CFG(CFG_ENABLE_CCK_TX_FIR_OVERRIDE) \
  1191. CFG(CFG_ENABLE_CRASH_INJECT) \
  1192. CFG(CFG_ENABLE_LPASS_SUPPORT) \
  1193. CFG(CFG_ENABLE_SELF_RECOVERY) \
  1194. CFG(CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP) \
  1195. CFG(CFG_DISABLE_4WAY_HS_OFFLOAD) \
  1196. CFG(CFG_SAP_DOT11MC) \
  1197. CFG(CFG_ENABLE_FATAL_EVENT_TRIGGER) \
  1198. CFG(CFG_SUB_20_CHANNEL_WIDTH) \
  1199. CFG(CFG_OPTIMIZE_CA_EVENT) \
  1200. CFG(CFG_CRASH_FW_TIMEOUT) \
  1201. CFG(CFG_DROPPED_PKT_DISCONNECT_THRESHOLD) \
  1202. CFG(CFG_ITO_REPEAT_COUNT) \
  1203. CFG(CFG_ENABLE_BEACON_RECEPTION_STATS) \
  1204. CFG(CFG_MGMT_RETRY_MAX) \
  1205. CFG(CFG_ENABLE_HE_MCS0_MGMT_6GHZ) \
  1206. CFG(CFG_BMISS_SKIP_FULL_SCAN) \
  1207. CFG(CFG_ENABLE_RING_BUFFER) \
  1208. CFG(CFG_DFS_CHAN_AGEOUT_TIME) \
  1209. CFG(CFG_SAE_CONNECION_RETRIES) \
  1210. CFG(CFG_WLS_6GHZ_CAPABLE) \
  1211. CFG(CFG_MONITOR_MODE_CONCURRENCY) \
  1212. CFG(CFG_RF_TEST_MODE_SUPP_ENABLED) \
  1213. CFG_WDS_MODE_ALL \
  1214. CFG(CFG_TX_RETRY_MULTIPLIER) \
  1215. CFG(CFG_MGMT_FRAME_HW_TX_RETRY_COUNT) \
  1216. CFG_6GHZ_STD_CONN_POLICY \
  1217. CFG_EMLSR_MODE_ENABLED \
  1218. CFG_SR_ENABLE_MODES_ALL \
  1219. CFG_T2LM_NEGOTIATION_SUPPORTED\
  1220. CFG_DIS_VLP_STA_CONN_TO_SP_AP
  1221. #endif /* __CFG_MLME_GENERIC_H */