diff mbox series

[SRU,linux-firmware,F,PULL,v3] Add MT7921 WiFi/Bluetooth firmware

Message ID 20210722102605.872031-1-vicamo.yang@canonical.com
State New
Headers show
Series [SRU,linux-firmware,F,PULL,v3] Add MT7921 WiFi/Bluetooth firmware | expand

Commit Message

You-Sheng Yang July 22, 2021, 10:26 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1936452

[Impact]
No support for MT7921 wifi/bluetooth card.

[Fix]
MT7921 needs both driver and firmware, driver is almost ready,
add firmware first, then get driver bug fixed later.

[Test]
Verified on hardware, cold boot system wifi works fine.
Reboot make it fail, but I will fix it in SRU of kernel patch.
After that, it works fine.

[Where problems could occur]
The MT7921 wifi may not work.

v2:
  - add bluetooth fw to Focal as well. Hirsute/Impish already have BT fw.
    Skipped.
  - sent as PULL format
v3: backport commit a7882719db91 as well

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

The following changes since commit ddaffc5e0774186fa62d0e592072971a715dce80:

  iwlwifi: add new FWs from core60-51 release (2021-07-13 14:37:15 -0500)

are available in the Git repository at:

  https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1936452/add-mt7921-fw/focal-pull

for you to fetch changes up to 7e1c5d7fc76c01044240c6de2ff2884dd54b4e5a:

  linux-firmware: update frimware for mediatek bluetooth chip (MT7921) (2021-07-22 17:02:11 +0800)

----------------------------------------------------------------
Sean Wang (3):
      linux-firmware: add firmware for MT7921
      linux-firmware: update firmware for MT7921 WiFi device
      linux-firmware: update firmware for MT7921 WiFi device to 20210612122753

mark-yw.chen (2):
      linux-firmware: add frimware for mediatek bluetooth chip (MT7921)
      linux-firmware: update frimware for mediatek bluetooth chip (MT7921)

 WHENCE                                     |  20 ++++++++++++++++++++
 mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin    | Bin 0 -> 530734 bytes
 mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 0 -> 92192 bytes
 mediatek/WIFI_RAM_CODE_MT7961_1.bin        | Bin 0 -> 685320 bytes
 4 files changed, 20 insertions(+)
 create mode 100644 mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
 create mode 100644 mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
 create mode 100644 mediatek/WIFI_RAM_CODE_MT7961_1.bin

Binary files /dev/null and b/mediatek/WIFI_RAM_CODE_MT7961_1.bin differ

Comments

Timo Aaltonen July 28, 2021, 7:56 a.m. UTC | #1
On 22.7.2021 13.26, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1936452
> 
> [Impact]
> No support for MT7921 wifi/bluetooth card.
> 
> [Fix]
> MT7921 needs both driver and firmware, driver is almost ready,
> add firmware first, then get driver bug fixed later.
> 
> [Test]
> Verified on hardware, cold boot system wifi works fine.
> Reboot make it fail, but I will fix it in SRU of kernel patch.
> After that, it works fine.
> 
> [Where problems could occur]
> The MT7921 wifi may not work.
> 
> v2:
>    - add bluetooth fw to Focal as well. Hirsute/Impish already have BT fw.
>      Skipped.
>    - sent as PULL format
> v3: backport commit a7882719db91 as well
> 
> ----------------------------------------------------------------
> 
> The following changes since commit ddaffc5e0774186fa62d0e592072971a715dce80:
> 
>    iwlwifi: add new FWs from core60-51 release (2021-07-13 14:37:15 -0500)
> 
> are available in the Git repository at:
> 
>    https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1936452/add-mt7921-fw/focal-pull
> 
> for you to fetch changes up to 7e1c5d7fc76c01044240c6de2ff2884dd54b4e5a:
> 
>    linux-firmware: update frimware for mediatek bluetooth chip (MT7921) (2021-07-22 17:02:11 +0800)
> 
> ----------------------------------------------------------------
> Sean Wang (3):
>        linux-firmware: add firmware for MT7921
>        linux-firmware: update firmware for MT7921 WiFi device
>        linux-firmware: update firmware for MT7921 WiFi device to 20210612122753
> 
> mark-yw.chen (2):
>        linux-firmware: add frimware for mediatek bluetooth chip (MT7921)
>        linux-firmware: update frimware for mediatek bluetooth chip (MT7921)
> 
>   WHENCE                                     |  20 ++++++++++++++++++++
>   mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin    | Bin 0 -> 530734 bytes
>   mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 0 -> 92192 bytes
>   mediatek/WIFI_RAM_CODE_MT7961_1.bin        | Bin 0 -> 685320 bytes
>   4 files changed, 20 insertions(+)
>   create mode 100644 mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
>   create mode 100644 mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
>   create mode 100644 mediatek/WIFI_RAM_CODE_MT7961_1.bin
> 
> diff --git a/WHENCE b/WHENCE
> index 5d4a13b6..898c1c88 100644
> --- a/WHENCE
> +++ b/WHENCE
> @@ -4658,6 +4658,26 @@ Version: 19530513
>   
>   Licence: Redistributable. See LICENCE.mediatek for details.
>   
> +--------------------------------------------------------------------------
> +
> +Driver: mt7921 - MediaTek MT7921 Wireless MACs
> +
> +File: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
> +Version: 20210612122717a
> +File: mediatek/WIFI_RAM_CODE_MT7961_1.bin
> +Version: 20210612122753
> +
> +Licence: Redistributable. See LICENCE.mediatek for details.
> +
> +--------------------------------------------------------------------------
> +
> +Driver: mt7921 - MediaTek MT7921 bluetooth chipset
> +
> +File: mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
> +Version: 20210223142901
> +
> +Licence: Redistributable. See LICENCE.mediatek for details.
> +
>   --------------------------------------------------------------------------
>   Driver: nfp - Netronome Flow Processor
>   
> diff --git a/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
> new file mode 100644
> index 00000000..42e69eef
> Binary files /dev/null and b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin differ
> diff --git a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
> new file mode 100644
> index 00000000..15c68961
> Binary files /dev/null and b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin differ
> diff --git a/mediatek/WIFI_RAM_CODE_MT7961_1.bin b/mediatek/WIFI_RAM_CODE_MT7961_1.bin
> new file mode 100644
> index 00000000..9de3d1d4
> Binary files /dev/null and b/mediatek/WIFI_RAM_CODE_MT7961_1.bin differ
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/WHENCE b/WHENCE
index 5d4a13b6..898c1c88 100644
--- a/WHENCE
+++ b/WHENCE
@@ -4658,6 +4658,26 @@  Version: 19530513
 
 Licence: Redistributable. See LICENCE.mediatek for details.
 
+--------------------------------------------------------------------------
+
+Driver: mt7921 - MediaTek MT7921 Wireless MACs
+
+File: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
+Version: 20210612122717a
+File: mediatek/WIFI_RAM_CODE_MT7961_1.bin
+Version: 20210612122753
+
+Licence: Redistributable. See LICENCE.mediatek for details.
+
+--------------------------------------------------------------------------
+
+Driver: mt7921 - MediaTek MT7921 bluetooth chipset
+
+File: mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
+Version: 20210223142901
+
+Licence: Redistributable. See LICENCE.mediatek for details.
+
 --------------------------------------------------------------------------
 Driver: nfp - Netronome Flow Processor
 
diff --git a/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin
new file mode 100644
index 00000000..42e69eef
Binary files /dev/null and b/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin differ
diff --git a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
new file mode 100644
index 00000000..15c68961
Binary files /dev/null and b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin differ
diff --git a/mediatek/WIFI_RAM_CODE_MT7961_1.bin b/mediatek/WIFI_RAM_CODE_MT7961_1.bin
new file mode 100644
index 00000000..9de3d1d4