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

WiFi dongle based on Mediatek mt7921au chipset #2806

Closed
anatoly-savchenkov opened this issue Oct 12, 2023 · 1 comment
Closed

WiFi dongle based on Mediatek mt7921au chipset #2806

anatoly-savchenkov opened this issue Oct 12, 2023 · 1 comment
Labels

Comments

@anatoly-savchenkov
Copy link

Describe the issue you are experiencing

I run HA OS as a VM on HP MicroServer and have to use a WiFi connection. MicroServer has no built in WiFi, so I looked here https://github.com/morrownr/USB-WiFi/blob/main/home/USB_WiFi_Chipsets.md and seems today's' fastest option is a dongle based on Mediatek mt7921au chipset. So, I bought one and found that it's disabled in the HA OS flavor of Linux kernel.

Please treat this as a vote for enabling CONFIG_MT7921U (and most probably CONFIG_BT_HCIBTUSB_MTK for BT part) here #2761 :)

What operating system image do you use?

ova (for Virtual Machines)

What version of Home Assistant Operating System is installed?

10.5

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. Use a WiFi card based on Mediatek mt7921au chipset.
  2. Find that it doesn't work
  3. Realize that it's expected since many WiFi USB drivers are disabled

Anything in the Supervisor logs that might be useful for us?

none

Anything in the Host logs that might be useful for us?

none

System information

No response

Additional information

No response

sairon added a commit that referenced this issue Nov 30, 2023
Preemptively enable larger set of WiFi drivers for all platforms and add more firmwares for them with the aim to harmonize WiFi device support among all boards and to have implicit support of devices that users might want to use.  Targets `generic_aarch64`, `generic_x86_64` and `ova` also include options and firmwares for cards that are using PCI/PCIe bus - support for these is in a separate config fragment.

Especially the `generic_x86_64` is currently very tight with the rootfs space, so I had to do some triaging and select only sensible drivers and firmwares - especially archaic PCMCIA devices or devices not supporting only 802.11g or lower standards were among the first that I removed during the triaging - we can consider enabling those but this time on an someone's explicit need to have them enabled.

This closes #2815 and replaces large part of #2761, also potentially addresses (at least) these: #2806, #2783, #2841, #2776, #2725, #2600

-------------

* Remove WiFi options from generic and board kernel config fragments
* Enable MMC in OVA kernel
   This is needed for SDIO drivers to work. Use the same options as we
   currently use for generic_x86_64.
* Add CRYPTO_MICHAEL_MIC to the common kernel config
   This is requirement for TKIP and is a dependency of ATH11K driver.
* Add kernel config fragments with wireless cards support
* Add firmwares for WiFi cards
* Enable more Bluetooth device drivers
@sairon
Copy link
Member

sairon commented Dec 4, 2023

The mt7921u driver has been added in #2951, support for more cards with proprietary USB IDs in #2962.

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

No branches or pull requests

2 participants