Commit 3bf7c398 authored by Johannes Berg's avatar Johannes Berg Committed by Miri Korenblit
Browse files

wifi: iwlwifi: cfg: minor fixes for Sc



Remove the erroneously named IWL_DEVICE_BZ_COMMON macro
from the Sc file and fix some indentation. Also bump the
minimum FW version since it's not released yet anyway,
right now this is mostly to make the config different
from iwl_bz_cfg which would otherwise be the same with
the upcoming transport config cleanups.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250502155404.b313d54b8809.Ia975b6d5460996f2a2761dd3d0fef4a56f1f3e24@changeid
parent 70e15105
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
#define IWL_SC_UCODE_API_MAX	98

/* Lowest firmware API version supported */
#define IWL_SC_UCODE_API_MIN	93
#define IWL_SC_UCODE_API_MIN	98

/* NVM versions */
#define IWL_SC_NVM_VERSION		0x0a1d
@@ -55,7 +55,7 @@ static const struct iwl_base_params iwl_sc_base_params = {
	.pcie_l1_allowed = true,
};

#define IWL_DEVICE_BZ_COMMON						\
#define IWL_DEVICE_SC							\
	.ucode_api_max = IWL_SC_UCODE_API_MAX,				\
	.ucode_api_min = IWL_SC_UCODE_API_MIN,				\
	.led_mode = IWL_LED_RF_STATE,					\
@@ -114,10 +114,7 @@ static const struct iwl_base_params iwl_sc_base_params = {
			.addr = DBGI_SRAM_FIFO_POINTERS,		\
			.mask = DBGI_SRAM_FIFO_POINTERS_WR_PTR_MSK,	\
		},							\
	}

#define IWL_DEVICE_SC							\
	IWL_DEVICE_BZ_COMMON,						\
	},								\
	.uhb_supported = true,						\
	.features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM,		\
	.num_rbds = IWL_NUM_RBDS_SC_EHT,				\