cfg_mlme_generic.h 29 KB

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