123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 |
- /*
- * Copyright (c) 2011-2019, 2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
- *
- * Permission to use, copy, modify, and/or distribute this software for
- * any purpose with or without fee is hereby granted, provided that the
- * above copyright notice and this permission notice appear in all
- * copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
- * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
- * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
- * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
- * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- * PERFORMANCE OF THIS SOFTWARE.
- */
- /**
- * DOC: This file contains centralized definitions of converged configuration.
- */
- #ifndef __CFG_MLME_TIMEOUT_H
- #define __CFG_MLME_TIMEOUT_H
- /*
- * <ini>
- * join_failure_timeout - Join failure timeout value
- * @Min: 500
- * @Max: 3000
- * @Default: 3000
- *
- * This cfg is used to configure the join failure timeout.
- *
- * Usage: Internal
- *
- * </ini>
- */
- #define CFG_JOIN_FAILURE_TIMEOUT CFG_INI_UINT( \
- "join_failure_timeout", \
- 500, \
- 3000, \
- 3000, \
- CFG_VALUE_OR_DEFAULT, \
- "Join failure timeout")
- /*
- * <ini>
- * auth_failure_timeout - Auth failure timeout value
- * @Min: 500
- * @Max: 5000
- * @Default: 1000
- *
- * This cfg is used to configure the auth failure timeout.
- *
- * Usage: Internal
- *
- * </ini>
- */
- #define CFG_AUTH_FAILURE_TIMEOUT CFG_INI_UINT( \
- "auth_failure_timeout", \
- 500, \
- 5000, \
- 1000, \
- CFG_VALUE_OR_DEFAULT, \
- "auth failure timeout")
- /*
- * <ini>
- * auth_rsp_timeout - Auth response timeout value
- * @Min: 0
- * @Max: 65535
- * @Default: 1000
- *
- * This cfg is used to configure the auth response timeout.
- *
- * Usage: Internal
- *
- * </ini>
- */
- #define CFG_AUTH_RSP_TIMEOUT CFG_INI_UINT( \
- "auth_rsp_timeout", \
- 0, \
- 65535, \
- 1000, \
- CFG_VALUE_OR_DEFAULT, \
- "auth rsp timeout")
- /*
- * <ini>
- * assoc_failure_timeout - Assoc failure timeout value
- * @Min: 500
- * @Max: 3000
- * @Default: 2000
- *
- * This cfg is used to configure the assoc failure timeout.
- *
- * Usage: Internal
- *
- * </ini>
- */
- #define CFG_ASSOC_FAILURE_TIMEOUT CFG_INI_UINT( \
- "assoc_failure_timeout", \
- 500, \
- 3000, \
- 2000, \
- CFG_VALUE_OR_DEFAULT, \
- "assoc failure timeout")
- /*
- * <ini>
- * reassoc_failure_timeout - Re-Assoc failure timeout value
- * @Min: 0
- * @Max: 65535
- * @Default: 1000
- *
- * This cfg is used to configure the re-assoc failure timeout.
- *
- * Usage: Internal
- *
- * </ini>
- */
- #define CFG_REASSOC_FAILURE_TIMEOUT CFG_INI_UINT( \
- "reassoc_failure_timeout", \
- 0, \
- 65535, \
- 1000, \
- CFG_VALUE_OR_DEFAULT, \
- "reassoc failure timeout")
- /*
- * <ini>
- * olbc_detect_timeout - olbc detect timeout value
- * @Min: 1000
- * @Max: 30000
- * @Default: 10000
- *
- * This cfg is used to configure the olbc detect timeout.
- *
- * Usage: Internal
- *
- * </ini>
- */
- #define CFG_OLBC_DETECT_TIMEOUT CFG_INI_UINT( \
- "olbc_detect_timeout", \
- 1000, \
- 30000, \
- 10000, \
- CFG_VALUE_OR_DEFAULT, \
- "OLBC detect timeout")
- /*
- * <ini>
- * addts_rsp_timeout - addts response timeout value
- * @Min: 0
- * @Max: 65535
- * @Default: 1000
- *
- * This cfg is used to configure the addts response timeout.
- *
- * Usage: Internal
- *
- * </ini>
- */
- #define CFG_ADDTS_RSP_TIMEOUT CFG_INI_UINT( \
- "addts_rsp_timeout", \
- 0, \
- 65535, \
- 1000, \
- CFG_VALUE_OR_DEFAULT, \
- "ADDTS RSP timeout")
- /*
- * <ini>
- * gHeartbeat24 - Heart beat threshold value
- * @Min: 0
- * @Max: 65535
- * @Default: 40
- *
- * This cfg is used to configure the Heart beat threshold.
- *
- * Usage: Internal/External
- *
- * </ini>
- */
- #define CFG_HEART_BEAT_THRESHOLD CFG_INI_UINT( \
- "gHeartbeat24", \
- 0, \
- 65535, \
- 40, \
- CFG_VALUE_OR_DEFAULT, \
- "Heart beat threshold")
- /*
- * <ini>
- * gApKeepAlivePeriod - AP keep alive period
- * @Min: 1
- * @Max: 65535
- * @Default: 20
- *
- * This ini is used to set keep alive period(in seconds) of AP
- *
- * Related: None.
- *
- * Supported Feature: SAP
- *
- * Usage: Internal/External
- *
- * </ini>
- */
- #define CFG_AP_KEEP_ALIVE_TIMEOUT CFG_INI_UINT( \
- "gApKeepAlivePeriod", \
- 1, \
- 65535, \
- 20, \
- CFG_VALUE_OR_DEFAULT, \
- "AP keep alive timeout")
- /*
- * <ini>
- * gApLinkMonitorPeriod - AP keep alive period
- * @Min: 3
- * @Max: 50
- * @Default: 10
- *
- * This ini is used to configure AP link monitor timeout value
- *
- * Related: None.
- *
- * Supported Feature: SAP
- *
- * Usage: Internal/External
- *
- * </ini>
- */
- #define CFG_AP_LINK_MONITOR_TIMEOUT CFG_INI_UINT( \
- "gApLinkMonitorPeriod", \
- 3, \
- 50, \
- 10, \
- CFG_VALUE_OR_DEFAULT, \
- "AP link monitor timeout")
- /*
- * <ini>
- * wmi_wq_watchdog - Sets timeout period for wmi watchdog bite.
- * @Min: 0
- * @Max: 30
- * @Default: 20
- *
- * This ini is used to set timeout period for wmi watchdog bite. If it is
- * 0 then wmi watchdog bite is disabled.
- *
- * Related: None
- *
- * Supported Feature: STA
- *
- * Usage: External
- *
- * </ini>
- */
- #define CFG_WMI_WQ_WATCHDOG CFG_INI_UINT( \
- "wmi_wq_watchdog", \
- 0, \
- 30, \
- 20, \
- CFG_VALUE_OR_DEFAULT, \
- "timeout period for wmi watchdog bite")
- /*
- * <ini>
- * sae_auth_failure_timeout - SAE Auth failure timeout value in msec
- * @Min: 100
- * @Max: 1000
- * @Default: 1000
- *
- * This cfg is used to configure the SAE auth failure timeout.
- *
- * Usage: External
- *
- * </ini>
- */
- #define CFG_SAE_AUTH_FAILURE_TIMEOUT CFG_INI_UINT( \
- "sae_auth_failure_timeout", \
- 100, \
- 1000, \
- 1000, \
- CFG_VALUE_OR_DEFAULT, \
- "SAE auth failure timeout")
- #define CFG_TIMEOUT_ALL \
- CFG(CFG_JOIN_FAILURE_TIMEOUT) \
- CFG(CFG_AUTH_FAILURE_TIMEOUT) \
- CFG(CFG_AUTH_RSP_TIMEOUT) \
- CFG(CFG_ASSOC_FAILURE_TIMEOUT) \
- CFG(CFG_REASSOC_FAILURE_TIMEOUT) \
- CFG(CFG_OLBC_DETECT_TIMEOUT) \
- CFG(CFG_ADDTS_RSP_TIMEOUT) \
- CFG(CFG_HEART_BEAT_THRESHOLD) \
- CFG(CFG_AP_KEEP_ALIVE_TIMEOUT) \
- CFG(CFG_AP_LINK_MONITOR_TIMEOUT) \
- CFG(CFG_WMI_WQ_WATCHDOG) \
- CFG(CFG_SAE_AUTH_FAILURE_TIMEOUT)
- #endif /* __CFG_MLME_TIMEOUT_H */
|