cfg_mlme_sap.h 15 KB

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