Bug 220029
Summary: | [BISECTED] iwlwifi changes in 6.15.0-rc1 break Wi-Fi 6 AX200 on Dell 7390 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Todd Brandt (todd.e.brandt) |
Component: | network-wireless-intel | Assignee: | Default virtual assignee for network-wireless-intel (drivers_network-wireless-intel) |
Status: | NEW --- | ||
Severity: | normal | CC: | emmanuel.grumbach, kuurtb, val.zapod.vz |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 6.15.0-rc1 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | 75a3313f52b7e08e7e73746f69a68c2b7c28bb2b |
Bug Depends on: | |||
Bug Blocks: | 178231 | ||
Attachments: | dmesg-otcpl-dell-7390-cmlu.txt |
Description
Todd Brandt
2025-04-17 21:55:02 UTC
Hi Todd, I have the same problem and I actually submitted a fix [1] more than two weeks ago, but I haven't received any comments. I'll leave it here so you can test it and hopefully a maintainer takes a look at it. [1] https://lore.kernel.org/linux-wireless/D97AOGEOKCRX.2LAIZUEPNX2E@gmail.com -- ~ Kurt Apologies, that's the wrong link. Here is the correct one: [1] https://lore.kernel.org/linux-wireless/20250329-wifi-fix-v1-1-d6360e78f091@gmail.com/ Yea, basically the entire iwlwifi team is out this week. I'll give it a test. There are other bugs with that commit with available fixes. E.g. this: https://bugzilla.kernel.org/show_bug.cgi?id=219114#c12 Oops, disregard this. Different commit. Check whether the bug is still there https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git/log/?h=config-cleanup git checkout 82d656e4fa337f124dbdca4885d2b81beb338fdb make && make install Reboot Your fix does work. It looks like they made a logic error typo with "bw_limit", it performs in the opposite way from "no_160" in 6.14.0, so an inversion seems right, and the comment seems to confirm that. Good catch! diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c index 93446c374008..555323341e7d 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c @@ -1449,7 +1449,7 @@ iwl_pci_find_dev_info(u16 device, u16 subsystem_device, * !bw_limit to have a match. */ if (dev_info->bw_limit != IWL_CFG_BW_ANY && - (dev_info->bw_limit == IWL_CFG_BW_NO_LIM) == !!bw_limit) + (dev_info->bw_limit == IWL_CFG_BW_NO_LIM) == !bw_limit) continue; if (dev_info->cores != (u8)IWL_CFG_ANY && Tested-by: Todd Brandt <todd.e.brandt@intel.com> That patch cannot be applied on top of Intel repo, cause the lines got deleted nowadays https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git/tree/drivers/net/wireless/intel/iwlwifi/pcie/drv.c?h=config-cleanup&id=e72a96793b24622968fdc4bc7200069b43a9397a (In reply to val.zapod.vz from comment #7) > That patch cannot be applied on top of Intel repo, cause the lines got > deleted nowadays > https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git/ > tree/drivers/net/wireless/intel/iwlwifi/pcie/drv.c?h=config- > cleanup&id=e72a96793b24622968fdc4bc7200069b43a9397a The patch can be applied on top of the latest commit of Linus's tree. It seems though the backport tree fixed the problem too (without a Fixes tag though). I don't really know about the iwlwifi development process but maintainers will know how to best proceed here. Thanks for the info. (In reply to Todd Brandt from comment #6) ... > Tested-by: Todd Brandt <todd.e.brandt@intel.com> Thanks for testing! I'm going to inline it in v2, apologies for not Cc'ing you. Link to v2: https://lore.kernel.org/r/20250418-probe-fix-v2-1-ec1ef2d8a534@gmail.com |