Support for Mediatek wifi chipset mt7921U

  • With Ethernet on the wrong side of the room, I bought a COMFAST CF-953AX after checking

    USB-WiFi/USB_WiFi_Adapters_that_are_supported_with_Linux_in-kernel_drivers.md at main · morrownr/USB-WiFi
    USB WiFi Adapter Information for Linux. Contribute to morrownr/USB-WiFi development by creating an account on GitHub.
    github.com

    I believe the mt7921au (WiFi 6E) chipset from Mediatek has been supported in the kernel for about a year now.

    Alas,

    LibreELEC.tv/linux.x86_64.conf at master · LibreELEC/LibreELEC.tv
    Just enough OS for KODI. Contribute to LibreELEC/LibreELEC.tv development by creating an account on GitHub.
    github.com

    I haven't set up a build environment, was hoping this might be a one-liner for you....

    Any chance this could be baked in by default?

    Thanks for any help or pointers!

    Cheers,

    Danny

  • Update for mt7921 users I ended up just going with Ubuntu 22.04.2 (5.19 kernel) and kodi-standalone. This Zimaboard has enough resources it's a good tradeoff imho.

  • my stick is plug and play in volumio but I can't get it to work on libreelec. I took the firmware files needed from volumio and enabled

    CONFIG_MT7921u=m

    CONFIG_MT7921_common=m

    CONFIG_MT76=m

    but to no avail, any help would be appreciated.

  • got it working,

    firmware is needed from https://anduin.linuxfromscratch.org/sources/linux-firmware/mediatek/

    BT_RAM_CODE_MT7961_1_2_hdr.bin

    WIFI_RAM_CODE_MT7961_1.bin

    WIFI_MT7961_patch_mcu_1_2_hdr.bin

    and in kernel CONFIG_MT7921U=m

    very good speed.

    LibreELEC:~/.config/firmware/mediatek # iperf3 -c speedtest.ownit.se

    Connecting to host speedtest.ownit.se, port 5201

    [ 5] local 192.168.5.177 port 57168 connected to 84.55.107.2 port 5201

    [ ID] Interval Transfer Bitrate Retr Cwnd

    [ 5] 0.00-1.00 sec 53.4 MBytes 446 Mbits/sec 0 1.62 MBytes

    [ 5] 1.00-2.00 sec 65.0 MBytes 547 Mbits/sec 0 1.62 MBytes

    [ 5] 2.00-3.00 sec 67.5 MBytes 566 Mbits/sec 0 1.62 MBytes

    [ 5] 3.00-4.00 sec 66.2 MBytes 556 Mbits/sec 0 1.62 MBytes

    [ 5] 4.00-5.00 sec 65.0 MBytes 545 Mbits/sec 0 1.62 MBytes

    [ 5] 5.00-6.00 sec 63.8 MBytes 535 Mbits/sec 0 1.62 MBytes

    [ 5] 6.00-7.00 sec 66.2 MBytes 556 Mbits/sec 0 1.62 MBytes

    [ 5] 7.00-8.00 sec 62.5 MBytes 523 Mbits/sec 0 1.62 MBytes

    [ 5] 8.00-9.00 sec 66.2 MBytes 557 Mbits/sec 0 1.62 MBytes

    [ 5] 9.00-10.00 sec 65.0 MBytes 545 Mbits/sec 0 1.62 MBytes

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

    [ ID] Interval Transfer Bitrate Retr

    [ 5] 0.00-10.00 sec 641 MBytes 538 Mbits/sec 0 sender

    [ 5] 0.00-10.01 sec 639 MBytes 536 Mbits/sec receiver

    iperf Done.