cfg_mlme_sap.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760
  1. /*
  2. * Copyright (c) 2012-2021 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: This file contains centralized definitions of converged configuration.
  20. */
  21. #ifndef __CFG_MLME_SAP_H
  22. #define __CFG_MLME_SAP_H
  23. #define CFG_BEACON_INTERVAL CFG_INI_UINT( \
  24. "gBeaconInterval", \
  25. 0, \
  26. 65535, \
  27. 100, \
  28. CFG_VALUE_OR_DEFAULT, \
  29. "CFG_BEACON_INTERVAL")
  30. #define CFG_DTIM_PERIOD CFG_UINT( \
  31. "cfg_dtim_period", \
  32. 0, \
  33. 65535, \
  34. 1, \
  35. CFG_VALUE_OR_DEFAULT, \
  36. "CFG_DTIM_PERIOD")
  37. #define CFG_LISTEN_INTERVAL CFG_UINT( \
  38. "cfg_listen_interval", \
  39. 0, \
  40. 65535, \
  41. 1, \
  42. CFG_VALUE_OR_DEFAULT, \
  43. "CFG_LISTEN_INTERVAL")
  44. #define CFG_11G_ONLY_POLICY CFG_UINT( \
  45. "cfg_11g_only_policy", \
  46. 0, \
  47. 1, \
  48. 0, \
  49. CFG_VALUE_OR_DEFAULT, \
  50. "CFG_11G_ONLY_POLICY")
  51. #define CFG_ASSOC_STA_LIMIT CFG_UINT( \
  52. "cfg_assoc_sta_limit", \
  53. 1, \
  54. 64, \
  55. 10, \
  56. CFG_VALUE_OR_DEFAULT, \
  57. "CFG_ASSOC_STA_LIMIT")
  58. /*
  59. * <ini>
  60. * cfg_enable_lte_coex - enable LTE COEX
  61. * @Min: 0
  62. * @Max: 1
  63. * @Default: 0
  64. *
  65. * This ini is used to enable LTE COEX
  66. *
  67. * Related: None
  68. *
  69. * Supported Feature: STA
  70. *
  71. * Usage: Internal/External
  72. *
  73. * </ini>
  74. */
  75. #define CFG_ENABLE_LTE_COEX CFG_INI_BOOL( \
  76. "gEnableLTECoex", \
  77. 0, \
  78. "enabled lte coex")
  79. /*
  80. * <ini>
  81. * cfg_rate_for_tx_mgmt - Set rate for tx mgmt
  82. * @Min: 0
  83. * @Max: 0xFF
  84. * @Default: 0xFF
  85. *
  86. * This ini is used to set rate for tx mgmt
  87. *
  88. * Related: None
  89. *
  90. * Supported Feature: STA
  91. *
  92. * Usage: Internal/External
  93. *
  94. * </ini>
  95. */
  96. #define CFG_RATE_FOR_TX_MGMT CFG_INI_UINT( \
  97. "gRateForTxMgmt", \
  98. 0, \
  99. 0xFF, \
  100. 0xFF, \
  101. CFG_VALUE_OR_DEFAULT, \
  102. "set rate for mgmt tx")
  103. /*
  104. * <ini>
  105. * cfg_rate_for_tx_mgmt_2g - Set rate for tx mgmt 2g
  106. * @Min: 0
  107. * @Max: 255
  108. * @Default: 255
  109. *
  110. * This ini is used to set rate for tx mgmt 2g
  111. * Related: None
  112. *
  113. * Supported Feature: STA
  114. *
  115. * Usage: Internal/External
  116. *
  117. * </ini>
  118. */
  119. #define CFG_RATE_FOR_TX_MGMT_2G CFG_INI_UINT( \
  120. "gRateForTxMgmt2G", \
  121. 0, \
  122. 255, \
  123. 255, \
  124. CFG_VALUE_OR_DEFAULT, \
  125. "set rate for mgmt tx 2g")
  126. /*
  127. * <ini>
  128. * cfg_rate_for_tx_mgmt_5g - Set rate for tx mgmt 5g
  129. * @Min: 0
  130. * @Max: 255
  131. * @Default: 255
  132. *
  133. * This ini is used to set rate for tx mgmt 5g
  134. *
  135. * Related: None
  136. *
  137. * Supported Feature: STA
  138. *
  139. * Usage: Internal/External
  140. *
  141. * </ini>
  142. */
  143. #define CFG_RATE_FOR_TX_MGMT_5G CFG_INI_UINT( \
  144. "gRateForTxMgmt5G", \
  145. 0, \
  146. 255, \
  147. 255, \
  148. CFG_VALUE_OR_DEFAULT, \
  149. "set rate for mgmt tx 5g")
  150. /*
  151. * <ini>
  152. * gTelescopicBeaconWakeupEn - Set teles copic beacon wakeup
  153. * @Min: 0
  154. * @Max: 1
  155. * @Default: 0
  156. *
  157. * This ini is used to set default teles copic beacon wakeup
  158. *
  159. * Related: None
  160. *
  161. * Supported Feature: STA
  162. *
  163. * Usage: Internal/External
  164. *
  165. * </ini>
  166. */
  167. #define CFG_TELE_BCN_WAKEUP_EN CFG_INI_BOOL( \
  168. "gTelescopicBeaconWakeupEn", \
  169. 0, \
  170. "set tescopic beacon wakeup")
  171. /*
  172. * <ini>
  173. * telescopicBeaconMaxListenInterval - Set teles scopic beacon max listen value
  174. * @Min: 0
  175. * @Max: 7
  176. * @Default: 5
  177. *
  178. * This ini is used to set teles scopic beacon max listen interval value
  179. *
  180. * Related: None
  181. *
  182. * Supported Feature: STA
  183. *
  184. * Usage: Internal/External
  185. *
  186. * </ini>
  187. */
  188. #define CFG_TELE_BCN_MAX_LI CFG_INI_UINT( \
  189. "telescopicBeaconMaxListenInterval", \
  190. 0, \
  191. 7, \
  192. 5, \
  193. CFG_VALUE_OR_DEFAULT, \
  194. "set telescopic beacon max listen")
  195. /*
  196. * <ini>
  197. * gSapGetPeerInfo - Enable/Disable remote peer info query support
  198. * @Min: 0 - Disable remote peer info query support
  199. * @Max: 1 - Enable remote peer info query support
  200. * @Default: 1
  201. *
  202. * This ini is used to enable/disable remote peer info query support
  203. *
  204. * Usage: External
  205. *
  206. * </ini>
  207. */
  208. #define CFG_SAP_GET_PEER_INFO CFG_INI_BOOL( \
  209. "gSapGetPeerInfo", \
  210. 1, \
  211. "sap get peer info")
  212. /*
  213. * <ini>
  214. * gSapAllowAllChannel - Sap allow all channels
  215. * @Min: 0
  216. * @Max: 1
  217. * @Default: 0
  218. *
  219. * This ini is used to allow all channels for SAP
  220. *
  221. * Related: None
  222. *
  223. * Supported Feature: SAP
  224. *
  225. * Usage: Internal/External
  226. *
  227. * </ini>
  228. */
  229. #define CFG_SAP_ALLOW_ALL_CHANNEL_PARAM CFG_INI_BOOL( \
  230. "gSapAllowAllChannel", \
  231. 0, \
  232. "sap allow all channel params")
  233. /*
  234. * <ini>
  235. * gSoftApMaxPeers - Set Max peers connected for SAP
  236. * @Min: 1
  237. * @Max: 64
  238. * @Default: 32
  239. *
  240. * This ini is used to set Max peers connected for SAP
  241. *
  242. * Related: None
  243. *
  244. * Supported Feature: SAP
  245. *
  246. * Usage: Internal/External
  247. *
  248. * </ini>
  249. */
  250. #define CFG_SAP_MAX_NO_PEERS CFG_INI_UINT( \
  251. "gSoftApMaxPeers", \
  252. 1, \
  253. 64, \
  254. 32, \
  255. CFG_VALUE_OR_DEFAULT, \
  256. "max no of peers")
  257. /*
  258. * <ini>
  259. * gMaxOffloadPeers - Set max offload peers
  260. * @Min: 2
  261. * @Max: 5
  262. * @Default: 2
  263. *
  264. * This ini is used to set default teles copic beacon wakeup
  265. *
  266. * Related: None
  267. *
  268. * Supported Feature: STA
  269. *
  270. * Usage: Internal/External
  271. *
  272. * </ini>
  273. */
  274. #define CFG_SAP_MAX_OFFLOAD_PEERS CFG_INI_UINT( \
  275. "gMaxOffloadPeers", \
  276. 2, \
  277. 5, \
  278. 2, \
  279. CFG_VALUE_OR_DEFAULT, \
  280. "max offload peers")
  281. /*
  282. * <ini>
  283. * gMaxOffloadReorderBuffs - Set max offload reorder buffs
  284. * @Min: 0
  285. * @Max: 3
  286. * @Default: 2
  287. *
  288. * This ini is used to set max offload reorder buffs
  289. *
  290. * Related: None
  291. *
  292. * Supported Feature: STA
  293. *
  294. * Usage: Internal/External
  295. *
  296. * </ini>
  297. */
  298. #define CFG_SAP_MAX_OFFLOAD_REORDER_BUFFS CFG_INI_UINT( \
  299. "gMaxOffloadReorderBuffs", \
  300. 0, \
  301. 3, \
  302. 2, \
  303. CFG_VALUE_OR_DEFAULT, \
  304. "sap max offload reorder buffs")
  305. /*
  306. * <ini>
  307. * g_sap_chanswitch_beacon_cnt - Set channel switch beacon count
  308. * @Min: 1
  309. * @Max: 10
  310. * @Default: 10
  311. *
  312. * This ini is used to set channel switch beacon count
  313. *
  314. * Related: None
  315. *
  316. * Supported Feature: STA
  317. *
  318. * Usage: Internal/External
  319. *
  320. * </ini>
  321. */
  322. #define CFG_SAP_CH_SWITCH_BEACON_CNT CFG_INI_UINT( \
  323. "g_sap_chanswitch_beacon_cnt", \
  324. 1, \
  325. 10, \
  326. 10, \
  327. CFG_VALUE_OR_DEFAULT, \
  328. "set channel switch beacon count")
  329. /*
  330. * <ini>
  331. * g_sap_chanswitch_mode - channel switch mode
  332. * @Min: 0
  333. * @Max: 1
  334. * @Default: 1
  335. *
  336. * This ini is used to configure the value of channel switch mode, which is
  337. * contained in the Channel Switch Announcement(CSA) information element sent
  338. * by an SAP.
  339. *
  340. * 0 - CSA receiving STA doesn't need to do anything
  341. * 1 - CSA receiving STA shall not transmit any more frames on the channel
  342. * until the scheduled channel switch occurs
  343. *
  344. * Related: none
  345. *
  346. * Supported Feature: SAP
  347. *
  348. * Usage: External
  349. *
  350. * </ini>
  351. */
  352. #define CFG_SAP_CH_SWITCH_MODE CFG_INI_BOOL( \
  353. "g_sap_chanswitch_mode", \
  354. 1, \
  355. "sap channel switch mode")
  356. /*
  357. * <ini>
  358. * gEnableSapInternalRestart - Sap internal restart name
  359. * @Min: 0
  360. * @Max: 1
  361. * @Default: 1
  362. *
  363. * This ini is used for sap internal restart name
  364. *
  365. * Related: None
  366. *
  367. * Supported Feature: SAP
  368. *
  369. * Usage: Internal/External
  370. *
  371. * </ini>
  372. */
  373. #define CFG_SAP_INTERNAL_RESTART CFG_INI_BOOL( \
  374. "gEnableSapInternalRestart", \
  375. 1, \
  376. "sap internal restart")
  377. /*
  378. * <ini>
  379. * gChanSwitchHostapdRateEnabled - Enable channale switch hostapd rate
  380. * @Min: 0
  381. * @Max: 1
  382. * @Default: 0
  383. *
  384. * This ini is used to enable channale switch hostapd rate
  385. *
  386. * Related: None
  387. *
  388. * Supported Feature: SAP
  389. *
  390. * Usage: Internal/External
  391. *
  392. * </ini>
  393. */
  394. #define CFG_CHAN_SWITCH_HOSTAPD_RATE_ENABLED_NAME CFG_INI_BOOL( \
  395. "gChanSwitchHostapdRateEnabled", \
  396. 0, \
  397. "chan switch hostapd rate enabled")
  398. /*
  399. * <ini>
  400. * gReducedBeaconInterval - beacon interval reduced
  401. * @Min: 0
  402. * @Max: 100
  403. * @Default: 0
  404. *
  405. * This ini is used to reduce beacon interval before channel
  406. * switch (when val great than 0, or the feature is disabled).
  407. * It would reduce the downtime on the STA side which is
  408. * waiting for beacons from the AP to resume back transmission.
  409. * Switch back the beacon_interval to its original value after
  410. * channel switch based on the timeout.
  411. *
  412. * Related: none
  413. *
  414. * Usage: External
  415. *
  416. * </ini>
  417. */
  418. #define CFG_REDUCED_BEACON_INTERVAL CFG_INI_UINT( \
  419. "gReducedBeaconInterval", \
  420. 0, \
  421. 100, \
  422. 0, \
  423. CFG_VALUE_OR_DEFAULT, \
  424. "reduced beacon interval")
  425. /*
  426. * <ini>
  427. * gCountryCodePriority - Priority to set country code
  428. * @Min: 0
  429. * @Max: 1
  430. * @Default: 1
  431. *
  432. * This ini is used to set default gCountryCodePriority
  433. *
  434. * Related: None
  435. *
  436. * Supported Feature: SAP
  437. *
  438. * Usage: Internal
  439. *
  440. * </ini>
  441. */
  442. #define CFG_COUNTRY_CODE_PRIORITY CFG_INI_BOOL( \
  443. "gCountryCodePriority", \
  444. 1, \
  445. "Country code priority")
  446. /*
  447. * <ini>
  448. * gSapPreferredChanLocation - Restrict channel switches between ondoor and
  449. * outdoor.
  450. * @Min: 0
  451. * @Max: 2
  452. * @Default: 0
  453. *
  454. * This ini is used for restricting channel switches between Indoor and outdoor
  455. * channels after radar detection.
  456. * 0- No preferred channel location
  457. * 1- Use indoor channels only
  458. * 2- Use outdoor channels only
  459. * Related: NA.
  460. *
  461. * Supported Feature: DFS
  462. *
  463. * Usage: Internal/External
  464. *
  465. * </ini>
  466. */
  467. #define CFG_SAP_PREF_CHANNEL_LOCATION CFG_INI_UINT( \
  468. "gSapPreferredChanLocation", \
  469. 0, \
  470. 2, \
  471. 0, \
  472. CFG_VALUE_OR_DEFAULT, \
  473. "Sap preferred channel location")
  474. /*
  475. * <ini>
  476. * gSapForce11NFor11AC - Restrict SAP to 11n if set 1 even though
  477. * hostapd.conf request for 11ac.
  478. * @Min: 0
  479. * @Max: 1
  480. * @Default: 0
  481. *
  482. * Restrict SAP to 11n if set 1 even though hostapd.conf request for 11ac.
  483. *
  484. * 0- Do not force 11n for 11ac.
  485. * 1- Force 11n for 11ac.
  486. *
  487. * Supported Feature: SAP
  488. *
  489. * Usage: Internal/External
  490. *
  491. * </ini>
  492. */
  493. #define CFG_SAP_FORCE_11N_FOR_11AC CFG_INI_BOOL( \
  494. "gSapForce11NFor11AC", \
  495. 0, \
  496. "Sap force 11n for 11ac")
  497. /*
  498. * <ini>
  499. * gGoForce11NFor11AC - Restrict GO to 11n if set 1 even though
  500. * hostapd.conf request for 11ac.
  501. * @Min: 0
  502. * @Max: 1
  503. * @Default: 0
  504. *
  505. * Restrict GO to 11n if set 1 even though hostapd.conf request for 11ac.
  506. *
  507. * 0- Do not force 11n for 11ac.
  508. * 1- Force 11n for 11ac.
  509. *
  510. * Supported Feature: GO
  511. *
  512. * Usage: Internal/External
  513. *
  514. * </ini>
  515. */
  516. #define CFG_GO_FORCE_11N_FOR_11AC CFG_INI_BOOL( \
  517. "gGoForce11NFor11AC", \
  518. 0, \
  519. "GO force 11n for 11ac")
  520. /*
  521. * <ini>
  522. * gEnableApRandomBssid - Create ramdom BSSID
  523. * @Min: 0
  524. * @Max: 1
  525. * @Default: 0
  526. *
  527. * This ini is used to create a random BSSID in SoftAP mode to meet
  528. * the Android requirement.
  529. *
  530. * Related: None.
  531. *
  532. * Supported Feature: SAP
  533. *
  534. * Usage: Internal/External
  535. *
  536. * </ini>
  537. */
  538. #define CFG_AP_ENABLE_RANDOM_BSSID CFG_INI_BOOL( \
  539. "gEnableApRandomBssid", \
  540. 0, \
  541. "Create ramdom BSSID")
  542. /*
  543. * <ini>
  544. * gSapChannelAvoidance - SAP MCC channel avoidance.
  545. * @Min: 0
  546. * @Max: 1
  547. * @Default: 0
  548. *
  549. * This ini is used to sets sap mcc channel avoidance.
  550. *
  551. * Related: None.
  552. *
  553. * Supported Feature: Concurrency
  554. *
  555. * Usage: Internal/External
  556. *
  557. * </ini>
  558. */
  559. #define CFG_SAP_MCC_CHANNEL_AVOIDANCE CFG_INI_UINT( \
  560. "gSapChannelAvoidance", \
  561. 0, \
  562. 1, \
  563. 0, \
  564. CFG_VALUE_OR_DEFAULT, \
  565. "SAP MCC channel avoidance")
  566. /*
  567. * <ini>
  568. * gSAP11ACOverride - Override bw to 11ac for SAP in driver even if supplicant
  569. * or hostapd configures HT.
  570. * @Min: 0
  571. * @Max: 1
  572. * @Default: 0
  573. *
  574. * This ini is used to enable/disable 11AC override for SAP.
  575. * Android UI does not provide advanced configuration options
  576. * for SoftAP for Android O and below.
  577. * Default override disabled for android. Can be enabled from
  578. * ini for Android O and below.
  579. *
  580. *
  581. * Supported Feature: SAP
  582. *
  583. *
  584. * Usage: Internal/External
  585. *
  586. * </ini>
  587. */
  588. #define CFG_SAP_11AC_OVERRIDE CFG_INI_BOOL( \
  589. "gSAP11ACOverride", \
  590. 0, \
  591. "Override bw to 11ac for SAP")
  592. /*
  593. * <ini>
  594. * gGO11ACOverride - Override bw to 11ac for P2P GO
  595. * @Min: 0
  596. * @Max: 1
  597. * @Default: 1
  598. *
  599. * This ini is used to enable/disable 11AC override for GO.
  600. * P2P GO also follows start_bss and since P2P GO could not be
  601. * configured to setup VHT channel width in wpa_supplicant, driver
  602. * can override 11AC.
  603. *
  604. *
  605. * Supported Feature: P2P
  606. *
  607. *
  608. * Usage: Internal/External
  609. *
  610. * </ini>
  611. */
  612. #define CFG_GO_11AC_OVERRIDE CFG_INI_BOOL( \
  613. "gGO11ACOverride", \
  614. 1, \
  615. "Override bw to 11ac for P2P GO")
  616. /*
  617. *
  618. * <ini>
  619. * enable_bcast_deauth_for_sap - Enable/Disable broadcast deauth support
  620. * in driver for SAP
  621. * @Min: 0
  622. * @Max: 1
  623. * @Default: 0
  624. *
  625. * This ini is used to enable/disable broadcast deauth support in driver
  626. * for sap mode.
  627. *
  628. * Related: None
  629. *
  630. * Supported Feature: SAP
  631. * Usage: External
  632. *
  633. * </ini>
  634. */
  635. #define CFG_IS_SAP_BCAST_DEAUTH_ENABLED CFG_INI_BOOL( \
  636. "enable_bcast_deauth_for_sap", \
  637. 0, \
  638. "Enable/Disable bcast deauth for SAP")
  639. #ifdef WLAN_FEATURE_SAE
  640. /*
  641. *
  642. * <ini>
  643. * enable_sae_for_sap - Enable/Disable SAE support in driver for SAP
  644. * @Min: 0
  645. * @Max: 1
  646. * @Default: 1
  647. *
  648. * This ini is used to enable/disable SAE support in driver for SAP mode
  649. * Driver will process/drop the SAE authentication frames based on this config.
  650. *
  651. * Related: None
  652. *
  653. * Supported Feature: SAE
  654. * Usage: External
  655. *
  656. * </ini>
  657. */
  658. #define CFG_IS_SAP_SAE_ENABLED CFG_INI_BOOL( \
  659. "enable_sae_for_sap", \
  660. 1, \
  661. "Enable/Disable SAE support for SAP")
  662. #define CFG_SAP_SAE CFG(CFG_IS_SAP_SAE_ENABLED)
  663. #else
  664. #define CFG_SAP_SAE
  665. #endif /* WLAN_FEATURE_SAE */
  666. /*
  667. *
  668. * <ini>
  669. * enable_sap_fils_discovery - Enable/Disable fils discovery for 6Ghz SAP
  670. * @Min: 0
  671. * @Max: 1
  672. * @Default: 1
  673. *
  674. * Enable: 6Ghz SAP transmits fils discovery frame at every 20ms
  675. * Disable: 6Ghz SAP transmits probe response frame at every 20ms
  676. *
  677. * Related: None
  678. *
  679. * Supported Feature: SAP
  680. * Usage: External
  681. *
  682. * </ini>
  683. */
  684. #define CFG_6G_SAP_FILS_DISCOVERY_ENABLED CFG_INI_BOOL( \
  685. "enable_6g_sap_fils_discovery", \
  686. 1, \
  687. "Enable/Disable fils discovery for SAP")
  688. #define CFG_SAP_ALL \
  689. CFG_SAP_SAE \
  690. CFG(CFG_AP_ENABLE_RANDOM_BSSID) \
  691. CFG(CFG_BEACON_INTERVAL) \
  692. CFG(CFG_DTIM_PERIOD) \
  693. CFG(CFG_LISTEN_INTERVAL) \
  694. CFG(CFG_11G_ONLY_POLICY) \
  695. CFG(CFG_ASSOC_STA_LIMIT) \
  696. CFG(CFG_ENABLE_LTE_COEX) \
  697. CFG(CFG_RATE_FOR_TX_MGMT) \
  698. CFG(CFG_RATE_FOR_TX_MGMT_2G) \
  699. CFG(CFG_RATE_FOR_TX_MGMT_5G) \
  700. CFG(CFG_TELE_BCN_WAKEUP_EN) \
  701. CFG(CFG_TELE_BCN_MAX_LI) \
  702. CFG(CFG_SAP_MCC_CHANNEL_AVOIDANCE) \
  703. CFG(CFG_SAP_GET_PEER_INFO) \
  704. CFG(CFG_SAP_ALLOW_ALL_CHANNEL_PARAM) \
  705. CFG(CFG_SAP_MAX_NO_PEERS) \
  706. CFG(CFG_SAP_MAX_OFFLOAD_PEERS) \
  707. CFG(CFG_SAP_MAX_OFFLOAD_REORDER_BUFFS) \
  708. CFG(CFG_SAP_CH_SWITCH_BEACON_CNT) \
  709. CFG(CFG_SAP_CH_SWITCH_MODE) \
  710. CFG(CFG_SAP_INTERNAL_RESTART) \
  711. CFG(CFG_CHAN_SWITCH_HOSTAPD_RATE_ENABLED_NAME) \
  712. CFG(CFG_REDUCED_BEACON_INTERVAL) \
  713. CFG(CFG_MAX_LI_MODULATED_DTIM) \
  714. CFG(CFG_COUNTRY_CODE_PRIORITY) \
  715. CFG(CFG_SAP_PREF_CHANNEL_LOCATION) \
  716. CFG(CFG_SAP_FORCE_11N_FOR_11AC) \
  717. CFG(CFG_SAP_11AC_OVERRIDE) \
  718. CFG(CFG_GO_FORCE_11N_FOR_11AC) \
  719. CFG(CFG_GO_11AC_OVERRIDE) \
  720. CFG(CFG_IS_SAP_BCAST_DEAUTH_ENABLED) \
  721. CFG(CFG_6G_SAP_FILS_DISCOVERY_ENABLED)
  722. #endif /* __CFG_MLME_SAP_H */