diff options
Diffstat (limited to 'sys/contrib/dev/iwlwifi/iwl-drv.h')
| -rw-r--r-- | sys/contrib/dev/iwlwifi/iwl-drv.h | 9 | 
1 files changed, 6 insertions, 3 deletions
| diff --git a/sys/contrib/dev/iwlwifi/iwl-drv.h b/sys/contrib/dev/iwlwifi/iwl-drv.h index 1549ff429549..595300a14639 100644 --- a/sys/contrib/dev/iwlwifi/iwl-drv.h +++ b/sys/contrib/dev/iwlwifi/iwl-drv.h @@ -1,6 +1,6 @@  /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */  /* - * Copyright (C) 2005-2014, 2020-2021, 2023 Intel Corporation + * Copyright (C) 2005-2014, 2020-2021, 2023, 2025 Intel Corporation   * Copyright (C) 2013-2014 Intel Mobile Communications GmbH   */  #ifndef __iwl_drv_h__ @@ -53,7 +53,7 @@  struct iwl_drv;  struct iwl_trans; -struct iwl_cfg; +struct iwl_rf_cfg;  /**   * iwl_drv_start - start the drv   * @@ -85,7 +85,7 @@ void iwl_drv_stop(struct iwl_drv *drv);   * everything is built-in, then we can avoid that.   */  #ifdef CONFIG_IWLWIFI_OPMODE_MODULAR -#define IWL_EXPORT_SYMBOL(sym)	EXPORT_SYMBOL_NS_GPL(sym, IWLWIFI) +#define IWL_EXPORT_SYMBOL(sym)	EXPORT_SYMBOL_NS_GPL(sym, "IWLWIFI")  #else  #define IWL_EXPORT_SYMBOL(sym)  #endif @@ -98,6 +98,9 @@ void iwl_drv_stop(struct iwl_drv *drv);  #define VISIBLE_IF_IWLWIFI_KUNIT static  #endif +/* max retry for init flow */ +#define IWL_MAX_INIT_RETRY 2 +  #define FW_NAME_PRE_BUFSIZE	64  struct iwl_trans;  const char *iwl_drv_get_fwname_pre(struct iwl_trans *trans, char *buf); | 
