]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: iwlwifi: cfg: mark Ty devices as discrete
authorJohannes Berg <johannes.berg@intel.com>
Sun, 11 May 2025 16:53:07 +0000 (19:53 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Mon, 12 May 2025 14:18:58 +0000 (17:18 +0300)
Looks like these were never marked discrete, since they always
used the iwl_so_mac_cfg (earlier iwl_so_trans_cfg). Mark them
as discrete since they are.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
PerCI-Ready: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Tested-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250511195137.f3a75ae80f28.I79964f4426389f04798b70841a9e847be48bf9c3@changeid
drivers/net/wireless/intel/iwlwifi/cfg/ax210.c
drivers/net/wireless/intel/iwlwifi/iwl-config.h
drivers/net/wireless/intel/iwlwifi/pcie/drv.c

index 18d0de13f5649f581bce28ce593bfd09984d1e53..3bf9fdbe01c61207f1ec24a7d393096b348355b1 100644 (file)
@@ -88,6 +88,16 @@ static const struct iwl_family_base_params iwl_ax210_base = {
        .ucode_api_max = IWL_AX210_UCODE_API_MAX,
 };
 
+const struct iwl_mac_cfg iwl_ty_mac_cfg = {
+       .mq_rx_supported = true,
+       .gen2 = true,
+       .device_family = IWL_DEVICE_FAMILY_AX210,
+       .base = &iwl_ax210_base,
+       .umac_prph_offset = 0x300000,
+       /* TODO: the following values need to be checked */
+       .xtal_latency = 500,
+};
+
 const struct iwl_mac_cfg iwl_so_mac_cfg = {
        .mq_rx_supported = true,
        .gen2 = true,
index 0b18f44af774908692f5448fab2508743f973965..363ef060d68e3f89c42a7894c02c6f51c5daf529 100644 (file)
@@ -527,6 +527,7 @@ extern const struct iwl_mac_cfg iwl_qu_mac_cfg;
 extern const struct iwl_mac_cfg iwl_qu_medium_latency_mac_cfg;
 extern const struct iwl_mac_cfg iwl_qu_long_latency_mac_cfg;
 extern const struct iwl_mac_cfg iwl_ax200_mac_cfg;
+extern const struct iwl_mac_cfg iwl_ty_mac_cfg;
 extern const struct iwl_mac_cfg iwl_so_mac_cfg;
 extern const struct iwl_mac_cfg iwl_so_long_latency_mac_cfg;
 extern const struct iwl_mac_cfg iwl_so_long_latency_imr_mac_cfg;
index 1d149843f3358cfa75ece11759756f1ae7d4e437..d270dfaa6c83fb5ff0d4ee86b67eeb859832a7d0 100644 (file)
@@ -488,8 +488,8 @@ VISIBLE_IF_IWLWIFI_KUNIT const struct pci_device_id iwl_hw_card_ids[] = {
 
        {IWL_PCI_DEVICE(0x2723, PCI_ANY_ID, iwl_ax200_mac_cfg)},
 
-/* So devices */
-       {IWL_PCI_DEVICE(0x2725, PCI_ANY_ID, iwl_so_mac_cfg)},
+/* Ty/So devices */
+       {IWL_PCI_DEVICE(0x2725, PCI_ANY_ID, iwl_ty_mac_cfg)},
        {IWL_PCI_DEVICE(0x7A70, PCI_ANY_ID, iwl_so_long_latency_imr_mac_cfg)},
        {IWL_PCI_DEVICE(0x7AF0, PCI_ANY_ID, iwl_so_mac_cfg)},
        {IWL_PCI_DEVICE(0x51F0, PCI_ANY_ID, iwl_so_long_latency_mac_cfg)},