]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: smem_offset smem_len are not needed from 22000 and up
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 13 May 2026 05:43:51 +0000 (08:43 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 26 May 2026 12:17:11 +0000 (15:17 +0300)
This was used for the old (pre-ini) debug mechanism which is now
obsolete.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20260513084215.18095aac398a.I0bdc5120b9b4226692dcffb1c5971f617d99e632@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/22000.c
drivers/net/wireless/intel/iwlwifi/cfg/ax210.c
drivers/net/wireless/intel/iwlwifi/cfg/bz.c
drivers/net/wireless/intel/iwlwifi/cfg/dr.c
drivers/net/wireless/intel/iwlwifi/cfg/sc.c

index 563c596240b20a80de53fa0b61c48bb3db29a37d..e929a08e7585f1280c433bcb0e0488de43faf693 100644 (file)
 /* Lowest firmware API version supported */
 #define IWL_22000_UCODE_API_MIN        77
 
-/* Memory offsets and lengths */
-#define IWL_22000_SMEM_OFFSET          0x400000
-#define IWL_22000_SMEM_LEN             0xD0000
-
 #define IWL_CC_A_FW_PRE                        "iwlwifi-cc-a0"
 
 #define IWL_CC_A_MODULE_FIRMWARE(api)                  \
@@ -30,8 +26,6 @@ static const struct iwl_family_base_params iwl_22000_base = {
        .wd_timeout = IWL_LONG_WD_TIMEOUT,
        .shadow_reg_enable = true,
        .pcie_l1_allowed = true,
-       .smem_offset = IWL_22000_SMEM_OFFSET,
-       .smem_len = IWL_22000_SMEM_LEN,
        .features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM,
        .apmg_not_supported = true,
        .mac_addr_from_csr = 0x380,
index ee24ded670694be701d53dc688279f28875aa73f..ec1951a94e23bbf705b2f7bc604bcf4d538f9d8b 100644 (file)
 /* Lowest firmware API version supported */
 #define IWL_AX210_UCODE_API_MIN        89
 
-/* Memory offsets and lengths */
-#define IWL_AX210_SMEM_OFFSET          0x400000
-#define IWL_AX210_SMEM_LEN             0xD0000
-
 static const struct iwl_family_base_params iwl_ax210_base = {
        .num_of_queues = 512,
        .max_tfd_queue_size = 65536,
        .wd_timeout = IWL_LONG_WD_TIMEOUT,
        .shadow_reg_enable = true,
        .pcie_l1_allowed = true,
-       .smem_offset = IWL_AX210_SMEM_OFFSET,
-       .smem_len = IWL_AX210_SMEM_LEN,
        .features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM,
        .apmg_not_supported = true,
        .mac_addr_from_csr = 0x380,
index 1b14ba5a09f9f2e91dc26ec0ba84c283f7327f87..a70b356d9576fd933d19830bf2945335f8ad084a 100644 (file)
 /* Lowest firmware core release supported */
 #define IWL_BZ_UCODE_CORE_MIN  101
 
-/* Memory offsets and lengths */
-#define IWL_BZ_SMEM_OFFSET             0x400000
-#define IWL_BZ_SMEM_LEN                        0xD0000
-
 static const struct iwl_family_base_params iwl_bz_base = {
        .num_of_queues = 512,
        .max_tfd_queue_size = 65536,
        .wd_timeout = IWL_LONG_WD_TIMEOUT,
        .shadow_reg_enable = true,
        .pcie_l1_allowed = true,
-       .smem_offset = IWL_BZ_SMEM_OFFSET,
-       .smem_len = IWL_BZ_SMEM_LEN,
        .apmg_not_supported = true,
        .mac_addr_from_csr = 0x30,
        .d3_debug_data_base_addr = 0x401000,
index afde84ad049386779d864b3f5e1008c2b43aa9d2..e95112fdc6648fb03450fd699b3d08afb1cbb839 100644 (file)
 /* Lowest firmware core release supported */
 #define IWL_DR_UCODE_CORE_MIN  101
 
-/* Memory offsets and lengths */
-#define IWL_DR_SMEM_OFFSET             0x400000
-#define IWL_DR_SMEM_LEN                        0xD0000
-
 #define IWL_DR_A_PE_A_FW_PRE           "iwlwifi-dr-a0-pe-a0"
 
 static const struct iwl_family_base_params iwl_dr_base = {
@@ -26,8 +22,6 @@ static const struct iwl_family_base_params iwl_dr_base = {
        .wd_timeout = IWL_LONG_WD_TIMEOUT,
        .shadow_reg_enable = true,
        .pcie_l1_allowed = true,
-       .smem_offset = IWL_DR_SMEM_OFFSET,
-       .smem_len = IWL_DR_SMEM_LEN,
        .apmg_not_supported = true,
        .mac_addr_from_csr = 0x30,
        .d3_debug_data_base_addr = 0x401000,
index 52a08105d0c4b2f8442ffc7425084b6a25046e16..d1e5cef42fffdfd546423f5e5878002f0d832a1d 100644 (file)
 /* Lowest firmware core release supported */
 #define IWL_SC_UCODE_CORE_MIN  101
 
-/* Memory offsets and lengths */
-#define IWL_SC_SMEM_OFFSET             0x400000
-#define IWL_SC_SMEM_LEN                        0xD0000
-
 #define IWL_SC_A_FM_B_FW_PRE           "iwlwifi-sc-a0-fm-b0"
 #define IWL_SC_A_FM_C_FW_PRE           "iwlwifi-sc-a0-fm-c0"
 #define IWL_SC_A_WH_A_FW_PRE           "iwlwifi-sc-a0-wh-a0"
@@ -31,8 +27,6 @@ static const struct iwl_family_base_params iwl_sc_base = {
        .wd_timeout = IWL_LONG_WD_TIMEOUT,
        .shadow_reg_enable = true,
        .pcie_l1_allowed = true,
-       .smem_offset = IWL_SC_SMEM_OFFSET,
-       .smem_len = IWL_SC_SMEM_LEN,
        .apmg_not_supported = true,
        .mac_addr_from_csr = 0x30,
        .d3_debug_data_base_addr = 0x401000,