2022-12-25 14:49:56

by Vishal Rao

[permalink] [raw]
Subject: Wifi 6E 6ghz not working on MediaTek MT7922 (AMD RZ616)

Hello!

Using Ubuntu 22.04 LTS based distro elementary OS 7 with the latest
available Ubuntu mainline kernel 6.1 RC5 build the wifi does not
connect to the 6GHZ band (Wifi 6E) and it only even shows the 6ghz
SSID name *after* I have connected to the 5ghz wifi band.

This is on a new ASUS ZenBook laptop model UM5302TA with the AMD Ryzen
6800U CPU platform which includes the AMD-Mediatek co-developed RZ616
wifi chip I believe.

Pastebin of lspci -vvnn output: https://pastebin.ubuntu.com/p/QwM58ZkptG

Let me know what further information I should provide - happy to do so!

Regards,
Vishal Rao


2022-12-25 20:06:37

by Daniel Golle

[permalink] [raw]
Subject: Re: Wifi 6E 6ghz not working on MediaTek MT7922 (AMD RZ616)

Hi!

On Sun, Dec 25, 2022 at 08:19:15PM +0530, Vishal Rao wrote:
> Hello!
>
> Using Ubuntu 22.04 LTS based distro elementary OS 7 with the latest
> available Ubuntu mainline kernel 6.1 RC5 build the wifi does not
> connect to the 6GHZ band (Wifi 6E) and it only even shows the 6ghz
> SSID name *after* I have connected to the 5ghz wifi band.
>
> This is on a new ASUS ZenBook laptop model UM5302TA with the AMD Ryzen
> 6800U CPU platform which includes the AMD-Mediatek co-developed RZ616
> wifi chip I believe.
>
> Pastebin of lspci -vvnn output: https://pastebin.ubuntu.com/p/QwM58ZkptG
>
> Let me know what further information I should provide - happy to do so!


Please also share the output of `iw list` which will tell if we are
dealing with a driver problem or a regulatory/configuration problem.
Did you configure the wireless regulatory domain the device is located
in?

To have access to 6 GHz bands the regulatory region needs to be known,
I read that on Ubuntu it works like this:

https://askubuntu.com/questions/701709/how-can-i-change-my-wireless-cards-regulatory-domain-dbm-higher-than-30

2022-12-29 18:03:14

by Vishal Rao

[permalink] [raw]
Subject: Re: Wifi 6E 6ghz not working on MediaTek MT7922 (AMD RZ616)

Hello Daniel !

Thank you for your response - apologies for being slow to follow up -
I will post the info you asked for soon [tm] but I note there appears
to be some new firmware for the mt7922 (a few hours ago) which I will
also try when gathering the info.

Off the top of my head the regulatory info/region is set to US while I
am located in India and I have tried the latest firmware off git
master as well as another (?) location suggested by Nick Morrow with
no luck (same results) but allow me some time (likely this weekend) to
re-check and get back to you.

Regards,
Vishal

On Mon, 26 Dec 2022 at 01:34, Daniel Golle <[email protected]> wrote:
>
> Hi!
>
> On Sun, Dec 25, 2022 at 08:19:15PM +0530, Vishal Rao wrote:
> > Hello!
> >
> > Using Ubuntu 22.04 LTS based distro elementary OS 7 with the latest
> > available Ubuntu mainline kernel 6.1 RC5 build the wifi does not
> > connect to the 6GHZ band (Wifi 6E) and it only even shows the 6ghz
> > SSID name *after* I have connected to the 5ghz wifi band.
> >
> > This is on a new ASUS ZenBook laptop model UM5302TA with the AMD Ryzen
> > 6800U CPU platform which includes the AMD-Mediatek co-developed RZ616
> > wifi chip I believe.
> >
> > Pastebin of lspci -vvnn output: https://pastebin.ubuntu.com/p/QwM58ZkptG
> >
> > Let me know what further information I should provide - happy to do so!
>
>
> Please also share the output of `iw list` which will tell if we are
> dealing with a driver problem or a regulatory/configuration problem.
> Did you configure the wireless regulatory domain the device is located
> in?
>
> To have access to 6 GHz bands the regulatory region needs to be known,
> I read that on Ubuntu it works like this:
>
> https://askubuntu.com/questions/701709/how-can-i-change-my-wireless-cards-regulatory-domain-dbm-higher-than-30



--
"The World is a book, and those who do not travel read only a page." -
St. Augustine.

2023-01-02 09:49:29

by Vishal Rao

[permalink] [raw]
Subject: Re: Wifi 6E 6ghz not working on MediaTek MT7922 (AMD RZ616)

Hello Daniel/Nick,

Here's the output you asked for: https://pastebin.ubuntu.com/p/kZGS227rdr

From my rudimentary/casual reading of the mediatek mt76/mt7921e driver
code it appears it's loading the 7921 variant (filename 7961) of
firmware and not 7922 so I tried to patch those few lines to no luck.

Also just tried copying over the 7922 files to the 7961 names and
tried with unmodified kernel (both 6.2rc2 and 6.1.2-xanmod).

I'm sure I don't know what I'm doing here, so if you have further
suggestions/info you need let me know?

Regards!
Vishal

On Thu, 29 Dec 2022 at 23:25, Vishal Rao <[email protected]> wrote:
>
> Hello Daniel !
>
> Thank you for your response - apologies for being slow to follow up -
> I will post the info you asked for soon [tm] but I note there appears
> to be some new firmware for the mt7922 (a few hours ago) which I will
> also try when gathering the info.
>
> Off the top of my head the regulatory info/region is set to US while I
> am located in India and I have tried the latest firmware off git
> master as well as another (?) location suggested by Nick Morrow with
> no luck (same results) but allow me some time (likely this weekend) to
> re-check and get back to you.
>
> Regards,
> Vishal
>
> On Mon, 26 Dec 2022 at 01:34, Daniel Golle <[email protected]> wrote:
> >
> > Hi!
> >
> > On Sun, Dec 25, 2022 at 08:19:15PM +0530, Vishal Rao wrote:
> > > Hello!
> > >
> > > Using Ubuntu 22.04 LTS based distro elementary OS 7 with the latest
> > > available Ubuntu mainline kernel 6.1 RC5 build the wifi does not
> > > connect to the 6GHZ band (Wifi 6E) and it only even shows the 6ghz
> > > SSID name *after* I have connected to the 5ghz wifi band.
> > >
> > > This is on a new ASUS ZenBook laptop model UM5302TA with the AMD Ryzen
> > > 6800U CPU platform which includes the AMD-Mediatek co-developed RZ616
> > > wifi chip I believe.
> > >
> > > Pastebin of lspci -vvnn output: https://pastebin.ubuntu.com/p/QwM58ZkptG
> > >
> > > Let me know what further information I should provide - happy to do so!
> >
> >
> > Please also share the output of `iw list` which will tell if we are
> > dealing with a driver problem or a regulatory/configuration problem.
> > Did you configure the wireless regulatory domain the device is located
> > in?
> >
> > To have access to 6 GHz bands the regulatory region needs to be known,
> > I read that on Ubuntu it works like this:
> >
> > https://askubuntu.com/questions/701709/how-can-i-change-my-wireless-cards-regulatory-domain-dbm-higher-than-30
>
>
>
> --
> "The World is a book, and those who do not travel read only a page." -
> St. Augustine.



--
"The World is a book, and those who do not travel read only a page." -
St. Augustine.