Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Include iwlwifi kernel module as part of standard kernel build #6497

Closed
evilmonkeyslayer opened this issue Nov 27, 2024 · 6 comments

Comments

@evilmonkeyslayer
Copy link

Describe the bug

Feature request:

With the addition of pcie adapters this allows pcie devices to be plugged into the Pi 5 that were previously not usable.

This is a request to include in the standard kernel build the iwlwifi module and related modules so that devices such as the Intel AX210 which is a very common wifi chipset to be usable on the Pi 5.

This requires the following in the kernel .config file:

CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLDVM=m
CONFIG_IWLMVM=m
CONFIG_IWLWIFI_OPMODE_MODULAR=y
#
# Debugging Options
#
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWLWIFI_DEVICE_TRACING=y
# end of Debugging Options

Steps to reproduce the behaviour

N/A

Device (s)

Raspberry Pi 5

System

N/A

Logs

No response

Additional context

No response

@evilmonkeyslayer
Copy link
Author

I rolled a custom kernel with the above config settings applied and with firmware-iwlwifi installed via apt the wifi worked.

The only issue I can see is that the wifi gui applet for some reason doesn't see 6GHz wifi networks, but if the ssid is manually set it will connect to them and work just fine. (with the little gui "5" next to it, even though it's 6GHz)

@pelwell
Copy link
Contributor

pelwell commented Dec 9, 2024

That's nonsense (or reverse psychology) - the majority of the hundreds of modules are for non-Raspberry Pi hardware.

@evilmonkeyslayer
Copy link
Author

evilmonkeyslayer commented Dec 9, 2024

That's nonsense (or reverse psychology) - the majority of the hundreds of modules are for non-Raspberry Pi hardware.

I was going to post a reply along these lines, there are a significant number of nic and wlan drivers set to compile as modules by default with the standard pi kernel. Including the iwlwifi modules doesn't use much space at all.

For example, from the modules dir:

184K    iwlwifi/mvm
80K     iwlwifi/dvm
400K    iwlwifi/

I would also add that it also has a number of ethernet drivers compiled into the pi kernel itself that are not used at all. There are for example 10GbE PCIE adapters like "Intel(R) 10GbE PCI Express adapters support".

Actually not including iwlwifi seems a bit odd because there is some selections in the default pi kernel that should be the opposite of being selected and some that should be in the default pi kernel.

@pelwell
Copy link
Contributor

pelwell commented Dec 9, 2024

I'll add them next time I'm near a keyboard.

pelwell added a commit to pelwell/linux that referenced this issue Dec 9, 2024
@pelwell
Copy link
Contributor

pelwell commented Dec 9, 2024

Pull request #6526 adds the required modules. To install a trial build, wait about 40 minutes then run sudo rpi-update pulls/6526 (after backing up any important data).

pelwell added a commit that referenced this issue Dec 10, 2024
@pelwell
Copy link
Contributor

pelwell commented Dec 10, 2024

The PR is merged, so the new modules will be hitting all the usual kernel builds soon.

@pelwell pelwell closed this as completed Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants